[03:02:02]OFD Sender: No OFD packet to send [03:02:07]OFD Sender: No OFD packet to send [03:02:12]OFD Sender: No OFD packet to send [03:02:17]OFD Sender: No OFD packet to send [03:02:22]OFD Sender: No OFD packet to send [03:02:27]OFD Sender: No OFD packet to send [03:02:32]OFD Sender: No OFD packet to send [03:02:37]OFD Sender: No OFD packet to send [03:02:42]OFD Sender: No OFD packet to send [03:02:47]OFD Sender: No OFD packet to send [03:02:52]OFD Sender: No OFD packet to send [03:02:57]OFD Sender: No OFD packet to send [03:03:02]OFD Sender: No OFD packet to send [03:03:07]OFD Sender: No OFD packet to send [03:03:12]OFD Sender: No OFD packet to send [03:03:17]OFD Sender: No OFD packet to send [03:03:22]OFD Sender: No OFD packet to send [03:03:27]OFD Sender: No OFD packet to send [03:03:32]OFD Sender: No OFD packet to send [03:03:37]OFD Sender: No OFD packet to send [03:03:42]OFD Sender: No OFD packet to send [03:03:47]OFD Sender: No OFD packet to send [03:03:52]OFD Sender: No OFD packet to send [03:03:57]OFD Sender: No OFD packet to send [03:04:02]OFD Sender: No OFD packet to send [03:04:07]OFD Sender: No OFD packet to send [03:04:12]OFD Sender: No OFD packet to send [03:04:13]ConnectInit Can't connect to host [03:04:17]OFD Sender: No OFD packet to send [03:04:22]OFD Sender: No OFD packet to send [03:04:27]OFD Sender: No OFD packet to send [03:04:32]OFD Sender: No OFD packet to send [03:04:37]OFD Sender: No OFD packet to send [03:04:42]OFD Sender: No OFD packet to send [03:04:47]OFD Sender: No OFD packet to send [03:04:52]OFD Sender: No OFD packet to send [03:04:57]OFD Sender: No OFD packet to send [03:05:02]OFD Sender: No OFD packet to send [03:05:07]OFD Sender: No OFD packet to send [03:05:12]OFD Sender: No OFD packet to send [03:05:17]OFD Sender: No OFD packet to send [03:05:17]accept exits with 8 [03:05:17]New connection [03:05:17]New thread 3067153764 created [03:05:17]Thread 3067010404 joined [03:05:17]Waiting for new connection... [03:05:17] Sock 8.Parse request [03:05:17]Sock 8.Check first char [03:05:17]Sock 8.First char is OK [03:05:17]request: POST /json_proto HTTP/1.0 [03:05:17]Method: POST [03:05:17]URL: /json_proto [03:05:17]Method is POST - this is cgi request [03:05:17]url: /json_proto [03:05:17]query_string will be loaded in cgi processing [03:05:17]execute_cgi json_proto POST (null) [03:05:17]execute_cgi path=json_proto method=POST [03:05:17]POST find Content-Length [03:05:17]Host: 172.17.54.195:8080 [03:05:17]Content-Length: 681 [03:05:17]Content-Type: application/json [03:05:17] [03:05:17]POST finish read [03:05:17]Found Content-Length = 681 [03:05:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16346", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 22.430, "sum" : 1500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:05:17]execute_script... [03:05:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16346", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 22.430, "sum" : 1500.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:05:17]POST & json_proto [03:05:17]process_json_proto [03:05:17]json parsed OK: [03:05:17]protocol is kg_v1.0 [03:05:17]action value=close_receipt [03:05:17]process_action close_receipt [03:05:17]cmd_close_receipt [03:05:17]MH_GetDate [03:05:17]Write to MH i2c: F0 00 00 20 02 11 [03:05:17]Write i2c OK [03:05:17]MH_I2C_Read... [03:05:17]Read from MH i2c: F0 [03:05:17]MH_I2C_Read... [03:05:17]Read from MH i2c: F0 09 00 [03:05:17]MH_I2C_Read... [03:05:17]Read from MH i2c: F0 09 00 20 02 00 6F A2 21 67 8D 90 A3 66 D9 [03:05:17]GetLastDocTimeStamp 1730257070 [03:05:17]current date 1730257519 [03:05:17]FM_GetShiftState [03:05:17]SAM_PROTO_GetShiftState [03:05:17]wFMCommunicate request_size=4 [03:05:17]MH_SAM_APDU [03:05:17]CAPDU: 80 13 01 00 [03:05:17]Write to MH i2c: E2 08 00 21 02 80 13 01 00 00 00 00 00 A0 [03:05:17]Write i2c OK [03:05:17]MH_I2C_Read... [03:05:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:05:17]Read from MH i2c: E2 [03:05:17]MH_I2C_Read... [03:05:17]Read from MH i2c: E2 0E 00 [03:05:17]MH_I2C_Read... [03:05:17]Read from MH i2c: E2 0E 00 21 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 E5 [03:05:17]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [03:05:17]wFMCommunicate OK [03:05:17]SAM_PROTO_GetShiftState done [03:05:17]FM_GetShiftState done [03:05:17]opened in 1730247478 [03:05:17]opened+sec_in_day 1730333878 [03:05:17]quantity*price = 150056 [03:05:17]sum+1 = 150058 [03:05:17]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.57 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.35 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 7 30.10.2024 03:05 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15797 ФПД: 136671565936634 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T030519&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15797&fm=136671565936634&tin=02508201610067®Number=0000000000161798&sum=150000 [03:05:18]StoreToDocumentArchive [03:05:18]shift 173 fd 15797 [03:05:18]save to /storage/0173/doc_00015797 [03:05:18]save last doc name /storage/0173/doc_00015797 to /storage/kkm_last_doc_name [03:05:18]save OK [03:05:18]Clear old archive folders... [03:05:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [03:05:18]tlvbuf is 00227590 [03:05:18]SAM_PROTO_ClearQueue [03:05:18]wFMCommunicate request_size=4 [03:05:18]MH_SAM_APDU [03:05:18]CAPDU: 80 09 00 00 [03:05:18]Write to MH i2c: E2 08 00 2E 02 80 09 00 00 00 00 00 00 A2 [03:05:18]Write i2c OK [03:05:18]MH_I2C_Read... [03:05:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:05:18]Read from MH i2c: E2 [03:05:18]MH_I2C_Read... [03:05:18]Read from MH i2c: E2 03 00 [03:05:18]MH_I2C_Read... [03:05:18]Read from MH i2c: E2 03 00 2E 02 00 90 00 A4 [03:05:18]RAPDU: 90 00 [03:05:18]wFMCommunicate OK [03:05:18]SAM_PROTO_ClearQueue done [03:05:18]KKMCreateOFDPacket [03:05:18]OFDProtocolAddRootSTLVToBuf [03:05:18]FM_MakeSignedData [03:05:18]FM_MakeSignedData [03:05:18]SAM_PROTO_SignData [03:05:18]wFMCommunicate request_size=4 [03:05:18]MH_SAM_APDU [03:05:18]CAPDU: 80 0D 01 02 [03:05:18]Write to MH i2c: E2 08 00 2F 02 80 0D 01 02 00 00 00 00 AA [03:05:18]Write i2c OK [03:05:18]MH_I2C_Read... [03:05:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:05:19]Read from MH i2c: E2 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 03 00 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 03 00 2F 02 00 90 00 A5 [03:05:19]RAPDU: 90 00 [03:05:19]wFMCommunicate OK [03:05:19]wFMCommunicate request_size=255 [03:05:19]MH_SAM_APDU [03:05:19]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 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 29 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 6F A2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B5 3D 00 00 35 04 06 00 7C [03:05:19]Write to MH i2c: E2 02 01 30 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 29 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 6F A2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B5 3D 00 00 35 04 06 00 7C 00 00 40 [03:05:19]Write i2c OK [03:05:19]MH_I2C_Read... [03:05:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:05:19]Read from MH i2c: E2 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 03 00 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 03 00 30 02 00 90 00 A6 [03:05:19]RAPDU: 90 00 [03:05:19]wFMCommunicate OK [03:05:19]wFMCommunicate request_size=10 [03:05:19]MH_SAM_APDU [03:05:19]CAPDU: 80 0D 02 02 05 4D 54 23 77 FA [03:05:19]Write to MH i2c: E2 0D 00 31 02 80 0D 02 02 05 00 4D 54 23 77 FA 00 00 EC [03:05:19]Write i2c OK [03:05:19]MH_I2C_Read... [03:05:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:05:19]Read from MH i2c: E2 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 03 00 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 03 00 31 02 00 90 00 A7 [03:05:19]RAPDU: 90 00 [03:05:19]wFMCommunicate OK [03:05:19]wFMCommunicate request_size=4 [03:05:19]MH_SAM_APDU [03:05:19]CAPDU: 80 0D 03 02 [03:05:19]Write to MH i2c: E2 08 00 32 02 80 0D 03 02 00 00 00 00 AF [03:05:19]Write i2c OK [03:05:19]MH_I2C_Read... [03:05:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:05:19]Read from MH i2c: E2 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 0B 00 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 0B 00 32 02 00 72 0E 18 34 C0 02 FA 9D 90 00 D5 [03:05:19]RAPDU: 72 0E 18 34 C0 02 FA 9D 90 00 [03:05:19]wFMCommunicate OK [03:05:19]SAM_PROTO_SignData done [03:05:19]FM_MakeSignedData done [03:05:19]CreateOFDProtocolMessage [03:05:19]wFMCommunicate request_size=4 [03:05:19]MH_SAM_APDU [03:05:19]CAPDU: 80 11 00 00 [03:05:19]Write to MH i2c: E2 08 00 33 02 80 11 00 00 00 00 00 00 AF [03:05:19]Write i2c OK [03:05:19]MH_I2C_Read... [03:05:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:05:19]Read from MH i2c: E2 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 17 00 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: E2 17 00 33 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 FE [03:05:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [03:05:19]wFMCommunicate OK [03:05:19]CreateOFDProtocolMessage done [03:05:19]OFDSenderStorePacket 15797 [03:05:19]StoreOFDPacket docnum=15797 [03:05:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 7F 8B 07 01 8E 08 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 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 29 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 6F A2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B5 3D 00 00 35 04 06 00 7C 4D 54 23 77 FA 72 0E 18 34 C0 02 FA 9D [03:05:19]CheckFolder [03:05:19]dirname=/storage/ofd_packets [03:05:19]CheckFolder done [03:05:19]ProducePacketName [03:05:19]name=ofd_packets/00015797 [03:05:19]NVStorageSaveData ofd_packets/00015797 [03:05:19]File name is /storage/ofd_packets/00015797 [03:05:19]Write 301 bytes [03:05:19]NVStorageSaveData done [03:05:19]OFDSenderStorePacket done [03:05:19]KKMCreateOFDPacket done [03:05:19]NVStorageSaveData kkm_last_timestamp [03:05:19]File name is /storage/kkm_last_timestamp [03:05:19]Write 4 bytes [03:05:19]NVStorageSaveData done [03:05:19]ExternCall_PrintAddStr [03:05:19]wPrintStart [03:05:19]Write to MH i2c: 01 00 00 34 02 36 [03:05:19]Write i2c OK [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: 01 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: 01 07 00 [03:05:19]MH_I2C_Read... [03:05:19]Read from MH i2c: 01 07 00 34 02 00 00 00 00 00 FF 0F 4B [03:05:19]RasterBufferAndPrint [03:05:19]line Счет N : (1)16346 [03:05:19]line ИНН: 02508201610067 [03:05:19]line Контрольно-Кассовый Чек [03:05:19]line ПРОДАЖА [03:05:19]line ТРК (МРК, ГНК) : 21 [03:05:19]line Товар: 2710124130 [03:05:19]line Аи-92-К-5 [03:05:19]line 22.430 * 66.90 [03:05:19]line = 1500.57 [03:05:19]line НДС 12% НСП 1% [03:05:19]line > о реализуемом товаре [03:05:19]line ОКРУГЛЕНИЕ: -0.57 [03:05:19]line ИТОГО: 1500.00 [03:05:19]line Внесено: 1500.00 [03:05:19]line СДАЧА: 0.00 [03:05:19]line НСП 1% : 13.28 [03:05:19]line НДС 12% : 159.35 [03:05:19]line Наличными: 1500.00 [03:05:19]line Безнал.: 0.00 [03:05:19]line Место: АЗС № 178 "Партнер Нефть" [03:05:19]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [03:05:19]line СНО: Общий режим [03:05:19]line Чек 7 30.10.2024 03:05 [03:05:19]line Смена: 173 ФФД: 1.0 [03:05:19]line ЗНМ: 0300000014 [03:05:19]line РНМ: 0000000000161798 [03:05:19]line Версия ККМ: v1.0 [03:05:19]line ФМ: 0000000000963325 [03:05:19]line ФД: 15797 [03:05:19]line ФПД: 136671565936634 [03:05:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T030519&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15797&fm=136671565936634&tin=02508201610067®Number=0000000000161798&sum=150000 [03:05:19]OFD Sender: Processing packet 15797 [packets to send 4, broken 3] [03:05:19]ProducePacketName [03:05:19]name=ofd_packets/00015797 [03:05:19]OFD Sender: To server: pG, [03:05:19]CommunicateWithHost lk.salyk.kg:30040 [03:05:19]ConnectInit lk.salyk.kg [03:05:19]written 0, free lines is 4095 [03:05:19]Connected sock=10 [03:05:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 7F 8B 07 01 8E 08 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 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 29 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 6F A2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B5 3D 00 00 35 04 06 00 7C 4D 54 23 77 FA 72 0E 18 34 C0 02 FA 9D [03:05:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 49 95 47 00 65 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 36 33 33 32 35 10 04 04 00 B5 3D 00 00 F4 03 04 00 59 4D 21 67 B6 04 01 00 00 60 33 C9 A8 D3 A5 F6 E5 [03:05:20]CommunicateWithHost err = 0 [03:05:20]CheckOFDResponse [03:05:20]1017 (14) - 77093643461234 [03:05:20]1041 (16) - 0000000000963325 [03:05:20]1040 (4) - 15797 [03:05:20]1012 (4) - 29.10.2024 21:02 [03:05:20]1206 (1) - 0 [03:05:20]OFD Sender: Remove packet 15797 [03:05:20]ProducePacketName [03:05:20]name=ofd_packets/00015797 [03:05:20]NVStorageDeleteData [03:05:20]Write to MH i2c: 01 00 00 5F 02 61 [03:05:20]Write i2c OK [03:05:20]MH_I2C_Read... [03:05:20]Read from MH i2c: 01 [03:05:20]MH_I2C_Read... [03:05:20]Read from MH i2c: 01 07 00 [03:05:20]MH_I2C_Read... [03:05:20]Read from MH i2c: 01 07 00 5F 02 00 00 00 00 00 E7 0C 5B [03:05:20]RasterBufferAndPrint [03:05:20]line [03:05:20]line [03:05:20]line [03:05:20]line [03:05:20]line [03:05:20]written 0, free lines is 3310 [03:05:20]MH_Cut [03:05:20]Write to MH i2c: D1 01 00 66 02 01 3A [03:05:20]Write i2c OK [03:05:20]MH_I2C_Read... [03:05:20]Read from MH i2c: D1 [03:05:20]MH_I2C_Read... [03:05:20]Read from MH i2c: D1 01 00 [03:05:20]MH_I2C_Read... [03:05:20]Read from MH i2c: D1 01 00 66 02 00 39 [03:05:20]Write to MH i2c: 01 00 00 67 02 69 [03:05:20]Write i2c OK [03:05:20]MH_I2C_Read... [03:05:20]OFD Sender: No OFD packet to send [03:05:20]*** Cut start [03:05:20]*** Partial cut [03:05:20]*** CUTSNS_PIN = 1 [03:05:21]*** CUTSNS_PIN = 0 [03:05:21]*** Brake cut motor [03:05:21]Read from MH i2c: 01 [03:05:21]MH_I2C_Read... [03:05:21]*** Stop cut motor [03:05:21]*** Cut end [03:05:21]Read from MH i2c: 01 07 00 [03:05:21]MH_I2C_Read... [03:05:21]Read from MH i2c: 01 07 00 67 02 00 00 00 00 00 FF 0F 7E [03:05:21]process_action close_receipt done [03:05:21]requested_data is exist [03:05:21]produce_requested_data [03:05:21]requested_item fm.sn is exist - process it [03:05:21]wFMCommunicate request_size=4 [03:05:21]MH_SAM_APDU [03:05:21]CAPDU: 80 11 00 00 [03:05:21]Write to MH i2c: E2 08 00 68 02 80 11 00 00 00 00 00 00 E4 [03:05:21]Write i2c OK [03:05:21]MH_I2C_Read... [03:05:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:05:21]Read from MH i2c: E2 [03:05:21]MH_I2C_Read... [03:05:21]Read from MH i2c: E2 17 00 [03:05:21]MH_I2C_Read... [03:05:21]Read from MH i2c: E2 17 00 68 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 33 [03:05:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [03:05:21]wFMCommunicate OK [03:05:21]requested_item fd.num is exist - process it [03:05:21]SAM_PROTO_GetFieldsCounters [03:05:21]wFMCommunicate request_size=4 [03:05:21]MH_SAM_APDU [03:05:21]CAPDU: 80 13 00 00 [03:05:21]Write to MH i2c: E2 08 00 69 02 80 13 00 00 00 00 00 00 E7 [03:05:21]Write i2c OK [03:05:21]MH_I2C_Read... [03:05:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:05:21]Read from MH i2c: E2 [03:05:21]MH_I2C_Read... [03:05:21]Read from MH i2c: E2 62 00 [03:05:21]MH_I2C_Read... [03:05:21]Read from MH i2c: E2 62 00 69 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B5 3D 00 00 0E 04 04 00 AD 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 BF [03:05:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B5 3D 00 00 0E 04 04 00 AD 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:05:21]wFMCommunicate OK [03:05:21]SAM_PROTO_GetFieldsCounters done [03:05:21]requested_item shift.num is exist - process it [03:05:21]requested_item shift.opened is exist - process it [03:05:21]req_shift_opened [03:05:21]FM_GetShiftState [03:05:21]SAM_PROTO_GetShiftState [03:05:21]wFMCommunicate request_size=4 [03:05:21]MH_SAM_APDU [03:05:21]CAPDU: 80 13 01 00 [03:05:21]Write to MH i2c: E2 08 00 6A 02 80 13 01 00 00 00 00 00 E9 [03:05:21]Write i2c OK [03:05:21]MH_I2C_Read... [03:05:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:05:21]Read from MH i2c: E2 [03:05:21]MH_I2C_Read... [03:05:21]Read from MH i2c: E2 0E 00 [03:05:21]MH_I2C_Read... [03:05:21]Read from MH i2c: E2 0E 00 6A 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 2E [03:05:21]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [03:05:21]wFMCommunicate OK [03:05:21]SAM_PROTO_GetShiftState done [03:05:21]FM_GetShiftState done [03:05:21]req_shift_opened done [03:05:21]requested_item shift.open_date is exist - process it [03:05:21]req_shift_open_date [03:05:21]req_shift_open_date done [03:05:21]produce_requested_data done [03:05:21]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15797,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [03:05:21]process_action_free close_receipt [03:05:21]json_value_free [03:05:21]json_value_free done [03:05:21]process_json_proto returns [03:05:21]Send response to host [03:05:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15797,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [03:05:21]free response buf [03:05:21]execute_script done [03:05:21]execute_script returns [03:05:21]free content buf [03:05:21]Sock 8.Close socket [03:05:21]Sock 8.Thread stoped [03:05:25]OFD Sender: No OFD packet to send [03:05:30]OFD Sender: No OFD packet to send [03:05:35]OFD Sender: No OFD packet to send [03:05:40]OFD Sender: No OFD packet to send [03:05:45]OFD Sender: No OFD packet to send [03:05:50]OFD Sender: No OFD packet to send [03:05:55]OFD Sender: No OFD packet to send [03:06:00]OFD Sender: No OFD packet to send [03:06:05]OFD Sender: No OFD packet to send [03:06:10]OFD Sender: No OFD packet to send [03:06:15]OFD Sender: No OFD packet to send [03:06:20]OFD Sender: No OFD packet to send [03:06:25]OFD Sender: No OFD packet to send [03:06:30]OFD Sender: No OFD packet to send [03:06:35]OFD Sender: No OFD packet to send [03:06:40]OFD Sender: No OFD packet to send [03:06:45]OFD Sender: No OFD packet to send [03:06:50]OFD Sender: No OFD packet to send [03:06:55]OFD Sender: No OFD packet to send [03:07:00]OFD Sender: No OFD packet to send [03:07:05]OFD Sender: No OFD packet to send [03:07:10]OFD Sender: No OFD packet to send [03:07:15]OFD Sender: No OFD packet to send [03:07:20]OFD Sender: No OFD packet to send [03:07:25]OFD Sender: No OFD packet to send [03:07:30]OFD Sender: No OFD packet to send [03:07:35]OFD Sender: No OFD packet to send [03:07:40]OFD Sender: No OFD packet to send [03:07:45]OFD Sender: No OFD packet to send [03:07:50]OFD Sender: No OFD packet to send [03:07:55]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send [03:08:25]OFD Sender: No OFD packet to send [03:08:30]OFD Sender: No OFD packet to send [03:08:35]OFD Sender: No OFD packet to send [03:08:40]OFD Sender: No OFD packet to send [03:08:45]OFD Sender: No OFD packet to send [03:08:50]OFD Sender: No OFD packet to send [03:08:55]OFD Sender: No OFD packet to send [03:09:00]OFD Sender: No OFD packet to send [03:09:05]OFD Sender: No OFD packet to send [03:09:10]OFD Sender: No OFD packet to send [03:09:15]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:15]OFD Sender: No OFD packet to send [03:11:20]OFD Sender: No OFD packet to send [03:11:25]OFD Sender: No OFD packet to send [03:11:30]OFD Sender: No OFD packet to send [03:11:35]OFD Sender: No OFD packet to send [03:11:40]OFD Sender: No OFD packet to send [03:11:45]OFD Sender: No OFD packet to send [03:11:50]OFD Sender: No OFD packet to send [03:11:55]OFD Sender: No OFD packet to send [03:12:00]OFD Sender: No OFD packet to send [03:12:05]OFD Sender: No OFD packet to send [03:12:10]OFD Sender: No OFD packet to send [03:12:15]OFD Sender: No OFD packet to send [03:12:20]OFD Sender: No OFD packet to send [03:12:25]OFD Sender: No OFD packet to send [03:12:30]OFD Sender: No OFD packet to send [03:12:35]OFD Sender: No OFD packet to send [03:12:40]OFD Sender: No OFD packet to send [03:12:45]OFD Sender: No OFD packet to send [03:12:50]OFD Sender: No OFD packet to send [03:12:55]OFD Sender: No OFD packet to send [03:13:00]OFD Sender: No OFD packet to send [03:13:05]OFD Sender: No OFD packet to send [03:13:10]OFD Sender: No OFD packet to send [03:13:15]OFD Sender: No OFD packet to send [03:13:20]OFD Sender: No OFD packet to send [03:13:25]OFD Sender: No OFD packet to send [03:13:30]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:30]OFD Sender: No OFD packet to send [03:15:36]OFD Sender: No OFD packet to send [03:15:41]OFD Sender: No OFD packet to send [03:15:46]OFD Sender: No OFD packet to send [03:15:51]OFD Sender: No OFD packet to send [03:15:56]OFD Sender: No OFD packet to send [03:16:01]OFD Sender: No OFD packet to send [03:16:06]OFD Sender: No OFD packet to send [03:16:11]OFD Sender: No OFD packet to send [03:16:16]OFD Sender: No OFD packet to send [03:16:21]OFD Sender: No OFD packet to send [03:16:26]OFD Sender: No OFD packet to send [03:16:31]OFD Sender: No OFD packet to send [03:16:36]OFD Sender: No OFD packet to send [03:16:41]OFD Sender: No OFD packet to send [03:16:46]OFD Sender: No OFD packet to send [03:16:51]OFD Sender: No OFD packet to send [03:16:56]OFD Sender: No OFD packet to send [03:17:01]OFD Sender: No OFD packet to send [03:17:06]OFD Sender: No OFD packet to send [03:17:11]OFD Sender: No OFD packet to send [03:17:16]OFD Sender: No OFD packet to send [03:17:21]OFD Sender: No OFD packet to send [03:17:26]OFD Sender: No OFD packet to send [03:17:31]OFD Sender: No OFD packet to send [03:17:36]OFD Sender: No OFD packet to send [03:17:41]OFD Sender: No OFD packet to send [03:17:46]OFD Sender: No OFD packet to send [03:17:51]OFD Sender: No OFD packet to send [03:17:56]OFD Sender: No OFD packet to send [03:18:01]OFD Sender: No OFD packet to send [03:18:06]OFD Sender: No OFD packet to send [03:18:11]OFD Sender: No OFD packet to send [03:18:16]OFD Sender: No OFD packet to send [03:18:21]OFD Sender: No OFD packet to send [03:18:26]OFD Sender: No OFD packet to send [03:18:31]OFD Sender: No OFD packet to send [03:18:36]OFD Sender: No OFD packet to send [03:18:41]OFD Sender: No OFD packet to send [03:18:46]OFD Sender: No OFD packet to send [03:18:51]OFD Sender: No OFD packet to send [03:18:56]OFD Sender: No OFD packet to send [03:19:01]OFD Sender: No OFD packet to send [03:19:06]OFD Sender: No OFD packet to send [03:19:11]OFD Sender: No OFD packet to send [03:19:16]OFD Sender: No OFD packet to send [03:19:21]OFD Sender: No OFD packet to send [03:19:26]OFD Sender: No OFD packet to send [03:19:31]OFD Sender: No OFD packet to send [03:19:36]OFD Sender: No OFD packet to send [03:19:41]OFD Sender: No OFD packet to send [03:19:46]OFD Sender: No OFD packet to send [03:19:51]OFD Sender: No OFD packet to send [03:19:56]OFD Sender: No OFD packet to send [03:20:01]OFD Sender: No OFD packet to send [03:20:06]OFD Sender: No OFD packet to send [03:20:11]OFD Sender: No OFD packet to send [03:20:16]OFD Sender: No OFD packet to send [03:20:21]OFD Sender: No OFD packet to send [03:20:26]OFD Sender: No OFD packet to send [03:20:31]OFD Sender: No OFD packet to send [03:20:36]OFD Sender: No OFD packet to send [03:20:41]OFD Sender: No OFD packet to send [03:20:46]OFD Sender: No OFD packet to send [03:20:51]OFD Sender: No OFD packet to send [03:20:56]OFD Sender: No OFD packet to send [03:21:01]OFD Sender: No OFD packet to send [03:21:06]OFD Sender: No OFD packet to send [03:21:11]OFD Sender: No OFD packet to send [03:21:16]OFD Sender: No OFD packet to send [03:21:21]OFD Sender: No OFD packet to send [03:21:25]accept exits with 9 [03:21:25]New connection [03:21:25]New thread 3067010404 created [03:21:25]Thread 3067153764 joined [03:21:25]Waiting for new connection... [03:21:25] Sock 9.Parse request [03:21:25]Sock 9.Check first char [03:21:25]Sock 9.First char is OK [03:21:25]request: POST /json_proto HTTP/1.0 [03:21:25]Method: POST [03:21:25]URL: /json_proto [03:21:25]Method is POST - this is cgi request [03:21:25]url: /json_proto [03:21:25]query_string will be loaded in cgi processing [03:21:25]execute_cgi json_proto POST (null) [03:21:25]execute_cgi path=json_proto method=POST [03:21:25]POST find Content-Length [03:21:25]Host: 172.17.54.195:8080 [03:21:25]Content-Length: 777 [03:21:25]Content-Type: application/json [03:21:25] [03:21:25]POST finish read [03:21:25]Found Content-Length = 777 [03:21:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16347", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 1000.00, "payments": [ { "type": 1, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:21:25]execute_script... [03:21:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16347", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 1000.00, "payments": [ { "type": 1, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:21:25]POST & json_proto [03:21:25]process_json_proto [03:21:25]json parsed OK: [03:21:25]protocol is kg_v1.0 [03:21:25]action value=close_receipt [03:21:25]process_action close_receipt [03:21:25]cmd_close_receipt [03:21:25]MH_GetDate [03:21:25]Write to MH i2c: F0 00 00 6B 02 5C [03:21:25]Write i2c OK [03:21:25]MH_I2C_Read... [03:21:25]Read from MH i2c: F0 [03:21:25]MH_I2C_Read... [03:21:25]Read from MH i2c: F0 09 00 [03:21:25]MH_I2C_Read... [03:21:25]Read from MH i2c: F0 09 00 6B 02 00 37 A6 21 67 8D 90 A3 66 F0 [03:21:25]GetLastDocTimeStamp 1730257519 [03:21:25]current date 1730258487 [03:21:25]FM_GetShiftState [03:21:25]SAM_PROTO_GetShiftState [03:21:25]wFMCommunicate request_size=4 [03:21:25]MH_SAM_APDU [03:21:25]CAPDU: 80 13 01 00 [03:21:25]Write to MH i2c: E2 08 00 6C 02 80 13 01 00 00 00 00 00 EB [03:21:25]Write i2c OK [03:21:25]MH_I2C_Read... [03:21:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:21:25]Read from MH i2c: E2 [03:21:25]MH_I2C_Read... [03:21:25]Read from MH i2c: E2 0E 00 [03:21:25]MH_I2C_Read... [03:21:25]Read from MH i2c: E2 0E 00 6C 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 30 [03:21:25]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [03:21:25]wFMCommunicate OK [03:21:25]SAM_PROTO_GetShiftState done [03:21:25]FM_GetShiftState done [03:21:25]opened in 1730247478 [03:21:25]opened+sec_in_day 1730333878 [03:21:25]quantity*price = 100000 [03:21:25]sum+1 = 100002 [03:21:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.01 ИТОГО: 1000.00 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 0.00 Безнал.: 1000.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 8 30.10.2024 03:21 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15798 ФПД: 235884192639797 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T032127&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15798&fm=235884192639797&tin=02508201610067®Number=0000000000161798&sum=100000 [03:21:26]StoreToDocumentArchive [03:21:26]shift 173 fd 15798 [03:21:26]save to /storage/0173/doc_00015798 [03:21:26]save last doc name /storage/0173/doc_00015798 to /storage/kkm_last_doc_name [03:21:26]save OK [03:21:26]Clear old archive folders... [03:21:26]ProcessDocumentItem done err = 0, tmpTLVsize=249 [03:21:26]tlvbuf is 00223740 [03:21:26]SAM_PROTO_ClearQueue [03:21:26]wFMCommunicate request_size=4 [03:21:26]MH_SAM_APDU [03:21:26]CAPDU: 80 09 00 00 [03:21:26]Write to MH i2c: E2 08 00 79 02 80 09 00 00 00 00 00 00 ED [03:21:26]Write i2c OK [03:21:26]MH_I2C_Read... [03:21:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:21:26]Read from MH i2c: E2 [03:21:26]MH_I2C_Read... [03:21:26]Read from MH i2c: E2 03 00 [03:21:26]MH_I2C_Read... [03:21:26]Read from MH i2c: E2 03 00 79 02 00 90 00 EF [03:21:26]RAPDU: 90 00 [03:21:26]wFMCommunicate OK [03:21:26]SAM_PROTO_ClearQueue done [03:21:26]KKMCreateOFDPacket [03:21:26]OFDProtocolAddRootSTLVToBuf [03:21:26]FM_MakeSignedData [03:21:26]FM_MakeSignedData [03:21:26]SAM_PROTO_SignData [03:21:26]wFMCommunicate request_size=4 [03:21:26]MH_SAM_APDU [03:21:26]CAPDU: 80 0D 01 02 [03:21:26]Write to MH i2c: E2 08 00 7A 02 80 0D 01 02 00 00 00 00 F5 [03:21:26]Write i2c OK [03:21:26]MH_I2C_Read... [03:21:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:21:27]Read from MH i2c: E2 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 03 00 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 03 00 7A 02 00 90 00 F0 [03:21:27]RAPDU: 90 00 [03:21:27]wFMCommunicate OK [03:21:27]wFMCommunicate request_size=255 [03:21:27]MH_SAM_APDU [03:21:27]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 37 A6 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B6 3D 00 00 35 04 06 00 D6 89 11 [03:21:27]Write to MH i2c: E2 02 01 7B 02 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 37 A6 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B6 3D 00 00 35 04 06 00 D6 89 11 00 00 2E [03:21:27]Write i2c OK [03:21:27]MH_I2C_Read... [03:21:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:21:27]Read from MH i2c: E2 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 03 00 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 03 00 7B 02 00 90 00 F1 [03:21:27]RAPDU: 90 00 [03:21:27]wFMCommunicate OK [03:21:27]wFMCommunicate request_size=8 [03:21:27]MH_SAM_APDU [03:21:27]CAPDU: 80 0D 02 02 03 82 AB 35 [03:21:27]Write to MH i2c: E2 0B 00 7C 02 80 0D 02 02 03 00 82 AB 35 00 00 60 [03:21:27]Write i2c OK [03:21:27]MH_I2C_Read... [03:21:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:21:27]Read from MH i2c: E2 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 03 00 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 03 00 7C 02 00 90 00 F2 [03:21:27]RAPDU: 90 00 [03:21:27]wFMCommunicate OK [03:21:27]wFMCommunicate request_size=4 [03:21:27]MH_SAM_APDU [03:21:27]CAPDU: 80 0D 03 02 [03:21:27]Write to MH i2c: E2 08 00 7D 02 80 0D 03 02 00 00 00 00 FA [03:21:27]Write i2c OK [03:21:27]MH_I2C_Read... [03:21:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:21:27]Read from MH i2c: E2 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 0B 00 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 0B 00 7D 02 00 2C 51 91 8F 20 0A 46 21 90 00 29 [03:21:27]RAPDU: 2C 51 91 8F 20 0A 46 21 90 00 [03:21:27]wFMCommunicate OK [03:21:27]SAM_PROTO_SignData done [03:21:27]FM_MakeSignedData done [03:21:27]CreateOFDProtocolMessage [03:21:27]wFMCommunicate request_size=4 [03:21:27]MH_SAM_APDU [03:21:27]CAPDU: 80 11 00 00 [03:21:27]Write to MH i2c: E2 08 00 7E 02 80 11 00 00 00 00 00 00 FA [03:21:27]Write i2c OK [03:21:27]MH_I2C_Read... [03:21:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:21:27]Read from MH i2c: E2 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 17 00 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: E2 17 00 7E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 49 [03:21:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [03:21:27]wFMCommunicate OK [03:21:27]CreateOFDProtocolMessage done [03:21:27]OFDSenderStorePacket 15798 [03:21:27]StoreOFDPacket docnum=15798 [03:21:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 B0 E6 05 01 98 02 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 37 A6 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B6 3D 00 00 35 04 06 00 D6 89 11 82 AB 35 2C 51 91 8F 20 0A 46 21 [03:21:27]CheckFolder [03:21:27]dirname=/storage/ofd_packets [03:21:27]CheckFolder done [03:21:27]ProducePacketName [03:21:27]name=ofd_packets/00015798 [03:21:27]NVStorageSaveData ofd_packets/00015798 [03:21:27]File name is /storage/ofd_packets/00015798 [03:21:27]Write 299 bytes [03:21:27]NVStorageSaveData done [03:21:27]OFDSenderStorePacket done [03:21:27]KKMCreateOFDPacket done [03:21:27]NVStorageSaveData kkm_last_timestamp [03:21:27]File name is /storage/kkm_last_timestamp [03:21:27]Write 4 bytes [03:21:27]NVStorageSaveData done [03:21:27]ExternCall_PrintAddStr [03:21:27]wPrintStart [03:21:27]Write to MH i2c: 01 00 00 7F 02 81 [03:21:27]Write i2c OK [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: 01 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: 01 07 00 [03:21:27]MH_I2C_Read... [03:21:27]Read from MH i2c: 01 07 00 7F 02 00 00 00 00 00 FF 0F 96 [03:21:27]RasterBufferAndPrint [03:21:27]line Счет N : (1)16347 [03:21:27]line ИНН: 02508201610067 [03:21:27]line Контрольно-Кассовый Чек [03:21:27]line ПРОДАЖА [03:21:27]line ТРК (МРК, ГНК) : 12 [03:21:27]line Товар: 50.50.0 [03:21:27]line SUPER 92-К-5 [03:21:27]line 14.620 * 68.40 [03:21:27]line = 1000.01 [03:21:27]line НДС 12% НСП 1% [03:21:27]line > о реализуемом товаре [03:21:27]line ОКРУГЛЕНИЕ: -0.01 [03:21:27]line ИТОГО: 1000.00 [03:21:27]line НСП 1% : 8.85 [03:21:27]line НДС 12% : 106.20 [03:21:27]line Наличными: 0.00 [03:21:27]line Безнал.: 1000.00 [03:21:27]line Место: АЗС № 178 "Партнер Нефть" [03:21:27]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [03:21:27]line СНО: Общий режим [03:21:27]line Чек 8 30.10.2024 03:21 [03:21:27]line Смена: 173 ФФД: 1.0 [03:21:27]line ЗНМ: 0300000014 [03:21:27]line РНМ: 0000000000161798 [03:21:27]line Версия ККМ: v1.0 [03:21:27]line Платежная система: Mbank [03:21:27]line ФМ: 0000000000963325 [03:21:27]line ФД: 15798 [03:21:27]line ФПД: 235884192639797 [03:21:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T032127&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15798&fm=235884192639797&tin=02508201610067®Number=0000000000161798&sum=100000 [03:21:27]OFD Sender: Processing packet 15798 [packets to send 4, broken 3] [03:21:27]ProducePacketName [03:21:27]name=ofd_packets/00015798 [03:21:27]OFD Sender: To server: pG, [03:21:27]CommunicateWithHost lk.salyk.kg:30040 [03:21:27]ConnectInit lk.salyk.kg [03:21:27]written 0, free lines is 4095 [03:21:27]Connected sock=10 [03:21:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 B0 E6 05 01 98 02 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 37 A6 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B6 3D 00 00 35 04 06 00 D6 89 11 82 AB 35 2C 51 91 8F 20 0A 46 21 [03:21:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 12 45 47 00 A8 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B6 3D 00 00 F4 03 04 00 21 51 21 67 B6 04 01 00 00 A2 9A AB A3 CE 49 A9 DE [03:21:28]CommunicateWithHost err = 0 [03:21:28]CheckOFDResponse [03:21:28]1017 (14) - 77093643461234 [03:21:28]1041 (16) - 0000000000963325 [03:21:28]1040 (4) - 15798 [03:21:28]1012 (4) - 29.10.2024 21:18 [03:21:28]1206 (1) - 0 [03:21:28]OFD Sender: Remove packet 15798 [03:21:28]ProducePacketName [03:21:28]name=ofd_packets/00015798 [03:21:28]NVStorageDeleteData [03:21:28]Write to MH i2c: 01 00 00 A9 02 AB [03:21:28]Write i2c OK [03:21:28]MH_I2C_Read... [03:21:28]Read from MH i2c: 01 [03:21:28]MH_I2C_Read... [03:21:28]Read from MH i2c: 01 07 00 [03:21:28]MH_I2C_Read... [03:21:28]Read from MH i2c: 01 07 00 A9 02 00 00 00 00 00 02 0D C1 [03:21:28]RasterBufferAndPrint [03:21:28]line [03:21:28]line [03:21:28]line [03:21:28]line [03:21:28]line [03:21:28]written 0, free lines is 3336 [03:21:28]MH_Cut [03:21:28]Write to MH i2c: D1 01 00 B0 02 01 84 [03:21:28]Write i2c OK [03:21:28]MH_I2C_Read... [03:21:28]Read from MH i2c: D1 [03:21:28]MH_I2C_Read... [03:21:28]Read from MH i2c: D1 01 00 [03:21:28]MH_I2C_Read... [03:21:28]Read from MH i2c: D1 01 00 B0 02 00 83 [03:21:28]Write to MH i2c: 01 00 00 B1 02 B3 [03:21:28]Write i2c OK [03:21:28]MH_I2C_Read... [03:21:28]OFD Sender: No OFD packet to send [03:21:28]*** Cut start [03:21:28]*** Partial cut [03:21:28]*** CUTSNS_PIN = 1 [03:21:28]*** CUTSNS_PIN = 0 [03:21:29]*** Brake cut motor [03:21:29]Read from MH i2c: 01 [03:21:29]MH_I2C_Read... [03:21:29]*** Stop cut motor [03:21:29]*** Cut end [03:21:29]Read from MH i2c: 01 07 00 [03:21:29]MH_I2C_Read... [03:21:29]Read from MH i2c: 01 07 00 B1 02 00 00 00 00 00 FF 0F C8 [03:21:29]process_action close_receipt done [03:21:29]requested_data is exist [03:21:29]produce_requested_data [03:21:29]requested_item fm.sn is exist - process it [03:21:29]wFMCommunicate request_size=4 [03:21:29]MH_SAM_APDU [03:21:29]CAPDU: 80 11 00 00 [03:21:29]Write to MH i2c: E2 08 00 B2 02 80 11 00 00 00 00 00 00 2E [03:21:29]Write i2c OK [03:21:29]MH_I2C_Read... [03:21:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:21:29]Read from MH i2c: E2 [03:21:29]MH_I2C_Read... [03:21:29]Read from MH i2c: E2 17 00 [03:21:29]MH_I2C_Read... [03:21:29]Read from MH i2c: E2 17 00 B2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 7D [03:21:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [03:21:29]wFMCommunicate OK [03:21:29]requested_item fd.num is exist - process it [03:21:29]SAM_PROTO_GetFieldsCounters [03:21:29]wFMCommunicate request_size=4 [03:21:29]MH_SAM_APDU [03:21:29]CAPDU: 80 13 00 00 [03:21:29]Write to MH i2c: E2 08 00 B3 02 80 13 00 00 00 00 00 00 31 [03:21:29]Write i2c OK [03:21:29]MH_I2C_Read... [03:21:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:21:29]Read from MH i2c: E2 [03:21:29]MH_I2C_Read... [03:21:29]Read from MH i2c: E2 62 00 [03:21:29]MH_I2C_Read... [03:21:29]Read from MH i2c: E2 62 00 B3 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B6 3D 00 00 0E 04 04 00 AD 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 0D [03:21:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B6 3D 00 00 0E 04 04 00 AD 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 [03:21:29]wFMCommunicate OK [03:21:29]SAM_PROTO_GetFieldsCounters done [03:21:29]requested_item shift.num is exist - process it [03:21:29]requested_item shift.opened is exist - process it [03:21:29]req_shift_opened [03:21:29]FM_GetShiftState [03:21:29]SAM_PROTO_GetShiftState [03:21:29]wFMCommunicate request_size=4 [03:21:29]MH_SAM_APDU [03:21:29]CAPDU: 80 13 01 00 [03:21:29]Write to MH i2c: E2 08 00 B4 02 80 13 01 00 00 00 00 00 33 [03:21:29]Write i2c OK [03:21:29]MH_I2C_Read... [03:21:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:21:29]Read from MH i2c: E2 [03:21:29]MH_I2C_Read... [03:21:29]Read from MH i2c: E2 0E 00 [03:21:29]MH_I2C_Read... [03:21:29]Read from MH i2c: E2 0E 00 B4 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 78 [03:21:29]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [03:21:29]wFMCommunicate OK [03:21:29]SAM_PROTO_GetShiftState done [03:21:29]FM_GetShiftState done [03:21:29]req_shift_opened done [03:21:29]requested_item shift.open_date is exist - process it [03:21:29]req_shift_open_date [03:21:29]req_shift_open_date done [03:21:29]produce_requested_data done [03:21:29]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15798,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [03:21:29]process_action_free close_receipt [03:21:29]json_value_free [03:21:29]json_value_free done [03:21:29]process_json_proto returns [03:21:29]Send response to host [03:21:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15798,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [03:21:29]free response buf [03:21:29]execute_script done [03:21:29]execute_script returns [03:21:29]free content buf [03:21:29]Sock 9.Close socket [03:21:29]Sock 9.Thread stoped [03:21:33]OFD Sender: No OFD packet to send [03:21:38]OFD Sender: No OFD packet to send [03:21:43]OFD Sender: No OFD packet to send [03:21:48]OFD Sender: No OFD packet to send [03:21:53]OFD Sender: No OFD packet to send [03:21:58]OFD Sender: No OFD packet to send [03:22:03]OFD Sender: No OFD packet to send [03:22:08]OFD Sender: No OFD packet to send [03:22:13]OFD Sender: No OFD packet to send [03:22:18]OFD Sender: No OFD packet to send [03:22:23]OFD Sender: No OFD packet to send [03:22:28]OFD Sender: No OFD packet to send [03:22:33]OFD Sender: No OFD packet to send [03:22:38]OFD Sender: No OFD packet to send [03:22:43]OFD Sender: No OFD packet to send [03:22:48]OFD Sender: No OFD packet to send [03:22:53]OFD Sender: No OFD packet to send [03:22:58]OFD Sender: No OFD packet to send [03:23:03]OFD Sender: No OFD packet to send [03:23:08]OFD Sender: No OFD packet to send [03:23:13]OFD Sender: No OFD packet to send [03:23:18]OFD Sender: No OFD packet to send [03:23:23]OFD Sender: No OFD packet to send [03:23:28]OFD Sender: No OFD packet to send [03:23:33]OFD Sender: No OFD packet to send [03:23:38]OFD Sender: No OFD packet to send [03:23:43]OFD Sender: No OFD packet to send [03:23:48]OFD Sender: No OFD packet to send [03:23:53]OFD Sender: No OFD packet to send [03:23:58]OFD Sender: No OFD packet to send [03:24:03]OFD Sender: No OFD packet to send [03:24:08]OFD Sender: No OFD packet to send [03:24:13]OFD Sender: No OFD packet to send [03:24:18]OFD Sender: No OFD packet to send [03:24:23]OFD Sender: No OFD packet to send [03:24:28]OFD Sender: No OFD packet to send [03:24:33]OFD Sender: No OFD packet to send [03:24:38]OFD Sender: No OFD packet to send [03:24:43]OFD Sender: No OFD packet to send [03:24:48]OFD Sender: No OFD packet to send [03:24:53]OFD Sender: No OFD packet to send [03:24:58]OFD Sender: No OFD packet to send [03:25:03]OFD Sender: No OFD packet to send [03:25:08]OFD Sender: No OFD packet to send [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:23]OFD Sender: No OFD packet to send [03:25:28]OFD Sender: No OFD packet to send [03:25:33]OFD Sender: No OFD packet to send [03:25:38]OFD Sender: No OFD packet to send [03:25:43]OFD Sender: No OFD packet to send [03:25:48]OFD Sender: No OFD packet to send [03:25:53]OFD Sender: No OFD packet to send [03:25:58]OFD Sender: No OFD packet to send [03:26:03]OFD Sender: No OFD packet to send [03:26:08]OFD Sender: No OFD packet to send [03:26:13]OFD Sender: No OFD packet to send [03:26:18]OFD Sender: No OFD packet to send [03:26:23]OFD Sender: No OFD packet to send [03:26:28]OFD Sender: No OFD packet to send [03:26:33]OFD Sender: No OFD packet to send [03:26:38]OFD Sender: No OFD packet to send [03:26:43]OFD Sender: No OFD packet to send [03:26:48]OFD Sender: No OFD packet to send [03:26:53]OFD Sender: No OFD packet to send [03:26:58]OFD Sender: No OFD packet to send [03:27:03]OFD Sender: No OFD packet to send [03:27:08]OFD Sender: No OFD packet to send [03:27:13]OFD Sender: No OFD packet to send [03:27:18]OFD Sender: No OFD packet to send [03:27:23]OFD Sender: No OFD packet to send [03:27:28]OFD Sender: No OFD packet to send [03:27:33]OFD Sender: No OFD packet to send [03:27:38]OFD Sender: No OFD packet to send [03:27:43]OFD Sender: No OFD packet to send [03:27:48]OFD Sender: No OFD packet to send [03:27:53]OFD Sender: No OFD packet to send [03:27:58]OFD Sender: No OFD packet to send [03:28:03]OFD Sender: No OFD packet to send [03:28:08]OFD Sender: No OFD packet to send [03:28:13]OFD Sender: No OFD packet to send [03:28:18]OFD Sender: No OFD packet to send [03:28:23]OFD Sender: No OFD packet to send [03:28:28]OFD Sender: No OFD packet to send [03:28:33]OFD Sender: No OFD packet to send [03:28:38]OFD Sender: No OFD packet to send [03:28:43]OFD Sender: No OFD packet to send [03:28:48]OFD Sender: No OFD packet to send [03:28:53]OFD Sender: No OFD packet to send [03:28:58]OFD Sender: No OFD packet to send [03:29:03]OFD Sender: No OFD packet to send [03:29:08]OFD Sender: No OFD packet to send [03:29:13]OFD Sender: No OFD packet to send [03:29:18]OFD Sender: No OFD packet to send [03:29:23]OFD Sender: No OFD packet to send [03:29:28]OFD Sender: No OFD packet to send [03:29:33]OFD Sender: No OFD packet to send [03:29:38]OFD Sender: No OFD packet to send [03:29:43]OFD Sender: No OFD packet to send [03:29:48]OFD Sender: No OFD packet to send [03:29:53]OFD Sender: No OFD packet to send [03:29:54]accept exits with 8 [03:29:54]New connection [03:29:54]New thread 3067153764 created [03:29:54]Thread 3067010404 joined [03:29:54]Waiting for new connection... [03:29:54] Sock 8.Parse request [03:29:54]Sock 8.Check first char [03:29:54]Sock 8.First char is OK [03:29:54]request: POST /json_proto HTTP/1.0 [03:29:54]Method: POST [03:29:54]URL: /json_proto [03:29:54]Method is POST - this is cgi request [03:29:54]url: /json_proto [03:29:54]query_string will be loaded in cgi processing [03:29:54]execute_cgi json_proto POST (null) [03:29:54]execute_cgi path=json_proto method=POST [03:29:54]POST find Content-Length [03:29:54]Host: 172.17.54.195:8080 [03:29:54]Content-Length: 787 [03:29:54]Content-Type: application/json [03:29:54] [03:29:54]POST finish read [03:29:54]Found Content-Length = 787 [03:29:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16349", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 16.640, "sum" : 647.30, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 647.00, "payments": [ { "type": 1, "sum" : 647.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:29:54]execute_script... [03:29:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16349", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 16.640, "sum" : 647.30, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 647.00, "payments": [ { "type": 1, "sum" : 647.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:29:54]POST & json_proto [03:29:54]process_json_proto [03:29:54]json parsed OK: [03:29:54]protocol is kg_v1.0 [03:29:54]action value=close_receipt [03:29:54]process_action close_receipt [03:29:54]cmd_close_receipt [03:29:54]MH_GetDate [03:29:54]Write to MH i2c: F0 00 00 B5 02 A6 [03:29:54]Write i2c OK [03:29:54]MH_I2C_Read... [03:29:54]Read from MH i2c: F0 [03:29:54]MH_I2C_Read... [03:29:54]Read from MH i2c: F0 09 00 [03:29:54]MH_I2C_Read... [03:29:54]Read from MH i2c: F0 09 00 B5 02 00 33 A8 21 67 8D 90 A3 66 38 [03:29:54]GetLastDocTimeStamp 1730258487 [03:29:54]current date 1730258995 [03:29:54]FM_GetShiftState [03:29:54]SAM_PROTO_GetShiftState [03:29:54]wFMCommunicate request_size=4 [03:29:54]MH_SAM_APDU [03:29:54]CAPDU: 80 13 01 00 [03:29:54]Write to MH i2c: E2 08 00 B6 02 80 13 01 00 00 00 00 00 35 [03:29:54]Write i2c OK [03:29:54]MH_I2C_Read... [03:29:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:29:54]Read from MH i2c: E2 [03:29:54]MH_I2C_Read... [03:29:54]Read from MH i2c: E2 0E 00 [03:29:54]MH_I2C_Read... [03:29:54]Read from MH i2c: E2 0E 00 B6 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 7A [03:29:54]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [03:29:54]wFMCommunicate OK [03:29:54]SAM_PROTO_GetShiftState done [03:29:54]FM_GetShiftState done [03:29:54]opened in 1730247478 [03:29:54]opened+sec_in_day 1730333878 [03:29:54]quantity*price = 64729 [03:29:54]sum+1 = 64731 [03:29:54]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.30 ИТОГО: 647.00 НСП 1% : 5.73 НДС 12% : 68.74 Наличными: 0.00 Безнал.: 647.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 9 30.10.2024 03:29 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15799 ФПД: 113780042285077 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T032955&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15799&fm=113780042285077&tin=02508201610067®Number=0000000000161798&sum=64700 [03:29:55]StoreToDocumentArchive [03:29:55]shift 173 fd 15799 [03:29:55]save to /storage/0173/doc_00015799 [03:29:55]save last doc name /storage/0173/doc_00015799 to /storage/kkm_last_doc_name [03:29:55]save OK [03:29:55]Clear old archive folders... [03:29:55]ProcessDocumentItem done err = 0, tmpTLVsize=250 [03:29:55]tlvbuf is 00240880 [03:29:55]SAM_PROTO_ClearQueue [03:29:55]wFMCommunicate request_size=4 [03:29:55]MH_SAM_APDU [03:29:55]CAPDU: 80 09 00 00 [03:29:55]Write to MH i2c: E2 08 00 C3 02 80 09 00 00 00 00 00 00 37 [03:29:55]Write i2c OK [03:29:55]MH_I2C_Read... [03:29:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:29:55]Read from MH i2c: E2 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 03 00 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 03 00 C3 02 00 90 00 39 [03:29:55]RAPDU: 90 00 [03:29:55]wFMCommunicate OK [03:29:55]SAM_PROTO_ClearQueue done [03:29:55]KKMCreateOFDPacket [03:29:55]OFDProtocolAddRootSTLVToBuf [03:29:55]FM_MakeSignedData [03:29:55]FM_MakeSignedData [03:29:55]SAM_PROTO_SignData [03:29:55]wFMCommunicate request_size=4 [03:29:55]MH_SAM_APDU [03:29:55]CAPDU: 80 0D 01 02 [03:29:55]Write to MH i2c: E2 08 00 C4 02 80 0D 01 02 00 00 00 00 3F [03:29:55]Write i2c OK [03:29:55]MH_I2C_Read... [03:29:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:29:55]Read from MH i2c: E2 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 03 00 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 03 00 C4 02 00 90 00 3A [03:29:55]RAPDU: 90 00 [03:29:55]wFMCommunicate OK [03:29:55]wFMCommunicate request_size=255 [03:29:55]MH_SAM_APDU [03:29:55]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 00 41 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 DA FC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC FC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC FC 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 33 A8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B7 3D 00 00 35 04 06 00 67 7B [03:29:55]Write to MH i2c: E2 02 01 C5 02 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 00 41 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 DA FC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC FC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC FC 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 33 A8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B7 3D 00 00 35 04 06 00 67 7B 00 00 DD [03:29:55]Write i2c OK [03:29:55]MH_I2C_Read... [03:29:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:29:55]Read from MH i2c: E2 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 03 00 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 03 00 C5 02 00 90 00 3B [03:29:55]RAPDU: 90 00 [03:29:55]wFMCommunicate OK [03:29:55]wFMCommunicate request_size=9 [03:29:55]MH_SAM_APDU [03:29:55]CAPDU: 80 0D 02 02 04 7B 00 C0 15 [03:29:55]Write to MH i2c: E2 0C 00 C6 02 80 0D 02 02 04 00 7B 00 C0 15 00 00 9A [03:29:55]Write i2c OK [03:29:55]MH_I2C_Read... [03:29:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:29:55]Read from MH i2c: E2 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 03 00 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 03 00 C6 02 00 90 00 3C [03:29:55]RAPDU: 90 00 [03:29:55]wFMCommunicate OK [03:29:55]wFMCommunicate request_size=4 [03:29:55]MH_SAM_APDU [03:29:55]CAPDU: 80 0D 03 02 [03:29:55]Write to MH i2c: E2 08 00 C7 02 80 0D 03 02 00 00 00 00 44 [03:29:55]Write i2c OK [03:29:55]MH_I2C_Read... [03:29:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:29:55]Read from MH i2c: E2 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 0B 00 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 0B 00 C7 02 00 8A 4F 76 F9 77 BB A7 D0 90 00 36 [03:29:55]RAPDU: 8A 4F 76 F9 77 BB A7 D0 90 00 [03:29:55]wFMCommunicate OK [03:29:55]SAM_PROTO_SignData done [03:29:55]FM_MakeSignedData done [03:29:55]CreateOFDProtocolMessage [03:29:55]wFMCommunicate request_size=4 [03:29:55]MH_SAM_APDU [03:29:55]CAPDU: 80 11 00 00 [03:29:55]Write to MH i2c: E2 08 00 C8 02 80 11 00 00 00 00 00 00 44 [03:29:55]Write i2c OK [03:29:55]MH_I2C_Read... [03:29:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:29:55]Read from MH i2c: E2 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 17 00 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: E2 17 00 C8 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 93 [03:29:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [03:29:55]wFMCommunicate OK [03:29:55]CreateOFDProtocolMessage done [03:29:55]OFDSenderStorePacket 15799 [03:29:55]StoreOFDPacket docnum=15799 [03:29:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 02 58 06 01 C4 48 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 00 41 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 DA FC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC FC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC FC 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 33 A8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B7 3D 00 00 35 04 06 00 67 7B 7B 00 C0 15 8A 4F 76 F9 77 BB A7 D0 [03:29:55]CheckFolder [03:29:55]dirname=/storage/ofd_packets [03:29:55]CheckFolder done [03:29:55]ProducePacketName [03:29:55]name=ofd_packets/00015799 [03:29:55]NVStorageSaveData ofd_packets/00015799 [03:29:55]File name is /storage/ofd_packets/00015799 [03:29:55]Write 300 bytes [03:29:55]NVStorageSaveData done [03:29:55]OFDSenderStorePacket done [03:29:55]KKMCreateOFDPacket done [03:29:55]NVStorageSaveData kkm_last_timestamp [03:29:55]File name is /storage/kkm_last_timestamp [03:29:55]Write 4 bytes [03:29:55]NVStorageSaveData done [03:29:55]ExternCall_PrintAddStr [03:29:55]wPrintStart [03:29:55]Write to MH i2c: 01 00 00 C9 02 CB [03:29:55]Write i2c OK [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: 01 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: 01 07 00 [03:29:55]MH_I2C_Read... [03:29:55]Read from MH i2c: 01 07 00 C9 02 00 00 00 00 00 FF 0F E0 [03:29:55]RasterBufferAndPrint [03:29:55]line Счет N : (1)16349 [03:29:55]line ИНН: 02508201610067 [03:29:55]line Контрольно-Кассовый Чек [03:29:55]line ПРОДАЖА [03:29:55]line ТРК (МРК, ГНК) : 41 [03:29:55]line Товар: 2711190000 [03:29:55]line ГАЗ-К-5 [03:29:55]line 16.640 * 38.90 [03:29:55]line = 647.30 [03:29:55]line НДС 12% НСП 1% [03:29:55]line > о реализуемом товаре [03:29:55]line ОКРУГЛЕНИЕ: -0.30 [03:29:55]line ИТОГО: 647.00 [03:29:55]line НСП 1% : 5.73 [03:29:55]line НДС 12% : 68.74 [03:29:55]line Наличными: 0.00 [03:29:55]line Безнал.: 647.00 [03:29:55]line Место: АЗС № 178 "Партнер Нефть" [03:29:55]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [03:29:55]line СНО: Общий режим [03:29:56]line Чек 9 30.10.2024 03:29 [03:29:56]line Смена: 173 ФФД: 1.0 [03:29:56]line ЗНМ: 0300000014 [03:29:56]line РНМ: 0000000000161798 [03:29:56]line Версия ККМ: v1.0 [03:29:56]line Платежная система: Mbank [03:29:56]line ФМ: 0000000000963325 [03:29:56]line ФД: 15799 [03:29:56]line ФПД: 113780042285077 [03:29:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T032955&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15799&fm=113780042285077&tin=02508201610067®Number=0000000000161798&sum=64700 [03:29:56]OFD Sender: Processing packet 15799 [packets to send 4, broken 3] [03:29:56]ProducePacketName [03:29:56]name=ofd_packets/00015799 [03:29:56]OFD Sender: To server: pG, [03:29:56]CommunicateWithHost lk.salyk.kg:30040 [03:29:56]ConnectInit lk.salyk.kg [03:29:56]written 0, free lines is 4095 [03:29:56]Connected sock=10 [03:29:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 02 58 06 01 C4 48 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 00 41 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 DA FC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC FC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DA 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC FC 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 33 A8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B7 3D 00 00 35 04 06 00 67 7B 7B 00 C0 15 8A 4F 76 F9 77 BB A7 D0 [03:29:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 5A E0 47 00 B3 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 36 33 33 32 35 10 04 04 00 B7 3D 00 00 F4 03 04 00 1E 53 21 67 B6 04 01 00 00 CB 4B 17 93 44 22 3D DC [03:29:56]CommunicateWithHost err = 0 [03:29:56]CheckOFDResponse [03:29:56]1017 (14) - 77093643461234 [03:29:56]1041 (16) - 0000000000963325 [03:29:56]1040 (4) - 15799 [03:29:56]1012 (4) - 29.10.2024 21:26 [03:29:56]1206 (1) - 0 [03:29:56]OFD Sender: Remove packet 15799 [03:29:56]ProducePacketName [03:29:56]name=ofd_packets/00015799 [03:29:56]NVStorageDeleteData [03:29:56]Write to MH i2c: 01 00 00 F3 02 F5 [03:29:56]Write i2c OK [03:29:56]MH_I2C_Read... [03:29:56]Read from MH i2c: 01 [03:29:56]MH_I2C_Read... [03:29:56]Read from MH i2c: 01 07 00 [03:29:56]MH_I2C_Read... [03:29:56]Read from MH i2c: 01 07 00 F3 02 00 00 00 00 00 03 0D 0C [03:29:56]RasterBufferAndPrint [03:29:56]line [03:29:56]line [03:29:56]line [03:29:56]line [03:29:56]line [03:29:56]written 0, free lines is 3337 [03:29:56]MH_Cut [03:29:56]Write to MH i2c: D1 01 00 FA 02 01 CE [03:29:56]Write i2c OK [03:29:56]MH_I2C_Read... [03:29:56]Read from MH i2c: D1 [03:29:56]MH_I2C_Read... [03:29:56]Read from MH i2c: D1 01 00 [03:29:56]MH_I2C_Read... [03:29:56]Read from MH i2c: D1 01 00 FA 02 00 CD [03:29:56]Write to MH i2c: 01 00 00 FB 02 FD [03:29:56]Write i2c OK [03:29:56]MH_I2C_Read... [03:29:57]OFD Sender: No OFD packet to send [03:29:57]*** Cut start [03:29:57]*** Partial cut [03:29:57]*** CUTSNS_PIN = 1 [03:29:57]*** CUTSNS_PIN = 0 [03:29:57]*** Brake cut motor [03:29:58]Read from MH i2c: 01 [03:29:58]MH_I2C_Read... [03:29:58]*** Stop cut motor [03:29:58]*** Cut end [03:29:58]Read from MH i2c: 01 07 00 [03:29:58]MH_I2C_Read... [03:29:58]Read from MH i2c: 01 07 00 FB 02 00 00 00 00 00 FF 0F 12 [03:29:58]process_action close_receipt done [03:29:58]requested_data is exist [03:29:58]produce_requested_data [03:29:58]requested_item fm.sn is exist - process it [03:29:58]wFMCommunicate request_size=4 [03:29:58]MH_SAM_APDU [03:29:58]CAPDU: 80 11 00 00 [03:29:58]Write to MH i2c: E2 08 00 FC 02 80 11 00 00 00 00 00 00 78 [03:29:58]Write i2c OK [03:29:58]MH_I2C_Read... [03:29:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:29:58]Read from MH i2c: E2 [03:29:58]MH_I2C_Read... [03:29:58]Read from MH i2c: E2 17 00 [03:29:58]MH_I2C_Read... [03:29:58]Read from MH i2c: E2 17 00 FC 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 C7 [03:29:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [03:29:58]wFMCommunicate OK [03:29:58]requested_item fd.num is exist - process it [03:29:58]SAM_PROTO_GetFieldsCounters [03:29:58]wFMCommunicate request_size=4 [03:29:58]MH_SAM_APDU [03:29:58]CAPDU: 80 13 00 00 [03:29:58]Write to MH i2c: E2 08 00 FD 02 80 13 00 00 00 00 00 00 7B [03:29:58]Write i2c OK [03:29:58]MH_I2C_Read... [03:29:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:29:58]Read from MH i2c: E2 [03:29:58]MH_I2C_Read... [03:29:58]Read from MH i2c: E2 62 00 [03:29:58]MH_I2C_Read... [03:29:58]Read from MH i2c: E2 62 00 FD 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B7 3D 00 00 0E 04 04 00 AD 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 5B [03:29:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B7 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:29:58]wFMCommunicate OK [03:29:58]SAM_PROTO_GetFieldsCounters done [03:29:58]requested_item shift.num is exist - process it [03:29:58]requested_item shift.opened is exist - process it [03:29:58]req_shift_opened [03:29:58]FM_GetShiftState [03:29:58]SAM_PROTO_GetShiftState [03:29:58]wFMCommunicate request_size=4 [03:29:58]MH_SAM_APDU [03:29:58]CAPDU: 80 13 01 00 [03:29:58]Write to MH i2c: E2 08 00 FE 02 80 13 01 00 00 00 00 00 7D [03:29:58]Write i2c OK [03:29:58]MH_I2C_Read... [03:29:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:29:58]Read from MH i2c: E2 [03:29:58]MH_I2C_Read... [03:29:58]Read from MH i2c: E2 0E 00 [03:29:58]MH_I2C_Read... [03:29:58]Read from MH i2c: E2 0E 00 FE 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 C2 [03:29:58]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [03:29:58]wFMCommunicate OK [03:29:58]SAM_PROTO_GetShiftState done [03:29:58]FM_GetShiftState done [03:29:58]req_shift_opened done [03:29:58]requested_item shift.open_date is exist - process it [03:29:58]req_shift_open_date [03:29:58]req_shift_open_date done [03:29:58]produce_requested_data done [03:29:58]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15799,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [03:29:58]process_action_free close_receipt [03:29:58]json_value_free [03:29:58]json_value_free done [03:29:58]process_json_proto returns [03:29:58]Send response to host [03:29:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15799,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [03:29:58]free response buf [03:29:58]execute_script done [03:29:58]execute_script returns [03:29:58]free content buf [03:29:58]Sock 8.Close socket [03:29:58]Sock 8.Thread stoped [03:30:02]OFD Sender: No OFD packet to send [03:30:07]OFD Sender: No OFD packet to send [03:30:12]OFD Sender: No OFD packet to send [03:30:17]OFD Sender: No OFD packet to send [03:30:22]OFD Sender: No OFD packet to send [03:30:27]OFD Sender: No OFD packet to send [03:30:32]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:52]OFD Sender: No OFD packet to send [03:30:57]OFD Sender: No OFD packet to send [03:31:02]OFD Sender: No OFD packet to send [03:31:07]OFD Sender: No OFD packet to send [03:31:12]OFD Sender: No OFD packet to send [03:31:17]OFD Sender: No OFD packet to send [03:31:22]OFD Sender: No OFD packet to send [03:31:27]OFD Sender: No OFD packet to send [03:31:32]OFD Sender: No OFD packet to send [03:31:37]OFD Sender: No OFD packet to send [03:31:42]OFD Sender: No OFD packet to send [03:31:47]OFD Sender: No OFD packet to send [03:31:52]OFD Sender: No OFD packet to send [03:31:57]OFD Sender: No OFD packet to send [03:32:02]OFD Sender: No OFD packet to send [03:32:07]OFD Sender: No OFD packet to send [03:32:12]OFD Sender: No OFD packet to send [03:32:17]OFD Sender: No OFD packet to send [03:32:22]OFD Sender: No OFD packet to send [03:32:27]OFD Sender: No OFD packet to send [03:32:32]OFD Sender: No OFD packet to send [03:32:37]OFD Sender: No OFD packet to send [03:32:42]OFD Sender: No OFD packet to send [03:32:47]OFD Sender: No OFD packet to send [03:32:52]OFD Sender: No OFD packet to send [03:32:57]OFD Sender: No OFD packet to send [03:33:02]OFD Sender: No OFD packet to send [03:33:07]OFD Sender: No OFD packet to send [03:33:12]OFD Sender: No OFD packet to send [03:33:17]OFD Sender: No OFD packet to send [03:33:22]OFD Sender: No OFD packet to send [03:33:27]OFD Sender: No OFD packet to send [03:33:32]OFD Sender: No OFD packet to send [03:33:37]OFD Sender: No OFD packet to send [03:33:42]OFD Sender: No OFD packet to send [03:33:47]OFD Sender: No OFD packet to send [03:33:52]OFD Sender: No OFD packet to send [03:33:57]OFD Sender: No OFD packet to send [03:34:02]OFD Sender: No OFD packet to send [03:34:07]OFD Sender: No OFD packet to send [03:34:12]OFD Sender: No OFD packet to send [03:34:17]OFD Sender: No OFD packet to send [03:34:22]OFD Sender: No OFD packet to send [03:34:27]OFD Sender: No OFD packet to send [03:34:32]OFD Sender: No OFD packet to send [03:34:37]OFD Sender: No OFD packet to send [03:34:42]OFD Sender: No OFD packet to send [03:34:47]OFD Sender: No OFD packet to send [03:34:52]OFD Sender: No OFD packet to send [03:34:57]OFD Sender: No OFD packet to send [03:35:02]OFD Sender: No OFD packet to send [03:35:07]OFD Sender: No OFD packet to send [03:35:12]OFD Sender: No OFD packet to send [03:35:17]OFD Sender: No OFD packet to send [03:35:22]OFD Sender: No OFD packet to send [03:35:27]OFD Sender: No OFD packet to send [03:35:32]OFD Sender: No OFD packet to send [03:35:37]OFD Sender: No OFD packet to send [03:35:42]OFD Sender: No OFD packet to send [03:35:47]OFD Sender: No OFD packet to send [03:35:52]OFD Sender: No OFD packet to send [03:35:57]OFD Sender: No OFD packet to send [03:36:02]OFD Sender: No OFD packet to send [03:36:07]OFD Sender: No OFD packet to send [03:36:12]OFD Sender: No OFD packet to send [03:36:17]OFD Sender: No OFD packet to send [03:36:22]OFD Sender: No OFD packet to send [03:36:27]OFD Sender: No OFD packet to send [03:36:32]OFD Sender: No OFD packet to send [03:36:37]OFD Sender: No OFD packet to send [03:36:42]OFD Sender: No OFD packet to send [03:36:47]OFD Sender: No OFD packet to send [03:36:52]OFD Sender: No OFD packet to send [03:36:57]OFD Sender: No OFD packet to send [03:37:02]OFD Sender: No OFD packet to send [03:37:07]OFD Sender: No OFD packet to send [03:37:12]OFD Sender: No OFD packet to send [03:37:17]OFD Sender: No OFD packet to send [03:37:22]OFD Sender: No OFD packet to send [03:37:27]OFD Sender: No OFD packet to send [03:37:32]OFD Sender: No OFD packet to send [03:37:37]OFD Sender: No OFD packet to send [03:37:42]OFD Sender: No OFD packet to send [03:37:47]OFD Sender: No OFD packet to send [03:37:52]OFD Sender: No OFD packet to send [03:37:57]OFD Sender: No OFD packet to send [03:38:02]OFD Sender: No OFD packet to send [03:38:07]OFD Sender: No OFD packet to send [03:38:12]OFD Sender: No OFD packet to send [03:38:17]OFD Sender: No OFD packet to send [03:38:22]OFD Sender: No OFD packet to send [03:38:27]OFD Sender: No OFD packet to send [03:38:32]OFD Sender: No OFD packet to send [03:38:37]OFD Sender: No OFD packet to send [03:38:42]OFD Sender: No OFD packet to send [03:38:47]OFD Sender: No OFD packet to send [03:38:52]OFD Sender: No OFD packet to send [03:38:57]OFD Sender: No OFD packet to send [03:39:02]OFD Sender: No OFD packet to send [03:39:07]OFD Sender: No OFD packet to send [03:39:12]OFD Sender: No OFD packet to send [03:39:17]OFD Sender: No OFD packet to send [03:39:22]OFD Sender: No OFD packet to send [03:39:27]accept exits with 9 [03:39:27]New connection [03:39:27]New thread 3067010404 created [03:39:27]Thread 3067153764 joined [03:39:27]Waiting for new connection... [03:39:27] Sock 9.Parse request [03:39:27]Sock 9.Check first char [03:39:27]Sock 9.First char is OK [03:39:27]request: POST /json_proto HTTP/1.0 [03:39:27]Method: POST [03:39:27]URL: /json_proto [03:39:27]Method is POST - this is cgi request [03:39:27]url: /json_proto [03:39:27]query_string will be loaded in cgi processing [03:39:27]execute_cgi json_proto POST (null) [03:39:27]execute_cgi path=json_proto method=POST [03:39:27]POST find Content-Length [03:39:27]Host: 172.17.54.195:8080 [03:39:27]Content-Length: 681 [03:39:27]Content-Type: application/json [03:39:27] [03:39:27]POST finish read [03:39:27]Found Content-Length = 681 [03:39:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16350", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 26.910, "sum" : 1800.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1800.00, "total" : 1800.00, "payments": [ { "type": 0, "sum" : 1800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:39:27]execute_script... [03:39:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16350", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 26.910, "sum" : 1800.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1800.00, "total" : 1800.00, "payments": [ { "type": 0, "sum" : 1800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:39:27]POST & json_proto [03:39:27]process_json_proto [03:39:27]json parsed OK: [03:39:27]protocol is kg_v1.0 [03:39:27]action value=close_receipt [03:39:27]process_action close_receipt [03:39:27]cmd_close_receipt [03:39:27]MH_GetDate [03:39:27]Write to MH i2c: F0 00 00 FF 02 F0 [03:39:27]Write i2c OK [03:39:27]MH_I2C_Read... [03:39:27]Read from MH i2c: F0 [03:39:27]MH_I2C_Read... [03:39:27]Read from MH i2c: F0 09 00 [03:39:27]MH_I2C_Read... [03:39:27]Read from MH i2c: F0 09 00 FF 02 00 70 AA 21 67 8D 90 A3 66 C1 [03:39:27]GetLastDocTimeStamp 1730258995 [03:39:27]current date 1730259568 [03:39:27]FM_GetShiftState [03:39:27]SAM_PROTO_GetShiftState [03:39:27]wFMCommunicate request_size=4 [03:39:27]MH_SAM_APDU [03:39:27]CAPDU: 80 13 01 00 [03:39:27]Write to MH i2c: E2 08 00 00 03 80 13 01 00 00 00 00 00 80 [03:39:27]Write i2c OK [03:39:27]MH_I2C_Read... [03:39:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:39:27]Read from MH i2c: E2 [03:39:27]MH_I2C_Read... [03:39:27]Read from MH i2c: E2 0E 00 [03:39:27]MH_I2C_Read... [03:39:27]Read from MH i2c: E2 0E 00 00 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 C5 [03:39:27]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [03:39:27]wFMCommunicate OK [03:39:27]SAM_PROTO_GetShiftState done [03:39:27]FM_GetShiftState done [03:39:27]opened in 1730247478 [03:39:27]opened+sec_in_day 1730333878 [03:39:27]quantity*price = 180027 [03:39:27]sum+1 = 180029 [03:39:27]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.28 ИТОГО: 1800.00 Внесено: 1800.00 СДАЧА: 0.00 НСП 1% : 15.93 НДС 12% : 191.18 Наличными: 1800.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 10 30.10.2024 03:39 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15800 ФПД: 112610264737225 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T033928&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15800&fm=112610264737225&tin=02508201610067®Number=0000000000161798&sum=180000 [03:39:28]StoreToDocumentArchive [03:39:28]shift 173 fd 15800 [03:39:28]save to /storage/0173/doc_00015800 [03:39:28]save last doc name /storage/0173/doc_00015800 to /storage/kkm_last_doc_name [03:39:28]save OK [03:39:28]Clear old archive folders... [03:39:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [03:39:28]tlvbuf is 00228AE0 [03:39:28]SAM_PROTO_ClearQueue [03:39:28]wFMCommunicate request_size=4 [03:39:28]MH_SAM_APDU [03:39:28]CAPDU: 80 09 00 00 [03:39:28]Write to MH i2c: E2 08 00 0D 03 80 09 00 00 00 00 00 00 82 [03:39:28]Write i2c OK [03:39:28]MH_I2C_Read... [03:39:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:39:28]Read from MH i2c: E2 [03:39:28]MH_I2C_Read... [03:39:28]Read from MH i2c: E2 03 00 [03:39:28]MH_I2C_Read... [03:39:28]Read from MH i2c: E2 03 00 0D 03 00 90 00 84 [03:39:28]RAPDU: 90 00 [03:39:28]wFMCommunicate OK [03:39:28]SAM_PROTO_ClearQueue done [03:39:28]KKMCreateOFDPacket [03:39:28]OFDProtocolAddRootSTLVToBuf [03:39:28]FM_MakeSignedData [03:39:28]FM_MakeSignedData [03:39:28]SAM_PROTO_SignData [03:39:28]wFMCommunicate request_size=4 [03:39:28]MH_SAM_APDU [03:39:28]CAPDU: 80 0D 01 02 [03:39:28]Write to MH i2c: E2 08 00 0E 03 80 0D 01 02 00 00 00 00 8A [03:39:28]Write i2c OK [03:39:28]MH_I2C_Read... [03:39:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:39:28]Read from MH i2c: E2 [03:39:28]MH_I2C_Read... [03:39:28]Read from MH i2c: E2 03 00 [03:39:28]MH_I2C_Read... [03:39:28]Read from MH i2c: E2 03 00 0E 03 00 90 00 85 [03:39:28]RAPDU: 90 00 [03:39:28]wFMCommunicate OK [03:39:28]wFMCommunicate request_size=255 [03:39:28]MH_SAM_APDU [03:39:28]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1E 69 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 3C BF 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 BF 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 4A 00 00 00 00 07 04 06 00 20 BF 02 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 70 AA 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B8 3D 00 00 35 04 06 00 66 [03:39:28]Write to MH i2c: E2 02 01 0F 03 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1E 69 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 3C BF 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 BF 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 4A 00 00 00 00 07 04 06 00 20 BF 02 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 70 AA 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B8 3D 00 00 35 04 06 00 66 00 00 04 [03:39:28]Write i2c OK [03:39:28]MH_I2C_Read... [03:39:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:39:28]Read from MH i2c: E2 [03:39:28]MH_I2C_Read... [03:39:28]Read from MH i2c: E2 03 00 [03:39:28]MH_I2C_Read... [03:39:28]Read from MH i2c: E2 03 00 0F 03 00 90 00 86 [03:39:28]RAPDU: 90 00 [03:39:28]wFMCommunicate OK [03:39:28]wFMCommunicate request_size=10 [03:39:28]MH_SAM_APDU [03:39:28]CAPDU: 80 0D 02 02 05 6B 1E D3 E5 C9 [03:39:28]Write to MH i2c: E2 0D 00 10 03 80 0D 02 02 05 00 6B 1E D3 E5 C9 00 00 A1 [03:39:28]Write i2c OK [03:39:28]MH_I2C_Read... [03:39:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:39:28]Read from MH i2c: E2 [03:39:28]MH_I2C_Read... [03:39:28]Read from MH i2c: E2 03 00 [03:39:28]MH_I2C_Read... [03:39:28]Read from MH i2c: E2 03 00 10 03 00 90 00 87 [03:39:28]RAPDU: 90 00 [03:39:28]wFMCommunicate OK [03:39:28]wFMCommunicate request_size=4 [03:39:28]MH_SAM_APDU [03:39:28]CAPDU: 80 0D 03 02 [03:39:28]Write to MH i2c: E2 08 00 11 03 80 0D 03 02 00 00 00 00 8F [03:39:28]Write i2c OK [03:39:28]MH_I2C_Read... [03:39:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:39:29]Read from MH i2c: E2 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: E2 0B 00 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: E2 0B 00 11 03 00 BF 88 3F E7 E6 3B F6 07 90 00 1B [03:39:29]RAPDU: BF 88 3F E7 E6 3B F6 07 90 00 [03:39:29]wFMCommunicate OK [03:39:29]SAM_PROTO_SignData done [03:39:29]FM_MakeSignedData done [03:39:29]CreateOFDProtocolMessage [03:39:29]wFMCommunicate request_size=4 [03:39:29]MH_SAM_APDU [03:39:29]CAPDU: 80 11 00 00 [03:39:29]Write to MH i2c: E2 08 00 12 03 80 11 00 00 00 00 00 00 8F [03:39:29]Write i2c OK [03:39:29]MH_I2C_Read... [03:39:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:39:29]Read from MH i2c: E2 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: E2 17 00 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: E2 17 00 12 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 DE [03:39:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [03:39:29]wFMCommunicate OK [03:39:29]CreateOFDProtocolMessage done [03:39:29]OFDSenderStorePacket 15800 [03:39:29]StoreOFDPacket docnum=15800 [03:39:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 5A 1C 07 01 CD D2 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 1E 69 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 3C BF 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 BF 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 4A 00 00 00 00 07 04 06 00 20 BF 02 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 70 AA 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B8 3D 00 00 35 04 06 00 66 6B 1E D3 E5 C9 BF 88 3F E7 E6 3B F6 07 [03:39:29]CheckFolder [03:39:29]dirname=/storage/ofd_packets [03:39:29]CheckFolder done [03:39:29]ProducePacketName [03:39:29]name=ofd_packets/00015800 [03:39:29]NVStorageSaveData ofd_packets/00015800 [03:39:29]File name is /storage/ofd_packets/00015800 [03:39:29]Write 301 bytes [03:39:29]NVStorageSaveData done [03:39:29]OFDSenderStorePacket done [03:39:29]KKMCreateOFDPacket done [03:39:29]NVStorageSaveData kkm_last_timestamp [03:39:29]File name is /storage/kkm_last_timestamp [03:39:29]Write 4 bytes [03:39:29]NVStorageSaveData done [03:39:29]ExternCall_PrintAddStr [03:39:29]wPrintStart [03:39:29]Write to MH i2c: 01 00 00 13 03 16 [03:39:29]Write i2c OK [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: 01 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: 01 07 00 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: 01 07 00 13 03 00 00 00 00 00 FF 0F 2B [03:39:29]RasterBufferAndPrint [03:39:29]line Счет N : (1)16350 [03:39:29]line ИНН: 02508201610067 [03:39:29]line Контрольно-Кассовый Чек [03:39:29]line ПРОДАЖА [03:39:29]line ТРК (МРК, ГНК) : 21 [03:39:29]line Товар: 2710124130 [03:39:29]line Аи-92-К-5 [03:39:29]line 26.910 * 66.90 [03:39:29]line = 1800.28 [03:39:29]line НДС 12% НСП 1% [03:39:29]line > о реализуемом товаре [03:39:29]line ОКРУГЛЕНИЕ: -0.28 [03:39:29]line ИТОГО: 1800.00 [03:39:29]line Внесено: 1800.00 [03:39:29]line СДАЧА: 0.00 [03:39:29]line НСП 1% : 15.93 [03:39:29]line НДС 12% : 191.18 [03:39:29]line Наличными: 1800.00 [03:39:29]line Безнал.: 0.00 [03:39:29]line Место: АЗС № 178 "Партнер Нефть" [03:39:29]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [03:39:29]line СНО: Общий режим [03:39:29]line Чек 10 30.10.2024 03:39 [03:39:29]line Смена: 173 ФФД: 1.0 [03:39:29]line ЗНМ: 0300000014 [03:39:29]line РНМ: 0000000000161798 [03:39:29]line Версия ККМ: v1.0 [03:39:29]line ФМ: 0000000000963325 [03:39:29]line ФД: 15800 [03:39:29]line ФПД: 112610264737225 [03:39:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T033928&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15800&fm=112610264737225&tin=02508201610067®Number=0000000000161798&sum=180000 [03:39:29]OFD Sender: Processing packet 15800 [packets to send 4, broken 3] [03:39:29]ProducePacketName [03:39:29]name=ofd_packets/00015800 [03:39:29]OFD Sender: To server: pG, [03:39:29]CommunicateWithHost lk.salyk.kg:30040 [03:39:29]ConnectInit lk.salyk.kg [03:39:29]written 0, free lines is 4095 [03:39:29]Connected sock=10 [03:39:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 5A 1C 07 01 CD D2 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 1E 69 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 3C BF 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 BF 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 4A 00 00 00 00 07 04 06 00 20 BF 02 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 70 AA 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B8 3D 00 00 35 04 06 00 66 6B 1E D3 E5 C9 BF 88 3F E7 E6 3B F6 07 [03:39:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 3E 78 47 00 97 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B8 3D 00 00 F4 03 04 00 5B 55 21 67 B6 04 01 00 00 70 62 6B 76 A9 1A 6E 43 [03:39:29]CommunicateWithHost err = 0 [03:39:29]CheckOFDResponse [03:39:29]1017 (14) - 77093643461234 [03:39:29]1041 (16) - 0000000000963325 [03:39:29]1040 (4) - 15800 [03:39:29]1012 (4) - 29.10.2024 21:36 [03:39:29]1206 (1) - 0 [03:39:29]OFD Sender: Remove packet 15800 [03:39:29]ProducePacketName [03:39:29]name=ofd_packets/00015800 [03:39:29]NVStorageDeleteData [03:39:29]Write to MH i2c: 01 00 00 3E 03 41 [03:39:29]Write i2c OK [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: 01 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: 01 07 00 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: 01 07 00 3E 03 00 00 00 00 00 F5 0C 49 [03:39:29]RasterBufferAndPrint [03:39:29]line [03:39:29]line [03:39:29]line [03:39:29]line [03:39:29]line [03:39:29]written 0, free lines is 3323 [03:39:29]MH_Cut [03:39:29]Write to MH i2c: D1 01 00 45 03 01 1A [03:39:29]Write i2c OK [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: D1 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: D1 01 00 [03:39:29]MH_I2C_Read... [03:39:29]Read from MH i2c: D1 01 00 45 03 00 19 [03:39:29]Write to MH i2c: 01 00 00 46 03 49 [03:39:29]Write i2c OK [03:39:29]MH_I2C_Read... [03:39:30]OFD Sender: No OFD packet to send [03:39:30]*** Cut start [03:39:30]*** Partial cut [03:39:30]*** CUTSNS_PIN = 1 [03:39:30]*** CUTSNS_PIN = 0 [03:39:30]*** Brake cut motor [03:39:31]Read from MH i2c: 01 [03:39:31]MH_I2C_Read... [03:39:31]*** Stop cut motor [03:39:31]*** Cut end [03:39:31]Read from MH i2c: 01 07 00 [03:39:31]MH_I2C_Read... [03:39:31]Read from MH i2c: 01 07 00 46 03 00 00 00 00 00 FF 0F 5E [03:39:31]process_action close_receipt done [03:39:31]requested_data is exist [03:39:31]produce_requested_data [03:39:31]requested_item fm.sn is exist - process it [03:39:31]wFMCommunicate request_size=4 [03:39:31]MH_SAM_APDU [03:39:31]CAPDU: 80 11 00 00 [03:39:31]Write to MH i2c: E2 08 00 47 03 80 11 00 00 00 00 00 00 C4 [03:39:31]Write i2c OK [03:39:31]MH_I2C_Read... [03:39:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:39:31]Read from MH i2c: E2 [03:39:31]MH_I2C_Read... [03:39:31]Read from MH i2c: E2 17 00 [03:39:31]MH_I2C_Read... [03:39:31]Read from MH i2c: E2 17 00 47 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 13 [03:39:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [03:39:31]wFMCommunicate OK [03:39:31]requested_item fd.num is exist - process it [03:39:31]SAM_PROTO_GetFieldsCounters [03:39:31]wFMCommunicate request_size=4 [03:39:31]MH_SAM_APDU [03:39:31]CAPDU: 80 13 00 00 [03:39:31]Write to MH i2c: E2 08 00 48 03 80 13 00 00 00 00 00 00 C7 [03:39:31]Write i2c OK [03:39:31]MH_I2C_Read... [03:39:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:39:31]Read from MH i2c: E2 [03:39:31]MH_I2C_Read... [03:39:31]Read from MH i2c: E2 62 00 [03:39:31]MH_I2C_Read... [03:39:31]Read from MH i2c: E2 62 00 48 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B8 3D 00 00 0E 04 04 00 AD 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 AB [03:39:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B8 3D 00 00 0E 04 04 00 AD 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 [03:39:31]wFMCommunicate OK [03:39:31]SAM_PROTO_GetFieldsCounters done [03:39:31]requested_item shift.num is exist - process it [03:39:31]requested_item shift.opened is exist - process it [03:39:31]req_shift_opened [03:39:31]FM_GetShiftState [03:39:31]SAM_PROTO_GetShiftState [03:39:31]wFMCommunicate request_size=4 [03:39:31]MH_SAM_APDU [03:39:31]CAPDU: 80 13 01 00 [03:39:31]Write to MH i2c: E2 08 00 49 03 80 13 01 00 00 00 00 00 C9 [03:39:31]Write i2c OK [03:39:31]MH_I2C_Read... [03:39:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:39:31]Read from MH i2c: E2 [03:39:31]MH_I2C_Read... [03:39:31]Read from MH i2c: E2 0E 00 [03:39:31]MH_I2C_Read... [03:39:31]Read from MH i2c: E2 0E 00 49 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 0E [03:39:31]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [03:39:31]wFMCommunicate OK [03:39:31]SAM_PROTO_GetShiftState done [03:39:31]FM_GetShiftState done [03:39:31]req_shift_opened done [03:39:31]requested_item shift.open_date is exist - process it [03:39:31]req_shift_open_date [03:39:31]req_shift_open_date done [03:39:31]produce_requested_data done [03:39:31]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15800,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [03:39:31]process_action_free close_receipt [03:39:31]json_value_free [03:39:31]json_value_free done [03:39:31]process_json_proto returns [03:39:31]Send response to host [03:39:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15800,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [03:39:31]free response buf [03:39:31]execute_script done [03:39:31]execute_script returns [03:39:31]free content buf [03:39:31]Sock 9.Close socket [03:39:31]Sock 9.Thread stoped [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:20]OFD Sender: No OFD packet to send [03:43:25]OFD Sender: No OFD packet to send [03:43:30]OFD Sender: No OFD packet to send [03:43:35]OFD Sender: No OFD packet to send [03:43:40]OFD Sender: No OFD packet to send [03:43:45]OFD Sender: No OFD packet to send [03:43:50]OFD Sender: No OFD packet to send [03:43:55]OFD Sender: No OFD packet to send [03:44:00]OFD Sender: No OFD packet to send [03:44:05]OFD Sender: No OFD packet to send [03:44:10]OFD Sender: No OFD packet to send [03:44:15]OFD Sender: No OFD packet to send [03:44:20]OFD Sender: No OFD packet to send [03:44:25]OFD Sender: No OFD packet to send [03:44:30]OFD Sender: No OFD packet to send [03:44:35]OFD Sender: No OFD packet to send [03:44:40]OFD Sender: No OFD packet to send [03:44:45]OFD Sender: No OFD packet to send [03:44:50]OFD Sender: No OFD packet to send [03:44:55]OFD Sender: No OFD packet to send [03:45:00]OFD Sender: No OFD packet to send [03:45:05]OFD Sender: No OFD packet to send [03:45:10]OFD Sender: No OFD packet to send [03:45:15]OFD Sender: No OFD packet to send [03:45:20]OFD Sender: No OFD packet to send [03:45:25]OFD Sender: No OFD packet to send [03:45:30]OFD Sender: No OFD packet to send [03:45:35]OFD Sender: No OFD packet to send [03:45:40]OFD Sender: No OFD packet to send [03:45:45]OFD Sender: No OFD packet to send [03:45:50]OFD Sender: No OFD packet to send [03:45:55]OFD Sender: No OFD packet to send [03:46:00]OFD Sender: No OFD packet to send [03:46:05]OFD Sender: No OFD packet to send [03:46:10]OFD Sender: No OFD packet to send [03:46:15]OFD Sender: No OFD packet to send [03:46:20]OFD Sender: No OFD packet to send [03:46:25]OFD Sender: No OFD packet to send [03:46:30]OFD Sender: No OFD packet to send [03:46:35]OFD Sender: No OFD packet to send [03:46:40]OFD Sender: No OFD packet to send [03:46:45]OFD Sender: No OFD packet to send [03:46:50]OFD Sender: No OFD packet to send [03:46:55]OFD Sender: No OFD packet to send [03:47:00]OFD Sender: No OFD packet to send [03:47:05]OFD Sender: No OFD packet to send [03:47:10]OFD Sender: No OFD packet to send [03:47:15]OFD Sender: No OFD packet to send [03:47:20]OFD Sender: No OFD packet to send [03:47:25]OFD Sender: No OFD packet to send [03:47:30]OFD Sender: No OFD packet to send [03:47:35]OFD Sender: No OFD packet to send [03:47:40]OFD Sender: No OFD packet to send [03:47:45]OFD Sender: No OFD packet to send [03:47:50]OFD Sender: No OFD packet to send [03:47:55]OFD Sender: No OFD packet to send [03:48:00]OFD Sender: No OFD packet to send [03:48:05]OFD Sender: No OFD packet to send [03:48:10]OFD Sender: No OFD packet to send [03:48:15]OFD Sender: No OFD packet to send [03:48:20]OFD Sender: No OFD packet to send [03:48:25]OFD Sender: No OFD packet to send [03:48:30]OFD Sender: No OFD packet to send [03:48:35]OFD Sender: No OFD packet to send [03:48:40]OFD Sender: No OFD packet to send [03:48:45]OFD Sender: No OFD packet to send [03:48:50]OFD Sender: No OFD packet to send [03:48:55]OFD Sender: No OFD packet to send [03:49:00]OFD Sender: No OFD packet to send [03:49:05]OFD Sender: No OFD packet to send [03:49:10]OFD Sender: No OFD packet to send [03:49:15]OFD Sender: No OFD packet to send [03:49:20]OFD Sender: No OFD packet to send [03:49:25]OFD Sender: No OFD packet to send [03:49:30]OFD Sender: No OFD packet to send [03:49:35]OFD Sender: No OFD packet to send [03:49:40]OFD Sender: No OFD packet to send [03:49:45]OFD Sender: No OFD packet to send [03:49:50]OFD Sender: No OFD packet to send [03:49:55]OFD Sender: No OFD packet to send [03:50:00]OFD Sender: No OFD packet to send [03:50:05]OFD Sender: No OFD packet to send [03:50:10]OFD Sender: No OFD packet to send [03:50:15]OFD Sender: No OFD packet to send [03:50:20]OFD Sender: No OFD packet to send [03:50:25]OFD Sender: No OFD packet to send [03:50:30]OFD Sender: No OFD packet to send [03:50:35]OFD Sender: No OFD packet to send [03:50:40]OFD Sender: No OFD packet to send [03:50:45]OFD Sender: No OFD packet to send [03:50:50]OFD Sender: No OFD packet to send [03:50:55]OFD Sender: No OFD packet to send [03:51:00]OFD Sender: No OFD packet to send [03:51:05]OFD Sender: No OFD packet to send [03:51:10]OFD Sender: No OFD packet to send [03:51:15]OFD Sender: No OFD packet to send [03:51:20]OFD Sender: No OFD packet to send [03:51:25]OFD Sender: No OFD packet to send [03:51:30]OFD Sender: No OFD packet to send [03:51:35]OFD Sender: No OFD packet to send [03:51:40]OFD Sender: No OFD packet to send [03:51:45]OFD Sender: No OFD packet to send [03:51:50]OFD Sender: No OFD packet to send [03:51:55]OFD Sender: No OFD packet to send [03:52:00]OFD Sender: No OFD packet to send [03:52:05]OFD Sender: No OFD packet to send [03:52:10]OFD Sender: No OFD packet to send [03:52:15]OFD Sender: No OFD packet to send [03:52:20]OFD Sender: No OFD packet to send [03:52:25]OFD Sender: No OFD packet to send [03:52:30]OFD Sender: No OFD packet to send [03:52:35]OFD Sender: No OFD packet to send [03:52:40]OFD Sender: No OFD packet to send [03:52:45]OFD Sender: No OFD packet to send [03:52:50]OFD Sender: No OFD packet to send [03:52:55]OFD Sender: No OFD packet to send [03:53:00]OFD Sender: No OFD packet to send [03:53:05]OFD Sender: No OFD packet to send [03:53:10]OFD Sender: No OFD packet to send [03:53:15]OFD Sender: No OFD packet to send [03:53:20]OFD Sender: No OFD packet to send [03:53:25]OFD Sender: No OFD packet to send [03:53:30]OFD Sender: No OFD packet to send [03:53:35]OFD Sender: No OFD packet to send [03:53:40]OFD Sender: No OFD packet to send [03:53:45]OFD Sender: No OFD packet to send [03:53:50]OFD Sender: No OFD packet to send [03:53:55]OFD Sender: No OFD packet to send [03:54:00]OFD Sender: No OFD packet to send [03:54:05]OFD Sender: No OFD packet to send [03:54:10]OFD Sender: No OFD packet to send [03:54:15]OFD Sender: No OFD packet to send [03:54:20]OFD Sender: No OFD packet to send [03:54:25]OFD Sender: No OFD packet to send [03:54:30]OFD Sender: No OFD packet to send [03:54:35]OFD Sender: No OFD packet to send [03:54:40]OFD Sender: No OFD packet to send [03:54:45]OFD Sender: No OFD packet to send [03:54:50]OFD Sender: No OFD packet to send [03:54:55]OFD Sender: No OFD packet to send [03:55:00]OFD Sender: No OFD packet to send [03:55:05]OFD Sender: No OFD packet to send [03:55:10]OFD Sender: No OFD packet to send [03:55:15]OFD Sender: No OFD packet to send [03:55:20]OFD Sender: No OFD packet to send [03:55:25]OFD Sender: No OFD packet to send [03:55:30]OFD Sender: No OFD packet to send [03:55:35]OFD Sender: No OFD packet to send [03:55:40]OFD Sender: No OFD packet to send [03:55:45]OFD Sender: No OFD packet to send [03:55:50]OFD Sender: No OFD packet to send [03:55:55]OFD Sender: No OFD packet to send [03:56:00]OFD Sender: No OFD packet to send [03:56:05]OFD Sender: No OFD packet to send [03:56:10]OFD Sender: No OFD packet to send [03:56:15]OFD Sender: No OFD packet to send [03:56:20]OFD Sender: No OFD packet to send [03:56:25]OFD Sender: No OFD packet to send [03:56:30]OFD Sender: No OFD packet to send [03:56:35]OFD Sender: No OFD packet to send [03:56:40]OFD Sender: No OFD packet to send [03:56:45]OFD Sender: No OFD packet to send [03:56:50]OFD Sender: No OFD packet to send [03:56:55]OFD Sender: No OFD packet to send [03:57:00]OFD Sender: No OFD packet to send [03:57:05]OFD Sender: No OFD packet to send [03:57:10]OFD Sender: No OFD packet to send [03:57:15]OFD Sender: No OFD packet to send [03:57:20]OFD Sender: No OFD packet to send [03:57:25]OFD Sender: No OFD packet to send [03:57:30]OFD Sender: No OFD packet to send [03:57:35]OFD Sender: No OFD packet to send [03:57: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:41]OFD Sender: No OFD packet to send [04:04:46]OFD Sender: No OFD packet to send [04:04:51]OFD Sender: No OFD packet to send [04:04:56]OFD Sender: No OFD packet to send [04:05:01]OFD Sender: No OFD packet to send [04:05:06]OFD Sender: No OFD packet to send [04:05:11]OFD Sender: No OFD packet to send [04:05:16]OFD Sender: No OFD packet to send [04:05:21]OFD Sender: No OFD packet to send [04:05:26]OFD Sender: No OFD packet to send [04:05:31]OFD Sender: No OFD packet to send [04:05:36]OFD Sender: No OFD packet to send [04:05:41]OFD Sender: No OFD packet to send [04:05:46]OFD Sender: No OFD packet to send [04:05:51]OFD Sender: No OFD packet to send [04:05:56]OFD Sender: No OFD packet to send [04:06:01]OFD Sender: No OFD packet to send [04:06:06]OFD Sender: No OFD packet to send [04:06:11]OFD Sender: No OFD packet to send [04:06:16]OFD Sender: No OFD packet to send [04:06:21]OFD Sender: No OFD packet to send [04:06:26]OFD Sender: No OFD packet to send [04:06:31]OFD Sender: No OFD packet to send [04:06:36]OFD Sender: No OFD packet to send [04:06:41]OFD Sender: No OFD packet to send [04:06:46]OFD Sender: No OFD packet to send [04:06:51]OFD Sender: No OFD packet to send [04:06:56]OFD Sender: No OFD packet to send [04:07:01]OFD Sender: No OFD packet to send [04:07:06]OFD Sender: No OFD packet to send [04:07:11]OFD Sender: No OFD packet to send [04:07:16]OFD Sender: No OFD packet to send [04:07:21]OFD Sender: No OFD packet to send [04:07:26]OFD Sender: No OFD packet to send [04:07:31]OFD Sender: No OFD packet to send [04:07:36]OFD Sender: No OFD packet to send [04:07:41]OFD Sender: No OFD packet to send [04:07:46]OFD Sender: No OFD packet to send [04:07:51]OFD Sender: No OFD packet to send [04:07:56]OFD Sender: No OFD packet to send [04:08:01]OFD Sender: No OFD packet to send [04:08:06]OFD Sender: No OFD packet to send [04:08:11]OFD Sender: No OFD packet to send [04:08:16]OFD Sender: No OFD packet to send [04:08:21]OFD Sender: No OFD packet to send [04:08:26]OFD Sender: No OFD packet to send [04:08:31]OFD Sender: No OFD packet to send [04:08:36]OFD Sender: No OFD packet to send [04:08:41]OFD Sender: No OFD packet to send [04:08:46]OFD Sender: No OFD packet to send [04:08:51]OFD Sender: No OFD packet to send [04:08:56]OFD Sender: No OFD packet to send [04:09:01]OFD Sender: No OFD packet to send [04:09:06]OFD Sender: No OFD packet to send [04:09:11]OFD Sender: No OFD packet to send [04:09:16]OFD Sender: No OFD packet to send [04:09:21]OFD Sender: No OFD packet to send [04:09:26]OFD Sender: No OFD packet to send [04:09:31]OFD Sender: No OFD packet to send [04:09:36]OFD Sender: No OFD packet to send [04:09:41]OFD Sender: No OFD packet to send [04:09:46]OFD Sender: No OFD packet to send [04:09:51]OFD Sender: No OFD packet to send [04:09:56]OFD Sender: No OFD packet to send [04:10:01]OFD Sender: No OFD packet to send [04:10:06]OFD Sender: No OFD packet to send [04:10:11]OFD Sender: No OFD packet to send [04:10:16]OFD Sender: No OFD packet to send [04:10:21]OFD Sender: No OFD packet to send [04:10:26]OFD Sender: No OFD packet to send [04:10:31]OFD Sender: No OFD packet to send [04:10:36]OFD Sender: No OFD packet to send [04:10:41]OFD Sender: No OFD packet to send [04:10:46]OFD Sender: No OFD packet to send [04:10:51]OFD Sender: No OFD packet to send [04:10:56]OFD Sender: No OFD packet to send [04:11:01]OFD Sender: No OFD packet to send [04:11:06]OFD Sender: No OFD packet to send [04:11:11]OFD Sender: No OFD packet to send [04:11:16]OFD Sender: No OFD packet to send [04:11:21]OFD Sender: No OFD packet to send [04:11:26]OFD Sender: No OFD packet to send [04:11:31]OFD Sender: No OFD packet to send [04:11:36]OFD Sender: No OFD packet to send [04:11:41]OFD Sender: No OFD packet to send [04:11:46]OFD Sender: No OFD packet to send [04:11:51]OFD Sender: No OFD packet to send [04:11:56]OFD Sender: No OFD packet to send [04:12:01]OFD Sender: No OFD packet to send [04:12:06]OFD Sender: No OFD packet to send [04:12:11]OFD Sender: No OFD packet to send [04:12:16]OFD Sender: No OFD packet to send [04:12:21]OFD Sender: No OFD packet to send [04:12:26]OFD Sender: No OFD packet to send [04:12:31]OFD Sender: No OFD packet to send [04:12:36]OFD Sender: No OFD packet to send [04:12:41]OFD Sender: No OFD packet to send [04:12:46]OFD Sender: No OFD packet to send [04:12:51]OFD Sender: No OFD packet to send [04:12:56]OFD Sender: No OFD packet to send [04:13:01]OFD Sender: No OFD packet to send [04:13:06]OFD Sender: No OFD packet to send [04:13:11]OFD Sender: No OFD packet to send [04:13:16]OFD Sender: No OFD packet to send [04:13:21]OFD Sender: No OFD packet to send [04:13:26]OFD Sender: No OFD packet to send [04:13:31]OFD Sender: No OFD packet to send [04:13:36]OFD Sender: No OFD packet to send [04:13:41]OFD Sender: No OFD packet to send [04:13:46]OFD Sender: No OFD packet to send [04:13:51]OFD Sender: No OFD packet to send [04:13:56]OFD Sender: No OFD packet to send [04:14:01]OFD Sender: No OFD packet to send [04:14:06]OFD Sender: No OFD packet to send [04:14:11]OFD Sender: No OFD packet to send [04:14:16]OFD Sender: No OFD packet to send [04:14:21]OFD Sender: No OFD packet to send [04:14:26]OFD Sender: No OFD packet to send [04:14:31]OFD Sender: No OFD packet to send [04:14:36]OFD Sender: No OFD packet to send [04:14:41]OFD Sender: No OFD packet to send [04:14:46]OFD Sender: No OFD packet to send [04:14:51]OFD Sender: No OFD packet to send [04:14:56]OFD Sender: No OFD packet to send [04:15:00]accept exits with 8 [04:15:00]New connection [04:15:00]New thread 3067153764 created [04:15:00]Thread 3067010404 joined [04:15:00]Waiting for new connection... [04:15:00] Sock 8.Parse request [04:15:00]Sock 8.Check first char [04:15:00]Sock 8.First char is OK [04:15:00]request: POST /json_proto HTTP/1.0 [04:15:00]Method: POST [04:15:00]URL: /json_proto [04:15:00]Method is POST - this is cgi request [04:15:00]url: /json_proto [04:15:00]query_string will be loaded in cgi processing [04:15:00]execute_cgi json_proto POST (null) [04:15:00]execute_cgi path=json_proto method=POST [04:15:00]POST find Content-Length [04:15:00]Host: 172.17.54.195:8080 [04:15:00]Content-Length: 777 [04:15:00]Content-Type: application/json [04:15:00] [04:15:00]POST finish read [04:15:00]Found Content-Length = 777 [04:15:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16351", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 16.090, "sum" : 1100.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 1100.00, "payments": [ { "type": 1, "sum" : 1100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:15:00]execute_script... [04:15:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16351", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 16.090, "sum" : 1100.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 1100.00, "payments": [ { "type": 1, "sum" : 1100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:15:00]POST & json_proto [04:15:00]process_json_proto [04:15:00]json parsed OK: [04:15:00]protocol is kg_v1.0 [04:15:00]action value=close_receipt [04:15:00]process_action close_receipt [04:15:00]cmd_close_receipt [04:15:00]MH_GetDate [04:15:00]Write to MH i2c: F0 00 00 4A 03 3C [04:15:00]Write i2c OK [04:15:00]MH_I2C_Read... [04:15:00]Read from MH i2c: F0 [04:15:00]MH_I2C_Read... [04:15:00]Read from MH i2c: F0 09 00 [04:15:00]MH_I2C_Read... [04:15:00]Read from MH i2c: F0 09 00 4A 03 00 C6 B2 21 67 8D 90 A3 66 6B [04:15:00]GetLastDocTimeStamp 1730259568 [04:15:00]current date 1730261702 [04:15:00]FM_GetShiftState [04:15:00]SAM_PROTO_GetShiftState [04:15:00]wFMCommunicate request_size=4 [04:15:00]MH_SAM_APDU [04:15:00]CAPDU: 80 13 01 00 [04:15:00]Write to MH i2c: E2 08 00 4B 03 80 13 01 00 00 00 00 00 CB [04:15:00]Write i2c OK [04:15:00]MH_I2C_Read... [04:15:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:15:00]Read from MH i2c: E2 [04:15:00]MH_I2C_Read... [04:15:00]Read from MH i2c: E2 0E 00 [04:15:00]MH_I2C_Read... [04:15:00]Read from MH i2c: E2 0E 00 4B 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 10 [04:15:00]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [04:15:00]wFMCommunicate OK [04:15:00]SAM_PROTO_GetShiftState done [04:15:00]FM_GetShiftState done [04:15:00]opened in 1730247478 [04:15:00]opened+sec_in_day 1730333878 [04:15:00]quantity*price = 110055 [04:15:00]sum+1 = 110057 [04:15:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.56 ИТОГО: 1100.00 НСП 1% : 9.74 НДС 12% : 116.87 Наличными: 0.00 Безнал.: 1100.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 11 30.10.2024 04:15 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15801 ФПД: 171076969093732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T041502&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15801&fm=171076969093732&tin=02508201610067®Number=0000000000161798&sum=110000 [04:15:01]StoreToDocumentArchive [04:15:01]shift 173 fd 15801 [04:15:01]save to /storage/0173/doc_00015801 [04:15:01]save last doc name /storage/0173/doc_00015801 to /storage/kkm_last_doc_name [04:15:01]save OK [04:15:01]Clear old archive folders... [04:15:01]ProcessDocumentItem done err = 0, tmpTLVsize=249 [04:15:01]tlvbuf is 002286A0 [04:15:01]SAM_PROTO_ClearQueue [04:15:01]wFMCommunicate request_size=4 [04:15:01]MH_SAM_APDU [04:15:01]CAPDU: 80 09 00 00 [04:15:01]Write to MH i2c: E2 08 00 58 03 80 09 00 00 00 00 00 00 CD [04:15:01]Write i2c OK [04:15:01]MH_I2C_Read... [04:15:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:15:01]Read from MH i2c: E2 [04:15:01]MH_I2C_Read... [04:15:01]Read from MH i2c: E2 03 00 [04:15:01]MH_I2C_Read... [04:15:01]Read from MH i2c: E2 03 00 58 03 00 90 00 CF [04:15:01]RAPDU: 90 00 [04:15:01]wFMCommunicate OK [04:15:01]SAM_PROTO_ClearQueue done [04:15:01]KKMCreateOFDPacket [04:15:01]OFDProtocolAddRootSTLVToBuf [04:15:01]FM_MakeSignedData [04:15:01]FM_MakeSignedData [04:15:01]SAM_PROTO_SignData [04:15:01]wFMCommunicate request_size=4 [04:15:01]MH_SAM_APDU [04:15:01]CAPDU: 80 0D 01 02 [04:15:01]Write to MH i2c: E2 08 00 59 03 80 0D 01 02 00 00 00 00 D5 [04:15:01]Write i2c OK [04:15:01]MH_I2C_Read... [04:15:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:15:01]Read from MH i2c: E2 [04:15:01]MH_I2C_Read... [04:15:01]Read from MH i2c: E2 03 00 [04:15:01]MH_I2C_Read... [04:15:01]Read from MH i2c: E2 03 00 59 03 00 90 00 D0 [04:15:01]RAPDU: 90 00 [04:15:01]wFMCommunicate OK [04:15:01]wFMCommunicate request_size=255 [04:15:01]MH_SAM_APDU [04:15:01]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 3E 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 E8 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A7 2D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 AD 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 C6 B2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B9 3D 00 00 35 04 06 00 9B 97 F5 [04:15:01]Write to MH i2c: E2 02 01 5A 03 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 3E 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 E8 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A7 2D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 AD 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 C6 B2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B9 3D 00 00 35 04 06 00 9B 97 F5 00 00 8D [04:15:02]Write i2c OK [04:15:02]MH_I2C_Read... [04:15:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:15:02]Read from MH i2c: E2 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: E2 03 00 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: E2 03 00 5A 03 00 90 00 D1 [04:15:02]RAPDU: 90 00 [04:15:02]wFMCommunicate OK [04:15:02]wFMCommunicate request_size=8 [04:15:02]MH_SAM_APDU [04:15:02]CAPDU: 80 0D 02 02 03 F8 DA 64 [04:15:02]Write to MH i2c: E2 0B 00 5B 03 80 0D 02 02 03 00 F8 DA 64 00 00 14 [04:15:02]Write i2c OK [04:15:02]MH_I2C_Read... [04:15:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:15:02]Read from MH i2c: E2 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: E2 03 00 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: E2 03 00 5B 03 00 90 00 D2 [04:15:02]RAPDU: 90 00 [04:15:02]wFMCommunicate OK [04:15:02]wFMCommunicate request_size=4 [04:15:02]MH_SAM_APDU [04:15:02]CAPDU: 80 0D 03 02 [04:15:02]Write to MH i2c: E2 08 00 5C 03 80 0D 03 02 00 00 00 00 DA [04:15:02]Write i2c OK [04:15:02]MH_I2C_Read... [04:15:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:15:02]Read from MH i2c: E2 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: E2 0B 00 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: E2 0B 00 5C 03 00 6D 71 2E 15 04 61 8E AF 90 00 9E [04:15:02]RAPDU: 6D 71 2E 15 04 61 8E AF 90 00 [04:15:02]wFMCommunicate OK [04:15:02]SAM_PROTO_SignData done [04:15:02]FM_MakeSignedData done [04:15:02]CreateOFDProtocolMessage [04:15:02]wFMCommunicate request_size=4 [04:15:02]MH_SAM_APDU [04:15:02]CAPDU: 80 11 00 00 [04:15:02]Write to MH i2c: E2 08 00 5D 03 80 11 00 00 00 00 00 00 DA [04:15:02]Write i2c OK [04:15:02]MH_I2C_Read... [04:15:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:15:02]Read from MH i2c: E2 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: E2 17 00 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: E2 17 00 5D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 29 [04:15:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [04:15:02]wFMCommunicate OK [04:15:02]CreateOFDProtocolMessage done [04:15:02]OFDSenderStorePacket 15801 [04:15:02]StoreOFDPacket docnum=15801 [04:15:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 1C DF 05 01 F9 11 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 3E 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 E8 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A7 2D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 AD 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 C6 B2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B9 3D 00 00 35 04 06 00 9B 97 F5 F8 DA 64 6D 71 2E 15 04 61 8E AF [04:15:02]CheckFolder [04:15:02]dirname=/storage/ofd_packets [04:15:02]CheckFolder done [04:15:02]ProducePacketName [04:15:02]name=ofd_packets/00015801 [04:15:02]NVStorageSaveData ofd_packets/00015801 [04:15:02]File name is /storage/ofd_packets/00015801 [04:15:02]Write 299 bytes [04:15:02]NVStorageSaveData done [04:15:02]OFDSenderStorePacket done [04:15:02]KKMCreateOFDPacket done [04:15:02]NVStorageSaveData kkm_last_timestamp [04:15:02]File name is /storage/kkm_last_timestamp [04:15:02]Write 4 bytes [04:15:02]NVStorageSaveData done [04:15:02]ExternCall_PrintAddStr [04:15:02]wPrintStart [04:15:02]Write to MH i2c: 01 00 00 5E 03 61 [04:15:02]Write i2c OK [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: 01 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: 01 07 00 [04:15:02]MH_I2C_Read... [04:15:02]Read from MH i2c: 01 07 00 5E 03 00 00 00 00 00 FF 0F 76 [04:15:02]RasterBufferAndPrint [04:15:02]line Счет N : (1)16351 [04:15:02]line ИНН: 02508201610067 [04:15:02]line Контрольно-Кассовый Чек [04:15:02]line ПРОДАЖА [04:15:02]line ТРК (МРК, ГНК) : 12 [04:15:02]line Товар: 50.50.0 [04:15:02]line SUPER 92-К-5 [04:15:02]line 16.090 * 68.40 [04:15:02]line = 1100.56 [04:15:02]line НДС 12% НСП 1% [04:15:02]line > о реализуемом товаре [04:15:02]line ОКРУГЛЕНИЕ: -0.56 [04:15:02]line ИТОГО: 1100.00 [04:15:02]line НСП 1% : 9.74 [04:15:02]line НДС 12% : 116.87 [04:15:02]line Наличными: 0.00 [04:15:02]line Безнал.: 1100.00 [04:15:02]line Место: АЗС № 178 "Партнер Нефть" [04:15:02]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [04:15:02]line СНО: Общий режим [04:15:02]line Чек 11 30.10.2024 04:15 [04:15:02]line Смена: 173 ФФД: 1.0 [04:15:02]line ЗНМ: 0300000014 [04:15:02]line РНМ: 0000000000161798 [04:15:02]line Версия ККМ: v1.0 [04:15:02]line Платежная система: Mbank [04:15:02]line ФМ: 0000000000963325 [04:15:02]line ФД: 15801 [04:15:02]line ФПД: 171076969093732 [04:15:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T041502&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15801&fm=171076969093732&tin=02508201610067®Number=0000000000161798&sum=110000 [04:15:02]OFD Sender: Processing packet 15801 [packets to send 4, broken 3] [04:15:02]ProducePacketName [04:15:02]name=ofd_packets/00015801 [04:15:02]OFD Sender: To server: pG, [04:15:02]CommunicateWithHost lk.salyk.kg:30040 [04:15:02]ConnectInit lk.salyk.kg [04:15:02]written 0, free lines is 4095 [04:15:02]Connected sock=10 [04:15:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 1C DF 05 01 F9 11 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 3E 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 E8 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A7 2D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 AD 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 C6 B2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B9 3D 00 00 35 04 06 00 9B 97 F5 F8 DA 64 6D 71 2E 15 04 61 8E AF [04:15:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 09 9B 47 00 8B 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 B9 3D 00 00 F4 03 04 00 B1 5D 21 67 B6 04 01 00 00 63 61 70 CF A7 F4 51 71 [04:15:03]CommunicateWithHost err = 0 [04:15:03]CheckOFDResponse [04:15:03]1017 (14) - 77093643461234 [04:15:03]1041 (16) - 0000000000963325 [04:15:03]1040 (4) - 15801 [04:15:03]1012 (4) - 29.10.2024 22:12 [04:15:03]1206 (1) - 0 [04:15:03]OFD Sender: Remove packet 15801 [04:15:03]ProducePacketName [04:15:03]name=ofd_packets/00015801 [04:15:03]NVStorageDeleteData [04:15:03]Write to MH i2c: 01 00 00 88 03 8B [04:15:03]Write i2c OK [04:15:03]MH_I2C_Read... [04:15:03]Read from MH i2c: 01 [04:15:03]MH_I2C_Read... [04:15:03]Read from MH i2c: 01 07 00 [04:15:03]MH_I2C_Read... [04:15:03]Read from MH i2c: 01 07 00 88 03 00 00 00 00 00 0A 0D A9 [04:15:03]RasterBufferAndPrint [04:15:03]line [04:15:03]line [04:15:03]line [04:15:03]line [04:15:03]line [04:15:03]written 0, free lines is 3344 [04:15:03]MH_Cut [04:15:03]Write to MH i2c: D1 01 00 8F 03 01 64 [04:15:03]Write i2c OK [04:15:03]MH_I2C_Read... [04:15:03]Read from MH i2c: D1 [04:15:03]MH_I2C_Read... [04:15:03]Read from MH i2c: D1 01 00 [04:15:03]MH_I2C_Read... [04:15:03]Read from MH i2c: D1 01 00 8F 03 00 63 [04:15:03]Write to MH i2c: 01 00 00 90 03 93 [04:15:03]Write i2c OK [04:15:03]MH_I2C_Read... [04:15:03]OFD Sender: No OFD packet to send [04:15:03]*** Cut start [04:15:03]*** Partial cut [04:15:03]*** CUTSNS_PIN = 1 [04:15:03]*** CUTSNS_PIN = 0 [04:15:04]*** Brake cut motor [04:15:04]Read from MH i2c: 01 [04:15:04]MH_I2C_Read... [04:15:04]*** Stop cut motor [04:15:04]*** Cut end [04:15:04]Read from MH i2c: 01 07 00 [04:15:04]MH_I2C_Read... [04:15:04]Read from MH i2c: 01 07 00 90 03 00 00 00 00 00 FF 0F A8 [04:15:04]process_action close_receipt done [04:15:04]requested_data is exist [04:15:04]produce_requested_data [04:15:04]requested_item fm.sn is exist - process it [04:15:04]wFMCommunicate request_size=4 [04:15:04]MH_SAM_APDU [04:15:04]CAPDU: 80 11 00 00 [04:15:04]Write to MH i2c: E2 08 00 91 03 80 11 00 00 00 00 00 00 0E [04:15:04]Write i2c OK [04:15:04]MH_I2C_Read... [04:15:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:15:04]Read from MH i2c: E2 [04:15:04]MH_I2C_Read... [04:15:04]Read from MH i2c: E2 17 00 [04:15:04]MH_I2C_Read... [04:15:04]Read from MH i2c: E2 17 00 91 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 5D [04:15:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [04:15:04]wFMCommunicate OK [04:15:04]requested_item fd.num is exist - process it [04:15:04]SAM_PROTO_GetFieldsCounters [04:15:04]wFMCommunicate request_size=4 [04:15:04]MH_SAM_APDU [04:15:04]CAPDU: 80 13 00 00 [04:15:04]Write to MH i2c: E2 08 00 92 03 80 13 00 00 00 00 00 00 11 [04:15:04]Write i2c OK [04:15:04]MH_I2C_Read... [04:15:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:15:04]Read from MH i2c: E2 [04:15:04]MH_I2C_Read... [04:15:04]Read from MH i2c: E2 62 00 [04:15:04]MH_I2C_Read... [04:15:04]Read from MH i2c: E2 62 00 92 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B9 3D 00 00 0E 04 04 00 AD 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 F9 [04:15:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 B9 3D 00 00 0E 04 04 00 AD 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 [04:15:04]wFMCommunicate OK [04:15:04]SAM_PROTO_GetFieldsCounters done [04:15:04]requested_item shift.num is exist - process it [04:15:04]requested_item shift.opened is exist - process it [04:15:04]req_shift_opened [04:15:04]FM_GetShiftState [04:15:04]SAM_PROTO_GetShiftState [04:15:04]wFMCommunicate request_size=4 [04:15:04]MH_SAM_APDU [04:15:04]CAPDU: 80 13 01 00 [04:15:04]Write to MH i2c: E2 08 00 93 03 80 13 01 00 00 00 00 00 13 [04:15:04]Write i2c OK [04:15:04]MH_I2C_Read... [04:15:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:15:04]Read from MH i2c: E2 [04:15:04]MH_I2C_Read... [04:15:04]Read from MH i2c: E2 0E 00 [04:15:04]MH_I2C_Read... [04:15:04]Read from MH i2c: E2 0E 00 93 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 58 [04:15:04]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [04:15:04]wFMCommunicate OK [04:15:04]SAM_PROTO_GetShiftState done [04:15:04]FM_GetShiftState done [04:15:04]req_shift_opened done [04:15:04]requested_item shift.open_date is exist - process it [04:15:04]req_shift_open_date [04:15:04]req_shift_open_date done [04:15:04]produce_requested_data done [04:15:04]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15801,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [04:15:04]process_action_free close_receipt [04:15:04]json_value_free [04:15:04]json_value_free done [04:15:04]process_json_proto returns [04:15:04]Send response to host [04:15:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15801,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [04:15:04]free response buf [04:15:04]execute_script done [04:15:04]execute_script returns [04:15:04]free content buf [04:15:04]Sock 8.Close socket [04:15:04]Sock 8.Thread stoped [04:15:08]OFD Sender: No OFD packet to send [04:15:13]OFD Sender: No OFD packet to send [04:15:18]OFD Sender: No OFD packet to send [04:15:23]OFD Sender: No OFD packet to send [04:15:28]OFD Sender: No OFD packet to send [04:15:33]OFD Sender: No OFD packet to send [04:15:38]OFD Sender: No OFD packet to send [04:15:43]OFD Sender: No OFD packet to send [04:15:48]OFD Sender: No OFD packet to send [04:15:53]OFD Sender: No OFD packet to send [04:15:58]OFD Sender: No OFD packet to send [04:16:03]OFD Sender: No OFD packet to send [04:16:08]OFD Sender: No OFD packet to send [04:16:13]OFD Sender: No OFD packet to send [04:16:18]OFD Sender: No OFD packet to send [04:16:23]OFD Sender: No OFD packet to send [04:16:28]OFD Sender: No OFD packet to send [04:16:33]OFD Sender: No OFD packet to send [04:16:38]OFD Sender: No OFD packet to send [04:16:43]OFD Sender: No OFD packet to send [04:16:48]OFD Sender: No OFD packet to send [04:16:53]OFD Sender: No OFD packet to send [04:16:58]OFD Sender: No OFD packet to send [04:17:03]OFD Sender: No OFD packet to send [04:17:08]OFD Sender: No OFD packet to send [04:17:13]OFD Sender: No OFD packet to send [04:17:18]OFD Sender: No OFD packet to send [04:17:23]OFD Sender: No OFD packet to send [04:17:28]OFD Sender: No OFD packet to send [04:17:33]OFD Sender: No OFD packet to send [04:17:38]OFD Sender: No OFD packet to send [04:17:43]OFD Sender: No OFD packet to send [04:17:48]OFD Sender: No OFD packet to send [04:17:53]OFD Sender: No OFD packet to send [04:17:58]OFD Sender: No OFD packet to send [04:18:03]OFD Sender: No OFD packet to send [04:18:08]OFD Sender: No OFD packet to send [04:18:13]OFD Sender: No OFD packet to send [04:18:14]accept exits with 9 [04:18:14]New connection [04:18:14]New thread 3067010404 created [04:18:14]Thread 3067153764 joined [04:18:14]Waiting for new connection... [04:18:14] Sock 9.Parse request [04:18:14]Sock 9.Check first char [04:18:14]Sock 9.First char is OK [04:18:14]request: POST /json_proto HTTP/1.0 [04:18:14]Method: POST [04:18:14]URL: /json_proto [04:18:14]Method is POST - this is cgi request [04:18:14]url: /json_proto [04:18:14]query_string will be loaded in cgi processing [04:18:14]execute_cgi json_proto POST (null) [04:18:14]execute_cgi path=json_proto method=POST [04:18:14]POST find Content-Length [04:18:14]Host: 172.17.54.195:8080 [04:18:14]Content-Length: 790 [04:18:14]Content-Type: application/json [04:18:14] [04:18:14]POST finish read [04:18:14]Found Content-Length = 790 [04:18:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16352", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 51.420, "sum" : 2000.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 2000.00, "payments": [ { "type": 1, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:18:14]execute_script... [04:18:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16352", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 51.420, "sum" : 2000.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 2000.00, "payments": [ { "type": 1, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:18:14]POST & json_proto [04:18:14]process_json_proto [04:18:14]json parsed OK: [04:18:14]protocol is kg_v1.0 [04:18:14]action value=close_receipt [04:18:14]process_action close_receipt [04:18:14]cmd_close_receipt [04:18:14]MH_GetDate [04:18:14]Write to MH i2c: F0 00 00 94 03 86 [04:18:14]Write i2c OK [04:18:14]MH_I2C_Read... [04:18:14]Read from MH i2c: F0 [04:18:14]MH_I2C_Read... [04:18:14]Read from MH i2c: F0 09 00 [04:18:14]MH_I2C_Read... [04:18:14]Read from MH i2c: F0 09 00 94 03 00 87 B3 21 67 8D 90 A3 66 77 [04:18:14]GetLastDocTimeStamp 1730261702 [04:18:14]current date 1730261895 [04:18:14]FM_GetShiftState [04:18:14]SAM_PROTO_GetShiftState [04:18:14]wFMCommunicate request_size=4 [04:18:14]MH_SAM_APDU [04:18:14]CAPDU: 80 13 01 00 [04:18:14]Write to MH i2c: E2 08 00 95 03 80 13 01 00 00 00 00 00 15 [04:18:14]Write i2c OK [04:18:14]MH_I2C_Read... [04:18:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:18:14]Read from MH i2c: E2 [04:18:14]MH_I2C_Read... [04:18:14]Read from MH i2c: E2 0E 00 [04:18:14]MH_I2C_Read... [04:18:14]Read from MH i2c: E2 0E 00 95 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 5A [04:18:14]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [04:18:14]wFMCommunicate OK [04:18:14]SAM_PROTO_GetShiftState done [04:18:14]FM_GetShiftState done [04:18:14]opened in 1730247478 [04:18:14]opened+sec_in_day 1730333878 [04:18:14]quantity*price = 200023 [04:18:14]sum+1 = 200025 [04:18:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.24 ИТОГО: 2000.00 НСП 1% : 17.70 НДС 12% : 212.41 Наличными: 0.00 Безнал.: 2000.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 12 30.10.2024 04:18 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15802 ФПД: 143749321151772 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T041815&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15802&fm=143749321151772&tin=02508201610067®Number=0000000000161798&sum=200000 [04:18:15]StoreToDocumentArchive [04:18:15]shift 173 fd 15802 [04:18:15]save to /storage/0173/doc_00015802 [04:18:15]save last doc name /storage/0173/doc_00015802 to /storage/kkm_last_doc_name [04:18:15]save OK [04:18:15]Clear old archive folders... [04:18:15]ProcessDocumentItem done err = 0, tmpTLVsize=250 [04:18:15]tlvbuf is 00228ED0 [04:18:15]SAM_PROTO_ClearQueue [04:18:15]wFMCommunicate request_size=4 [04:18:15]MH_SAM_APDU [04:18:15]CAPDU: 80 09 00 00 [04:18:15]Write to MH i2c: E2 08 00 A2 03 80 09 00 00 00 00 00 00 17 [04:18:15]Write i2c OK [04:18:15]MH_I2C_Read... [04:18:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:18:15]Read from MH i2c: E2 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 03 00 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 03 00 A2 03 00 90 00 19 [04:18:15]RAPDU: 90 00 [04:18:15]wFMCommunicate OK [04:18:15]SAM_PROTO_ClearQueue done [04:18:15]KKMCreateOFDPacket [04:18:15]OFDProtocolAddRootSTLVToBuf [04:18:15]FM_MakeSignedData [04:18:15]FM_MakeSignedData [04:18:15]SAM_PROTO_SignData [04:18:15]wFMCommunicate request_size=4 [04:18:15]MH_SAM_APDU [04:18:15]CAPDU: 80 0D 01 02 [04:18:15]Write to MH i2c: E2 08 00 A3 03 80 0D 01 02 00 00 00 00 1F [04:18:15]Write i2c OK [04:18:15]MH_I2C_Read... [04:18:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:18:15]Read from MH i2c: E2 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 03 00 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 03 00 A3 03 00 90 00 1A [04:18:15]RAPDU: 90 00 [04:18:15]wFMCommunicate OK [04:18:15]wFMCommunicate request_size=255 [04:18:15]MH_SAM_APDU [04:18:15]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 DC C8 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 58 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 87 B3 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BA 3D 00 00 35 04 06 00 82 BD [04:18:15]Write to MH i2c: E2 02 01 A4 03 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 DC C8 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 58 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 87 B3 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BA 3D 00 00 35 04 06 00 82 BD 00 00 AC [04:18:15]Write i2c OK [04:18:15]MH_I2C_Read... [04:18:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:18:15]Read from MH i2c: E2 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 03 00 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 03 00 A4 03 00 90 00 1B [04:18:15]RAPDU: 90 00 [04:18:15]wFMCommunicate OK [04:18:15]wFMCommunicate request_size=9 [04:18:15]MH_SAM_APDU [04:18:15]CAPDU: 80 0D 02 02 04 3F 39 55 1C [04:18:15]Write to MH i2c: E2 0C 00 A5 03 80 0D 02 02 04 00 3F 39 55 1C 00 00 13 [04:18:15]Write i2c OK [04:18:15]MH_I2C_Read... [04:18:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:18:15]Read from MH i2c: E2 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 03 00 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 03 00 A5 03 00 90 00 1C [04:18:15]RAPDU: 90 00 [04:18:15]wFMCommunicate OK [04:18:15]wFMCommunicate request_size=4 [04:18:15]MH_SAM_APDU [04:18:15]CAPDU: 80 0D 03 02 [04:18:15]Write to MH i2c: E2 08 00 A6 03 80 0D 03 02 00 00 00 00 24 [04:18:15]Write i2c OK [04:18:15]MH_I2C_Read... [04:18:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:18:15]Read from MH i2c: E2 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 0B 00 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 0B 00 A6 03 00 24 6A 63 B1 47 9B 24 53 90 00 20 [04:18:15]RAPDU: 24 6A 63 B1 47 9B 24 53 90 00 [04:18:15]wFMCommunicate OK [04:18:15]SAM_PROTO_SignData done [04:18:15]FM_MakeSignedData done [04:18:15]CreateOFDProtocolMessage [04:18:15]wFMCommunicate request_size=4 [04:18:15]MH_SAM_APDU [04:18:15]CAPDU: 80 11 00 00 [04:18:15]Write to MH i2c: E2 08 00 A7 03 80 11 00 00 00 00 00 00 24 [04:18:15]Write i2c OK [04:18:15]MH_I2C_Read... [04:18:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:18:15]Read from MH i2c: E2 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 17 00 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: E2 17 00 A7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 73 [04:18:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [04:18:15]wFMCommunicate OK [04:18:15]CreateOFDProtocolMessage done [04:18:15]OFDSenderStorePacket 15802 [04:18:15]StoreOFDPacket docnum=15802 [04:18:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 9D DF 06 01 4F 73 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 DC C8 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 58 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 87 B3 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BA 3D 00 00 35 04 06 00 82 BD 3F 39 55 1C 24 6A 63 B1 47 9B 24 53 [04:18:15]CheckFolder [04:18:15]dirname=/storage/ofd_packets [04:18:15]CheckFolder done [04:18:15]ProducePacketName [04:18:15]name=ofd_packets/00015802 [04:18:15]NVStorageSaveData ofd_packets/00015802 [04:18:15]File name is /storage/ofd_packets/00015802 [04:18:15]Write 300 bytes [04:18:15]NVStorageSaveData done [04:18:15]OFDSenderStorePacket done [04:18:15]KKMCreateOFDPacket done [04:18:15]NVStorageSaveData kkm_last_timestamp [04:18:15]File name is /storage/kkm_last_timestamp [04:18:15]Write 4 bytes [04:18:15]NVStorageSaveData done [04:18:15]ExternCall_PrintAddStr [04:18:15]wPrintStart [04:18:15]Write to MH i2c: 01 00 00 A8 03 AB [04:18:15]Write i2c OK [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: 01 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: 01 07 00 [04:18:15]MH_I2C_Read... [04:18:15]Read from MH i2c: 01 07 00 A8 03 00 00 00 00 00 FF 0F C0 [04:18:15]RasterBufferAndPrint [04:18:15]line Счет N : (1)16352 [04:18:15]line ИНН: 02508201610067 [04:18:15]line Контрольно-Кассовый Чек [04:18:15]line ПРОДАЖА [04:18:15]line ТРК (МРК, ГНК) : 41 [04:18:15]line Товар: 2711190000 [04:18:15]line ГАЗ-К-5 [04:18:15]line 51.420 * 38.90 [04:18:15]line = 2000.24 [04:18:15]line НДС 12% НСП 1% [04:18:15]line > о реализуемом товаре [04:18:15]line ОКРУГЛЕНИЕ: -0.24 [04:18:15]line ИТОГО: 2000.00 [04:18:15]line НСП 1% : 17.70 [04:18:15]line НДС 12% : 212.41 [04:18:15]line Наличными: 0.00 [04:18:15]line Безнал.: 2000.00 [04:18:15]line Место: АЗС № 178 "Партнер Нефть" [04:18:15]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [04:18:15]line СНО: Общий режим [04:18:15]line Чек 12 30.10.2024 04:18 [04:18:15]line Смена: 173 ФФД: 1.0 [04:18:15]line ЗНМ: 0300000014 [04:18:15]line РНМ: 0000000000161798 [04:18:15]line Версия ККМ: v1.0 [04:18:15]line Платежная система: Mbank [04:18:15]line ФМ: 0000000000963325 [04:18:15]line ФД: 15802 [04:18:15]line ФПД: 143749321151772 [04:18:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T041815&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15802&fm=143749321151772&tin=02508201610067®Number=0000000000161798&sum=200000 [04:18:16]OFD Sender: Processing packet 15802 [packets to send 4, broken 3] [04:18:16]ProducePacketName [04:18:16]name=ofd_packets/00015802 [04:18:16]OFD Sender: To server: pG, [04:18:16]CommunicateWithHost lk.salyk.kg:30040 [04:18:16]ConnectInit lk.salyk.kg [04:18:16]written 0, free lines is 4095 [04:18:16]Connected sock=10 [04:18:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 9D DF 06 01 4F 73 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 DC C8 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 58 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 87 B3 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BA 3D 00 00 35 04 06 00 82 BD 3F 39 55 1C 24 6A 63 B1 47 9B 24 53 [04:18:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 C9 15 47 00 09 28 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BA 3D 00 00 F4 03 04 00 72 5E 21 67 B6 04 01 00 00 AE C2 B4 F2 DA 3C D8 70 [04:18:16]CommunicateWithHost err = 0 [04:18:16]CheckOFDResponse [04:18:16]1017 (14) - 77093643461234 [04:18:16]1041 (16) - 0000000000963325 [04:18:16]1040 (4) - 15802 [04:18:16]1012 (4) - 29.10.2024 22:15 [04:18:16]1206 (1) - 0 [04:18:16]OFD Sender: Remove packet 15802 [04:18:16]ProducePacketName [04:18:16]name=ofd_packets/00015802 [04:18:16]NVStorageDeleteData [04:18:16]Write to MH i2c: 01 00 00 D2 03 D5 [04:18:16]Write i2c OK [04:18:16]MH_I2C_Read... [04:18:16]Read from MH i2c: 01 [04:18:16]MH_I2C_Read... [04:18:16]Read from MH i2c: 01 07 00 [04:18:16]MH_I2C_Read... [04:18:16]Read from MH i2c: 01 07 00 D2 03 00 00 00 00 00 00 0D E9 [04:18:16]RasterBufferAndPrint [04:18:16]line [04:18:16]line [04:18:16]line [04:18:16]line [04:18:16]line [04:18:16]written 0, free lines is 3334 [04:18:16]MH_Cut [04:18:16]Write to MH i2c: D1 01 00 D9 03 01 AE [04:18:16]Write i2c OK [04:18:16]MH_I2C_Read... [04:18:16]Read from MH i2c: D1 [04:18:16]MH_I2C_Read... [04:18:16]Read from MH i2c: D1 01 00 [04:18:16]MH_I2C_Read... [04:18:16]Read from MH i2c: D1 01 00 D9 03 00 AD [04:18:16]Write to MH i2c: 01 00 00 DA 03 DD [04:18:16]Write i2c OK [04:18:16]MH_I2C_Read... [04:18:16]OFD Sender: No OFD packet to send [04:18:17]*** Cut start [04:18:17]*** Partial cut [04:18:17]*** CUTSNS_PIN = 1 [04:18:17]*** CUTSNS_PIN = 0 [04:18:17]*** Brake cut motor [04:18:17]Read from MH i2c: 01 [04:18:17]MH_I2C_Read... [04:18:17]*** Stop cut motor [04:18:17]*** Cut end [04:18:17]Read from MH i2c: 01 07 00 [04:18:17]MH_I2C_Read... [04:18:17]Read from MH i2c: 01 07 00 DA 03 00 00 00 00 00 FF 0F F2 [04:18:17]process_action close_receipt done [04:18:17]requested_data is exist [04:18:17]produce_requested_data [04:18:17]requested_item fm.sn is exist - process it [04:18:17]wFMCommunicate request_size=4 [04:18:17]MH_SAM_APDU [04:18:17]CAPDU: 80 11 00 00 [04:18:17]Write to MH i2c: E2 08 00 DB 03 80 11 00 00 00 00 00 00 58 [04:18:17]Write i2c OK [04:18:17]MH_I2C_Read... [04:18:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:18:18]Read from MH i2c: E2 [04:18:18]MH_I2C_Read... [04:18:18]Read from MH i2c: E2 17 00 [04:18:18]MH_I2C_Read... [04:18:18]Read from MH i2c: E2 17 00 DB 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 A7 [04:18:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [04:18:18]wFMCommunicate OK [04:18:18]requested_item fd.num is exist - process it [04:18:18]SAM_PROTO_GetFieldsCounters [04:18:18]wFMCommunicate request_size=4 [04:18:18]MH_SAM_APDU [04:18:18]CAPDU: 80 13 00 00 [04:18:18]Write to MH i2c: E2 08 00 DC 03 80 13 00 00 00 00 00 00 5B [04:18:18]Write i2c OK [04:18:18]MH_I2C_Read... [04:18:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:18:18]Read from MH i2c: E2 [04:18:18]MH_I2C_Read... [04:18:18]Read from MH i2c: E2 62 00 [04:18:18]MH_I2C_Read... [04:18:18]Read from MH i2c: E2 62 00 DC 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BA 3D 00 00 0E 04 04 00 AD 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 47 [04:18:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BA 3D 00 00 0E 04 04 00 AD 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 [04:18:18]wFMCommunicate OK [04:18:18]SAM_PROTO_GetFieldsCounters done [04:18:18]requested_item shift.num is exist - process it [04:18:18]requested_item shift.opened is exist - process it [04:18:18]req_shift_opened [04:18:18]FM_GetShiftState [04:18:18]SAM_PROTO_GetShiftState [04:18:18]wFMCommunicate request_size=4 [04:18:18]MH_SAM_APDU [04:18:18]CAPDU: 80 13 01 00 [04:18:18]Write to MH i2c: E2 08 00 DD 03 80 13 01 00 00 00 00 00 5D [04:18:18]Write i2c OK [04:18:18]MH_I2C_Read... [04:18:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:18:18]Read from MH i2c: E2 [04:18:18]MH_I2C_Read... [04:18:18]Read from MH i2c: E2 0E 00 [04:18:18]MH_I2C_Read... [04:18:18]Read from MH i2c: E2 0E 00 DD 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 A2 [04:18:18]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [04:18:18]wFMCommunicate OK [04:18:18]SAM_PROTO_GetShiftState done [04:18:18]FM_GetShiftState done [04:18:18]req_shift_opened done [04:18:18]requested_item shift.open_date is exist - process it [04:18:18]req_shift_open_date [04:18:18]req_shift_open_date done [04:18:18]produce_requested_data done [04:18:18]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15802,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [04:18:18]process_action_free close_receipt [04:18:18]json_value_free [04:18:18]json_value_free done [04:18:18]process_json_proto returns [04:18:18]Send response to host [04:18:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15802,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [04:18:18]free response buf [04:18:18]execute_script done [04:18:18]execute_script returns [04:18:18]free content buf [04:18:18]Sock 9.Close socket [04:18:18]Sock 9.Thread stoped [04:18:21]OFD Sender: No OFD packet to send [04:18:26]OFD Sender: No OFD packet to send [04:18:31]OFD Sender: No OFD packet to send [04:18:36]OFD Sender: No OFD packet to send [04:18:41]OFD Sender: No OFD packet to send [04:18:46]OFD Sender: No OFD packet to send [04:18:51]OFD Sender: No OFD packet to send [04:18:56]OFD Sender: No OFD packet to send [04:19:01]OFD Sender: No OFD packet to send [04:19:06]OFD Sender: No OFD packet to send [04:19:11]OFD Sender: No OFD packet to send [04:19:16]OFD Sender: No OFD packet to send [04:19:21]OFD Sender: No OFD packet to send [04:19:26]OFD Sender: No OFD packet to send [04:19:31]OFD Sender: No OFD packet to send [04:19:36]OFD Sender: No OFD packet to send [04:19:41]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: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:57]OFD Sender: No OFD packet to send [04:26:02]OFD Sender: No OFD packet to send [04:26:07]OFD Sender: No OFD packet to send [04:26:12]OFD Sender: No OFD packet to send [04:26:17]OFD Sender: No OFD packet to send [04:26:22]OFD Sender: No OFD packet to send [04:26:27]OFD Sender: No OFD packet to send [04:26:32]OFD Sender: No OFD packet to send [04:26:37]OFD Sender: No OFD packet to send [04:26:42]OFD Sender: No OFD packet to send [04:26:47]OFD Sender: No OFD packet to send [04:26:52]OFD Sender: No OFD packet to send [04:26:57]OFD Sender: No OFD packet to send [04:26:59]ConnectInit Can't connect to host [04:27:02]OFD Sender: No OFD packet to send [04:29:32]OFD Sender: No OFD packet to send [04:29:37]OFD Sender: No OFD packet to send [04:29:42]OFD Sender: No OFD packet to send [04:29:47]OFD Sender: No OFD packet to send [04:29:52]OFD Sender: No OFD packet to send [04:29:57]OFD Sender: No OFD packet to send [04:30:02]OFD Sender: No OFD packet to send [04:30:07]OFD Sender: No OFD packet to send [04:30:12]OFD Sender: No OFD packet to send [04:30:17]OFD Sender: No OFD packet to send [04:30:22]OFD Sender: No OFD packet to send [04:30:27]OFD Sender: No OFD packet to send [04:30:32]OFD Sender: No OFD packet to send [04:30:37]OFD Sender: No OFD packet to send [04:30:42]OFD Sender: No OFD packet to send [04:30:47]OFD Sender: No OFD packet to send [04:30:52]OFD Sender: No OFD packet to send [04:30:57]OFD Sender: No OFD packet to send [04:31:02]OFD Sender: No OFD packet to send [04:31:07]OFD Sender: No OFD packet to send [04:31:12]OFD Sender: No OFD packet to send [04:31:17]OFD Sender: No OFD packet to send [04:31:22]OFD Sender: No OFD packet to send [04:31:27]OFD Sender: No OFD packet to send [04:31:32]OFD Sender: No OFD packet to send [04:31:37]OFD Sender: No OFD packet to send [04:31:41]ConnectInit Can't connect to host [04:31:42]OFD Sender: No OFD packet to send [04:31:47]OFD Sender: No OFD packet to send [04:31:52]OFD Sender: No OFD packet to send [04:31:57]OFD Sender: No OFD packet to send [04:32:02]OFD Sender: No OFD packet to send [04:32:07]OFD Sender: No OFD packet to send [04:32:12]OFD Sender: No OFD packet to send [04:32:17]OFD Sender: No OFD packet to send [04:32:22]OFD Sender: No OFD packet to send [04:32:27]OFD Sender: No OFD packet to send [04:32:32]OFD Sender: No OFD packet to send [04:32:37]OFD Sender: No OFD packet to send [04:32:42]OFD Sender: No OFD packet to send [04:32:47]OFD Sender: No OFD packet to send [04:32:52]OFD Sender: No OFD packet to send [04:32:57]OFD Sender: No OFD packet to send [04:33:02]OFD Sender: No OFD packet to send [04:33:07]OFD Sender: No OFD packet to send [04:33:12]OFD Sender: No OFD packet to send [04:33:17]OFD Sender: No OFD packet to send [04:33:22]OFD Sender: No OFD packet to send [04:33:27]OFD Sender: No OFD packet to send [04:33:32]OFD Sender: No OFD packet to send [04:33:37]OFD Sender: No OFD packet to send [04:33:42]OFD Sender: No OFD packet to send [04:33:47]OFD Sender: No OFD packet to send [04:33:52]OFD Sender: No OFD packet to send [04:33:57]OFD Sender: No OFD packet to send [04:34:02]OFD Sender: No OFD packet to send [04:34:07]OFD Sender: No OFD packet to send [04:34:12]OFD Sender: No OFD packet to send [04:34:17]OFD Sender: No OFD packet to send [04:34:22]OFD Sender: No OFD packet to send [04:34:27]OFD Sender: No OFD packet to send [04:34:32]OFD Sender: No OFD packet to send [04:34:37]OFD Sender: No OFD packet to send [04:34:42]OFD Sender: No OFD packet to send [04:34:47]OFD Sender: No OFD packet to send [04:34:52]OFD Sender: No OFD packet to send [04:34:57]OFD Sender: No OFD packet to send [04:35:02]OFD Sender: No OFD packet to send [04:35:07]OFD Sender: No OFD packet to send [04:35:12]OFD Sender: No OFD packet to send [04:35:17]OFD Sender: No OFD packet to send [04:35:22]OFD Sender: No OFD packet to send [04:35:27]OFD Sender: No OFD packet to send [04:35:32]OFD Sender: No OFD packet to send [04:35:37]OFD Sender: No OFD packet to send [04:35:42]OFD Sender: No OFD packet to send [04:35:47]OFD Sender: No OFD packet to send [04:35:52]OFD Sender: No OFD packet to send [04:35:57]OFD Sender: No OFD packet to send [04:36:02]OFD Sender: No OFD packet to send [04:36:07]OFD Sender: No OFD packet to send [04:36:12]OFD Sender: No OFD packet to send [04:36:17]OFD Sender: No OFD packet to send [04:36:22]OFD Sender: No OFD packet to send [04:36:27]OFD Sender: No OFD packet to send [04:36:32]OFD Sender: No OFD packet to send [04:36:37]OFD Sender: No OFD packet to send [04:36:42]OFD Sender: No OFD packet to send [04:36:47]OFD Sender: No OFD packet to send [04:36:52]OFD Sender: No OFD packet to send [04:36:57]OFD Sender: No OFD packet to send [04:37:02]OFD Sender: No OFD packet to send [04:37:07]OFD Sender: No OFD packet to send [04:37:12]OFD Sender: No OFD packet to send [04:37:17]OFD Sender: No OFD packet to send [04:37:22]OFD Sender: No OFD packet to send [04:37:27]OFD Sender: No OFD packet to send [04:37:32]OFD Sender: No OFD packet to send [04:37:37]OFD Sender: No OFD packet to send [04:37:42]OFD Sender: No OFD packet to send [04:37:47]OFD Sender: No OFD packet to send [04:37:52]OFD Sender: No OFD packet to send [04:37:57]OFD Sender: No OFD packet to send [04:38:02]OFD Sender: No OFD packet to send [04:38:07]OFD Sender: No OFD packet to send [04:38:12]OFD Sender: No OFD packet to send [04:38:17]OFD Sender: No OFD packet to send [04:38:22]OFD Sender: No OFD packet to send [04:38:27]OFD Sender: No OFD packet to send [04:38:32]OFD Sender: No OFD packet to send [04:38:37]OFD Sender: No OFD packet to send [04:38:42]OFD Sender: No OFD packet to send [04:38:47]OFD Sender: No OFD packet to send [04:38:52]OFD Sender: No OFD packet to send [04:38:57]OFD Sender: No OFD packet to send [04:39:02]OFD Sender: No OFD packet to send [04:39:07]OFD Sender: No OFD packet to send [04:39:12]OFD Sender: No OFD packet to send [04:39:17]OFD Sender: No OFD packet to send [04:39:22]OFD Sender: No OFD packet to send [04:39:27]OFD Sender: No OFD packet to send [04:39:32]OFD Sender: No OFD packet to send [04:39:37]OFD Sender: No OFD packet to send [04:39:42]OFD Sender: No OFD packet to send [04:39:47]OFD Sender: No OFD packet to send [04:39:52]OFD Sender: No OFD packet to send [04:39:57]OFD Sender: No OFD packet to send [04:40:02]OFD Sender: No OFD packet to send [04:40:07]OFD Sender: No OFD packet to send [04:40:12]OFD Sender: No OFD packet to send [04:40:17]OFD Sender: No OFD packet to send [04:40:22]OFD Sender: No OFD packet to send [04:40:27]OFD Sender: No OFD packet to send [04:40:32]OFD Sender: No OFD packet to send [04:40:37]OFD Sender: No OFD packet to send [04:40:42]OFD Sender: No OFD packet to send [04:40:47]OFD Sender: No OFD packet to send [04:40:52]OFD Sender: No OFD packet to send [04:40:57]OFD Sender: No OFD packet to send [04:41:02]OFD Sender: No OFD packet to send [04:41:07]OFD Sender: No OFD packet to send [04:41:12]OFD Sender: No OFD packet to send [04:41:17]OFD Sender: No OFD packet to send [04:41:22]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]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:23]OFD Sender: No OFD packet to send [04:47:28]OFD Sender: No OFD packet to send [04:47:33]OFD Sender: No OFD packet to send [04:47:38]OFD Sender: No OFD packet to send [04:47:43]OFD Sender: No OFD packet to send [04:47:48]OFD Sender: No OFD packet to send [04:47:53]OFD Sender: No OFD packet to send [04:47:58]OFD Sender: No OFD packet to send [04:48:03]OFD Sender: No OFD packet to send [04:48:08]OFD Sender: No OFD packet to send [04:48:13]OFD Sender: No OFD packet to send [04:48:18]OFD Sender: No OFD packet to send [04:48:23]OFD Sender: No OFD packet to send [04:48:28]OFD Sender: No OFD packet to send [04:48:33]OFD Sender: No OFD packet to send [04:48:38]OFD Sender: No OFD packet to send [04:48:43]OFD Sender: No OFD packet to send [04:48:48]OFD Sender: No OFD packet to send [04:48:53]OFD Sender: No OFD packet to send [04:48:58]OFD Sender: No OFD packet to send [04:49:03]OFD Sender: No OFD packet to send [04:49:08]OFD Sender: No OFD packet to send [04:49:13]OFD Sender: No OFD packet to send [04:49:18]OFD Sender: No OFD packet to send [04:49:23]OFD Sender: No OFD packet to send [04:49:28]OFD Sender: No OFD packet to send [04:49:33]OFD Sender: No OFD packet to send [04:49:38]OFD Sender: No OFD packet to send [04:49:43]OFD Sender: No OFD packet to send [04:49:48]OFD Sender: No OFD packet to send [04:49:53]OFD Sender: No OFD packet to send [04:49:58]OFD Sender: No OFD packet to send [04:50:03]OFD Sender: No OFD packet to send [04:50:08]OFD Sender: No OFD packet to send [04:50:13]OFD Sender: No OFD packet to send [04:50:18]OFD Sender: No OFD packet to send [04:50:23]OFD Sender: No OFD packet to send [04:50:28]OFD Sender: No OFD packet to send [04:50:33]OFD Sender: No OFD packet to send [04:50:38]OFD Sender: No OFD packet to send [04:50:43]OFD Sender: No OFD packet to send [04:50:48]OFD Sender: No OFD packet to send [04:50:53]OFD Sender: No OFD packet to send [04:50:58]OFD Sender: No OFD packet to send [04:51:03]OFD Sender: No OFD packet to send [04:51:08]OFD Sender: No OFD packet to send [04:51:13]OFD Sender: No OFD packet to send [04:51:18]OFD Sender: No OFD packet to send [04:51:23]OFD Sender: No OFD packet to send [04:51:28]OFD Sender: No OFD packet to send [04:51:33]OFD Sender: No OFD packet to send [04:51:38]OFD Sender: No OFD packet to send [04:51:43]OFD Sender: No OFD packet to send [04:51:48]OFD Sender: No OFD packet to send [04:51:53]OFD Sender: No OFD packet to send [04:51:58]OFD Sender: No OFD packet to send [04:52:03]OFD Sender: No OFD packet to send [04:52:08]OFD Sender: No OFD packet to send [04:52:13]OFD Sender: No OFD packet to send [04:52:18]OFD Sender: No OFD packet to send [04:52:23]OFD Sender: No OFD packet to send [04:52:28]OFD Sender: No OFD packet to send [04:52:33]OFD Sender: No OFD packet to send [04:52:38]OFD Sender: No OFD packet to send [04:52:43]OFD Sender: No OFD packet to send [04:52:48]OFD Sender: No OFD packet to send [04:52:53]OFD Sender: No OFD packet to send [04:52:58]OFD Sender: No OFD packet to send [04:53:03]OFD Sender: No OFD packet to send [04:53:08]OFD Sender: No OFD packet to send [04:53:13]OFD Sender: No OFD packet to send [04:53:18]OFD Sender: No OFD packet to send [04:53:23]OFD Sender: No OFD packet to send [04:53:28]OFD Sender: No OFD packet to send [04:53:33]OFD Sender: No OFD packet to send [04:53:38]OFD Sender: No OFD packet to send [04:53:43]OFD Sender: No OFD packet to send [04:53:48]OFD Sender: No OFD packet to send [04:53:53]OFD Sender: No OFD packet to send [04:53:58]OFD Sender: No OFD packet to send [04:54:03]OFD Sender: No OFD packet to send [04:54:08]OFD Sender: No OFD packet to send [04:54:13]OFD Sender: No OFD packet to send [04:54:18]OFD Sender: No OFD packet to send [04:54:23]OFD Sender: No OFD packet to send [04:54:28]OFD Sender: No OFD packet to send [04:54:33]OFD Sender: No OFD packet to send [04:54:38]OFD Sender: No OFD packet to send [04:54:43]OFD Sender: No OFD packet to send [04:54:48]OFD Sender: No OFD packet to send [04:54:53]OFD Sender: No OFD packet to send [04:54:58]OFD Sender: No OFD packet to send [04:55:03]OFD Sender: No OFD packet to send [04:55:08]OFD Sender: No OFD packet to send [04:55:13]OFD Sender: No OFD packet to send [04:55:18]OFD Sender: No OFD packet to send [04:55:23]OFD Sender: No OFD packet to send [04:55:28]OFD Sender: No OFD packet to send [04:55:33]OFD Sender: No OFD packet to send [04:55:38]OFD Sender: No OFD packet to send [04:55:43]OFD Sender: No OFD packet to send [04:55:48]OFD Sender: No OFD packet to send [04:55:53]OFD Sender: No OFD packet to send [04:55:58]OFD Sender: No OFD packet to send [04:56:03]OFD Sender: No OFD packet to send [04:56:08]OFD Sender: No OFD packet to send [04:56:13]OFD Sender: No OFD packet to send [04:56:18]OFD Sender: No OFD packet to send [04:56:23]OFD Sender: No OFD packet to send [04:56:28]OFD Sender: No OFD packet to send [04:56:33]OFD Sender: No OFD packet to send [04:56:38]OFD Sender: No OFD packet to send [04:56:43]OFD Sender: No OFD packet to send [04:56:48]OFD Sender: No OFD packet to send [04:56:53]OFD Sender: No OFD packet to send [04:56:58]OFD Sender: No OFD packet to send [04:57:03]OFD Sender: No OFD packet to send [04:57:08]OFD Sender: No OFD packet to send [04:57:13]OFD Sender: No OFD packet to send [04:57:18]OFD Sender: No OFD packet to send [04:57:23]OFD Sender: No OFD packet to send [04:57:28]OFD Sender: No OFD packet to send [04:57:33]OFD Sender: No OFD packet to send [04:57:38]OFD Sender: No OFD packet to send [04:57:43]OFD Sender: No OFD packet to send [04:57:48]OFD Sender: No OFD packet to send [04:57:53]OFD Sender: No OFD packet to send [04:57:58]OFD Sender: No OFD packet to send [04:58:03]OFD Sender: No OFD packet to send [04:58:08]OFD Sender: No OFD packet to send [04:58:13]OFD Sender: No OFD packet to send [04:58:18]OFD Sender: No OFD packet to send [04:58:23]OFD Sender: No OFD packet to send [04:58:28]OFD Sender: No OFD packet to send [04:58:33]OFD Sender: No OFD packet to send [04:58:38]OFD Sender: No OFD packet to send [04:58:43]OFD Sender: No OFD packet to send [04:58:48]OFD Sender: No OFD packet to send [04:58:53]OFD Sender: No OFD packet to send [04:58:58]OFD Sender: No OFD packet to send [04:59:03]OFD Sender: No OFD packet to send [04:59:08]OFD Sender: No OFD packet to send [04:59:13]OFD Sender: No OFD packet to send [04:59:18]OFD Sender: No OFD packet to send [04:59:23]OFD Sender: No OFD packet to send [04:59:28]OFD Sender: No OFD packet to send [04:59:33]OFD Sender: No OFD packet to send [04:59:38]OFD Sender: No OFD packet to send [04:59:43]OFD Sender: No OFD packet to send [04:59:48]OFD Sender: No OFD packet to send [04:59:53]OFD Sender: No OFD packet to send [04:59:58]OFD Sender: No OFD packet to send [05:00:03]OFD Sender: No OFD packet to send [05:00:08]OFD Sender: No OFD packet to send [05:00:13]OFD Sender: No OFD packet to send [05:00:18]OFD Sender: No OFD packet to send [05:00:23]OFD Sender: No OFD packet to send [05:00:28]OFD Sender: No OFD packet to send [05:00:33]OFD Sender: No OFD packet to send [05:00:38]OFD Sender: No OFD packet to send [05:00:43]OFD Sender: No OFD packet to send [05:00:48]OFD Sender: No OFD packet to send [05:00:53]OFD Sender: No OFD packet to send [05:00:58]OFD Sender: No OFD packet to send [05:01:03]OFD Sender: No OFD packet to send [05:01:08]OFD Sender: No OFD packet to send [05:01:13]OFD Sender: No OFD packet to send [05:01:18]OFD Sender: No OFD packet to send [05:01:23]OFD Sender: No OFD packet to send [05:01:28]OFD Sender: No OFD packet to send [05:01:33]OFD Sender: No OFD packet to send [05:01:38]OFD Sender: No OFD packet to send [05:01:43]OFD Sender: No OFD packet to send [05:01:48]OFD Sender: No OFD packet to send [05:01:53]OFD Sender: No OFD packet to send [05:01:58]OFD Sender: No OFD packet to send [05:02:03]OFD Sender: No OFD packet to send [05:02:08]OFD Sender: No OFD packet to send [05:02:13]OFD Sender: No OFD packet to send [05:02:18]OFD Sender: No OFD packet to send [05:02:23]OFD Sender: No OFD packet to send [05:02:28]OFD Sender: No OFD packet to send [05:02:33]OFD Sender: No OFD packet to send [05:02:38]OFD Sender: No OFD packet to send [05:02:43]OFD Sender: No OFD packet to send [05:02:48]OFD Sender: No OFD packet to send [05:02:53]OFD Sender: No OFD packet to send [05:02:58]OFD Sender: No OFD packet to send [05:03:03]OFD Sender: No OFD packet to send [05:03:08]OFD Sender: No OFD packet to send [05:03:13]OFD Sender: No OFD packet to send [05:03:18]OFD Sender: No OFD packet to send [05:03:23]OFD Sender: No OFD packet to send [05:03:28]OFD Sender: No OFD packet to send [05:03:33]OFD Sender: No OFD packet to send [05:03: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:39]OFD Sender: No OFD packet to send [05:08:44]OFD Sender: No OFD packet to send [05:08:49]OFD Sender: No OFD packet to send [05:08:54]OFD Sender: No OFD packet to send [05:08:59]OFD Sender: No OFD packet to send [05:09:04]OFD Sender: No OFD packet to send [05:09:09]OFD Sender: No OFD packet to send [05:09:14]OFD Sender: No OFD packet to send [05:09:19]OFD Sender: No OFD packet to send [05:09:24]OFD Sender: No OFD packet to send [05:09:29]OFD Sender: No OFD packet to send [05:09:34]OFD Sender: No OFD packet to send [05:09:39]OFD Sender: No OFD packet to send [05:09:44]OFD Sender: No OFD packet to send [05:09:49]OFD Sender: No OFD packet to send [05:09:54]OFD Sender: No OFD packet to send [05:09:59]OFD Sender: No OFD packet to send [05:10:04]OFD Sender: No OFD packet to send [05:10:09]OFD Sender: No OFD packet to send [05:10:14]OFD Sender: No OFD packet to send [05:10:19]OFD Sender: No OFD packet to send [05:10:24]OFD Sender: No OFD packet to send [05:10:29]OFD Sender: No OFD packet to send [05:10:34]OFD Sender: No OFD packet to send [05:10:39]OFD Sender: No OFD packet to send [05:10:44]OFD Sender: No OFD packet to send [05:10:49]OFD Sender: No OFD packet to send [05:10:54]OFD Sender: No OFD packet to send [05:10:59]OFD Sender: No OFD packet to send [05:11:04]OFD Sender: No OFD packet to send [05:11:09]OFD Sender: No OFD packet to send [05:11:14]OFD Sender: No OFD packet to send [05:11:19]OFD Sender: No OFD packet to send [05:11:24]OFD Sender: No OFD packet to send [05:11:29]OFD Sender: No OFD packet to send [05:11:34]OFD Sender: No OFD packet to send [05:11:39]OFD Sender: No OFD packet to send [05:11:44]OFD Sender: No OFD packet to send [05:11:49]OFD Sender: No OFD packet to send [05:11:54]OFD Sender: No OFD packet to send [05:11:59]OFD Sender: No OFD packet to send [05:12:04]OFD Sender: No OFD packet to send [05:12:09]OFD Sender: No OFD packet to send [05:12:14]OFD Sender: No OFD packet to send [05:12:19]OFD Sender: No OFD packet to send [05:12:24]OFD Sender: No OFD packet to send [05:12:29]OFD Sender: No OFD packet to send [05:12:34]OFD Sender: No OFD packet to send [05:12:39]OFD Sender: No OFD packet to send [05:12:44]OFD Sender: No OFD packet to send [05:12:49]OFD Sender: No OFD packet to send [05:12:54]OFD Sender: No OFD packet to send [05:12:59]OFD Sender: No OFD packet to send [05:13:04]OFD Sender: No OFD packet to send [05:13:09]OFD Sender: No OFD packet to send [05:13:14]OFD Sender: No OFD packet to send [05:13:19]OFD Sender: No OFD packet to send [05:13:24]OFD Sender: No OFD packet to send [05:13:29]OFD Sender: No OFD packet to send [05:13:34]OFD Sender: No OFD packet to send [05:13:39]OFD Sender: No OFD packet to send [05:13:44]OFD Sender: No OFD packet to send [05:13:49]OFD Sender: No OFD packet to send [05:13:54]OFD Sender: No OFD packet to send [05:13:59]OFD Sender: No OFD packet to send [05:14:04]OFD Sender: No OFD packet to send [05:14:09]OFD Sender: No OFD packet to send [05:14:14]OFD Sender: No OFD packet to send [05:14:19]OFD Sender: No OFD packet to send [05:14:24]OFD Sender: No OFD packet to send [05:14:29]OFD Sender: No OFD packet to send [05:14:34]OFD Sender: No OFD packet to send [05:14:39]OFD Sender: No OFD packet to send [05:14:44]OFD Sender: No OFD packet to send [05:14:49]OFD Sender: No OFD packet to send [05:14:54]OFD Sender: No OFD packet to send [05:14:59]OFD Sender: No OFD packet to send [05:15:04]OFD Sender: No OFD packet to send [05:15:09]OFD Sender: No OFD packet to send [05:15:14]OFD Sender: No OFD packet to send [05:15:19]OFD Sender: No OFD packet to send [05:15:24]OFD Sender: No OFD packet to send [05:15:29]OFD Sender: No OFD packet to send [05:15:34]OFD Sender: No OFD packet to send [05:15:39]OFD Sender: No OFD packet to send [05:15:44]OFD Sender: No OFD packet to send [05:15:49]OFD Sender: No OFD packet to send [05:15:54]OFD Sender: No OFD packet to send [05:15:59]OFD Sender: No OFD packet to send [05:16:04]OFD Sender: No OFD packet to send [05:16:09]OFD Sender: No OFD packet to send [05:16:14]OFD Sender: No OFD packet to send [05:16:19]OFD Sender: No OFD packet to send [05:16:24]OFD Sender: No OFD packet to send [05:16:29]OFD Sender: No OFD packet to send [05:16:34]OFD Sender: No OFD packet to send [05:16:39]OFD Sender: No OFD packet to send [05:16:44]OFD Sender: No OFD packet to send [05:16:49]OFD Sender: No OFD packet to send [05:16:54]OFD Sender: No OFD packet to send [05:16:59]OFD Sender: No OFD packet to send [05:17:04]OFD Sender: No OFD packet to send [05:17:09]OFD Sender: No OFD packet to send [05:17:14]OFD Sender: No OFD packet to send [05:17:19]OFD Sender: No OFD packet to send [05:17:24]OFD Sender: No OFD packet to send [05:17:29]OFD Sender: No OFD packet to send [05:17:34]OFD Sender: No OFD packet to send [05:17:39]OFD Sender: No OFD packet to send [05:17:44]OFD Sender: No OFD packet to send [05:17:49]OFD Sender: No OFD packet to send [05:17:54]OFD Sender: No OFD packet to send [05:17:59]OFD Sender: No OFD packet to send [05:18:04]OFD Sender: No OFD packet to send [05:18:09]OFD Sender: No OFD packet to send [05:18:14]OFD Sender: No OFD packet to send [05:18:19]OFD Sender: No OFD packet to send [05:18:24]OFD Sender: No OFD packet to send [05:18:29]OFD Sender: No OFD packet to send [05:18:34]OFD Sender: No OFD packet to send [05:18:39]OFD Sender: No OFD packet to send [05:18:44]OFD Sender: No OFD packet to send [05:18:49]OFD Sender: No OFD packet to send [05:18:54]OFD Sender: No OFD packet to send [05:18:59]OFD Sender: No OFD packet to send [05:19:04]OFD Sender: No OFD packet to send [05:19:09]OFD Sender: No OFD packet to send [05:19:14]OFD Sender: No OFD packet to send [05:19:19]OFD Sender: No OFD packet to send [05:19:24]OFD Sender: No OFD packet to send [05:19:29]OFD Sender: No OFD packet to send [05:19:34]OFD Sender: No OFD packet to send [05:19:39]OFD Sender: No OFD packet to send [05:19:44]OFD Sender: No OFD packet to send [05:19:49]OFD Sender: No OFD packet to send [05:19:54]OFD Sender: No OFD packet to send [05:19:59]OFD Sender: No OFD packet to send [05:20:04]OFD Sender: No OFD packet to send [05:20:09]OFD Sender: No OFD packet to send [05:20:14]OFD Sender: No OFD packet to send [05:20:19]OFD Sender: No OFD packet to send [05:20:24]OFD Sender: No OFD packet to send [05:20:29]OFD Sender: No OFD packet to send [05:20:34]OFD Sender: No OFD packet to send [05:20:39]OFD Sender: No OFD packet to send [05:20:44]OFD Sender: No OFD packet to send [05:20:49]OFD Sender: No OFD packet to send [05:20:54]OFD Sender: No OFD packet to send [05:20:59]OFD Sender: No OFD packet to send [05:21:04]OFD Sender: No OFD packet to send [05:21:09]OFD Sender: No OFD packet to send [05:21:14]OFD Sender: No OFD packet to send [05:21:19]OFD Sender: No OFD packet to send [05:21:24]OFD Sender: No OFD packet to send [05:21:29]OFD Sender: No OFD packet to send [05:21:34]OFD Sender: No OFD packet to send [05:21:39]OFD Sender: No OFD packet to send [05:21:44]OFD Sender: No OFD packet to send [05:21:49]OFD Sender: No OFD packet to send [05:21:54]OFD Sender: No OFD packet to send [05:21:59]OFD Sender: No OFD packet to send [05:22:04]OFD Sender: No OFD packet to send [05:22:09]OFD Sender: No OFD packet to send [05:22:14]OFD Sender: No OFD packet to send [05:22:19]OFD Sender: No OFD packet to send [05:22:24]OFD Sender: No OFD packet to send [05:22:29]OFD Sender: No OFD packet to send [05:22:34]OFD Sender: No OFD packet to send [05:22:39]OFD Sender: No OFD packet to send [05:22:44]OFD Sender: No OFD packet to send [05:22:49]OFD Sender: No OFD packet to send [05:22:54]OFD Sender: No OFD packet to send [05:22:59]OFD Sender: No OFD packet to send [05:23:04]OFD Sender: No OFD packet to send [05:23:09]OFD Sender: No OFD packet to send [05:23:14]OFD Sender: No OFD packet to send [05:23:19]OFD Sender: No OFD packet to send [05:23:24]OFD Sender: No OFD packet to send [05:23:29]OFD Sender: No OFD packet to send [05:23:34]OFD Sender: No OFD packet to send [05:23:39]OFD Sender: No OFD packet to send [05:23:44]OFD Sender: No OFD packet to send [05:23:49]OFD Sender: No OFD packet to send [05:23:54]OFD Sender: No OFD packet to send [05:23:59]OFD Sender: No OFD packet to send [05:24:04]OFD Sender: No OFD packet to send [05:24:09]OFD Sender: No OFD packet to send [05:24:14]OFD Sender: No OFD packet to send [05:24:19]OFD Sender: No OFD packet to send [05:24:24]OFD Sender: No OFD packet to send [05:24:29]OFD Sender: No OFD packet to send [05:24:34]OFD Sender: No OFD packet to send [05:24:39]OFD Sender: No OFD packet to send [05:24:44]OFD Sender: No OFD packet to send [05:24:49]OFD Sender: No OFD packet to send [05:24:54]OFD Sender: No OFD packet to send [05:24:59]OFD Sender: No OFD packet to send [05:25:04]OFD Sender: No OFD packet to send [05:25:09]OFD Sender: No OFD packet to send [05:25:14]OFD Sender: No OFD packet to send [05:25:19]OFD Sender: No OFD packet to send [05:25:24]OFD Sender: No OFD packet to send [05:25:29]OFD Sender: No OFD packet to send [05:25: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:00]OFD Sender: No OFD packet to send [05:30:05]OFD Sender: No OFD packet to send [05:30:10]OFD Sender: No OFD packet to send [05:30:15]OFD Sender: No OFD packet to send [05:30:20]OFD Sender: No OFD packet to send [05:30:25]OFD Sender: No OFD packet to send [05:30:30]OFD Sender: No OFD packet to send [05:30:35]OFD Sender: No OFD packet to send [05:30:40]OFD Sender: No OFD packet to send [05:30:45]OFD Sender: No OFD packet to send [05:30:50]OFD Sender: No OFD packet to send [05:30:55]OFD Sender: No OFD packet to send [05:31:00]OFD Sender: No OFD packet to send [05:31:05]OFD Sender: No OFD packet to send [05:31:10]OFD Sender: No OFD packet to send [05:31:15]OFD Sender: No OFD packet to send [05:31:20]OFD Sender: No OFD packet to send [05:31:25]OFD Sender: No OFD packet to send [05:31:30]OFD Sender: No OFD packet to send [05:31:35]OFD Sender: No OFD packet to send [05:31:40]OFD Sender: No OFD packet to send [05:31:45]OFD Sender: No OFD packet to send [05:31:50]OFD Sender: No OFD packet to send [05:31:55]OFD Sender: No OFD packet to send [05:32:00]OFD Sender: No OFD packet to send [05:32:05]OFD Sender: No OFD packet to send [05:32:10]OFD Sender: No OFD packet to send [05:32:15]OFD Sender: No OFD packet to send [05:32:20]OFD Sender: No OFD packet to send [05:32:25]OFD Sender: No OFD packet to send [05:32:30]OFD Sender: No OFD packet to send [05:32:35]OFD Sender: No OFD packet to send [05:32:40]OFD Sender: No OFD packet to send [05:32:45]OFD Sender: No OFD packet to send [05:32:50]OFD Sender: No OFD packet to send [05:32:55]OFD Sender: No OFD packet to send [05:33:00]OFD Sender: No OFD packet to send [05:33:05]OFD Sender: No OFD packet to send [05:33:10]OFD Sender: No OFD packet to send [05:33:15]OFD Sender: No OFD packet to send [05:33:20]OFD Sender: No OFD packet to send [05:33:25]OFD Sender: No OFD packet to send [05:33:30]OFD Sender: No OFD packet to send [05:33:35]OFD Sender: No OFD packet to send [05:33:40]OFD Sender: No OFD packet to send [05:33:45]OFD Sender: No OFD packet to send [05:33:50]OFD Sender: No OFD packet to send [05:33:55]OFD Sender: No OFD packet to send [05:34:00]OFD Sender: No OFD packet to send [05:34:05]OFD Sender: No OFD packet to send [05:34:10]OFD Sender: No OFD packet to send [05:34:15]OFD Sender: No OFD packet to send [05:34:20]OFD Sender: No OFD packet to send [05:34:25]OFD Sender: No OFD packet to send [05:34:30]OFD Sender: No OFD packet to send [05:34:35]OFD Sender: No OFD packet to send [05:34:40]OFD Sender: No OFD packet to send [05:34:45]OFD Sender: No OFD packet to send [05:34:50]OFD Sender: No OFD packet to send [05:34:55]OFD Sender: No OFD packet to send [05:35:00]OFD Sender: No OFD packet to send [05:35:05]OFD Sender: No OFD packet to send [05:35:10]OFD Sender: No OFD packet to send [05:35:15]OFD Sender: No OFD packet to send [05:35:20]OFD Sender: No OFD packet to send [05:35:25]OFD Sender: No OFD packet to send [05:35:30]OFD Sender: No OFD packet to send [05:35:35]OFD Sender: No OFD packet to send [05:35:40]OFD Sender: No OFD packet to send [05:35:45]OFD Sender: No OFD packet to send [05:35:50]OFD Sender: No OFD packet to send [05:35:55]OFD Sender: No OFD packet to send [05:36:00]OFD Sender: No OFD packet to send [05:36:05]OFD Sender: No OFD packet to send [05:36:10]OFD Sender: No OFD packet to send [05:36:15]OFD Sender: No OFD packet to send [05:36:20]OFD Sender: No OFD packet to send [05:36:25]OFD Sender: No OFD packet to send [05:36:30]OFD Sender: No OFD packet to send [05:36:35]OFD Sender: No OFD packet to send [05:36:40]OFD Sender: No OFD packet to send [05:36:45]OFD Sender: No OFD packet to send [05:36:50]OFD Sender: No OFD packet to send [05:36:55]OFD Sender: No OFD packet to send [05:37:00]OFD Sender: No OFD packet to send [05:37:05]OFD Sender: No OFD packet to send [05:37:10]OFD Sender: No OFD packet to send [05:37:15]OFD Sender: No OFD packet to send [05:37:20]OFD Sender: No OFD packet to send [05:37:25]OFD Sender: No OFD packet to send [05:37:30]OFD Sender: No OFD packet to send [05:37:35]OFD Sender: No OFD packet to send [05:37:40]OFD Sender: No OFD packet to send [05:37:45]OFD Sender: No OFD packet to send [05:37:50]OFD Sender: No OFD packet to send [05:37:55]OFD Sender: No OFD packet to send [05:38:00]OFD Sender: No OFD packet to send [05:38:05]OFD Sender: No OFD packet to send [05:38:10]OFD Sender: No OFD packet to send [05:38:15]OFD Sender: No OFD packet to send [05:38:20]OFD Sender: No OFD packet to send [05:38:25]OFD Sender: No OFD packet to send [05:38:30]OFD Sender: No OFD packet to send [05:38:35]OFD Sender: No OFD packet to send [05:38:40]OFD Sender: No OFD packet to send [05:38:45]OFD Sender: No OFD packet to send [05:38:50]OFD Sender: No OFD packet to send [05:38:55]OFD Sender: No OFD packet to send [05:39:00]OFD Sender: No OFD packet to send [05:39:05]OFD Sender: No OFD packet to send [05:39:10]OFD Sender: No OFD packet to send [05:39:15]OFD Sender: No OFD packet to send [05:39:20]OFD Sender: No OFD packet to send [05:39:25]OFD Sender: No OFD packet to send [05:39:30]OFD Sender: No OFD packet to send [05:39:35]OFD Sender: No OFD packet to send [05:39:40]OFD Sender: No OFD packet to send [05:39:45]OFD Sender: No OFD packet to send [05:39:50]OFD Sender: No OFD packet to send [05:39:55]OFD Sender: No OFD packet to send [05:40:00]OFD Sender: No OFD packet to send [05:40:05]OFD Sender: No OFD packet to send [05:40:10]OFD Sender: No OFD packet to send [05:40:15]OFD Sender: No OFD packet to send [05:40:20]OFD Sender: No OFD packet to send [05:40:25]OFD Sender: No OFD packet to send [05:40:30]OFD Sender: No OFD packet to send [05:40:35]OFD Sender: No OFD packet to send [05:40:40]OFD Sender: No OFD packet to send [05:40:45]OFD Sender: No OFD packet to send [05:40:50]OFD Sender: No OFD packet to send [05:40:55]OFD Sender: No OFD packet to send [05:41:00]OFD Sender: No OFD packet to send [05:41:05]OFD Sender: No OFD packet to send [05:41:10]OFD Sender: No OFD packet to send [05:41:15]OFD Sender: No OFD packet to send [05:41:20]OFD Sender: No OFD packet to send [05:41:25]OFD Sender: No OFD packet to send [05:41:30]OFD Sender: No OFD packet to send [05:41:35]OFD Sender: No OFD packet to send [05:41:40]OFD Sender: No OFD packet to send [05:41:45]OFD Sender: No OFD packet to send [05:41:50]OFD Sender: No OFD packet to send [05:41:55]OFD Sender: No OFD packet to send [05:42:00]OFD Sender: No OFD packet to send [05:42:05]OFD Sender: No OFD packet to send [05:42:10]OFD Sender: No OFD packet to send [05:42:15]OFD Sender: No OFD packet to send [05:42:20]OFD Sender: No OFD packet to send [05:42:25]OFD Sender: No OFD packet to send [05:42:30]OFD Sender: No OFD packet to send [05:42:35]OFD Sender: No OFD packet to send [05:42:40]OFD Sender: No OFD packet to send [05:42:45]OFD Sender: No OFD packet to send [05:42:50]OFD Sender: No OFD packet to send [05:42:55]OFD Sender: No OFD packet to send [05:43:00]OFD Sender: No OFD packet to send [05:43:05]OFD Sender: No OFD packet to send [05:43:10]OFD Sender: No OFD packet to send [05:43:15]OFD Sender: No OFD packet to send [05:43:20]OFD Sender: No OFD packet to send [05:43:25]OFD Sender: No OFD packet to send [05:43:30]OFD Sender: No OFD packet to send [05:43:35]OFD Sender: No OFD packet to send [05:43:40]OFD Sender: No OFD packet to send [05:43:45]OFD Sender: No OFD packet to send [05:43:50]OFD Sender: No OFD packet to send [05:43:55]OFD Sender: No OFD packet to send [05:44:00]OFD Sender: No OFD packet to send [05:44:05]OFD Sender: No OFD packet to send [05:44:10]OFD Sender: No OFD packet to send [05:44:15]OFD Sender: No OFD packet to send [05:44:20]OFD Sender: No OFD packet to send [05:44:25]OFD Sender: No OFD packet to send [05:44:30]OFD Sender: No OFD packet to send [05:44:35]OFD Sender: No OFD packet to send [05:44:40]OFD Sender: No OFD packet to send [05:44:45]OFD Sender: No OFD packet to send [05:44:50]OFD Sender: No OFD packet to send [05:44:55]OFD Sender: No OFD packet to send [05:45:00]OFD Sender: No OFD packet to send [05:45:05]OFD Sender: No OFD packet to send [05:45:10]OFD Sender: No OFD packet to send [05:45:15]OFD Sender: No OFD packet to send [05:45:20]OFD Sender: No OFD packet to send [05:45:25]OFD Sender: No OFD packet to send [05:45:30]OFD Sender: No OFD packet to send [05:45:35]OFD Sender: No OFD packet to send [05:45:40]OFD Sender: No OFD packet to send [05:45:45]OFD Sender: No OFD packet to send [05:45:50]OFD Sender: No OFD packet to send [05:45:55]OFD Sender: No OFD packet to send [05:46:00]OFD Sender: No OFD packet to send [05:46:05]OFD Sender: No OFD packet to send [05:46:10]OFD Sender: No OFD packet to send [05:46:15]OFD Sender: No OFD packet to send [05:46:20]OFD Sender: No OFD packet to send [05:46:25]OFD Sender: No OFD packet to send [05:46:30]OFD Sender: No OFD packet to send [05:46:35]OFD Sender: No OFD packet to send [05:46:40]OFD Sender: No OFD packet to send [05:46:45]OFD Sender: No OFD packet to send [05:46:50]OFD Sender: No OFD packet to send [05:46:55]OFD Sender: No OFD packet to send [05:47:00]OFD Sender: No OFD packet to send [05:47:05]OFD Sender: No OFD packet to send [05:47: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: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:36]OFD Sender: No OFD packet to send [05:51:41]OFD Sender: No OFD packet to send [05:51:46]OFD Sender: No OFD packet to send [05:51:51]OFD Sender: No OFD packet to send [05:51:56]OFD Sender: No OFD packet to send [05:52:01]OFD Sender: No OFD packet to send [05:52:06]OFD Sender: No OFD packet to send [05:52:11]OFD Sender: No OFD packet to send [05:52:14]ConnectInit Can't connect to host [05:52:16]OFD Sender: No OFD packet to send [05:52:21]OFD Sender: No OFD packet to send [05:52:26]OFD Sender: No OFD packet to send [05:52:31]OFD Sender: No OFD packet to send [05:52:36]OFD Sender: No OFD packet to send [05:52:41]OFD Sender: No OFD packet to send [05:52:46]OFD Sender: No OFD packet to send [05:52:51]OFD Sender: No OFD packet to send [05:52:56]OFD Sender: No OFD packet to send [05:53:01]OFD Sender: No OFD packet to send [05:53:06]OFD Sender: No OFD packet to send [05:53:11]OFD Sender: No OFD packet to send [05:53:16]OFD Sender: No OFD packet to send [05:53:21]OFD Sender: No OFD packet to send [05:53:26]OFD Sender: No OFD packet to send [05:53:31]OFD Sender: No OFD packet to send [05:53:36]OFD Sender: No OFD packet to send [05:53:41]OFD Sender: No OFD packet to send [05:53:46]OFD Sender: No OFD packet to send [05:54:01]OFD Sender: No OFD packet to send [05:54:06]OFD Sender: No OFD packet to send [05:54:11]OFD Sender: No OFD packet to send [05:54:16]OFD Sender: No OFD packet to send [05:54:21]OFD Sender: No OFD packet to send [05:54:26]OFD Sender: No OFD packet to send [05:54:31]OFD Sender: No OFD packet to send [05:54:36]OFD Sender: No OFD packet to send [05:54:41]OFD Sender: No OFD packet to send [05:54:46]OFD Sender: No OFD packet to send [05:54:51]OFD Sender: No OFD packet to send [05:54:56]OFD Sender: No OFD packet to send [05:55:01]OFD Sender: No OFD packet to send [05:55:06]OFD Sender: No OFD packet to send [05:55:11]OFD Sender: No OFD packet to send [05:55:16]OFD Sender: No OFD packet to send [05:55:21]OFD Sender: No OFD packet to send [05:55:26]OFD Sender: No OFD packet to send [05:55:31]OFD Sender: No OFD packet to send [05:55:36]OFD Sender: No OFD packet to send [05:55:41]OFD Sender: No OFD packet to send [05:55:46]OFD Sender: No OFD packet to send [05:55:51]OFD Sender: No OFD packet to send [05:55:56]OFD Sender: No OFD packet to send [05:56:01]OFD Sender: No OFD packet to send [05:56:06]OFD Sender: No OFD packet to send [05:56:10]ConnectInit Can't connect to host [05:56:11]OFD Sender: No OFD packet to send [05:56:16]OFD Sender: No OFD packet to send [05:56:21]OFD Sender: No OFD packet to send [05:56:26]OFD Sender: No OFD packet to send [05:56:31]OFD Sender: No OFD packet to send [05:56:36]OFD Sender: No OFD packet to send [05:56:41]OFD Sender: No OFD packet to send [05:56:46]OFD Sender: No OFD packet to send [05:56:51]OFD Sender: No OFD packet to send [05:56:56]OFD Sender: No OFD packet to send [05:57:01]OFD Sender: No OFD packet to send [05:57:06]OFD Sender: No OFD packet to send [05:57:11]OFD Sender: No OFD packet to send [05:57:16]OFD Sender: No OFD packet to send [05:57:21]OFD Sender: No OFD packet to send [05:57:26]OFD Sender: No OFD packet to send [05:57:31]OFD Sender: No OFD packet to send [05:57:36]OFD Sender: No OFD packet to send [05:57:41]OFD Sender: No OFD packet to send [05:57:46]OFD Sender: No OFD packet to send [05:57:51]OFD Sender: No OFD packet to send [05:57:56]OFD Sender: No OFD packet to send [05:58:01]OFD Sender: No OFD packet to send [05:58:06]OFD Sender: No OFD packet to send [05:58:11]OFD Sender: No OFD packet to send [05:58:16]OFD Sender: No OFD packet to send [05:58:21]OFD Sender: No OFD packet to send [05:58:26]OFD Sender: No OFD packet to send [05:58:31]OFD Sender: No OFD packet to send [05:58:36]OFD Sender: No OFD packet to send [05:58:41]OFD Sender: No OFD packet to send [05:58:46]OFD Sender: No OFD packet to send [05:58:51]OFD Sender: No OFD packet to send [05:58:56]OFD Sender: No OFD packet to send [05:59:06]OFD Sender: No OFD packet to send [05:59:11]OFD Sender: No OFD packet to send [05:59:16]OFD Sender: No OFD packet to send [05:59:21]OFD Sender: No OFD packet to send [05:59:26]OFD Sender: No OFD packet to send [05:59:31]OFD Sender: No OFD packet to send [05:59:36]OFD Sender: No OFD packet to send [05:59:41]OFD Sender: No OFD packet to send [05:59:46]OFD Sender: No OFD packet to send [05:59:51]OFD Sender: No OFD packet to send [05:59:56]OFD Sender: No OFD packet to send [06:00:01]OFD Sender: No OFD packet to send [06:00:06]OFD Sender: No OFD packet to send [06:00:11]OFD Sender: No OFD packet to send [06:00:16]OFD Sender: No OFD packet to send [06:00:21]OFD Sender: No OFD packet to send [06:00:26]OFD Sender: No OFD packet to send [06:00:31]OFD Sender: No OFD packet to send [06:00:36]OFD Sender: No OFD packet to send [06:00:41]OFD Sender: No OFD packet to send [06:00:46]OFD Sender: No OFD packet to send [06:00:51]OFD Sender: No OFD packet to send [06:00:56]OFD Sender: No OFD packet to send [06:01:01]OFD Sender: No OFD packet to send [06:01:06]OFD Sender: No OFD packet to send [06:01:11]OFD Sender: No OFD packet to send [06:01:12]ConnectInit Can't connect to host [06:01:16]OFD Sender: No OFD packet to send [06:01:21]OFD Sender: No OFD packet to send [06:01:26]OFD Sender: No OFD packet to send [06:01:31]OFD Sender: No OFD packet to send [06:01:36]OFD Sender: No OFD packet to send [06:01:41]OFD Sender: No OFD packet to send [06:01:46]OFD Sender: No OFD packet to send [06:01:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:36]OFD Sender: No OFD packet to send [06:03:41]OFD Sender: No OFD packet to send [06:03:46]OFD Sender: No OFD packet to send [06:03:51]OFD Sender: No OFD packet to send [06:03:56]OFD Sender: No OFD packet to send [06:04:01]OFD Sender: No OFD packet to send [06:04:06]OFD Sender: No OFD packet to send [06:04:11]OFD Sender: No OFD packet to send [06:04:16]OFD Sender: No OFD packet to send [06:04:21]ConnectInit Can't connect to host [06:04:21]OFD Sender: No OFD packet to send [06:04:26]OFD Sender: No OFD packet to send [06:04:31]OFD Sender: No OFD packet to send [06:04:36]OFD Sender: No OFD packet to send [06:04:41]OFD Sender: No OFD packet to send [06:04:46]OFD Sender: No OFD packet to send [06:04:51]OFD Sender: No OFD packet to send [06:04:56]OFD Sender: No OFD packet to send [06:05:01]OFD Sender: No OFD packet to send [06:05:06]OFD Sender: No OFD packet to send [06:05:11]OFD Sender: No OFD packet to send [06:05:16]OFD Sender: No OFD packet to send [06:05:21]OFD Sender: No OFD packet to send [06:05:26]OFD Sender: No OFD packet to send [06:05:31]OFD Sender: No OFD packet to send [06:05:36]OFD Sender: No OFD packet to send [06:05:41]OFD Sender: No OFD packet to send [06:05:46]OFD Sender: No OFD packet to send [06:05:51]OFD Sender: No OFD packet to send [06:05:56]OFD Sender: No OFD packet to send [06:06:01]OFD Sender: No OFD packet to send [06:06:06]OFD Sender: No OFD packet to send [06:06:11]OFD Sender: No OFD packet to send [06:06:16]OFD Sender: No OFD packet to send [06:06:21]OFD Sender: No OFD packet to send [06:06:26]OFD Sender: No OFD packet to send [06:06:31]OFD Sender: No OFD packet to send [06:06:36]OFD Sender: No OFD packet to send [06:06:41]OFD Sender: No OFD packet to send [06:06:46]OFD Sender: No OFD packet to send [06:06:51]OFD Sender: No OFD packet to send [06:06:56]OFD Sender: No OFD packet to send [06:07:01]OFD Sender: No OFD packet to send [06:07:06]OFD Sender: No OFD packet to send [06:07:11]OFD Sender: No OFD packet to send [06:07:16]OFD Sender: No OFD packet to send [06:07:21]OFD Sender: No OFD packet to send [06:07:26]OFD Sender: No OFD packet to send [06:07:31]OFD Sender: No OFD packet to send [06:07:36]OFD Sender: No OFD packet to send [06:07:41]OFD Sender: No OFD packet to send [06:07:46]OFD Sender: No OFD packet to send [06:07:51]OFD Sender: No OFD packet to send [06:07:56]OFD Sender: No OFD packet to send [06:08:01]OFD Sender: No OFD packet to send [06:08:06]OFD Sender: No OFD packet to send [06:08:11]OFD Sender: No OFD packet to send [06:08:16]OFD Sender: No OFD packet to send [06:08:21]OFD Sender: No OFD packet to send [06:08:26]OFD Sender: No OFD packet to send [06:08:31]OFD Sender: No OFD packet to send [06:08:36]OFD Sender: No OFD packet to send [06:08:41]OFD Sender: No OFD packet to send [06:08:46]OFD Sender: No OFD packet to send [06:08:51]OFD Sender: No OFD packet to send [06:08:56]OFD Sender: No OFD packet to send [06:09:01]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:57]OFD Sender: No OFD packet to send [06:13:02]OFD Sender: No OFD packet to send [06:13:07]OFD Sender: No OFD packet to send [06:13:12]OFD Sender: No OFD packet to send [06:13:17]OFD Sender: No OFD packet to send [06:13:22]OFD Sender: No OFD packet to send [06:13:27]OFD Sender: No OFD packet to send [06:13:32]OFD Sender: No OFD packet to send [06:13:37]OFD Sender: No OFD packet to send [06:13:42]OFD Sender: No OFD packet to send [06:13:47]OFD Sender: No OFD packet to send [06:13:52]OFD Sender: No OFD packet to send [06:13:57]OFD Sender: No OFD packet to send [06:14:02]OFD Sender: No OFD packet to send [06:14:07]OFD Sender: No OFD packet to send [06:14:12]OFD Sender: No OFD packet to send [06:14:17]OFD Sender: No OFD packet to send [06:14:22]OFD Sender: No OFD packet to send [06:14:27]OFD Sender: No OFD packet to send [06:14:32]OFD Sender: No OFD packet to send [06:14:37]OFD Sender: No OFD packet to send [06:14:42]OFD Sender: No OFD packet to send [06:14:47]OFD Sender: No OFD packet to send [06:14:52]OFD Sender: No OFD packet to send [06:14:57]OFD Sender: No OFD packet to send [06:15:02]OFD Sender: No OFD packet to send [06:15:07]OFD Sender: No OFD packet to send [06:15:12]OFD Sender: No OFD packet to send [06:15:17]OFD Sender: No OFD packet to send [06:15:22]OFD Sender: No OFD packet to send [06:15:27]OFD Sender: No OFD packet to send [06:15:32]OFD Sender: No OFD packet to send [06:15:37]OFD Sender: No OFD packet to send [06:15:42]OFD Sender: No OFD packet to send [06:15:47]OFD Sender: No OFD packet to send [06:15:52]OFD Sender: No OFD packet to send [06:15:57]OFD Sender: No OFD packet to send [06:16:02]OFD Sender: No OFD packet to send [06:16:07]OFD Sender: No OFD packet to send [06:16:12]OFD Sender: No OFD packet to send [06:16:17]OFD Sender: No OFD packet to send [06:16:22]OFD Sender: No OFD packet to send [06:16:27]OFD Sender: No OFD packet to send [06:16:32]OFD Sender: No OFD packet to send [06:16:37]OFD Sender: No OFD packet to send [06:16:42]OFD Sender: No OFD packet to send [06:16:47]OFD Sender: No OFD packet to send [06:16:52]OFD Sender: No OFD packet to send [06:16:57]OFD Sender: No OFD packet to send [06:17:02]OFD Sender: No OFD packet to send [06:17:07]OFD Sender: No OFD packet to send [06:17:12]OFD Sender: No OFD packet to send [06:17:17]OFD Sender: No OFD packet to send [06:17:22]OFD Sender: No OFD packet to send [06:17:27]OFD Sender: No OFD packet to send [06:17:32]OFD Sender: No OFD packet to send [06:17:37]OFD Sender: No OFD packet to send [06:17:42]OFD Sender: No OFD packet to send [06:17:47]OFD Sender: No OFD packet to send [06:17:52]OFD Sender: No OFD packet to send [06:17:57]OFD Sender: No OFD packet to send [06:18:02]OFD Sender: No OFD packet to send [06:18:07]OFD Sender: No OFD packet to send [06:18:12]OFD Sender: No OFD packet to send [06:18:17]OFD Sender: No OFD packet to send [06:18:22]OFD Sender: No OFD packet to send [06:18:27]OFD Sender: No OFD packet to send [06:18:32]OFD Sender: No OFD packet to send [06:18:37]OFD Sender: No OFD packet to send [06:18:42]OFD Sender: No OFD packet to send [06:18:47]OFD Sender: No OFD packet to send [06:18:52]OFD Sender: No OFD packet to send [06:18:57]OFD Sender: No OFD packet to send [06:19:02]OFD Sender: No OFD packet to send [06:19:07]OFD Sender: No OFD packet to send [06:19:12]OFD Sender: No OFD packet to send [06:19:17]OFD Sender: No OFD packet to send [06:19:22]OFD Sender: No OFD packet to send [06:19:27]OFD Sender: No OFD packet to send [06:19:32]OFD Sender: No OFD packet to send [06:19:37]OFD Sender: No OFD packet to send [06:19:42]OFD Sender: No OFD packet to send [06:19:47]OFD Sender: No OFD packet to send [06:19:52]OFD Sender: No OFD packet to send [06:19:57]OFD Sender: No OFD packet to send [06:20:02]OFD Sender: No OFD packet to send [06:20:07]OFD Sender: No OFD packet to send [06:20:12]OFD Sender: No OFD packet to send [06:20:17]OFD Sender: No OFD packet to send [06:20:22]OFD Sender: No OFD packet to send [06:20:27]OFD Sender: No OFD packet to send [06:20:32]OFD Sender: No OFD packet to send [06:20:37]OFD Sender: No OFD packet to send [06:20:42]OFD Sender: No OFD packet to send [06:20:47]OFD Sender: No OFD packet to send [06:20:52]OFD Sender: No OFD packet to send [06:20:57]OFD Sender: No OFD packet to send [06:21:02]OFD Sender: No OFD packet to send [06:21:07]OFD Sender: No OFD packet to send [06:21:12]OFD Sender: No OFD packet to send [06:21:17]OFD Sender: No OFD packet to send [06:21:22]OFD Sender: No OFD packet to send [06:21:27]OFD Sender: No OFD packet to send [06:21:32]OFD Sender: No OFD packet to send [06:21:37]OFD Sender: No OFD packet to send [06:21:42]OFD Sender: No OFD packet to send [06:21:47]OFD Sender: No OFD packet to send [06:21:52]OFD Sender: No OFD packet to send [06:21:57]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]OFD Sender: No OFD packet to send [06:23:57]OFD Sender: No OFD packet to send [06:24:02]OFD Sender: No OFD packet to send [06:24:07]OFD Sender: No OFD packet to send [06:24:12]OFD Sender: No OFD packet to send [06:24:17]OFD Sender: No OFD packet to send [06:24:22]OFD Sender: No OFD packet to send [06:24:27]OFD Sender: No OFD packet to send [06:24:32]OFD Sender: No OFD packet to send [06:24:37]OFD Sender: No OFD packet to send [06:24:42]OFD Sender: No OFD packet to send [06:24:47]OFD Sender: No OFD packet to send [06:24:52]OFD Sender: No OFD packet to send [06:24:57]OFD Sender: No OFD packet to send [06:25:02]OFD Sender: No OFD packet to send [06:25:07]OFD Sender: No OFD packet to send [06:25:12]OFD Sender: No OFD packet to send [06:25:17]OFD Sender: No OFD packet to send [06:25:22]OFD Sender: No OFD packet to send [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]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:08]OFD Sender: No OFD packet to send [06:34:13]OFD Sender: No OFD packet to send [06:34:18]OFD Sender: No OFD packet to send [06:34:23]OFD Sender: No OFD packet to send [06:34:28]OFD Sender: No OFD packet to send [06:34:33]OFD Sender: No OFD packet to send [06:34:38]OFD Sender: No OFD packet to send [06:34:43]OFD Sender: No OFD packet to send [06:34:48]OFD Sender: No OFD packet to send [06:34:53]OFD Sender: No OFD packet to send [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:18]OFD Sender: No OFD packet to send [06:35:23]OFD Sender: No OFD packet to send [06:35:28]OFD Sender: No OFD packet to send [06:35:33]OFD Sender: No OFD packet to send [06:35:38]OFD Sender: No OFD packet to send [06:35:43]OFD Sender: No OFD packet to send [06:35:48]OFD Sender: No OFD packet to send [06:35:53]OFD Sender: No OFD packet to send [06:35:58]OFD Sender: No OFD packet to send [06:36:03]OFD Sender: No OFD packet to send [06:36:08]OFD Sender: No OFD packet to send [06:36:13]OFD Sender: No OFD packet to send [06:36:18]OFD Sender: No OFD packet to send [06:36:23]OFD Sender: No OFD packet to send [06:36:28]OFD Sender: No OFD packet to send [06:36:33]OFD Sender: No OFD packet to send [06:36:38]OFD Sender: No OFD packet to send [06:36:43]OFD Sender: No OFD packet to send [06:36:48]OFD Sender: No OFD packet to send [06:36:53]OFD Sender: No OFD packet to send [06:36:58]OFD Sender: No OFD packet to send [06:37:03]OFD Sender: No OFD packet to send [06:37:08]OFD Sender: No OFD packet to send [06:37:13]OFD Sender: No OFD packet to send [06:37:18]OFD Sender: No OFD packet to send [06:37:23]OFD Sender: No OFD packet to send [06:37:28]OFD Sender: No OFD packet to send [06:37:33]OFD Sender: No OFD packet to send [06:37:38]OFD Sender: No OFD packet to send [06:37:43]OFD Sender: No OFD packet to send [06:37:48]OFD Sender: No OFD packet to send [06:37:53]OFD Sender: No OFD packet to send [06:37:58]OFD Sender: No OFD packet to send [06:38:03]OFD Sender: No OFD packet to send [06:38:08]OFD Sender: No OFD packet to send [06:38:13]OFD Sender: No OFD packet to send [06:38:18]OFD Sender: No OFD packet to send [06:38:23]OFD Sender: No OFD packet to send [06:38:28]OFD Sender: No OFD packet to send [06:38:33]OFD Sender: No OFD packet to send [06:38:38]OFD Sender: No OFD packet to send [06:38:43]OFD Sender: No OFD packet to send [06:38:48]OFD Sender: No OFD packet to send [06:38:53]OFD Sender: No OFD packet to send [06:38:58]OFD Sender: No OFD packet to send [06:39:03]OFD Sender: No OFD packet to send [06:39:08]OFD Sender: No OFD packet to send [06:39:13]OFD Sender: No OFD packet to send [06:39:18]OFD Sender: No OFD packet to send [06:39:23]OFD Sender: No OFD packet to send [06:39:28]OFD Sender: No OFD packet to send [06:39:33]OFD Sender: No OFD packet to send [06:39:38]OFD Sender: No OFD packet to send [06:39:43]OFD Sender: No OFD packet to send [06:39:48]OFD Sender: No OFD packet to send [06:39:53]OFD Sender: No OFD packet to send [06:39:58]OFD Sender: No OFD packet to send [06:40:03]OFD Sender: No OFD packet to send [06:40:08]OFD Sender: No OFD packet to send [06:40:13]OFD Sender: No OFD packet to send [06:40:18]OFD Sender: No OFD packet to send [06:40:23]OFD Sender: No OFD packet to send [06:40:28]OFD Sender: No OFD packet to send [06:40:33]OFD Sender: No OFD packet to send [06:40:38]OFD Sender: No OFD packet to send [06:40:43]OFD Sender: No OFD packet to send [06:40:48]OFD Sender: No OFD packet to send [06:40:53]OFD Sender: No OFD packet to send [06:40:58]OFD Sender: No OFD packet to send [06:41:03]OFD Sender: No OFD packet to send [06:41:08]OFD Sender: No OFD packet to send [06:41:13]OFD Sender: No OFD packet to send [06:41:18]OFD Sender: No OFD packet to send [06:41:23]OFD Sender: No OFD packet to send [06:41:28]OFD Sender: No OFD packet to send [06:41:33]OFD Sender: No OFD packet to send [06:41:38]OFD Sender: No OFD packet to send [06:41:43]OFD Sender: No OFD packet to send [06:41:48]OFD Sender: No OFD packet to send [06:41:53]OFD Sender: No OFD packet to send [06:41:58]OFD Sender: No OFD packet to send [06:42:03]OFD Sender: No OFD packet to send [06:42:08]OFD Sender: No OFD packet to send [06:42:13]OFD Sender: No OFD packet to send [06:42:18]OFD Sender: No OFD packet to send [06:42:23]OFD Sender: No OFD packet to send [06:42:28]OFD Sender: No OFD packet to send [06:42:33]OFD Sender: No OFD packet to send [06:42:38]OFD Sender: No OFD packet to send [06:42:43]OFD Sender: No OFD packet to send [06:42:48]OFD Sender: No OFD packet to send [06:42:53]OFD Sender: No OFD packet to send [06:42:58]OFD Sender: No OFD packet to send [06:43:03]OFD Sender: No OFD packet to send [06:43:08]OFD Sender: No OFD packet to send [06:43:13]OFD Sender: No OFD packet to send [06:43:18]OFD Sender: No OFD packet to send [06:43:23]OFD Sender: No OFD packet to send [06:43:28]OFD Sender: No OFD packet to send [06:43:33]OFD Sender: No OFD packet to send [06:43:38]OFD Sender: No OFD packet to send [06:43:43]OFD Sender: No OFD packet to send [06:43:48]OFD Sender: No OFD packet to send [06:43:53]OFD Sender: No OFD packet to send [06:43:58]OFD Sender: No OFD packet to send [06:44:03]OFD Sender: No OFD packet to send [06:44:08]OFD Sender: No OFD packet to send [06:44:13]OFD Sender: No OFD packet to send [06:44:18]OFD Sender: No OFD packet to send [06:44:23]OFD Sender: No OFD packet to send [06:44:28]OFD Sender: No OFD packet to send [06:44:33]OFD Sender: No OFD packet to send [06:44:38]OFD Sender: No OFD packet to send [06:44:43]OFD Sender: No OFD packet to send [06:44:48]OFD Sender: No OFD packet to send [06:44:53]OFD Sender: No OFD packet to send [06:44:58]OFD Sender: No OFD packet to send [06:45:03]OFD Sender: No OFD packet to send [06:45:08]OFD Sender: No OFD packet to send [06:45:13]OFD Sender: No OFD packet to send [06:45:18]OFD Sender: No OFD packet to send [06:45:23]OFD Sender: No OFD packet to send [06:45:28]OFD Sender: No OFD packet to send [06:45:33]OFD Sender: No OFD packet to send [06:45:38]OFD Sender: No OFD packet to send [06:45:43]OFD Sender: No OFD packet to send [06:45:48]OFD Sender: No OFD packet to send [06:45:53]OFD Sender: No OFD packet to send [06:45:58]OFD Sender: No OFD packet to send [06:46:03]OFD Sender: No OFD packet to send [06:46:08]OFD Sender: No OFD packet to send [06:46:13]OFD Sender: No OFD packet to send [06:46:18]OFD Sender: No OFD packet to send [06:46:23]OFD Sender: No OFD packet to send [06:46:28]OFD Sender: No OFD packet to send [06:46:33]OFD Sender: No OFD packet to send [06:46:38]OFD Sender: No OFD packet to send [06:46:43]OFD Sender: No OFD packet to send [06:46:48]OFD Sender: No OFD packet to send [06:46:53]OFD Sender: No OFD packet to send [06:46:58]OFD Sender: No OFD packet to send [06:47:03]OFD Sender: No OFD packet to send [06:47:08]OFD Sender: No OFD packet to send [06:47:13]OFD Sender: No OFD packet to send [06:47:18]OFD Sender: No OFD packet to send [06:47:23]OFD Sender: No OFD packet to send [06:47:28]OFD Sender: No OFD packet to send [06:47:33]OFD Sender: No OFD packet to send [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:13]OFD Sender: No OFD packet to send [06:48:18]OFD Sender: No OFD packet to send [06:48:23]OFD Sender: No OFD packet to send [06:48:28]OFD Sender: No OFD packet to send [06:48:33]OFD Sender: No OFD packet to send [06:48:38]OFD Sender: No OFD packet to send [06:48:43]OFD Sender: No OFD packet to send [06:48:48]OFD Sender: No OFD packet to send [06:48:53]OFD Sender: No OFD packet to send [06:48:58]OFD Sender: No OFD packet to send [06:49:03]OFD Sender: No OFD packet to send [06:49:08]OFD Sender: No OFD packet to send [06:49:13]OFD Sender: No OFD packet to send [06:49:18]OFD Sender: No OFD packet to send [06:49:23]OFD Sender: No OFD packet to send [06:49:28]OFD Sender: No OFD packet to send [06:49:33]OFD Sender: No OFD packet to send [06:49:38]OFD Sender: No OFD packet to send [06:49:43]OFD Sender: No OFD packet to send [06:49:48]OFD Sender: No OFD packet to send [06:49:53]OFD Sender: No OFD packet to send [06:49:58]OFD Sender: No OFD packet to send [06:50:03]OFD Sender: No OFD packet to send [06:50:08]OFD Sender: No OFD packet to send [06:50:13]OFD Sender: No OFD packet to send [06:50:18]OFD Sender: No OFD packet to send [06:50:23]OFD Sender: No OFD packet to send [06:50:28]OFD Sender: No OFD packet to send [06:50:33]OFD Sender: No OFD packet to send [06:50:38]OFD Sender: No OFD packet to send [06:50:43]OFD Sender: No OFD packet to send [06:50:48]OFD Sender: No OFD packet to send [06:50:53]OFD Sender: No OFD packet to send [06:50:58]OFD Sender: No OFD packet to send [06:51:03]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]OFD Sender: No OFD packet to send [06:59:19]OFD Sender: No OFD packet to send [06:59:24]OFD Sender: No OFD packet to send [06:59:29]OFD Sender: No OFD packet to send [06:59:34]OFD Sender: No OFD packet to send [06:59:39]OFD Sender: No OFD packet to send [06:59:44]OFD Sender: No OFD packet to send [06:59:49]OFD Sender: No OFD packet to send [06:59:54]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:24]OFD Sender: No OFD packet to send [07:01:29]OFD Sender: No OFD packet to send [07:01:34]OFD Sender: No OFD packet to send [07:01:39]OFD Sender: No OFD packet to send [07:01:44]OFD Sender: No OFD packet to send [07:01:49]OFD Sender: No OFD packet to send [07:01:54]OFD Sender: No OFD packet to send [07:01:59]OFD Sender: No OFD packet to send [07:02:04]OFD Sender: No OFD packet to send [07:02:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:10]OFD Sender: No OFD packet to send [07:15:15]OFD Sender: No OFD packet to send [07:15:20]OFD Sender: No OFD packet to send [07:15:25]OFD Sender: No OFD packet to send [07:15:30]OFD Sender: No OFD packet to send [07:15:35]OFD Sender: No OFD packet to send [07:15:40]OFD Sender: No OFD packet to send [07:15:45]OFD Sender: No OFD packet to send [07:15:50]OFD Sender: No OFD packet to send [07:15:55]OFD Sender: No OFD packet to send [07:16:00]OFD Sender: No OFD packet to send [07:16:05]OFD Sender: No OFD packet to send [07:16:10]OFD Sender: No OFD packet to send [07:16:15]OFD Sender: No OFD packet to send [07:16:20]OFD Sender: No OFD packet to send [07:16:25]OFD Sender: No OFD packet to send [07:16:30]OFD Sender: No OFD packet to send [07:16:35]OFD Sender: No OFD packet to send [07:16:40]OFD Sender: No OFD packet to send [07:16:45]OFD Sender: No OFD packet to send [07:16:50]OFD Sender: No OFD packet to send [07:16:55]OFD Sender: No OFD packet to send [07:17:00]OFD Sender: No OFD packet to send [07:17:05]OFD Sender: No OFD packet to send [07:17:10]OFD Sender: No OFD packet to send [07:17:15]OFD Sender: No OFD packet to send [07:17:20]OFD Sender: No OFD packet to send [07:17:25]OFD Sender: No OFD packet to send [07:17:30]OFD Sender: No OFD packet to send [07:17:35]OFD Sender: No OFD packet to send [07:17:40]OFD Sender: No OFD packet to send [07:17:45]OFD Sender: No OFD packet to send [07:17:50]OFD Sender: No OFD packet to send [07:17:55]OFD Sender: No OFD packet to send [07:18:00]OFD Sender: No OFD packet to send [07:18:05]OFD Sender: No OFD packet to send [07:18:10]OFD Sender: No OFD packet to send [07:18:15]OFD Sender: No OFD packet to send [07:18:20]OFD Sender: No OFD packet to send [07:18:25]OFD Sender: No OFD packet to send [07:18:30]OFD Sender: No OFD packet to send [07:18:35]OFD Sender: No OFD packet to send [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:09]accept exits with 8 [07:28:09]New connection [07:28:09]New thread 3067153764 created [07:28:09]Thread 3067010404 joined [07:28:09]Waiting for new connection... [07:28:09] Sock 8.Parse request [07:28:09]Sock 8.Check first char [07:28:09]Sock 8.First char is OK [07:28:09]request: POST /json_proto HTTP/1.0 [07:28:09]Method: POST [07:28:09]URL: /json_proto [07:28:09]Method is POST - this is cgi request [07:28:09]url: /json_proto [07:28:09]query_string will be loaded in cgi processing [07:28:09]execute_cgi json_proto POST (null) [07:28:09]execute_cgi path=json_proto method=POST [07:28:09]POST find Content-Length [07:28:09]Host: 172.17.54.195:8080 [07:28:09]Content-Length: 787 [07:28:09]Content-Type: application/json [07:28:09] [07:28:09]POST finish read [07:28:09]Found Content-Length = 787 [07:28:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16353", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 20.220, "sum" : 1500.32, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 1500.00, "payments": [ { "type": 1, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:28:09]execute_script... [07:28:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16353", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 20.220, "sum" : 1500.32, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 1500.00, "payments": [ { "type": 1, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:28:09]POST & json_proto [07:28:09]process_json_proto [07:28:09]json parsed OK: [07:28:09]protocol is kg_v1.0 [07:28:09]action value=close_receipt [07:28:09]process_action close_receipt [07:28:09]cmd_close_receipt [07:28:09]MH_GetDate [07:28:09]Write to MH i2c: F0 00 00 DE 03 D0 [07:28:09]Write i2c OK [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: F0 [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: F0 09 00 [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: F0 09 00 DE 03 00 0B E0 21 67 8D 90 A3 66 72 [07:28:09]GetLastDocTimeStamp 1730261895 [07:28:09]current date 1730273291 [07:28:09]FM_GetShiftState [07:28:09]SAM_PROTO_GetShiftState [07:28:09]wFMCommunicate request_size=4 [07:28:09]MH_SAM_APDU [07:28:09]CAPDU: 80 13 01 00 [07:28:09]Write to MH i2c: E2 08 00 DF 03 80 13 01 00 00 00 00 00 5F [07:28:09]Write i2c OK [07:28:09]MH_I2C_Read... [07:28:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:28:09]Read from MH i2c: E2 [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: E2 0E 00 [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: E2 0E 00 DF 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 A4 [07:28:09]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [07:28:09]wFMCommunicate OK [07:28:09]SAM_PROTO_GetShiftState done [07:28:09]FM_GetShiftState done [07:28:09]opened in 1730247478 [07:28:09]opened+sec_in_day 1730333878 [07:28:09]quantity*price = 150032 [07:28:09]sum+1 = 150033 [07:28:09]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.32 ИТОГО: 1500.00 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 0.00 Безнал.: 1500.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 13 30.10.2024 07:28 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15803 ФПД: 40855629727689 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T072811&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15803&fm=40855629727689&tin=02508201610067®Number=0000000000161798&sum=150000 [07:28:10]StoreToDocumentArchive [07:28:10]shift 173 fd 15803 [07:28:10]save to /storage/0173/doc_00015803 [07:28:10]save last doc name /storage/0173/doc_00015803 to /storage/kkm_last_doc_name [07:28:10]save OK [07:28:10]Clear old archive folders... [07:28:10]ProcessDocumentItem done err = 0, tmpTLVsize=251 [07:28:10]tlvbuf is 00227CF0 [07:28:10]SAM_PROTO_ClearQueue [07:28:10]wFMCommunicate request_size=4 [07:28:10]MH_SAM_APDU [07:28:10]CAPDU: 80 09 00 00 [07:28:10]Write to MH i2c: E2 08 00 EC 03 80 09 00 00 00 00 00 00 61 [07:28:10]Write i2c OK [07:28:10]MH_I2C_Read... [07:28:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:28:10]Read from MH i2c: E2 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 03 00 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 03 00 EC 03 00 90 00 63 [07:28:10]RAPDU: 90 00 [07:28:10]wFMCommunicate OK [07:28:10]SAM_PROTO_ClearQueue done [07:28:10]KKMCreateOFDPacket [07:28:10]OFDProtocolAddRootSTLVToBuf [07:28:10]FM_MakeSignedData [07:28:10]FM_MakeSignedData [07:28:10]SAM_PROTO_SignData [07:28:10]wFMCommunicate request_size=4 [07:28:10]MH_SAM_APDU [07:28:10]CAPDU: 80 0D 01 02 [07:28:10]Write to MH i2c: E2 08 00 ED 03 80 0D 01 02 00 00 00 00 69 [07:28:10]Write i2c OK [07:28:10]MH_I2C_Read... [07:28:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:28:10]Read from MH i2c: E2 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 03 00 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 03 00 ED 03 00 90 00 64 [07:28:10]RAPDU: 90 00 [07:28:10]wFMCommunicate OK [07:28:10]wFMCommunicate request_size=255 [07:28:10]MH_SAM_APDU [07:28:10]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 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 0B E0 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BB 3D 00 00 35 04 06 00 25 [07:28:10]Write to MH i2c: E2 02 01 EE 03 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 0B E0 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BB 3D 00 00 35 04 06 00 25 00 00 A8 [07:28:10]Write i2c OK [07:28:10]MH_I2C_Read... [07:28:10]OFD Sender: No OFD packet to send [07:28:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:28:10]Read from MH i2c: E2 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 03 00 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 03 00 EE 03 00 90 00 65 [07:28:10]RAPDU: 90 00 [07:28:10]wFMCommunicate OK [07:28:10]wFMCommunicate request_size=10 [07:28:10]MH_SAM_APDU [07:28:10]CAPDU: 80 0D 02 02 05 28 71 4C 07 C9 [07:28:10]Write to MH i2c: E2 0D 00 EF 03 80 0D 02 02 05 00 28 71 4C 07 C9 00 00 2B [07:28:10]Write i2c OK [07:28:10]MH_I2C_Read... [07:28:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:28:10]Read from MH i2c: E2 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 03 00 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 03 00 EF 03 00 90 00 66 [07:28:10]RAPDU: 90 00 [07:28:10]wFMCommunicate OK [07:28:10]wFMCommunicate request_size=4 [07:28:10]MH_SAM_APDU [07:28:10]CAPDU: 80 0D 03 02 [07:28:10]Write to MH i2c: E2 08 00 F0 03 80 0D 03 02 00 00 00 00 6E [07:28:10]Write i2c OK [07:28:10]MH_I2C_Read... [07:28:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:28:11]Read from MH i2c: E2 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: E2 0B 00 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: E2 0B 00 F0 03 00 BB 92 17 CA C8 70 42 B9 90 00 D0 [07:28:11]RAPDU: BB 92 17 CA C8 70 42 B9 90 00 [07:28:11]wFMCommunicate OK [07:28:11]SAM_PROTO_SignData done [07:28:11]FM_MakeSignedData done [07:28:11]CreateOFDProtocolMessage [07:28:11]wFMCommunicate request_size=4 [07:28:11]MH_SAM_APDU [07:28:11]CAPDU: 80 11 00 00 [07:28:11]Write to MH i2c: E2 08 00 F1 03 80 11 00 00 00 00 00 00 6E [07:28:11]Write i2c OK [07:28:11]MH_I2C_Read... [07:28:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:28:11]Read from MH i2c: E2 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: E2 17 00 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: E2 17 00 F1 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 BD [07:28:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [07:28:11]wFMCommunicate OK [07:28:11]CreateOFDProtocolMessage done [07:28:11]OFDSenderStorePacket 15803 [07:28:11]StoreOFDPacket docnum=15803 [07:28:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 64 69 07 01 87 B8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 0B E0 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BB 3D 00 00 35 04 06 00 25 28 71 4C 07 C9 BB 92 17 CA C8 70 42 B9 [07:28:11]CheckFolder [07:28:11]dirname=/storage/ofd_packets [07:28:11]CheckFolder done [07:28:11]ProducePacketName [07:28:11]name=ofd_packets/00015803 [07:28:11]NVStorageSaveData ofd_packets/00015803 [07:28:11]File name is /storage/ofd_packets/00015803 [07:28:11]Write 301 bytes [07:28:11]NVStorageSaveData done [07:28:11]OFDSenderStorePacket done [07:28:11]KKMCreateOFDPacket done [07:28:11]NVStorageSaveData kkm_last_timestamp [07:28:11]File name is /storage/kkm_last_timestamp [07:28:11]Write 4 bytes [07:28:11]NVStorageSaveData done [07:28:11]ExternCall_PrintAddStr [07:28:11]wPrintStart [07:28:11]Write to MH i2c: 01 00 00 F2 03 F5 [07:28:11]Write i2c OK [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: 01 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: 01 07 00 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: 01 07 00 F2 03 00 00 00 00 00 FF 0F 0A [07:28:11]RasterBufferAndPrint [07:28:11]line Счет N : (1)16353 [07:28:11]line ИНН: 02508201610067 [07:28:11]line Контрольно-Кассовый Чек [07:28:11]line ПРОДАЖА [07:28:11]line ТРК (МРК, ГНК) : 11 [07:28:11]line Товар: 2710124500 [07:28:11]line Аи-95-К-5 [07:28:11]line 20.220 * 74.20 [07:28:11]line = 1500.32 [07:28:11]line НДС 12% НСП 1% [07:28:11]line > о реализуемом товаре [07:28:11]line ОКРУГЛЕНИЕ: -0.32 [07:28:11]line ИТОГО: 1500.00 [07:28:11]line НСП 1% : 13.28 [07:28:11]line НДС 12% : 159.33 [07:28:11]line Наличными: 0.00 [07:28:11]line Безнал.: 1500.00 [07:28:11]line Место: АЗС № 178 "Партнер Нефть" [07:28:11]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [07:28:11]line СНО: Общий режим [07:28:11]line Чек 13 30.10.2024 07:28 [07:28:11]line Смена: 173 ФФД: 1.0 [07:28:11]line ЗНМ: 0300000014 [07:28:11]line РНМ: 0000000000161798 [07:28:11]line Версия ККМ: v1.0 [07:28:11]line Платежная система: Mbank [07:28:11]line ФМ: 0000000000963325 [07:28:11]line ФД: 15803 [07:28:11]line ФПД: 40855629727689 [07:28:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T072811&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15803&fm=40855629727689&tin=02508201610067®Number=0000000000161798&sum=150000 [07:28:11]OFD Sender: Processing packet 15803 [packets to send 4, broken 3] [07:28:11]ProducePacketName [07:28:11]name=ofd_packets/00015803 [07:28:11]OFD Sender: To server: pG, [07:28:11]CommunicateWithHost lk.salyk.kg:30040 [07:28:11]ConnectInit lk.salyk.kg [07:28:11]written 0, free lines is 4095 [07:28:11]Connected sock=10 [07:28:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 64 69 07 01 87 B8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 0B E0 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BB 3D 00 00 35 04 06 00 25 28 71 4C 07 C9 BB 92 17 CA C8 70 42 B9 [07:28:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 D9 DE 47 00 8B 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BB 3D 00 00 F4 03 04 00 F6 8A 21 67 B6 04 01 00 00 B4 07 2B C9 0D E7 ED AD [07:28:11]CommunicateWithHost err = 0 [07:28:11]CheckOFDResponse [07:28:11]1017 (14) - 77093643461234 [07:28:11]1041 (16) - 0000000000963325 [07:28:11]1040 (4) - 15803 [07:28:11]1012 (4) - 30.10.2024 01:25 [07:28:11]1206 (1) - 0 [07:28:11]OFD Sender: Remove packet 15803 [07:28:11]ProducePacketName [07:28:11]name=ofd_packets/00015803 [07:28:11]NVStorageDeleteData [07:28:11]Write to MH i2c: 01 00 00 1C 04 20 [07:28:11]Write i2c OK [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: 01 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: 01 07 00 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: 01 07 00 1C 04 00 00 00 00 00 16 0D 4A [07:28:11]RasterBufferAndPrint [07:28:11]line [07:28:11]line [07:28:11]line [07:28:11]line [07:28:11]line [07:28:11]written 0, free lines is 3357 [07:28:11]MH_Cut [07:28:11]Write to MH i2c: D1 01 00 23 04 01 F9 [07:28:11]Write i2c OK [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: D1 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: D1 01 00 [07:28:11]MH_I2C_Read... [07:28:11]Read from MH i2c: D1 01 00 23 04 00 F8 [07:28:11]Write to MH i2c: 01 00 00 24 04 28 [07:28:11]Write i2c OK [07:28:11]MH_I2C_Read... [07:28:12]OFD Sender: No OFD packet to send [07:28:12]*** Cut start [07:28:12]*** Partial cut [07:28:12]*** CUTSNS_PIN = 1 [07:28:12]*** CUTSNS_PIN = 0 [07:28:12]*** Brake cut motor [07:28:13]Read from MH i2c: 01 [07:28:13]MH_I2C_Read... [07:28:13]*** Stop cut motor [07:28:13]*** Cut end [07:28:13]Read from MH i2c: 01 07 00 [07:28:13]MH_I2C_Read... [07:28:13]Read from MH i2c: 01 07 00 24 04 00 00 00 00 00 FF 0F 3D [07:28:13]process_action close_receipt done [07:28:13]requested_data is exist [07:28:13]produce_requested_data [07:28:13]requested_item fm.sn is exist - process it [07:28:13]wFMCommunicate request_size=4 [07:28:13]MH_SAM_APDU [07:28:13]CAPDU: 80 11 00 00 [07:28:13]Write to MH i2c: E2 08 00 25 04 80 11 00 00 00 00 00 00 A3 [07:28:13]Write i2c OK [07:28:13]MH_I2C_Read... [07:28:13]Read from MH i2c: E2 [07:28:13]MH_I2C_Read... [07:28:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:28:13]Read from MH i2c: E2 17 00 [07:28:13]MH_I2C_Read... [07:28:13]Read from MH i2c: E2 17 00 25 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 F2 [07:28:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [07:28:13]wFMCommunicate OK [07:28:13]requested_item fd.num is exist - process it [07:28:13]SAM_PROTO_GetFieldsCounters [07:28:13]wFMCommunicate request_size=4 [07:28:13]MH_SAM_APDU [07:28:13]CAPDU: 80 13 00 00 [07:28:13]Write to MH i2c: E2 08 00 26 04 80 13 00 00 00 00 00 00 A6 [07:28:13]Write i2c OK [07:28:13]MH_I2C_Read... [07:28:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:28:13]Read from MH i2c: E2 [07:28:13]MH_I2C_Read... [07:28:13]Read from MH i2c: E2 62 00 [07:28:13]MH_I2C_Read... [07:28:13]Read from MH i2c: E2 62 00 26 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BB 3D 00 00 0E 04 04 00 AD 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 96 [07:28:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BB 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:28:13]wFMCommunicate OK [07:28:13]SAM_PROTO_GetFieldsCounters done [07:28:13]requested_item shift.num is exist - process it [07:28:13]requested_item shift.opened is exist - process it [07:28:13]req_shift_opened [07:28:13]FM_GetShiftState [07:28:13]SAM_PROTO_GetShiftState [07:28:13]wFMCommunicate request_size=4 [07:28:13]MH_SAM_APDU [07:28:13]CAPDU: 80 13 01 00 [07:28:13]Write to MH i2c: E2 08 00 27 04 80 13 01 00 00 00 00 00 A8 [07:28:13]Write i2c OK [07:28:13]MH_I2C_Read... [07:28:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:28:13]Read from MH i2c: E2 [07:28:13]MH_I2C_Read... [07:28:13]Read from MH i2c: E2 0E 00 [07:28:13]MH_I2C_Read... [07:28:13]Read from MH i2c: E2 0E 00 27 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 ED [07:28:13]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [07:28:13]wFMCommunicate OK [07:28:13]SAM_PROTO_GetShiftState done [07:28:13]FM_GetShiftState done [07:28:13]req_shift_opened done [07:28:13]requested_item shift.open_date is exist - process it [07:28:13]req_shift_open_date [07:28:13]req_shift_open_date done [07:28:13]produce_requested_data done [07:28:13]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15803,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [07:28:13]process_action_free close_receipt [07:28:13]json_value_free [07:28:13]json_value_free done [07:28:13]process_json_proto returns [07:28:13]Send response to host [07:28:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15803,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [07:28:13]free response buf [07:28:13]execute_script done [07:28:13]execute_script returns [07:28:13]free content buf [07:28:13]Sock 8.Close socket [07:28:13]Sock 8.Thread stoped [07:28:17]OFD Sender: No OFD packet to send [07:28:22]OFD Sender: No OFD packet to send [07:28:27]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:37]OFD Sender: No OFD packet to send [07:28:42]OFD Sender: No OFD packet to send [07:28:47]OFD Sender: No OFD packet to send [07:28:52]OFD Sender: No OFD packet to send [07:28:57]OFD Sender: No OFD packet to send [07:29:02]OFD Sender: No OFD packet to send [07:29:07]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:29:27]OFD Sender: No OFD packet to send [07:29:32]OFD Sender: No OFD packet to send [07:29:37]OFD Sender: No OFD packet to send [07:29:42]OFD Sender: No OFD packet to send [07:29:47]OFD Sender: No OFD packet to send [07:29:52]OFD Sender: No OFD packet to send [07:29:57]OFD Sender: No OFD packet to send [07:30:02]OFD Sender: No OFD packet to send [07:30:07]OFD Sender: No OFD packet to send [07:30:12]OFD Sender: No OFD packet to send [07:30:17]OFD Sender: No OFD packet to send [07:30:22]OFD Sender: No OFD packet to send [07:30:27]OFD Sender: No OFD packet to send [07:30:32]OFD Sender: No OFD packet to send [07:30:37]OFD Sender: No OFD packet to send [07:30:42]OFD Sender: No OFD packet to send [07:30:47]OFD Sender: No OFD packet to send [07:30:52]OFD Sender: No OFD packet to send [07:30:57]OFD Sender: No OFD packet to send [07:31:02]OFD Sender: No OFD packet to send [07:31:07]OFD Sender: No OFD packet to send [07:31:12]OFD Sender: No OFD packet to send [07:31:17]OFD Sender: No OFD packet to send [07:31:22]OFD Sender: No OFD packet to send [07:31:27]OFD Sender: No OFD packet to send [07:31:32]OFD Sender: No OFD packet to send [07:31:37]OFD Sender: No OFD packet to send [07:31:42]OFD Sender: No OFD packet to send [07:31:47]OFD Sender: No OFD packet to send [07:31:52]OFD Sender: No OFD packet to send [07:31:57]OFD Sender: No OFD packet to send [07:32:02]OFD Sender: No OFD packet to send [07:32:07]OFD Sender: No OFD packet to send [07:32:12]OFD Sender: No OFD packet to send [07:32:17]OFD Sender: No OFD packet to send [07:32:22]OFD Sender: No OFD packet to send [07:32:27]OFD Sender: No OFD packet to send [07:32:32]OFD Sender: No OFD packet to send [07:32:37]OFD Sender: No OFD packet to send [07:32:42]OFD Sender: No OFD packet to send [07:32:47]OFD Sender: No OFD packet to send [07:32:52]OFD Sender: No OFD packet to send [07:32:57]OFD Sender: No OFD packet to send [07:33:02]OFD Sender: No OFD packet to send [07:33:07]OFD Sender: No OFD packet to send [07:33:12]OFD Sender: No OFD packet to send [07:33:17]OFD Sender: No OFD packet to send [07:33:22]OFD Sender: No OFD packet to send [07:33:27]OFD Sender: No OFD packet to send [07:33:32]OFD Sender: No OFD packet to send [07:33:37]OFD Sender: No OFD packet to send [07:33:42]OFD Sender: No OFD packet to send [07:33:47]OFD Sender: No OFD packet to send [07:33:52]OFD Sender: No OFD packet to send [07:33:57]OFD Sender: No OFD packet to send [07:34:02]OFD Sender: No OFD packet to send [07:34:07]OFD Sender: No OFD packet to send [07:34:12]OFD Sender: No OFD packet to send [07:34:17]OFD Sender: No OFD packet to send [07:34:22]OFD Sender: No OFD packet to send [07:34:27]OFD Sender: No OFD packet to send [07:34:32]OFD Sender: No OFD packet to send [07:34:37]OFD Sender: No OFD packet to send [07:34:42]OFD Sender: No OFD packet to send [07:34:47]OFD Sender: No OFD packet to send [07:34:52]OFD Sender: No OFD packet to send [07:34:57]OFD Sender: No OFD packet to send [07:35:02]OFD Sender: No OFD packet to send [07:35:07]OFD Sender: No OFD packet to send [07:35:12]OFD Sender: No OFD packet to send [07:35:17]OFD Sender: No OFD packet to send [07:35:22]OFD Sender: No OFD packet to send [07:35:27]OFD Sender: No OFD packet to send [07:35:32]OFD Sender: No OFD packet to send [07:35:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:22]OFD Sender: No OFD packet to send [07:36:27]OFD Sender: No OFD packet to send [07:36:32]OFD Sender: No OFD packet to send [07:36:37]OFD Sender: No OFD packet to send [07:36:42]OFD Sender: No OFD packet to send [07:36:47]OFD Sender: No OFD packet to send [07:36:52]OFD Sender: No OFD packet to send [07:36:57]OFD Sender: No OFD packet to send [07:37:02]OFD Sender: No OFD packet to send [07:37:07]OFD Sender: No OFD packet to send [07:37:12]OFD Sender: No OFD packet to send [07:37:17]OFD Sender: No OFD packet to send [07:37:22]OFD Sender: No OFD packet to send [07:37:27]OFD Sender: No OFD packet to send [07:37:32]OFD Sender: No OFD packet to send [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:12]OFD Sender: No OFD packet to send [07:38:17]OFD Sender: No OFD packet to send [07:38:22]OFD Sender: No OFD packet to send [07:38:27]OFD Sender: No OFD packet to send [07:38:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]OFD Sender: No OFD packet to send [07:38:47]OFD Sender: No OFD packet to send [07:38:52]OFD Sender: No OFD packet to send [07:38:57]OFD Sender: No OFD packet to send [07:39:02]OFD Sender: No OFD packet to send [07:39:07]OFD Sender: No OFD packet to send [07:39:12]OFD Sender: No OFD packet to send [07:39:17]OFD Sender: No OFD packet to send [07:39:22]OFD Sender: No OFD packet to send [07:39:27]OFD Sender: No OFD packet to send [07:39:32]OFD Sender: No OFD packet to send [07:39:37]OFD Sender: No OFD packet to send [07:39:42]OFD Sender: No OFD packet to send [07:39:47]OFD Sender: No OFD packet to send [07:39:52]OFD Sender: No OFD packet to send [07:39:57]OFD Sender: No OFD packet to send [07:40:02]OFD Sender: No OFD packet to send [07:40:07]OFD Sender: No OFD packet to send [07:40:12]OFD Sender: No OFD packet to send [07:40:17]OFD Sender: No OFD packet to send [07:40:22]OFD Sender: No OFD packet to send [07:40:27]OFD Sender: No OFD packet to send [07:40:32]OFD Sender: No OFD packet to send [07:40:37]OFD Sender: No OFD packet to send [07:40:42]OFD Sender: No OFD packet to send [07:40:47]OFD Sender: No OFD packet to send [07:40:52]OFD Sender: No OFD packet to send [07:40:57]OFD Sender: No OFD packet to send [07:41:02]OFD Sender: No OFD packet to send [07:41:07]OFD Sender: No OFD packet to send [07:41:12]OFD Sender: No OFD packet to send [07:41:17]OFD Sender: No OFD packet to send [07:41:22]OFD Sender: No OFD packet to send [07:41:27]OFD Sender: No OFD packet to send [07:41:32]OFD Sender: No OFD packet to send [07:41:37]OFD Sender: No OFD packet to send [07:41:42]OFD Sender: No OFD packet to send [07:41:47]OFD Sender: No OFD packet to send [07:41:52]OFD Sender: No OFD packet to send [07:41:57]OFD Sender: No OFD packet to send [07:42:02]OFD Sender: No OFD packet to send [07:42:07]OFD Sender: No OFD packet to send [07:42:12]OFD Sender: No OFD packet to send [07:42:17]OFD Sender: No OFD packet to send [07:42:22]OFD Sender: No OFD packet to send [07:42:27]OFD Sender: No OFD packet to send [07:42:32]OFD Sender: No OFD packet to send [07:42:37]OFD Sender: No OFD packet to send [07:42:42]OFD Sender: No OFD packet to send [07:42:47]OFD Sender: No OFD packet to send [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]OFD Sender: No OFD packet to send [07:44:22]OFD Sender: No OFD packet to send [07:44:27]OFD Sender: No OFD packet to send [07:44:32]OFD Sender: No OFD packet to send [07:44:37]OFD Sender: No OFD packet to send [07:44:42]OFD Sender: No OFD packet to send [07:44:47]OFD Sender: No OFD packet to send [07:44:52]OFD Sender: No OFD packet to send [07:44:57]OFD Sender: No OFD packet to send [07:45:02]OFD Sender: No OFD packet to send [07:45:08]OFD Sender: No OFD packet to send [07:45:13]OFD Sender: No OFD packet to send [07:45:18]OFD Sender: No OFD packet to send [07:45:23]OFD Sender: No OFD packet to send [07:45:28]OFD Sender: No OFD packet to send [07:45:33]OFD Sender: No OFD packet to send [07:45:38]OFD Sender: No OFD packet to send [07:45:43]OFD Sender: No OFD packet to send [07:45:48]OFD Sender: No OFD packet to send [07:45:53]OFD Sender: No OFD packet to send [07:45:58]OFD Sender: No OFD packet to send [07:46:03]OFD Sender: No OFD packet to send [07:46:08]OFD Sender: No OFD packet to send [07:46:13]OFD Sender: No OFD packet to send [07:46:18]OFD Sender: No OFD packet to send [07:46:23]OFD Sender: No OFD packet to send [07:46:28]OFD Sender: No OFD packet to send [07:46:33]OFD Sender: No OFD packet to send [07:46:38]OFD Sender: No OFD packet to send [07:46:43]OFD Sender: No OFD packet to send [07:46:48]OFD Sender: No OFD packet to send [07:46:53]OFD Sender: No OFD packet to send [07:46:58]OFD Sender: No OFD packet to send [07:47:03]OFD Sender: No OFD packet to send [07:47:08]OFD Sender: No OFD packet to send [07:47:13]OFD Sender: No OFD packet to send [07:47:18]OFD Sender: No OFD packet to send [07:47:23]OFD Sender: No OFD packet to send [07:47:28]OFD Sender: No OFD packet to send [07:47:33]OFD Sender: No OFD packet to send [07:47:38]OFD Sender: No OFD packet to send [07:47:43]OFD Sender: No OFD packet to send [07:47:48]OFD Sender: No OFD packet to send [07:47:53]OFD Sender: No OFD packet to send [07:47:58]OFD Sender: No OFD packet to send [07:48:03]OFD Sender: No OFD packet to send [07:48:08]OFD Sender: No OFD packet to send [07:48:13]OFD Sender: No OFD packet to send [07:48:18]OFD Sender: No OFD packet to send [07:48:23]OFD Sender: No OFD packet to send [07:48:28]OFD Sender: No OFD packet to send [07:48:33]OFD Sender: No OFD packet to send [07:48:38]OFD Sender: No OFD packet to send [07:48:43]OFD Sender: No OFD packet to send [07:48:48]OFD Sender: No OFD packet to send [07:48:53]OFD Sender: No OFD packet to send [07:48:58]OFD Sender: No OFD packet to send [07:49:03]OFD Sender: No OFD packet to send [07:49:08]OFD Sender: No OFD packet to send [07:49:13]OFD Sender: No OFD packet to send [07:49:18]OFD Sender: No OFD packet to send [07:49:23]OFD Sender: No OFD packet to send [07:49:28]OFD Sender: No OFD packet to send [07:49:33]OFD Sender: No OFD packet to send [07:49:38]OFD Sender: No OFD packet to send [07:49:43]OFD Sender: No OFD packet to send [07:49:48]OFD Sender: No OFD packet to send [07:49:53]OFD Sender: No OFD packet to send [07:49:58]OFD Sender: No OFD packet to send [07:50:03]OFD Sender: No OFD packet to send [07:50:08]OFD Sender: No OFD packet to send [07:50:13]OFD Sender: No OFD packet to send [07:50:18]OFD Sender: No OFD packet to send [07:50:23]OFD Sender: No OFD packet to send [07:50:28]OFD Sender: No OFD packet to send [07:50:33]OFD Sender: No OFD packet to send [07:50:38]OFD Sender: No OFD packet to send [07:50:43]OFD Sender: No OFD packet to send [07:50:48]OFD Sender: No OFD packet to send [07:50:53]OFD Sender: No OFD packet to send [07:50:58]OFD Sender: No OFD packet to send [07:51:03]OFD Sender: No OFD packet to send [07:51:08]OFD Sender: No OFD packet to send [07:51:13]OFD Sender: No OFD packet to send [07:51:18]OFD Sender: No OFD packet to send [07:51:23]OFD Sender: No OFD packet to send [07:51:28]OFD Sender: No OFD packet to send [07:51:33]OFD Sender: No OFD packet to send [07:51:38]OFD Sender: No OFD packet to send [07:51:43]OFD Sender: No OFD packet to send [07:51:48]OFD Sender: No OFD packet to send [07:51:53]OFD Sender: No OFD packet to send [07:51:58]OFD Sender: No OFD packet to send [07:52:03]OFD Sender: No OFD packet to send [07:52:08]OFD Sender: No OFD packet to send [07:52:13]OFD Sender: No OFD packet to send [07:52:18]OFD Sender: No OFD packet to send [07:52:23]OFD Sender: No OFD packet to send [07:52:28]OFD Sender: No OFD packet to send [07:52:33]OFD Sender: No OFD packet to send [07:52:38]OFD Sender: No OFD packet to send [07:52:43]OFD Sender: No OFD packet to send [07:52:48]OFD Sender: No OFD packet to send [07:52:53]OFD Sender: No OFD packet to send [07:52:58]OFD Sender: No OFD packet to send [07:53:03]OFD Sender: No OFD packet to send [07:53:08]OFD Sender: No OFD packet to send [07:53:13]OFD Sender: No OFD packet to send [07:53:18]OFD Sender: No OFD packet to send [07:53:23]OFD Sender: No OFD packet to send [07:53:28]OFD Sender: No OFD packet to send [07:53:33]OFD Sender: No OFD packet to send [07:53:38]OFD Sender: No OFD packet to send [07:53:43]OFD Sender: No OFD packet to send [07:53:48]OFD Sender: No OFD packet to send [07:53:53]OFD Sender: No OFD packet to send [07:53:58]OFD Sender: No OFD packet to send [07:54:03]OFD Sender: No OFD packet to send [07:54:08]OFD Sender: No OFD packet to send [07:54:13]OFD Sender: No OFD packet to send [07:54:18]OFD Sender: No OFD packet to send [07:54:23]OFD Sender: No OFD packet to send [07:54:28]OFD Sender: No OFD packet to send [07:54:33]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:03]OFD Sender: No OFD packet to send [07:59:08]OFD Sender: No OFD packet to send [07:59:13]OFD Sender: No OFD packet to send [07:59:18]OFD Sender: No OFD packet to send [07:59:23]OFD Sender: No OFD packet to send [07:59:28]OFD Sender: No OFD packet to send [07:59:33]OFD Sender: No OFD packet to send [07:59:38]OFD Sender: No OFD packet to send [07:59:43]OFD Sender: No OFD packet to send [07:59:48]OFD Sender: No OFD packet to send [07:59:53]OFD Sender: No OFD packet to send [07:59:58]OFD Sender: No OFD packet to send [08:00:03]OFD Sender: No OFD packet to send [08:00:08]OFD Sender: No OFD packet to send [08:00:13]OFD Sender: No OFD packet to send [08:00:18]OFD Sender: No OFD packet to send [08:00:23]OFD Sender: No OFD packet to send [08:00:28]OFD Sender: No OFD packet to send [08:00:33]OFD Sender: No OFD packet to send [08:00:38]OFD Sender: No OFD packet to send [08:00:43]OFD Sender: No OFD packet to send [08:00:48]OFD Sender: No OFD packet to send [08:00:53]OFD Sender: No OFD packet to send [08:00:58]OFD Sender: No OFD packet to send [08:01:03]OFD Sender: No OFD packet to send [08:01:08]OFD Sender: No OFD packet to send [08:01:13]OFD Sender: No OFD packet to send [08:01:18]OFD Sender: No OFD packet to send [08:01:23]OFD Sender: No OFD packet to send [08:01:28]OFD Sender: No OFD packet to send [08:01:33]OFD Sender: No OFD packet to send [08:01:38]OFD Sender: No OFD packet to send [08:01:43]OFD Sender: No OFD packet to send [08:01:48]OFD Sender: No OFD packet to send [08:01:53]OFD Sender: No OFD packet to send [08:01:58]OFD Sender: No OFD packet to send [08:02:03]OFD Sender: No OFD packet to send [08:02:08]OFD Sender: No OFD packet to send [08:02:13]OFD Sender: No OFD packet to send [08:02:18]OFD Sender: No OFD packet to send [08:02:23]OFD Sender: No OFD packet to send [08:02:28]OFD Sender: No OFD packet to send [08:02:33]OFD Sender: No OFD packet to send [08:02:38]OFD Sender: No OFD packet to send [08:02:43]OFD Sender: No OFD packet to send [08:02:48]OFD Sender: No OFD packet to send [08:02:53]OFD Sender: No OFD packet to send [08:04:08]OFD Sender: No OFD packet to send [08:04:13]OFD Sender: No OFD packet to send [08:04:18]OFD Sender: No OFD packet to send [08:04:23]OFD Sender: No OFD packet to send [08:04:28]OFD Sender: No OFD packet to send [08:04:33]OFD Sender: No OFD packet to send [08:04:38]OFD Sender: No OFD packet to send [08:04:43]OFD Sender: No OFD packet to send [08:04:48]OFD Sender: No OFD packet to send [08:04:53]OFD Sender: No OFD packet to send [08:04:58]OFD Sender: No OFD packet to send [08:05:03]OFD Sender: No OFD packet to send [08:05:08]OFD Sender: No OFD packet to send [08:05:13]OFD Sender: No OFD packet to send [08:05:18]OFD Sender: No OFD packet to send [08:05:23]OFD Sender: No OFD packet to send [08:05:28]OFD Sender: No OFD packet to send [08:05:33]OFD Sender: No OFD packet to send [08:05:38]OFD Sender: No OFD packet to send [08:05:43]OFD Sender: No OFD packet to send [08:05:48]OFD Sender: No OFD packet to send [08:05:53]OFD Sender: No OFD packet to send [08:05:58]OFD Sender: No OFD packet to send [08:06:03]OFD Sender: No OFD packet to send [08:06:08]OFD Sender: No OFD packet to send [08:06:13]OFD Sender: No OFD packet to send [08:06:18]ConnectInit Can't connect to host [08:06:18]OFD Sender: No OFD packet to send [08:06:23]OFD Sender: No OFD packet to send [08:06:28]OFD Sender: No OFD packet to send [08:06:33]OFD Sender: No OFD packet to send [08:06:38]OFD Sender: No OFD packet to send [08:06:43]OFD Sender: No OFD packet to send [08:06:48]OFD Sender: No OFD packet to send [08:06:54]OFD Sender: No OFD packet to send [08:06:59]OFD Sender: No OFD packet to send [08:07:04]OFD Sender: No OFD packet to send [08:07:09]OFD Sender: No OFD packet to send [08:07:14]OFD Sender: No OFD packet to send [08:07:19]OFD Sender: No OFD packet to send [08:07:24]OFD Sender: No OFD packet to send [08:07:29]OFD Sender: No OFD packet to send [08:07:34]OFD Sender: No OFD packet to send [08:07:39]OFD Sender: No OFD packet to send [08:07:44]OFD Sender: No OFD packet to send [08:07:49]OFD Sender: No OFD packet to send [08:07:54]OFD Sender: No OFD packet to send [08:07:59]OFD Sender: No OFD packet to send [08:08:04]OFD Sender: No OFD packet to send [08:08:09]OFD Sender: No OFD packet to send [08:08:14]OFD Sender: No OFD packet to send [08:08:19]OFD Sender: No OFD packet to send [08:08:24]OFD Sender: No OFD packet to send [08:08:29]OFD Sender: No OFD packet to send [08:08:34]OFD Sender: No OFD packet to send [08:08:39]OFD Sender: No OFD packet to send [08:08:44]OFD Sender: No OFD packet to send [08:08:49]OFD Sender: No OFD packet to send [08:08:54]OFD Sender: No OFD packet to send [08:08:59]OFD Sender: No OFD packet to send [08:09:04]OFD Sender: No OFD packet to send [08:09:09]OFD Sender: No OFD packet to send [08:09:14]OFD Sender: No OFD packet to send [08:09:19]OFD Sender: No OFD packet to send [08:09:24]OFD Sender: No OFD packet to send [08:09:29]OFD Sender: No OFD packet to send [08:09:34]OFD Sender: No OFD packet to send [08:09:39]OFD Sender: No OFD packet to send [08:09:44]OFD Sender: No OFD packet to send [08:09:49]OFD Sender: No OFD packet to send [08:09:54]OFD Sender: No OFD packet to send [08:09:59]OFD Sender: No OFD packet to send [08:10:04]OFD Sender: No OFD packet to send [08:10:09]OFD Sender: No OFD packet to send [08:10:14]OFD Sender: No OFD packet to send [08:10:19]OFD Sender: No OFD packet to send [08:10:24]OFD Sender: No OFD packet to send [08:10:29]OFD Sender: No OFD packet to send [08:10:34]OFD Sender: No OFD packet to send [08:10:39]OFD Sender: No OFD packet to send [08:10:44]OFD Sender: No OFD packet to send [08:10:49]OFD Sender: No OFD packet to send [08:10:54]OFD Sender: No OFD packet to send [08:10:59]OFD Sender: No OFD packet to send [08:11:04]OFD Sender: No OFD packet to send [08:11:09]OFD Sender: No OFD packet to send [08:11:14]OFD Sender: No OFD packet to send [08:11:19]OFD Sender: No OFD packet to send [08:11:24]OFD Sender: No OFD packet to send [08:11:29]OFD Sender: No OFD packet to send [08:11:34]OFD Sender: No OFD packet to send [08:11:39]OFD Sender: No OFD packet to send [08:11:44]OFD Sender: No OFD packet to send [08:11:49]OFD Sender: No OFD packet to send [08:11:54]OFD Sender: No OFD packet to send [08:11:59]OFD Sender: No OFD packet to send [08:12:04]OFD Sender: No OFD packet to send [08:12:09]OFD Sender: No OFD packet to send [08:12:14]OFD Sender: No OFD packet to send [08:12:14]accept exits with 9 [08:12:14]New connection [08:12:14]New thread 3067010404 created [08:12:14]Thread 3067153764 joined [08:12:14]Waiting for new connection... [08:12:14] Sock 9.Parse request [08:12:14]Sock 9.Check first char [08:12:14]Sock 9.First char is OK [08:12:14]request: POST /json_proto HTTP/1.0 [08:12:14]Method: POST [08:12:14]URL: /json_proto [08:12:14]Method is POST - this is cgi request [08:12:14]url: /json_proto [08:12:14]query_string will be loaded in cgi processing [08:12:14]execute_cgi json_proto POST (null) [08:12:14]execute_cgi path=json_proto method=POST [08:12:14]POST find Content-Length [08:12:14]Host: 172.17.54.195:8080 [08:12:14]Content-Length: 676 [08:12:14]Content-Type: application/json [08:12:14] [08:12:14]POST finish read [08:12:14]Found Content-Length = 676 [08:12:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16354", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.240, "sum" : 350.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:12:14]execute_script... [08:12:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16354", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.240, "sum" : 350.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:12:14]POST & json_proto [08:12:14]process_json_proto [08:12:14]json parsed OK: [08:12:14]protocol is kg_v1.0 [08:12:14]action value=close_receipt [08:12:14]process_action close_receipt [08:12:14]cmd_close_receipt [08:12:14]MH_GetDate [08:12:14]Write to MH i2c: F0 00 00 28 04 1B [08:12:14]Write i2c OK [08:12:14]MH_I2C_Read... [08:12:14]Read from MH i2c: F0 [08:12:14]MH_I2C_Read... [08:12:14]Read from MH i2c: F0 09 00 [08:12:14]MH_I2C_Read... [08:12:14]Read from MH i2c: F0 09 00 28 04 00 61 EA 21 67 8D 90 A3 66 1D [08:12:14]GetLastDocTimeStamp 1730273291 [08:12:14]current date 1730275937 [08:12:14]FM_GetShiftState [08:12:14]SAM_PROTO_GetShiftState [08:12:14]wFMCommunicate request_size=4 [08:12:14]MH_SAM_APDU [08:12:14]CAPDU: 80 13 01 00 [08:12:14]Write to MH i2c: E2 08 00 29 04 80 13 01 00 00 00 00 00 AA [08:12:14]Write i2c OK [08:12:14]MH_I2C_Read... [08:12:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:12:14]Read from MH i2c: E2 [08:12:14]MH_I2C_Read... [08:12:14]Read from MH i2c: E2 0E 00 [08:12:14]MH_I2C_Read... [08:12:14]Read from MH i2c: E2 0E 00 29 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 EF [08:12:14]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:12:14]wFMCommunicate OK [08:12:14]SAM_PROTO_GetShiftState done [08:12:14]FM_GetShiftState done [08:12:14]opened in 1730247478 [08:12:14]opened+sec_in_day 1730333878 [08:12:14]quantity*price = 35055 [08:12:14]sum+1 = 35057 [08:12:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.56 ИТОГО: 350.00 Внесено: 350.00 СДАЧА: 0.00 НСП 1% : 3.10 НДС 12% : 37.23 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 14 30.10.2024 08:12 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15804 ФПД: 69626311628803 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T081217&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15804&fm=69626311628803&tin=02508201610067®Number=0000000000161798&sum=35000 [08:12:15]StoreToDocumentArchive [08:12:15]shift 173 fd 15804 [08:12:15]save to /storage/0173/doc_00015804 [08:12:15]save last doc name /storage/0173/doc_00015804 to /storage/kkm_last_doc_name [08:12:15]save OK [08:12:15]Clear old archive folders... [08:12:15]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:12:15]tlvbuf is 0024F890 [08:12:15]SAM_PROTO_ClearQueue [08:12:15]wFMCommunicate request_size=4 [08:12:15]MH_SAM_APDU [08:12:15]CAPDU: 80 09 00 00 [08:12:15]Write to MH i2c: E2 08 00 36 04 80 09 00 00 00 00 00 00 AC [08:12:15]Write i2c OK [08:12:15]MH_I2C_Read... [08:12:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:12:15]Read from MH i2c: E2 [08:12:15]MH_I2C_Read... [08:12:15]Read from MH i2c: E2 03 00 [08:12:15]MH_I2C_Read... [08:12:15]Read from MH i2c: E2 03 00 36 04 00 90 00 AE [08:12:15]RAPDU: 90 00 [08:12:15]wFMCommunicate OK [08:12:15]SAM_PROTO_ClearQueue done [08:12:15]KKMCreateOFDPacket [08:12:15]OFDProtocolAddRootSTLVToBuf [08:12:15]FM_MakeSignedData [08:12:15]FM_MakeSignedData [08:12:15]SAM_PROTO_SignData [08:12:15]wFMCommunicate request_size=4 [08:12:15]MH_SAM_APDU [08:12:15]CAPDU: 80 0D 01 02 [08:12:15]Write to MH i2c: E2 08 00 37 04 80 0D 01 02 00 00 00 00 B4 [08:12:15]Write i2c OK [08:12:15]MH_I2C_Read... [08:12:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:12:15]Read from MH i2c: E2 [08:12:15]MH_I2C_Read... [08:12:15]Read from MH i2c: E2 03 00 [08:12:15]MH_I2C_Read... [08:12:15]Read from MH i2c: E2 03 00 37 04 00 90 00 AF [08:12:15]RAPDU: 90 00 [08:12:15]wFMCommunicate OK [08:12:15]wFMCommunicate request_size=255 [08:12:15]MH_SAM_APDU [08:12:15]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 78 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F0 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 61 EA 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BC 3D 00 00 35 04 06 00 3F [08:12:15]Write to MH i2c: E2 02 01 38 04 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 78 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F0 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 61 EA 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BC 3D 00 00 35 04 06 00 3F 00 00 17 [08:12:15]Write i2c OK [08:12:15]MH_I2C_Read... [08:12:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:12:16]Read from MH i2c: E2 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: E2 03 00 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: E2 03 00 38 04 00 90 00 B0 [08:12:16]RAPDU: 90 00 [08:12:16]wFMCommunicate OK [08:12:16]wFMCommunicate request_size=10 [08:12:16]MH_SAM_APDU [08:12:16]CAPDU: 80 0D 02 02 05 53 23 92 58 03 [08:12:16]Write to MH i2c: E2 0D 00 39 04 80 0D 02 02 05 00 53 23 92 58 03 00 00 24 [08:12:16]Write i2c OK [08:12:16]MH_I2C_Read... [08:12:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:12:16]Read from MH i2c: E2 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: E2 03 00 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: E2 03 00 39 04 00 90 00 B1 [08:12:16]RAPDU: 90 00 [08:12:16]wFMCommunicate OK [08:12:16]wFMCommunicate request_size=4 [08:12:16]MH_SAM_APDU [08:12:16]CAPDU: 80 0D 03 02 [08:12:16]Write to MH i2c: E2 08 00 3A 04 80 0D 03 02 00 00 00 00 B9 [08:12:16]Write i2c OK [08:12:16]MH_I2C_Read... [08:12:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:12:16]Read from MH i2c: E2 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: E2 0B 00 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: E2 0B 00 3A 04 00 E8 FE 6A 0E E1 1B A7 7D 90 00 38 [08:12:16]RAPDU: E8 FE 6A 0E E1 1B A7 7D 90 00 [08:12:16]wFMCommunicate OK [08:12:16]SAM_PROTO_SignData done [08:12:16]FM_MakeSignedData done [08:12:16]CreateOFDProtocolMessage [08:12:16]wFMCommunicate request_size=4 [08:12:16]MH_SAM_APDU [08:12:16]CAPDU: 80 11 00 00 [08:12:16]Write to MH i2c: E2 08 00 3B 04 80 11 00 00 00 00 00 00 B9 [08:12:16]Write i2c OK [08:12:16]MH_I2C_Read... [08:12:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:12:16]Read from MH i2c: E2 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: E2 17 00 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: E2 17 00 3B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 08 [08:12:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:12:16]wFMCommunicate OK [08:12:16]CreateOFDProtocolMessage done [08:12:16]OFDSenderStorePacket 15804 [08:12:16]StoreOFDPacket docnum=15804 [08:12:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 57 53 07 01 27 08 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 78 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F0 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 61 EA 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BC 3D 00 00 35 04 06 00 3F 53 23 92 58 03 E8 FE 6A 0E E1 1B A7 7D [08:12:16]CheckFolder [08:12:16]dirname=/storage/ofd_packets [08:12:16]CheckFolder done [08:12:16]ProducePacketName [08:12:16]name=ofd_packets/00015804 [08:12:16]NVStorageSaveData ofd_packets/00015804 [08:12:16]File name is /storage/ofd_packets/00015804 [08:12:16]Write 301 bytes [08:12:16]NVStorageSaveData done [08:12:16]OFDSenderStorePacket done [08:12:16]KKMCreateOFDPacket done [08:12:16]NVStorageSaveData kkm_last_timestamp [08:12:16]File name is /storage/kkm_last_timestamp [08:12:16]Write 4 bytes [08:12:16]NVStorageSaveData done [08:12:16]ExternCall_PrintAddStr [08:12:16]wPrintStart [08:12:16]Write to MH i2c: 01 00 00 3C 04 40 [08:12:16]Write i2c OK [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: 01 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: 01 07 00 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: 01 07 00 3C 04 00 00 00 00 00 FF 0F 55 [08:12:16]RasterBufferAndPrint [08:12:16]line Счет N : (1)16354 [08:12:16]line ИНН: 02508201610067 [08:12:16]line Контрольно-Кассовый Чек [08:12:16]line ПРОДАЖА [08:12:16]line ТРК (МРК, ГНК) : 21 [08:12:16]line Товар: 2710124130 [08:12:16]line Аи-92-К-5 [08:12:16]line 5.240 * 66.90 [08:12:16]line = 350.56 [08:12:16]line НДС 12% НСП 1% [08:12:16]line > о реализуемом товаре [08:12:16]line ОКРУГЛЕНИЕ: -0.56 [08:12:16]line ИТОГО: 350.00 [08:12:16]line Внесено: 350.00 [08:12:16]line СДАЧА: 0.00 [08:12:16]line НСП 1% : 3.10 [08:12:16]line НДС 12% : 37.23 [08:12:16]line Наличными: 350.00 [08:12:16]line Безнал.: 0.00 [08:12:16]line Место: АЗС № 178 "Партнер Нефть" [08:12:16]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [08:12:16]line СНО: Общий режим [08:12:16]line Чек 14 30.10.2024 08:12 [08:12:16]line Смена: 173 ФФД: 1.0 [08:12:16]line ЗНМ: 0300000014 [08:12:16]line РНМ: 0000000000161798 [08:12:16]line Версия ККМ: v1.0 [08:12:16]line ФМ: 0000000000963325 [08:12:16]line ФД: 15804 [08:12:16]line ФПД: 69626311628803 [08:12:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T081217&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15804&fm=69626311628803&tin=02508201610067®Number=0000000000161798&sum=35000 [08:12:16]OFD Sender: Processing packet 15804 [packets to send 4, broken 3] [08:12:16]ProducePacketName [08:12:16]name=ofd_packets/00015804 [08:12:16]OFD Sender: To server: pG, [08:12:16]CommunicateWithHost lk.salyk.kg:30040 [08:12:16]ConnectInit lk.salyk.kg [08:12:16]written 0, free lines is 4095 [08:12:16]Connected sock=10 [08:12:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 57 53 07 01 27 08 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 78 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F0 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 61 EA 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BC 3D 00 00 35 04 06 00 3F 53 23 92 58 03 E8 FE 6A 0E E1 1B A7 7D [08:12:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 DB 4A 47 00 24 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BC 3D 00 00 F4 03 04 00 4B 95 21 67 B6 04 01 00 00 B6 E9 1C 1D 85 87 90 72 [08:12:16]CommunicateWithHost err = 0 [08:12:16]CheckOFDResponse [08:12:16]1017 (14) - 77093643461234 [08:12:16]1041 (16) - 0000000000963325 [08:12:16]1040 (4) - 15804 [08:12:16]1012 (4) - 30.10.2024 02:09 [08:12:16]1206 (1) - 0 [08:12:16]OFD Sender: Remove packet 15804 [08:12:16]ProducePacketName [08:12:16]name=ofd_packets/00015804 [08:12:16]NVStorageDeleteData [08:12:16]Write to MH i2c: 01 00 00 67 04 6B [08:12:16]Write i2c OK [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: 01 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: 01 07 00 [08:12:16]MH_I2C_Read... [08:12:16]Read from MH i2c: 01 07 00 67 04 00 00 00 00 00 F0 0C 6E [08:12:16]RasterBufferAndPrint [08:12:16]line [08:12:16]line [08:12:16]line [08:12:16]line [08:12:16]line [08:12:16]written 0, free lines is 3319 [08:12:17]MH_Cut [08:12:17]Write to MH i2c: D1 01 00 6E 04 01 44 [08:12:17]Write i2c OK [08:12:17]MH_I2C_Read... [08:12:17]Read from MH i2c: D1 [08:12:17]MH_I2C_Read... [08:12:17]Read from MH i2c: D1 01 00 [08:12:17]MH_I2C_Read... [08:12:17]Read from MH i2c: D1 01 00 6E 04 00 43 [08:12:17]Write to MH i2c: 01 00 00 6F 04 73 [08:12:17]Write i2c OK [08:12:17]MH_I2C_Read... [08:12:17]OFD Sender: No OFD packet to send [08:12:17]*** Cut start [08:12:17]*** Partial cut [08:12:17]*** CUTSNS_PIN = 1 [08:12:17]*** CUTSNS_PIN = 0 [08:12:18]*** Brake cut motor [08:12:18]Read from MH i2c: 01 [08:12:18]MH_I2C_Read... [08:12:18]*** Stop cut motor [08:12:18]*** Cut end [08:12:18]Read from MH i2c: 01 07 00 [08:12:18]MH_I2C_Read... [08:12:18]Read from MH i2c: 01 07 00 6F 04 00 00 00 00 00 FF 0F 88 [08:12:18]process_action close_receipt done [08:12:18]requested_data is exist [08:12:18]produce_requested_data [08:12:18]requested_item fm.sn is exist - process it [08:12:18]wFMCommunicate request_size=4 [08:12:18]MH_SAM_APDU [08:12:18]CAPDU: 80 11 00 00 [08:12:18]Write to MH i2c: E2 08 00 70 04 80 11 00 00 00 00 00 00 EE [08:12:18]Write i2c OK [08:12:18]MH_I2C_Read... [08:12:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:12:18]Read from MH i2c: E2 [08:12:18]MH_I2C_Read... [08:12:18]Read from MH i2c: E2 17 00 [08:12:18]MH_I2C_Read... [08:12:18]Read from MH i2c: E2 17 00 70 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 3D [08:12:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:12:18]wFMCommunicate OK [08:12:18]requested_item fd.num is exist - process it [08:12:18]SAM_PROTO_GetFieldsCounters [08:12:18]wFMCommunicate request_size=4 [08:12:18]MH_SAM_APDU [08:12:18]CAPDU: 80 13 00 00 [08:12:18]Write to MH i2c: E2 08 00 71 04 80 13 00 00 00 00 00 00 F1 [08:12:18]Write i2c OK [08:12:18]MH_I2C_Read... [08:12:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:12:18]Read from MH i2c: E2 [08:12:18]MH_I2C_Read... [08:12:18]Read from MH i2c: E2 62 00 [08:12:18]MH_I2C_Read... [08:12:18]Read from MH i2c: E2 62 00 71 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BC 3D 00 00 0E 04 04 00 AD 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 E5 [08:12:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BC 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:12:18]wFMCommunicate OK [08:12:18]SAM_PROTO_GetFieldsCounters done [08:12:18]requested_item shift.num is exist - process it [08:12:18]requested_item shift.opened is exist - process it [08:12:18]req_shift_opened [08:12:18]FM_GetShiftState [08:12:18]SAM_PROTO_GetShiftState [08:12:18]wFMCommunicate request_size=4 [08:12:18]MH_SAM_APDU [08:12:18]CAPDU: 80 13 01 00 [08:12:18]Write to MH i2c: E2 08 00 72 04 80 13 01 00 00 00 00 00 F3 [08:12:18]Write i2c OK [08:12:18]MH_I2C_Read... [08:12:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:12:18]Read from MH i2c: E2 [08:12:18]MH_I2C_Read... [08:12:18]Read from MH i2c: E2 0E 00 [08:12:18]MH_I2C_Read... [08:12:18]Read from MH i2c: E2 0E 00 72 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 38 [08:12:18]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:12:18]wFMCommunicate OK [08:12:18]SAM_PROTO_GetShiftState done [08:12:18]FM_GetShiftState done [08:12:18]req_shift_opened done [08:12:18]requested_item shift.open_date is exist - process it [08:12:18]req_shift_open_date [08:12:18]req_shift_open_date done [08:12:18]produce_requested_data done [08:12:18]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15804,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [08:12:18]process_action_free close_receipt [08:12:18]json_value_free [08:12:18]json_value_free done [08:12:18]process_json_proto returns [08:12:18]Send response to host [08:12:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15804,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [08:12:18]free response buf [08:12:18]execute_script done [08:12:18]execute_script returns [08:12:18]free content buf [08:12:18]Sock 9.Close socket [08:12:18]Sock 9.Thread stoped [08:12:22]OFD Sender: No OFD packet to send [08:12:27]OFD Sender: No OFD packet to send [08:12:32]OFD Sender: No OFD packet to send [08:12:37]OFD Sender: No OFD packet to send [08:12:42]OFD Sender: No OFD packet to send [08:12:47]OFD Sender: No OFD packet to send [08:12:52]OFD Sender: No OFD packet to send [08:12:57]OFD Sender: No OFD packet to send [08:13:02]OFD Sender: No OFD packet to send [08:13:07]OFD Sender: No OFD packet to send [08:13:12]OFD Sender: No OFD packet to send [08:13:17]OFD Sender: No OFD packet to send [08:13:22]OFD Sender: No OFD packet to send [08:13:27]OFD Sender: No OFD packet to send [08:13:32]OFD Sender: No OFD packet to send [08:13:37]OFD Sender: No OFD packet to send [08:13:42]OFD Sender: No OFD packet to send [08:13:47]OFD Sender: No OFD packet to send [08:13:52]OFD Sender: No OFD packet to send [08:13:57]OFD Sender: No OFD packet to send [08:14:02]OFD Sender: No OFD packet to send [08:14:07]OFD Sender: No OFD packet to send [08:14:12]OFD Sender: No OFD packet to send [08:14:17]OFD Sender: No OFD packet to send [08:14:22]OFD Sender: No OFD packet to send [08:14:27]OFD Sender: No OFD packet to send [08:14:32]OFD Sender: No OFD packet to send [08:14:37]OFD Sender: No OFD packet to send [08:14:42]OFD Sender: No OFD packet to send [08:14:47]OFD Sender: No OFD packet to send [08:14:52]OFD Sender: No OFD packet to send [08:14:57]OFD Sender: No OFD packet to send [08:15:02]OFD Sender: No OFD packet to send [08:15:07]OFD Sender: No OFD packet to send [08:15:12]OFD Sender: No OFD packet to send [08:15:17]OFD Sender: No OFD packet to send [08:15:22]OFD Sender: No OFD packet to send [08:15:27]OFD Sender: No OFD packet to send [08:15:32]OFD Sender: No OFD packet to send [08:15:37]OFD Sender: No OFD packet to send [08:15:42]OFD Sender: No OFD packet to send [08:15:47]OFD Sender: No OFD packet to send [08:15:52]OFD Sender: No OFD packet to send [08:15:57]OFD Sender: No OFD packet to send [08:16:02]OFD Sender: No OFD packet to send [08:16:07]OFD Sender: No OFD packet to send [08:16:12]OFD Sender: No OFD packet to send [08:16:17]OFD Sender: No OFD packet to send [08:16:22]OFD Sender: No OFD packet to send [08:16:27]OFD Sender: No OFD packet to send [08:16:32]OFD Sender: No OFD packet to send [08:16:37]OFD Sender: No OFD packet to send [08:16:42]OFD Sender: No OFD packet to send [08:16:47]OFD Sender: No OFD packet to send [08:16:52]OFD Sender: No OFD packet to send [08:16:57]OFD Sender: No OFD packet to send [08:17:02]OFD Sender: No OFD packet to send [08:17:07]OFD Sender: No OFD packet to send [08:17:12]OFD Sender: No OFD packet to send [08:17:17]OFD Sender: No OFD packet to send [08:17:22]OFD Sender: No OFD packet to send [08:17:27]OFD Sender: No OFD packet to send [08:17:32]OFD Sender: No OFD packet to send [08:17:37]OFD Sender: No OFD packet to send [08:17:42]OFD Sender: No OFD packet to send [08:17:47]OFD Sender: No OFD packet to send [08:17:52]OFD Sender: No OFD packet to send [08:17:57]OFD Sender: No OFD packet to send [08:18:02]OFD Sender: No OFD packet to send [08:18:07]OFD Sender: No OFD packet to send [08:18:12]OFD Sender: No OFD packet to send [08:18:17]OFD Sender: No OFD packet to send [08:18:22]OFD Sender: No OFD packet to send [08:18:27]OFD Sender: No OFD packet to send [08:18:32]OFD Sender: No OFD packet to send [08:18:37]OFD Sender: No OFD packet to send [08:18:42]OFD Sender: No OFD packet to send [08:18:47]OFD Sender: No OFD packet to send [08:18:52]OFD Sender: No OFD packet to send [08:18:57]OFD Sender: No OFD packet to send [08:19:02]OFD Sender: No OFD packet to send [08:19:07]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:01]accept exits with 8 [08:20:01]New connection [08:20:01]New thread 3067153764 created [08:20:01]Thread 3067010404 joined [08:20:01]Waiting for new connection... [08:20:01] Sock 8.Parse request [08:20:01]Sock 8.Check first char [08:20:01]Sock 8.First char is OK [08:20:01]request: POST /json_proto HTTP/1.0 [08:20:01]Method: POST [08:20:01]URL: /json_proto [08:20:01]Method is POST - this is cgi request [08:20:01]url: /json_proto [08:20:01]query_string will be loaded in cgi processing [08:20:01]execute_cgi json_proto POST (null) [08:20:01]execute_cgi path=json_proto method=POST [08:20:01]POST find Content-Length [08:20:01]Host: 172.17.54.195:8080 [08:20:01]Content-Length: 977 [08:20:01]Content-Type: application/json [08:20:01] [08:20:01]POST finish read [08:20:01]Found Content-Length = 977 [08:20:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16355", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 66.490, "sum" : 5000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 178\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 66.49 \u0441\u043E\u043C", "deposit" : 5000.00, "total" : 5000.00, "payments": [ { "type": 0, "sum" : 5000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:20:01]execute_script... [08:20:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16355", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 66.490, "sum" : 5000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 178\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 66.49 \u0441\u043E\u043C", "deposit" : 5000.00, "total" : 5000.00, "payments": [ { "type": 0, "sum" : 5000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:20:01]POST & json_proto [08:20:01]process_json_proto [08:20:01]json parsed OK: [08:20:01]protocol is kg_v1.0 [08:20:01]action value=close_receipt [08:20:01]process_action close_receipt [08:20:01]cmd_close_receipt [08:20:01]MH_GetDate [08:20:01]Write to MH i2c: F0 00 00 73 04 66 [08:20:01]Write i2c OK [08:20:01]MH_I2C_Read... [08:20:01]Read from MH i2c: F0 [08:20:01]MH_I2C_Read... [08:20:01]Read from MH i2c: F0 09 00 [08:20:01]MH_I2C_Read... [08:20:01]Read from MH i2c: F0 09 00 73 04 00 33 EC 21 67 8D 90 A3 66 3C [08:20:01]GetLastDocTimeStamp 1730275937 [08:20:01]current date 1730276403 [08:20:01]FM_GetShiftState [08:20:01]SAM_PROTO_GetShiftState [08:20:01]wFMCommunicate request_size=4 [08:20:01]MH_SAM_APDU [08:20:01]CAPDU: 80 13 01 00 [08:20:01]Write to MH i2c: E2 08 00 74 04 80 13 01 00 00 00 00 00 F5 [08:20:01]Write i2c OK [08:20:01]MH_I2C_Read... [08:20:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:01]Read from MH i2c: E2 [08:20:01]MH_I2C_Read... [08:20:01]Read from MH i2c: E2 0E 00 [08:20:01]MH_I2C_Read... [08:20:01]Read from MH i2c: E2 0E 00 74 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 3A [08:20:01]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:20:01]wFMCommunicate OK [08:20:01]SAM_PROTO_GetShiftState done [08:20:01]FM_GetShiftState done [08:20:01]opened in 1730247478 [08:20:01]opened+sec_in_day 1730333878 [08:20:01]quantity*price = 500004 [08:20:01]sum+1 = 500006 [08:20:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.05 ИТОГО: 5000.00 Внесено: 5000.00 СДАЧА: 0.00 НСП 1% : 44.25 НДС 12% : 530.98 Наличными: 5000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 15 30.10.2024 08:20 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Дисконтная программа ДТ номер 178 сэкономлено 66.49 сом ФМ: 0000000000963325 ФД: 15805 ФПД: 224671211659850 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082003&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15805&fm=224671211659850&tin=02508201610067®Number=0000000000161798&sum=500000 [08:20:02]StoreToDocumentArchive [08:20:02]shift 173 fd 15805 [08:20:02]save to /storage/0173/doc_00015805 [08:20:02]save last doc name /storage/0173/doc_00015805 to /storage/kkm_last_doc_name [08:20:02]save OK [08:20:02]Clear old archive folders... [08:20:02]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:20:02]tlvbuf is 0022A300 [08:20:02]SAM_PROTO_ClearQueue [08:20:02]wFMCommunicate request_size=4 [08:20:02]MH_SAM_APDU [08:20:02]CAPDU: 80 09 00 00 [08:20:02]Write to MH i2c: E2 08 00 81 04 80 09 00 00 00 00 00 00 F7 [08:20:02]Write i2c OK [08:20:02]MH_I2C_Read... [08:20:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:20:02]Read from MH i2c: E2 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 03 00 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 03 00 81 04 00 90 00 F9 [08:20:02]RAPDU: 90 00 [08:20:02]wFMCommunicate OK [08:20:02]SAM_PROTO_ClearQueue done [08:20:02]KKMCreateOFDPacket [08:20:02]OFDProtocolAddRootSTLVToBuf [08:20:02]FM_MakeSignedData [08:20:02]FM_MakeSignedData [08:20:02]SAM_PROTO_SignData [08:20:02]wFMCommunicate request_size=4 [08:20:02]MH_SAM_APDU [08:20:02]CAPDU: 80 0D 01 02 [08:20:02]Write to MH i2c: E2 08 00 82 04 80 0D 01 02 00 00 00 00 FF [08:20:02]Write i2c OK [08:20:02]MH_I2C_Read... [08:20:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:20:02]Read from MH i2c: E2 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 03 00 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 03 00 82 04 00 90 00 FA [08:20:02]RAPDU: 90 00 [08:20:02]wFMCommunicate OK [08:20:02]wFMCommunicate request_size=255 [08:20:02]MH_SAM_APDU [08:20:02]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 BA 03 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 25 A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A CF 00 00 00 00 07 04 06 00 20 A1 07 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 33 EC 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BD 3D 00 00 35 04 06 00 CC 56 57 C3 [08:20:02]Write to MH i2c: E2 02 01 83 04 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 BA 03 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 25 A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A CF 00 00 00 00 07 04 06 00 20 A1 07 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 33 EC 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BD 3D 00 00 35 04 06 00 CC 56 57 C3 00 00 23 [08:20:02]Write i2c OK [08:20:02]MH_I2C_Read... [08:20:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:02]Read from MH i2c: E2 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 03 00 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 03 00 83 04 00 90 00 FB [08:20:02]RAPDU: 90 00 [08:20:02]wFMCommunicate OK [08:20:02]wFMCommunicate request_size=7 [08:20:02]MH_SAM_APDU [08:20:02]CAPDU: 80 0D 02 02 02 22 4A [08:20:02]Write to MH i2c: E2 0A 00 84 04 80 0D 02 02 02 00 22 4A 00 00 72 [08:20:02]Write i2c OK [08:20:02]MH_I2C_Read... [08:20:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:20:02]Read from MH i2c: E2 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 03 00 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 03 00 84 04 00 90 00 FC [08:20:02]RAPDU: 90 00 [08:20:02]wFMCommunicate OK [08:20:02]wFMCommunicate request_size=4 [08:20:02]MH_SAM_APDU [08:20:02]CAPDU: 80 0D 03 02 [08:20:02]Write to MH i2c: E2 08 00 85 04 80 0D 03 02 00 00 00 00 04 [08:20:02]Write i2c OK [08:20:02]MH_I2C_Read... [08:20:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:20:02]Read from MH i2c: E2 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 0B 00 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 0B 00 85 04 00 EB 88 C3 04 E3 90 70 7E 90 00 A0 [08:20:02]RAPDU: EB 88 C3 04 E3 90 70 7E 90 00 [08:20:02]wFMCommunicate OK [08:20:02]SAM_PROTO_SignData done [08:20:02]FM_MakeSignedData done [08:20:02]CreateOFDProtocolMessage [08:20:02]wFMCommunicate request_size=4 [08:20:02]MH_SAM_APDU [08:20:02]CAPDU: 80 11 00 00 [08:20:02]Write to MH i2c: E2 08 00 86 04 80 11 00 00 00 00 00 00 04 [08:20:02]Write i2c OK [08:20:02]MH_I2C_Read... [08:20:02]OFD Sender: No OFD packet to send [08:20:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:02]Read from MH i2c: E2 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 17 00 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: E2 17 00 86 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 53 [08:20:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:20:02]wFMCommunicate OK [08:20:02]CreateOFDProtocolMessage done [08:20:02]OFDSenderStorePacket 15805 [08:20:02]StoreOFDPacket docnum=15805 [08:20:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 76 D7 04 01 1E 72 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 BA 03 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 25 A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A CF 00 00 00 00 07 04 06 00 20 A1 07 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 33 EC 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BD 3D 00 00 35 04 06 00 CC 56 57 C3 22 4A EB 88 C3 04 E3 90 70 7E [08:20:02]CheckFolder [08:20:02]dirname=/storage/ofd_packets [08:20:02]CheckFolder done [08:20:02]ProducePacketName [08:20:02]name=ofd_packets/00015805 [08:20:02]NVStorageSaveData ofd_packets/00015805 [08:20:02]File name is /storage/ofd_packets/00015805 [08:20:02]Write 298 bytes [08:20:02]NVStorageSaveData done [08:20:02]OFDSenderStorePacket done [08:20:02]KKMCreateOFDPacket done [08:20:02]NVStorageSaveData kkm_last_timestamp [08:20:02]File name is /storage/kkm_last_timestamp [08:20:02]Write 4 bytes [08:20:02]NVStorageSaveData done [08:20:02]ExternCall_PrintAddStr [08:20:02]wPrintStart [08:20:02]Write to MH i2c: 01 00 00 87 04 8B [08:20:02]Write i2c OK [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: 01 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: 01 07 00 [08:20:02]MH_I2C_Read... [08:20:02]Read from MH i2c: 01 07 00 87 04 00 00 00 00 00 FF 0F A0 [08:20:02]RasterBufferAndPrint [08:20:02]line Счет N : (1)16355 [08:20:02]line ИНН: 02508201610067 [08:20:02]line Контрольно-Кассовый Чек [08:20:02]line ПРОДАЖА [08:20:02]line ТРК (МРК, ГНК) : 22 [08:20:02]line Товар: 2710194210 [08:20:02]line ДТ-К-5 [08:20:02]line 66.490 * 75.20 [08:20:02]line = 5000.05 [08:20:02]line НДС 12% НСП 1% [08:20:02]line > о реализуемом товаре [08:20:02]line ОКРУГЛЕНИЕ: -0.05 [08:20:02]line ИТОГО: 5000.00 [08:20:02]line Внесено: 5000.00 [08:20:02]line СДАЧА: 0.00 [08:20:02]line НСП 1% : 44.25 [08:20:02]line НДС 12% : 530.98 [08:20:02]line Наличными: 5000.00 [08:20:02]line Безнал.: 0.00 [08:20:02]line Место: АЗС № 178 "Партнер Нефть" [08:20:02]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [08:20:02]line СНО: Общий режим [08:20:02]line Чек 15 30.10.2024 08:20 [08:20:02]line Смена: 173 ФФД: 1.0 [08:20:02]line ЗНМ: 0300000014 [08:20:02]line РНМ: 0000000000161798 [08:20:02]line Версия ККМ: v1.0 [08:20:02]line [08:20:02]line Дисконтная программа [08:20:02]line ДТ [08:20:02]line номер 178 [08:20:02]line сэкономлено 66.49 сом [08:20:02]line ФМ: 0000000000963325 [08:20:02]line ФД: 15805 [08:20:02]line ФПД: 224671211659850 [08:20:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082003&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15805&fm=224671211659850&tin=02508201610067®Number=0000000000161798&sum=500000 [08:20:03]OFD Sender: Processing packet 15805 [packets to send 4, broken 3] [08:20:03]ProducePacketName [08:20:03]name=ofd_packets/00015805 [08:20:03]OFD Sender: To server: pG, [08:20:03]CommunicateWithHost lk.salyk.kg:30040 [08:20:03]ConnectInit lk.salyk.kg [08:20:03]written 0, free lines is 4095 [08:20:03]Connected sock=11 [08:20:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 76 D7 04 01 1E 72 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 BA 03 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 25 A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A CF 00 00 00 00 07 04 06 00 20 A1 07 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 33 EC 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BD 3D 00 00 35 04 06 00 CC 56 57 C3 22 4A EB 88 C3 04 E3 90 70 7E [08:20:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 4A 6C 47 00 5C E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BD 3D 00 00 F4 03 04 00 1D 97 21 67 B6 04 01 00 00 C7 28 BC 1B AE CB B3 F8 [08:20:03]CommunicateWithHost err = 0 [08:20:03]CheckOFDResponse [08:20:03]1017 (14) - 77093643461234 [08:20:03]1041 (16) - 0000000000963325 [08:20:03]1040 (4) - 15805 [08:20:03]1012 (4) - 30.10.2024 02:17 [08:20:03]1206 (1) - 0 [08:20:03]OFD Sender: Remove packet 15805 [08:20:03]ProducePacketName [08:20:03]name=ofd_packets/00015805 [08:20:03]NVStorageDeleteData [08:20:03]Write to MH i2c: 01 00 00 B7 04 BB [08:20:03]Write i2c OK [08:20:03]MH_I2C_Read... [08:20:03]Read from MH i2c: 01 [08:20:03]MH_I2C_Read... [08:20:03]Read from MH i2c: 01 07 00 [08:20:03]MH_I2C_Read... [08:20:03]Read from MH i2c: 01 07 00 B7 04 00 00 00 00 00 9C 0C 6A [08:20:03]RasterBufferAndPrint [08:20:03]line [08:20:03]line [08:20:03]line [08:20:03]line [08:20:03]line [08:20:03]written 0, free lines is 3234 [08:20:03]MH_Cut [08:20:03]Write to MH i2c: D1 01 00 BE 04 01 94 [08:20:03]Write i2c OK [08:20:03]MH_I2C_Read... [08:20:03]Read from MH i2c: D1 [08:20:03]MH_I2C_Read... [08:20:03]Read from MH i2c: D1 01 00 [08:20:03]MH_I2C_Read... [08:20:03]Read from MH i2c: D1 01 00 BE 04 00 93 [08:20:03]Write to MH i2c: 01 00 00 BF 04 C3 [08:20:03]Write i2c OK [08:20:03]MH_I2C_Read... [08:20:03]OFD Sender: No OFD packet to send [08:20:04]*** Cut start [08:20:04]*** Partial cut [08:20:04]*** CUTSNS_PIN = 1 [08:20:04]*** CUTSNS_PIN = 0 [08:20:04]*** Brake cut motor [08:20:04]Read from MH i2c: 01 [08:20:04]MH_I2C_Read... [08:20:04]*** Stop cut motor [08:20:05]*** Cut end [08:20:05]Read from MH i2c: 01 07 00 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: 01 07 00 BF 04 00 00 00 00 00 FF 0F D8 [08:20:05]process_action close_receipt done [08:20:05]requested_data is exist [08:20:05]produce_requested_data [08:20:05]requested_item fm.sn is exist - process it [08:20:05]wFMCommunicate request_size=4 [08:20:05]MH_SAM_APDU [08:20:05]CAPDU: 80 11 00 00 [08:20:05]Write to MH i2c: E2 08 00 C0 04 80 11 00 00 00 00 00 00 3E [08:20:05]Write i2c OK [08:20:05]MH_I2C_Read... [08:20:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:20:05]Read from MH i2c: E2 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 17 00 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 17 00 C0 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 8D [08:20:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:20:05]wFMCommunicate OK [08:20:05]requested_item fd.num is exist - process it [08:20:05]SAM_PROTO_GetFieldsCounters [08:20:05]wFMCommunicate request_size=4 [08:20:05]MH_SAM_APDU [08:20:05]CAPDU: 80 13 00 00 [08:20:05]Write to MH i2c: E2 08 00 C1 04 80 13 00 00 00 00 00 00 41 [08:20:05]Write i2c OK [08:20:05]MH_I2C_Read... [08:20:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:20:05]Read from MH i2c: E2 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 62 00 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 62 00 C1 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BD 3D 00 00 0E 04 04 00 AD 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 39 [08:20:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BD 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:20:05]wFMCommunicate OK [08:20:05]SAM_PROTO_GetFieldsCounters done [08:20:05]requested_item shift.num is exist - process it [08:20:05]requested_item shift.opened is exist - process it [08:20:05]req_shift_opened [08:20:05]FM_GetShiftState [08:20:05]SAM_PROTO_GetShiftState [08:20:05]wFMCommunicate request_size=4 [08:20:05]MH_SAM_APDU [08:20:05]CAPDU: 80 13 01 00 [08:20:05]Write to MH i2c: E2 08 00 C2 04 80 13 01 00 00 00 00 00 43 [08:20:05]Write i2c OK [08:20:05]MH_I2C_Read... [08:20:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:20:05]Read from MH i2c: E2 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 0E 00 [08:20:05]MH_I2C_Read... [08:20:05]Read from MH i2c: E2 0E 00 C2 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 88 [08:20:05]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:20:05]wFMCommunicate OK [08:20:05]SAM_PROTO_GetShiftState done [08:20:05]FM_GetShiftState done [08:20:05]req_shift_opened done [08:20:05]requested_item shift.open_date is exist - process it [08:20:05]req_shift_open_date [08:20:05]req_shift_open_date done [08:20:05]produce_requested_data done [08:20:05]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15805,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [08:20:05]process_action_free close_receipt [08:20:05]json_value_free [08:20:05]json_value_free done [08:20:05]process_json_proto returns [08:20:05]Send response to host [08:20:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15805,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [08:20:05]free response buf [08:20:05]execute_script done [08:20:05]execute_script returns [08:20:05]free content buf [08:20:05]Sock 8.Close socket [08:20:05]Sock 8.Thread stoped [08:20:08]OFD Sender: No OFD packet to send [08:20:13]OFD Sender: No OFD packet to send [08:20:18]OFD Sender: No OFD packet to send [08:20:23]OFD Sender: No OFD packet to send [08:20:28]OFD Sender: No OFD packet to send [08:20:33]OFD Sender: No OFD packet to send [08:20:38]OFD Sender: No OFD packet to send [08:20:43]OFD Sender: No OFD packet to send [08:20:48]OFD Sender: No OFD packet to send [08:20:53]OFD Sender: No OFD packet to send [08:20:58]OFD Sender: No OFD packet to send [08:21:03]OFD Sender: No OFD packet to send [08:21:08]OFD Sender: No OFD packet to send [08:21:13]OFD Sender: No OFD packet to send [08:21:18]OFD Sender: No OFD packet to send [08:21:23]OFD Sender: No OFD packet to send [08:21:28]OFD Sender: No OFD packet to send [08:21:33]OFD Sender: No OFD packet to send [08:21:38]OFD Sender: No OFD packet to send [08:21:43]OFD Sender: No OFD packet to send [08:21:48]OFD Sender: No OFD packet to send [08:21:53]OFD Sender: No OFD packet to send [08:21:58]OFD Sender: No OFD packet to send [08:21:59]accept exits with 9 [08:21:59]New connection [08:21:59]New thread 3067010404 created [08:21:59]Thread 3067153764 joined [08:21:59]Waiting for new connection... [08:21:59] Sock 9.Parse request [08:21:59]Sock 9.Check first char [08:21:59]Sock 9.First char is OK [08:21:59]request: POST /json_proto HTTP/1.0 [08:21:59]Method: POST [08:21:59]URL: /json_proto [08:21:59]Method is POST - this is cgi request [08:21:59]url: /json_proto [08:21:59]query_string will be loaded in cgi processing [08:21:59]execute_cgi json_proto POST (null) [08:21:59]execute_cgi path=json_proto method=POST [08:21:59]POST find Content-Length [08:21:59]Host: 172.17.54.195:8080 [08:21:59]Content-Length: 674 [08:21:59]Content-Type: application/json [08:21:59] [08:21:59]POST finish read [08:21:59]Found Content-Length = 674 [08:21:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16356", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 3.950, "sum" : 300.99, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:59]execute_script... [08:21:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16356", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 3.950, "sum" : 300.99, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:21:59]POST & json_proto [08:21:59]process_json_proto [08:21:59]json parsed OK: [08:21:59]protocol is kg_v1.0 [08:21:59]action value=close_receipt [08:21:59]process_action close_receipt [08:21:59]cmd_close_receipt [08:21:59]MH_GetDate [08:21:59]Write to MH i2c: F0 00 00 C3 04 B6 [08:21:59]Write i2c OK [08:21:59]MH_I2C_Read... [08:21:59]Read from MH i2c: F0 [08:21:59]MH_I2C_Read... [08:21:59]Read from MH i2c: F0 09 00 [08:21:59]MH_I2C_Read... [08:21:59]Read from MH i2c: F0 09 00 C3 04 00 AA EC 21 67 8D 90 A3 66 03 [08:21:59]GetLastDocTimeStamp 1730276403 [08:21:59]current date 1730276522 [08:21:59]FM_GetShiftState [08:21:59]SAM_PROTO_GetShiftState [08:21:59]wFMCommunicate request_size=4 [08:21:59]MH_SAM_APDU [08:21:59]CAPDU: 80 13 01 00 [08:21:59]Write to MH i2c: E2 08 00 C4 04 80 13 01 00 00 00 00 00 45 [08:21:59]Write i2c OK [08:21:59]MH_I2C_Read... [08:21:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:21:59]Read from MH i2c: E2 [08:21:59]MH_I2C_Read... [08:21:59]Read from MH i2c: E2 0E 00 [08:21:59]MH_I2C_Read... [08:21:59]Read from MH i2c: E2 0E 00 C4 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 8A [08:21:59]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:21:59]wFMCommunicate OK [08:21:59]SAM_PROTO_GetShiftState done [08:21:59]FM_GetShiftState done [08:21:59]opened in 1730247478 [08:21:59]opened+sec_in_day 1730333878 [08:21:59]quantity*price = 30099 [08:21:59]sum+1 = 30100 [08:21:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.99 ИТОГО: 300.00 Внесено: 1000.00 СДАЧА: 700.00 НСП 1% : 2.66 НДС 12% : 31.96 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 16 30.10.2024 08:22 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15806 ФПД: 95397232222465 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082202&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15806&fm=95397232222465&tin=02508201610067®Number=0000000000161798&sum=30000 [08:22:01]StoreToDocumentArchive [08:22:01]shift 173 fd 15806 [08:22:01]save to /storage/0173/doc_00015806 [08:22:01]save last doc name /storage/0173/doc_00015806 to /storage/kkm_last_doc_name [08:22:01]save OK [08:22:01]Clear old archive folders... [08:22:01]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:22:01]tlvbuf is 00250190 [08:22:01]SAM_PROTO_ClearQueue [08:22:01]wFMCommunicate request_size=4 [08:22:01]MH_SAM_APDU [08:22:01]CAPDU: 80 09 00 00 [08:22:01]Write to MH i2c: E2 08 00 D1 04 80 09 00 00 00 00 00 00 47 [08:22:01]Write i2c OK [08:22:01]MH_I2C_Read... [08:22:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:22:01]Read from MH i2c: E2 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 03 00 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 03 00 D1 04 00 90 00 49 [08:22:01]RAPDU: 90 00 [08:22:01]wFMCommunicate OK [08:22:01]SAM_PROTO_ClearQueue done [08:22:01]KKMCreateOFDPacket [08:22:01]OFDProtocolAddRootSTLVToBuf [08:22:01]FM_MakeSignedData [08:22:01]FM_MakeSignedData [08:22:01]SAM_PROTO_SignData [08:22:01]wFMCommunicate request_size=4 [08:22:01]MH_SAM_APDU [08:22:01]CAPDU: 80 0D 01 02 [08:22:01]Write to MH i2c: E2 08 00 D2 04 80 0D 01 02 00 00 00 00 4F [08:22:01]Write i2c OK [08:22:01]MH_I2C_Read... [08:22:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:22:01]Read from MH i2c: E2 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 03 00 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 03 00 D2 04 00 90 00 4A [08:22:01]RAPDU: 90 00 [08:22:01]wFMCommunicate OK [08:22:01]wFMCommunicate request_size=255 [08:22:01]MH_SAM_APDU [08:22:01]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 6E 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 93 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 AA EC 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BE 3D 00 00 35 04 06 00 56 C3 66 23 [08:22:01]Write to MH i2c: E2 02 01 D3 04 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 6E 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 93 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 AA EC 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BE 3D 00 00 35 04 06 00 56 C3 66 23 00 00 6A [08:22:01]Write i2c OK [08:22:01]MH_I2C_Read... [08:22:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:01]Read from MH i2c: E2 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 03 00 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 03 00 D3 04 00 90 00 4B [08:22:01]RAPDU: 90 00 [08:22:01]wFMCommunicate OK [08:22:01]wFMCommunicate request_size=7 [08:22:01]MH_SAM_APDU [08:22:01]CAPDU: 80 0D 02 02 02 A1 01 [08:22:01]Write to MH i2c: E2 0A 00 D4 04 80 0D 02 02 02 00 A1 01 00 00 F8 [08:22:01]Write i2c OK [08:22:01]MH_I2C_Read... [08:22:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:22:01]Read from MH i2c: E2 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 03 00 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 03 00 D4 04 00 90 00 4C [08:22:01]RAPDU: 90 00 [08:22:01]wFMCommunicate OK [08:22:01]wFMCommunicate request_size=4 [08:22:01]MH_SAM_APDU [08:22:01]CAPDU: 80 0D 03 02 [08:22:01]Write to MH i2c: E2 08 00 D5 04 80 0D 03 02 00 00 00 00 54 [08:22:01]Write i2c OK [08:22:01]MH_I2C_Read... [08:22:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:22:01]Read from MH i2c: E2 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 0B 00 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 0B 00 D5 04 00 F5 6F B7 55 B4 C1 EC 78 90 00 9E [08:22:01]RAPDU: F5 6F B7 55 B4 C1 EC 78 90 00 [08:22:01]wFMCommunicate OK [08:22:01]SAM_PROTO_SignData done [08:22:01]FM_MakeSignedData done [08:22:01]CreateOFDProtocolMessage [08:22:01]wFMCommunicate request_size=4 [08:22:01]MH_SAM_APDU [08:22:01]CAPDU: 80 11 00 00 [08:22:01]Write to MH i2c: E2 08 00 D6 04 80 11 00 00 00 00 00 00 54 [08:22:01]Write i2c OK [08:22:01]MH_I2C_Read... [08:22:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:01]Read from MH i2c: E2 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 17 00 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: E2 17 00 D6 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 A3 [08:22:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:22:01]wFMCommunicate OK [08:22:01]CreateOFDProtocolMessage done [08:22:01]OFDSenderStorePacket 15806 [08:22:01]StoreOFDPacket docnum=15806 [08:22:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 B6 2D 04 01 B0 BF 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 6E 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 93 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 AA EC 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BE 3D 00 00 35 04 06 00 56 C3 66 23 A1 01 F5 6F B7 55 B4 C1 EC 78 [08:22:01]CheckFolder [08:22:01]dirname=/storage/ofd_packets [08:22:01]CheckFolder done [08:22:01]ProducePacketName [08:22:01]name=ofd_packets/00015806 [08:22:01]NVStorageSaveData ofd_packets/00015806 [08:22:01]File name is /storage/ofd_packets/00015806 [08:22:01]Write 298 bytes [08:22:01]NVStorageSaveData done [08:22:01]OFDSenderStorePacket done [08:22:01]KKMCreateOFDPacket done [08:22:01]NVStorageSaveData kkm_last_timestamp [08:22:01]File name is /storage/kkm_last_timestamp [08:22:01]Write 4 bytes [08:22:01]NVStorageSaveData done [08:22:01]ExternCall_PrintAddStr [08:22:01]wPrintStart [08:22:01]Write to MH i2c: 01 00 00 D7 04 DB [08:22:01]Write i2c OK [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: 01 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: 01 07 00 [08:22:01]MH_I2C_Read... [08:22:01]Read from MH i2c: 01 07 00 D7 04 00 00 00 00 00 FF 0F F0 [08:22:01]RasterBufferAndPrint [08:22:01]line Счет N : (1)16356 [08:22:01]line ИНН: 02508201610067 [08:22:01]line Контрольно-Кассовый Чек [08:22:01]line ПРОДАЖА [08:22:01]line ТРК (МРК, ГНК) : 22 [08:22:01]line Товар: 2710194210 [08:22:01]line ДТ-К-5 [08:22:01]line 3.950 * 76.20 [08:22:01]line = 300.99 [08:22:01]line НДС 12% НСП 1% [08:22:01]line > о реализуемом товаре [08:22:01]line ОКРУГЛЕНИЕ: -0.99 [08:22:01]line ИТОГО: 300.00 [08:22:01]line Внесено: 1000.00 [08:22:01]line СДАЧА: 700.00 [08:22:01]line НСП 1% : 2.66 [08:22:01]line НДС 12% : 31.96 [08:22:01]line Наличными: 300.00 [08:22:01]line Безнал.: 0.00 [08:22:01]line Место: АЗС № 178 "Партнер Нефть" [08:22:01]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [08:22:01]line СНО: Общий режим [08:22:01]line Чек 16 30.10.2024 08:22 [08:22:01]line Смена: 173 ФФД: 1.0 [08:22:01]line ЗНМ: 0300000014 [08:22:01]line РНМ: 0000000000161798 [08:22:01]line Версия ККМ: v1.0 [08:22:01]line ФМ: 0000000000963325 [08:22:01]line ФД: 15806 [08:22:01]line ФПД: 95397232222465 [08:22:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082202&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15806&fm=95397232222465&tin=02508201610067®Number=0000000000161798&sum=30000 [08:22:01]OFD Sender: Processing packet 15806 [packets to send 4, broken 3] [08:22:01]ProducePacketName [08:22:01]name=ofd_packets/00015806 [08:22:01]OFD Sender: To server: pG, [08:22:01]CommunicateWithHost lk.salyk.kg:30040 [08:22:01]ConnectInit lk.salyk.kg [08:22:01]written 0, free lines is 4095 [08:22:02]Connected sock=10 [08:22:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 B6 2D 04 01 B0 BF 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 6E 0F 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 93 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 AA EC 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BE 3D 00 00 35 04 06 00 56 C3 66 23 A1 01 F5 6F B7 55 B4 C1 EC 78 [08:22:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 51 AA 47 00 0F 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BE 3D 00 00 F4 03 04 00 94 97 21 67 B6 04 01 00 00 C4 E8 4A 07 A9 12 50 07 [08:22:02]CommunicateWithHost err = 0 [08:22:02]CheckOFDResponse [08:22:02]1017 (14) - 77093643461234 [08:22:02]1041 (16) - 0000000000963325 [08:22:02]1040 (4) - 15806 [08:22:02]1012 (4) - 30.10.2024 02:19 [08:22:02]1206 (1) - 0 [08:22:02]OFD Sender: Remove packet 15806 [08:22:02]ProducePacketName [08:22:02]name=ofd_packets/00015806 [08:22:02]NVStorageDeleteData [08:22:02]Write to MH i2c: 01 00 00 02 05 07 [08:22:02]Write i2c OK [08:22:02]MH_I2C_Read... [08:22:02]Read from MH i2c: 01 [08:22:02]MH_I2C_Read... [08:22:02]Read from MH i2c: 01 07 00 [08:22:02]MH_I2C_Read... [08:22:02]Read from MH i2c: 01 07 00 02 05 00 00 00 00 00 04 0D 1F [08:22:02]RasterBufferAndPrint [08:22:02]line [08:22:02]line [08:22:02]line [08:22:02]line [08:22:02]line [08:22:02]written 0, free lines is 3339 [08:22:02]MH_Cut [08:22:02]Write to MH i2c: D1 01 00 09 05 01 E0 [08:22:02]Write i2c OK [08:22:02]MH_I2C_Read... [08:22:02]Read from MH i2c: D1 [08:22:02]MH_I2C_Read... [08:22:02]Read from MH i2c: D1 01 00 [08:22:02]MH_I2C_Read... [08:22:02]Read from MH i2c: D1 01 00 09 05 00 DF [08:22:02]Write to MH i2c: 01 00 00 0A 05 0F [08:22:02]Write i2c OK [08:22:02]MH_I2C_Read... [08:22:02]OFD Sender: No OFD packet to send [08:22:03]*** Cut start [08:22:03]*** Partial cut [08:22:03]*** CUTSNS_PIN = 1 [08:22:03]*** CUTSNS_PIN = 0 [08:22:03]*** Brake cut motor [08:22:03]Read from MH i2c: 01 [08:22:03]MH_I2C_Read... [08:22:03]*** Stop cut motor [08:22:03]*** Cut end [08:22:03]Read from MH i2c: 01 07 00 [08:22:03]MH_I2C_Read... [08:22:03]Read from MH i2c: 01 07 00 0A 05 00 00 00 00 00 FF 0F 24 [08:22:03]process_action close_receipt done [08:22:03]requested_data is exist [08:22:03]produce_requested_data [08:22:03]requested_item fm.sn is exist - process it [08:22:03]wFMCommunicate request_size=4 [08:22:03]MH_SAM_APDU [08:22:03]CAPDU: 80 11 00 00 [08:22:03]Write to MH i2c: E2 08 00 0B 05 80 11 00 00 00 00 00 00 8A [08:22:03]Write i2c OK [08:22:03]MH_I2C_Read... [08:22:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:22:03]Read from MH i2c: E2 [08:22:03]MH_I2C_Read... [08:22:03]Read from MH i2c: E2 17 00 [08:22:03]MH_I2C_Read... [08:22:03]Read from MH i2c: E2 17 00 0B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 D9 [08:22:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:22:03]wFMCommunicate OK [08:22:03]requested_item fd.num is exist - process it [08:22:03]SAM_PROTO_GetFieldsCounters [08:22:03]wFMCommunicate request_size=4 [08:22:03]MH_SAM_APDU [08:22:03]CAPDU: 80 13 00 00 [08:22:03]Write to MH i2c: E2 08 00 0C 05 80 13 00 00 00 00 00 00 8D [08:22:03]Write i2c OK [08:22:03]MH_I2C_Read... [08:22:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:22:03]Read from MH i2c: E2 [08:22:03]MH_I2C_Read... [08:22:03]Read from MH i2c: E2 62 00 [08:22:03]MH_I2C_Read... [08:22:03]Read from MH i2c: E2 62 00 0C 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BE 3D 00 00 0E 04 04 00 AD 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 89 [08:22:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BE 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:22:03]wFMCommunicate OK [08:22:03]SAM_PROTO_GetFieldsCounters done [08:22:03]requested_item shift.num is exist - process it [08:22:03]requested_item shift.opened is exist - process it [08:22:03]req_shift_opened [08:22:03]FM_GetShiftState [08:22:03]SAM_PROTO_GetShiftState [08:22:03]wFMCommunicate request_size=4 [08:22:03]MH_SAM_APDU [08:22:03]CAPDU: 80 13 01 00 [08:22:03]Write to MH i2c: E2 08 00 0D 05 80 13 01 00 00 00 00 00 8F [08:22:03]Write i2c OK [08:22:03]MH_I2C_Read... [08:22:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:22:04]Read from MH i2c: E2 [08:22:04]MH_I2C_Read... [08:22:04]Read from MH i2c: E2 0E 00 [08:22:04]MH_I2C_Read... [08:22:04]Read from MH i2c: E2 0E 00 0D 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 D4 [08:22:04]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:22:04]wFMCommunicate OK [08:22:04]SAM_PROTO_GetShiftState done [08:22:04]FM_GetShiftState done [08:22:04]req_shift_opened done [08:22:04]requested_item shift.open_date is exist - process it [08:22:04]req_shift_open_date [08:22:04]req_shift_open_date done [08:22:04]produce_requested_data done [08:22:04]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15806,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [08:22:04]process_action_free close_receipt [08:22:04]json_value_free [08:22:04]json_value_free done [08:22:04]process_json_proto returns [08:22:04]Send response to host [08:22:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15806,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [08:22:04]free response buf [08:22:04]execute_script done [08:22:04]execute_script returns [08:22:04]free content buf [08:22:04]Sock 9.Close socket [08:22:04]Sock 9.Thread stoped [08:22:07]OFD Sender: No OFD packet to send [08:22:12]OFD Sender: No OFD packet to send [08:22:17]OFD Sender: No OFD packet to send [08:22:22]OFD Sender: No OFD packet to send [08:22:27]OFD Sender: No OFD packet to send [08:22:32]OFD Sender: No OFD packet to send [08:22:37]OFD Sender: No OFD packet to send [08:22:42]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:17]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:21]accept exits with 8 [08:24:21]New connection [08:24:21]New thread 3067153764 created [08:24:21]Thread 3067010404 joined [08:24:21]Waiting for new connection... [08:24:21] Sock 8.Parse request [08:24:21]Sock 8.Check first char [08:24:21]Sock 8.First char is OK [08:24:21]request: POST /json_proto HTTP/1.0 [08:24:21]Method: POST [08:24:21]URL: /json_proto [08:24:21]Method is POST - this is cgi request [08:24:21]url: /json_proto [08:24:21]query_string will be loaded in cgi processing [08:24:21]execute_cgi json_proto POST (null) [08:24:21]execute_cgi path=json_proto method=POST [08:24:21]POST find Content-Length [08:24:21]Host: 172.17.54.195:8080 [08:24:21]Content-Length: 783 [08:24:21]Content-Type: application/json [08:24:21] [08:24:21]POST finish read [08:24:21]Found Content-Length = 783 [08:24:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16357", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 400.00, "payments": [ { "type": 1, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:21]execute_script... [08:24:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16357", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 400.00, "payments": [ { "type": 1, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:21]POST & json_proto [08:24:21]process_json_proto [08:24:21]json parsed OK: [08:24:21]protocol is kg_v1.0 [08:24:21]action value=close_receipt [08:24:21]process_action close_receipt [08:24:21]cmd_close_receipt [08:24:21]MH_GetDate [08:24:21]Write to MH i2c: F0 00 00 0E 05 02 [08:24:21]Write i2c OK [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: F0 [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: F0 09 00 [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: F0 09 00 0E 05 00 38 ED 21 67 8D 90 A3 66 DE [08:24:21]GetLastDocTimeStamp 1730276522 [08:24:21]current date 1730276664 [08:24:21]FM_GetShiftState [08:24:21]SAM_PROTO_GetShiftState [08:24:21]wFMCommunicate request_size=4 [08:24:21]MH_SAM_APDU [08:24:21]CAPDU: 80 13 01 00 [08:24:21]Write to MH i2c: E2 08 00 0F 05 80 13 01 00 00 00 00 00 91 [08:24:21]Write i2c OK [08:24:21]MH_I2C_Read... [08:24:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:21]Read from MH i2c: E2 [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: E2 0E 00 [08:24:21]MH_I2C_Read... [08:24:21]Read from MH i2c: E2 0E 00 0F 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 D6 [08:24:21]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:24:21]wFMCommunicate OK [08:24:21]SAM_PROTO_GetShiftState done [08:24:21]FM_GetShiftState done [08:24:21]opened in 1730247478 [08:24:21]opened+sec_in_day 1730333878 [08:24:21]quantity*price = 40006 [08:24:21]sum+1 = 40007 [08:24:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.06 ИТОГО: 400.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 0.00 Безнал.: 400.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 17 30.10.2024 08:24 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15807 ФПД: 223172635951845 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082424&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15807&fm=223172635951845&tin=02508201610067®Number=0000000000161798&sum=40000 [08:24:22]StoreToDocumentArchive [08:24:22]shift 173 fd 15807 [08:24:22]save to /storage/0173/doc_00015807 [08:24:22]save last doc name /storage/0173/doc_00015807 to /storage/kkm_last_doc_name [08:24:22]save OK [08:24:22]Clear old archive folders... [08:24:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:24:22]tlvbuf is 00238CD0 [08:24:22]SAM_PROTO_ClearQueue [08:24:22]wFMCommunicate request_size=4 [08:24:22]MH_SAM_APDU [08:24:22]CAPDU: 80 09 00 00 [08:24:22]Write to MH i2c: E2 08 00 1C 05 80 09 00 00 00 00 00 00 93 [08:24:22]Write i2c OK [08:24:22]MH_I2C_Read... [08:24:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:24:22]Read from MH i2c: E2 [08:24:22]MH_I2C_Read... [08:24:22]Read from MH i2c: E2 03 00 [08:24:22]MH_I2C_Read... [08:24:22]Read from MH i2c: E2 03 00 1C 05 00 90 00 95 [08:24:22]RAPDU: 90 00 [08:24:22]wFMCommunicate OK [08:24:22]SAM_PROTO_ClearQueue done [08:24:22]KKMCreateOFDPacket [08:24:22]OFDProtocolAddRootSTLVToBuf [08:24:22]FM_MakeSignedData [08:24:22]FM_MakeSignedData [08:24:22]SAM_PROTO_SignData [08:24:22]wFMCommunicate request_size=4 [08:24:22]MH_SAM_APDU [08:24:22]CAPDU: 80 0D 01 02 [08:24:22]Write to MH i2c: E2 08 00 1D 05 80 0D 01 02 00 00 00 00 9B [08:24:22]Write i2c OK [08:24:22]MH_I2C_Read... [08:24:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:24:22]Read from MH i2c: E2 [08:24:22]MH_I2C_Read... [08:24:22]Read from MH i2c: E2 03 00 [08:24:22]MH_I2C_Read... [08:24:22]Read from MH i2c: E2 03 00 1D 05 00 90 00 96 [08:24:22]RAPDU: 90 00 [08:24:22]wFMCommunicate OK [08:24:22]wFMCommunicate request_size=255 [08:24:22]MH_SAM_APDU [08:24:22]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 38 ED 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BF 3D 00 00 35 04 06 00 CA [08:24:22]Write to MH i2c: E2 02 01 1E 05 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 38 ED 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BF 3D 00 00 35 04 06 00 CA 00 00 2D [08:24:22]Write i2c OK [08:24:22]MH_I2C_Read... [08:24:22]OFD Sender: No OFD packet to send [08:24:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:22]Read from MH i2c: E2 [08:24:22]MH_I2C_Read... [08:24:22]Read from MH i2c: E2 03 00 [08:24:22]MH_I2C_Read... [08:24:22]Read from MH i2c: E2 03 00 1E 05 00 90 00 97 [08:24:22]RAPDU: 90 00 [08:24:22]wFMCommunicate OK [08:24:22]wFMCommunicate request_size=10 [08:24:22]MH_SAM_APDU [08:24:22]CAPDU: 80 0D 02 02 05 F9 6D B0 82 E5 [08:24:22]Write to MH i2c: E2 0D 00 1F 05 80 0D 02 02 05 00 F9 6D B0 82 E5 00 00 25 [08:24:22]Write i2c OK [08:24:22]MH_I2C_Read... [08:24:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:23]Read from MH i2c: E2 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 03 00 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 03 00 1F 05 00 90 00 98 [08:24:23]RAPDU: 90 00 [08:24:23]wFMCommunicate OK [08:24:23]wFMCommunicate request_size=4 [08:24:23]MH_SAM_APDU [08:24:23]CAPDU: 80 0D 03 02 [08:24:23]Write to MH i2c: E2 08 00 20 05 80 0D 03 02 00 00 00 00 A0 [08:24:23]Write i2c OK [08:24:23]MH_I2C_Read... [08:24:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:24:23]Read from MH i2c: E2 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 0B 00 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 0B 00 20 05 00 E7 B3 33 E6 CB C4 1F CF 90 00 D1 [08:24:23]RAPDU: E7 B3 33 E6 CB C4 1F CF 90 00 [08:24:23]wFMCommunicate OK [08:24:23]SAM_PROTO_SignData done [08:24:23]FM_MakeSignedData done [08:24:23]CreateOFDProtocolMessage [08:24:23]wFMCommunicate request_size=4 [08:24:23]MH_SAM_APDU [08:24:23]CAPDU: 80 11 00 00 [08:24:23]Write to MH i2c: E2 08 00 21 05 80 11 00 00 00 00 00 00 A0 [08:24:23]Write i2c OK [08:24:23]MH_I2C_Read... [08:24:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:23]Read from MH i2c: E2 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 17 00 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: E2 17 00 21 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 EF [08:24:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:24:23]wFMCommunicate OK [08:24:23]CreateOFDProtocolMessage done [08:24:23]OFDSenderStorePacket 15807 [08:24:23]StoreOFDPacket docnum=15807 [08:24:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 20 3A 07 01 C0 96 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 38 ED 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BF 3D 00 00 35 04 06 00 CA F9 6D B0 82 E5 E7 B3 33 E6 CB C4 1F CF [08:24:23]CheckFolder [08:24:23]dirname=/storage/ofd_packets [08:24:23]CheckFolder done [08:24:23]ProducePacketName [08:24:23]name=ofd_packets/00015807 [08:24:23]NVStorageSaveData ofd_packets/00015807 [08:24:23]File name is /storage/ofd_packets/00015807 [08:24:23]Write 301 bytes [08:24:23]NVStorageSaveData done [08:24:23]OFDSenderStorePacket done [08:24:23]KKMCreateOFDPacket done [08:24:23]NVStorageSaveData kkm_last_timestamp [08:24:23]File name is /storage/kkm_last_timestamp [08:24:23]Write 4 bytes [08:24:23]NVStorageSaveData done [08:24:23]ExternCall_PrintAddStr [08:24:23]wPrintStart [08:24:23]Write to MH i2c: 01 00 00 22 05 27 [08:24:23]Write i2c OK [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: 01 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: 01 07 00 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: 01 07 00 22 05 00 00 00 00 00 FF 0F 3C [08:24:23]RasterBufferAndPrint [08:24:23]line Счет N : (1)16357 [08:24:23]line ИНН: 02508201610067 [08:24:23]line Контрольно-Кассовый Чек [08:24:23]line ПРОДАЖА [08:24:23]line ТРК (МРК, ГНК) : 21 [08:24:23]line Товар: 2710124130 [08:24:23]line Аи-92-К-5 [08:24:23]line 5.980 * 66.90 [08:24:23]line = 400.06 [08:24:23]line НДС 12% НСП 1% [08:24:23]line > о реализуемом товаре [08:24:23]line ОКРУГЛЕНИЕ: -0.06 [08:24:23]line ИТОГО: 400.00 [08:24:23]line НСП 1% : 3.54 [08:24:23]line НДС 12% : 42.48 [08:24:23]line Наличными: 0.00 [08:24:23]line Безнал.: 400.00 [08:24:23]line Место: АЗС № 178 "Партнер Нефть" [08:24:23]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [08:24:23]line СНО: Общий режим [08:24:23]line Чек 17 30.10.2024 08:24 [08:24:23]line Смена: 173 ФФД: 1.0 [08:24:23]line ЗНМ: 0300000014 [08:24:23]line РНМ: 0000000000161798 [08:24:23]line Версия ККМ: v1.0 [08:24:23]line Платежная система: Mbank [08:24:23]line ФМ: 0000000000963325 [08:24:23]line ФД: 15807 [08:24:23]line ФПД: 223172635951845 [08:24:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082424&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15807&fm=223172635951845&tin=02508201610067®Number=0000000000161798&sum=40000 [08:24:23]OFD Sender: Processing packet 15807 [packets to send 4, broken 3] [08:24:23]ProducePacketName [08:24:23]name=ofd_packets/00015807 [08:24:23]OFD Sender: To server: pG, [08:24:23]CommunicateWithHost lk.salyk.kg:30040 [08:24:23]ConnectInit lk.salyk.kg [08:24:23]written 0, free lines is 4095 [08:24:23]Connected sock=10 [08:24:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 20 3A 07 01 C0 96 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 9C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 38 ED 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BF 3D 00 00 35 04 06 00 CA F9 6D B0 82 E5 E7 B3 33 E6 CB C4 1F CF [08:24:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 3A 68 47 00 59 60 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 BF 3D 00 00 F4 03 04 00 22 98 21 67 B6 04 01 00 00 26 BD CE 58 17 B7 99 53 [08:24:23]CommunicateWithHost err = 0 [08:24:23]CheckOFDResponse [08:24:23]1017 (14) - 77093643461234 [08:24:23]1041 (16) - 0000000000963325 [08:24:23]1040 (4) - 15807 [08:24:23]1012 (4) - 30.10.2024 02:21 [08:24:23]1206 (1) - 0 [08:24:23]OFD Sender: Remove packet 15807 [08:24:23]ProducePacketName [08:24:23]name=ofd_packets/00015807 [08:24:23]NVStorageDeleteData [08:24:23]Write to MH i2c: 01 00 00 4C 05 51 [08:24:23]Write i2c OK [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: 01 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: 01 07 00 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: 01 07 00 4C 05 00 00 00 00 00 18 0D 7D [08:24:23]RasterBufferAndPrint [08:24:23]line [08:24:23]line [08:24:23]line [08:24:23]line [08:24:23]line [08:24:23]written 0, free lines is 3359 [08:24:23]MH_Cut [08:24:23]Write to MH i2c: D1 01 00 53 05 01 2A [08:24:23]Write i2c OK [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: D1 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: D1 01 00 [08:24:23]MH_I2C_Read... [08:24:23]Read from MH i2c: D1 01 00 53 05 00 29 [08:24:23]Write to MH i2c: 01 00 00 54 05 59 [08:24:23]Write i2c OK [08:24:23]MH_I2C_Read... [08:24:24]OFD Sender: No OFD packet to send [08:24:24]*** Cut start [08:24:24]*** Partial cut [08:24:24]*** CUTSNS_PIN = 1 [08:24:24]*** CUTSNS_PIN = 0 [08:24:24]*** Brake cut motor [08:24:25]Read from MH i2c: 01 [08:24:25]MH_I2C_Read... [08:24:25]*** Stop cut motor [08:24:25]*** Cut end [08:24:25]Read from MH i2c: 01 07 00 [08:24:25]MH_I2C_Read... [08:24:25]Read from MH i2c: 01 07 00 54 05 00 00 00 00 00 FF 0F 6E [08:24:25]process_action close_receipt done [08:24:25]requested_data is exist [08:24:25]produce_requested_data [08:24:25]requested_item fm.sn is exist - process it [08:24:25]wFMCommunicate request_size=4 [08:24:25]MH_SAM_APDU [08:24:25]CAPDU: 80 11 00 00 [08:24:25]Write to MH i2c: E2 08 00 55 05 80 11 00 00 00 00 00 00 D4 [08:24:25]Write i2c OK [08:24:25]MH_I2C_Read... [08:24:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:25]Read from MH i2c: E2 [08:24:25]MH_I2C_Read... [08:24:25]Read from MH i2c: E2 17 00 [08:24:25]MH_I2C_Read... [08:24:25]Read from MH i2c: E2 17 00 55 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 23 [08:24:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:24:25]wFMCommunicate OK [08:24:25]requested_item fd.num is exist - process it [08:24:25]SAM_PROTO_GetFieldsCounters [08:24:25]wFMCommunicate request_size=4 [08:24:25]MH_SAM_APDU [08:24:25]CAPDU: 80 13 00 00 [08:24:25]Write to MH i2c: E2 08 00 56 05 80 13 00 00 00 00 00 00 D7 [08:24:25]Write i2c OK [08:24:25]MH_I2C_Read... [08:24:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:24:25]Read from MH i2c: E2 [08:24:25]MH_I2C_Read... [08:24:25]Read from MH i2c: E2 62 00 [08:24:25]MH_I2C_Read... [08:24:25]Read from MH i2c: E2 62 00 56 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BF 3D 00 00 0E 04 04 00 AD 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 D7 [08:24:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 BF 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:24:25]wFMCommunicate OK [08:24:25]SAM_PROTO_GetFieldsCounters done [08:24:25]requested_item shift.num is exist - process it [08:24:25]requested_item shift.opened is exist - process it [08:24:25]req_shift_opened [08:24:25]FM_GetShiftState [08:24:25]SAM_PROTO_GetShiftState [08:24:25]wFMCommunicate request_size=4 [08:24:25]MH_SAM_APDU [08:24:25]CAPDU: 80 13 01 00 [08:24:25]Write to MH i2c: E2 08 00 57 05 80 13 01 00 00 00 00 00 D9 [08:24:25]Write i2c OK [08:24:25]MH_I2C_Read... [08:24:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:25]Read from MH i2c: E2 [08:24:25]MH_I2C_Read... [08:24:25]Read from MH i2c: E2 0E 00 [08:24:25]MH_I2C_Read... [08:24:25]Read from MH i2c: E2 0E 00 57 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 1E [08:24:25]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:24:25]wFMCommunicate OK [08:24:25]SAM_PROTO_GetShiftState done [08:24:25]FM_GetShiftState done [08:24:25]req_shift_opened done [08:24:25]requested_item shift.open_date is exist - process it [08:24:25]req_shift_open_date [08:24:25]req_shift_open_date done [08:24:25]produce_requested_data done [08:24:25]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15807,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [08:24:25]process_action_free close_receipt [08:24:25]json_value_free [08:24:25]json_value_free done [08:24:25]process_json_proto returns [08:24:25]Send response to host [08:24:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15807,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [08:24:25]free response buf [08:24:25]execute_script done [08:24:25]execute_script returns [08:24:25]free content buf [08:24:25]Sock 8.Close socket [08:24:25]Sock 8.Thread stoped [08:24:29]OFD Sender: No OFD packet to send [08:24:34]OFD Sender: No OFD packet to send [08:24:39]OFD Sender: No OFD packet to send [08:24:44]OFD Sender: No OFD packet to send [08:24:49]OFD Sender: No OFD packet to send [08:24:54]OFD Sender: No OFD packet to send [08:24:56]accept exits with 9 [08:24:56]New connection [08:24:56]New thread 3067010404 created [08:24:56]Thread 3067153764 joined [08:24:56]Waiting for new connection... [08:24:56] Sock 9.Parse request [08:24:56]Sock 9.Check first char [08:24:56]Sock 9.First char is OK [08:24:56]request: POST /json_proto HTTP/1.0 [08:24:56]Method: POST [08:24:56]URL: /json_proto [08:24:56]Method is POST - this is cgi request [08:24:56]url: /json_proto [08:24:56]query_string will be loaded in cgi processing [08:24:56]execute_cgi json_proto POST (null) [08:24:56]execute_cgi path=json_proto method=POST [08:24:56]POST find Content-Length [08:24:56]Host: 172.17.54.195:8080 [08:24:56]Content-Length: 676 [08:24:56]Content-Type: application/json [08:24:56] [08:24:56]POST finish read [08:24:56]Found Content-Length = 676 [08:24:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16358", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:56]execute_script... [08:24:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16358", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.980, "sum" : 400.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:24:56]POST & json_proto [08:24:56]process_json_proto [08:24:56]json parsed OK: [08:24:56]protocol is kg_v1.0 [08:24:56]action value=close_receipt [08:24:56]process_action close_receipt [08:24:56]cmd_close_receipt [08:24:56]MH_GetDate [08:24:56]Write to MH i2c: F0 00 00 58 05 4C [08:24:56]Write i2c OK [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: F0 [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: F0 09 00 [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: F0 09 00 58 05 00 5A ED 21 67 8D 90 A3 66 4A [08:24:56]GetLastDocTimeStamp 1730276664 [08:24:56]current date 1730276698 [08:24:56]FM_GetShiftState [08:24:56]SAM_PROTO_GetShiftState [08:24:56]wFMCommunicate request_size=4 [08:24:56]MH_SAM_APDU [08:24:56]CAPDU: 80 13 01 00 [08:24:56]Write to MH i2c: E2 08 00 59 05 80 13 01 00 00 00 00 00 DB [08:24:56]Write i2c OK [08:24:56]MH_I2C_Read... [08:24:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:24:56]Read from MH i2c: E2 [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: E2 0E 00 [08:24:56]MH_I2C_Read... [08:24:56]Read from MH i2c: E2 0E 00 59 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 20 [08:24:56]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:24:56]wFMCommunicate OK [08:24:56]SAM_PROTO_GetShiftState done [08:24:56]FM_GetShiftState done [08:24:56]opened in 1730247478 [08:24:56]opened+sec_in_day 1730333878 [08:24:56]quantity*price = 40006 [08:24:56]sum+1 = 40007 [08:24:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.06 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 18 30.10.2024 08:24 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15808 ФПД: 15862643653213 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082458&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15808&fm=15862643653213&tin=02508201610067®Number=0000000000161798&sum=40000 [08:24:57]StoreToDocumentArchive [08:24:57]shift 173 fd 15808 [08:24:57]save to /storage/0173/doc_00015808 [08:24:57]save last doc name /storage/0173/doc_00015808 to /storage/kkm_last_doc_name [08:24:57]save OK [08:24:57]Clear old archive folders... [08:24:57]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:24:57]tlvbuf is 002298F0 [08:24:57]SAM_PROTO_ClearQueue [08:24:57]wFMCommunicate request_size=4 [08:24:57]MH_SAM_APDU [08:24:57]CAPDU: 80 09 00 00 [08:24:57]Write to MH i2c: E2 08 00 66 05 80 09 00 00 00 00 00 00 DD [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:24:57]Read from MH i2c: E2 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 66 05 00 90 00 DF [08:24:57]RAPDU: 90 00 [08:24:57]wFMCommunicate OK [08:24:57]SAM_PROTO_ClearQueue done [08:24:57]KKMCreateOFDPacket [08:24:57]OFDProtocolAddRootSTLVToBuf [08:24:57]FM_MakeSignedData [08:24:57]FM_MakeSignedData [08:24:57]SAM_PROTO_SignData [08:24:57]wFMCommunicate request_size=4 [08:24:57]MH_SAM_APDU [08:24:57]CAPDU: 80 0D 01 02 [08:24:57]Write to MH i2c: E2 08 00 67 05 80 0D 01 02 00 00 00 00 E5 [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:24:57]Read from MH i2c: E2 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 67 05 00 90 00 E0 [08:24:57]RAPDU: 90 00 [08:24:57]wFMCommunicate OK [08:24:57]wFMCommunicate request_size=255 [08:24:57]MH_SAM_APDU [08:24:57]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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 5A ED 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C0 3D 00 00 35 04 06 00 0E [08:24:57]Write to MH i2c: E2 02 01 68 05 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 5A ED 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C0 3D 00 00 35 04 06 00 0E 00 00 DF [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:57]Read from MH i2c: E2 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 68 05 00 90 00 E1 [08:24:57]RAPDU: 90 00 [08:24:57]wFMCommunicate OK [08:24:57]wFMCommunicate request_size=10 [08:24:57]MH_SAM_APDU [08:24:57]CAPDU: 80 0D 02 02 05 6D 4F 3D 7A 5D [08:24:57]Write to MH i2c: E2 0D 00 69 05 80 0D 02 02 05 00 6D 4F 3D 7A 5D 00 00 C2 [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:24:57]Read from MH i2c: E2 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 03 00 69 05 00 90 00 E2 [08:24:57]RAPDU: 90 00 [08:24:57]wFMCommunicate OK [08:24:57]wFMCommunicate request_size=4 [08:24:57]MH_SAM_APDU [08:24:57]CAPDU: 80 0D 03 02 [08:24:57]Write to MH i2c: E2 08 00 6A 05 80 0D 03 02 00 00 00 00 EA [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:24:57]Read from MH i2c: E2 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 0B 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 0B 00 6A 05 00 B9 3C 24 B6 A1 42 9B 5D 90 00 95 [08:24:57]RAPDU: B9 3C 24 B6 A1 42 9B 5D 90 00 [08:24:57]wFMCommunicate OK [08:24:57]SAM_PROTO_SignData done [08:24:57]FM_MakeSignedData done [08:24:57]CreateOFDProtocolMessage [08:24:57]wFMCommunicate request_size=4 [08:24:57]MH_SAM_APDU [08:24:57]CAPDU: 80 11 00 00 [08:24:57]Write to MH i2c: E2 08 00 6B 05 80 11 00 00 00 00 00 00 EA [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:24:57]Read from MH i2c: E2 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 17 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: E2 17 00 6B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 39 [08:24:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:24:57]wFMCommunicate OK [08:24:57]CreateOFDProtocolMessage done [08:24:57]OFDSenderStorePacket 15808 [08:24:57]StoreOFDPacket docnum=15808 [08:24:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 3F 68 07 01 54 96 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 5A ED 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C0 3D 00 00 35 04 06 00 0E 6D 4F 3D 7A 5D B9 3C 24 B6 A1 42 9B 5D [08:24:57]CheckFolder [08:24:57]dirname=/storage/ofd_packets [08:24:57]CheckFolder done [08:24:57]ProducePacketName [08:24:57]name=ofd_packets/00015808 [08:24:57]NVStorageSaveData ofd_packets/00015808 [08:24:57]File name is /storage/ofd_packets/00015808 [08:24:57]Write 301 bytes [08:24:57]NVStorageSaveData done [08:24:57]OFDSenderStorePacket done [08:24:57]KKMCreateOFDPacket done [08:24:57]NVStorageSaveData kkm_last_timestamp [08:24:57]File name is /storage/kkm_last_timestamp [08:24:57]Write 4 bytes [08:24:57]NVStorageSaveData done [08:24:57]ExternCall_PrintAddStr [08:24:57]wPrintStart [08:24:57]Write to MH i2c: 01 00 00 6C 05 71 [08:24:57]Write i2c OK [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: 01 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: 01 07 00 [08:24:57]MH_I2C_Read... [08:24:57]Read from MH i2c: 01 07 00 6C 05 00 00 00 00 00 FF 0F 86 [08:24:57]RasterBufferAndPrint [08:24:57]line Счет N : (1)16358 [08:24:57]line ИНН: 02508201610067 [08:24:57]line Контрольно-Кассовый Чек [08:24:57]line ПРОДАЖА [08:24:57]line ТРК (МРК, ГНК) : 21 [08:24:57]line Товар: 2710124130 [08:24:57]line Аи-92-К-5 [08:24:57]line 5.980 * 66.90 [08:24:57]line = 400.06 [08:24:57]line НДС 12% НСП 1% [08:24:57]line > о реализуемом товаре [08:24:57]line ОКРУГЛЕНИЕ: -0.06 [08:24:57]line ИТОГО: 400.00 [08:24:57]line Внесено: 400.00 [08:24:57]line СДАЧА: 0.00 [08:24:57]line НСП 1% : 3.54 [08:24:57]line НДС 12% : 42.48 [08:24:57]line Наличными: 400.00 [08:24:57]line Безнал.: 0.00 [08:24:57]line Место: АЗС № 178 "Партнер Нефть" [08:24:57]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [08:24:57]line СНО: Общий режим [08:24:57]line Чек 18 30.10.2024 08:24 [08:24:57]line Смена: 173 ФФД: 1.0 [08:24:57]line ЗНМ: 0300000014 [08:24:57]line РНМ: 0000000000161798 [08:24:57]line Версия ККМ: v1.0 [08:24:57]line ФМ: 0000000000963325 [08:24:57]line ФД: 15808 [08:24:57]line ФПД: 15862643653213 [08:24:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082458&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15808&fm=15862643653213&tin=02508201610067®Number=0000000000161798&sum=40000 [08:24:58]OFD Sender: Processing packet 15808 [packets to send 4, broken 3] [08:24:58]ProducePacketName [08:24:58]name=ofd_packets/00015808 [08:24:58]OFD Sender: To server: pG, [08:24:58]CommunicateWithHost lk.salyk.kg:30040 [08:24:58]ConnectInit lk.salyk.kg [08:24:58]written 0, free lines is 4095 [08:24:58]Connected sock=10 [08:24:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 3F 68 07 01 54 96 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 5C 17 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 46 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 5A ED 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C0 3D 00 00 35 04 06 00 0E 6D 4F 3D 7A 5D B9 3C 24 B6 A1 42 9B 5D [08:24:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 A9 C1 47 00 6F 44 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C0 3D 00 00 F4 03 04 00 45 98 21 67 B6 04 01 00 00 32 D3 7B BD BB 1D 6F 5D [08:24:58]CommunicateWithHost err = 0 [08:24:58]CheckOFDResponse [08:24:58]1017 (14) - 77093643461234 [08:24:58]1041 (16) - 0000000000963325 [08:24:58]1040 (4) - 15808 [08:24:58]1012 (4) - 30.10.2024 02:21 [08:24:58]1206 (1) - 0 [08:24:58]OFD Sender: Remove packet 15808 [08:24:58]ProducePacketName [08:24:58]name=ofd_packets/00015808 [08:24:58]NVStorageDeleteData [08:24:58]Write to MH i2c: 01 00 00 97 05 9C [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: 01 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: 01 07 00 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: 01 07 00 97 05 00 00 00 00 00 FB 0C AA [08:24:58]RasterBufferAndPrint [08:24:58]line [08:24:58]line [08:24:58]line [08:24:58]line [08:24:58]line [08:24:58]written 0, free lines is 3329 [08:24:58]MH_Cut [08:24:58]Write to MH i2c: D1 01 00 9E 05 01 75 [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: D1 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: D1 01 00 [08:24:58]MH_I2C_Read... [08:24:58]Read from MH i2c: D1 01 00 9E 05 00 74 [08:24:58]Write to MH i2c: 01 00 00 9F 05 A4 [08:24:58]Write i2c OK [08:24:58]MH_I2C_Read... [08:24:59]OFD Sender: No OFD packet to send [08:24:59]*** Cut start [08:24:59]*** Partial cut [08:24:59]*** CUTSNS_PIN = 1 [08:24:59]*** CUTSNS_PIN = 0 [08:24:59]*** Brake cut motor [08:25:00]Read from MH i2c: 01 [08:25:00]MH_I2C_Read... [08:25:00]*** Stop cut motor [08:25:00]*** Cut end [08:25:00]Read from MH i2c: 01 07 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: 01 07 00 9F 05 00 00 00 00 00 FF 0F B9 [08:25:00]process_action close_receipt done [08:25:00]requested_data is exist [08:25:00]produce_requested_data [08:25:00]requested_item fm.sn is exist - process it [08:25:00]wFMCommunicate request_size=4 [08:25:00]MH_SAM_APDU [08:25:00]CAPDU: 80 11 00 00 [08:25:00]Write to MH i2c: E2 08 00 A0 05 80 11 00 00 00 00 00 00 1F [08:25:00]Write i2c OK [08:25:00]MH_I2C_Read... [08:25:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:00]Read from MH i2c: E2 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 17 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 17 00 A0 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 6E [08:25:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:25:00]wFMCommunicate OK [08:25:00]requested_item fd.num is exist - process it [08:25:00]SAM_PROTO_GetFieldsCounters [08:25:00]wFMCommunicate request_size=4 [08:25:00]MH_SAM_APDU [08:25:00]CAPDU: 80 13 00 00 [08:25:00]Write to MH i2c: E2 08 00 A1 05 80 13 00 00 00 00 00 00 22 [08:25:00]Write i2c OK [08:25:00]MH_I2C_Read... [08:25:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:25:00]Read from MH i2c: E2 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 62 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 62 00 A1 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C0 3D 00 00 0E 04 04 00 AD 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 26 [08:25:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C0 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:25:00]wFMCommunicate OK [08:25:00]SAM_PROTO_GetFieldsCounters done [08:25:00]requested_item shift.num is exist - process it [08:25:00]requested_item shift.opened is exist - process it [08:25:00]req_shift_opened [08:25:00]FM_GetShiftState [08:25:00]SAM_PROTO_GetShiftState [08:25:00]wFMCommunicate request_size=4 [08:25:00]MH_SAM_APDU [08:25:00]CAPDU: 80 13 01 00 [08:25:00]Write to MH i2c: E2 08 00 A2 05 80 13 01 00 00 00 00 00 24 [08:25:00]Write i2c OK [08:25:00]MH_I2C_Read... [08:25:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:00]Read from MH i2c: E2 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 0E 00 [08:25:00]MH_I2C_Read... [08:25:00]Read from MH i2c: E2 0E 00 A2 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 69 [08:25:00]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:25:00]wFMCommunicate OK [08:25:00]SAM_PROTO_GetShiftState done [08:25:00]FM_GetShiftState done [08:25:00]req_shift_opened done [08:25:00]requested_item shift.open_date is exist - process it [08:25:00]req_shift_open_date [08:25:00]req_shift_open_date done [08:25:00]produce_requested_data done [08:25:00]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15808,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [08:25:00]process_action_free close_receipt [08:25:00]json_value_free [08:25:00]json_value_free done [08:25:00]process_json_proto returns [08:25:00]Send response to host [08:25:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15808,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [08:25:00]free response buf [08:25:00]execute_script done [08:25:00]execute_script returns [08:25:00]free content buf [08:25:00]Sock 9.Close socket [08:25:00]Sock 9.Thread stoped [08:25:04]OFD Sender: No OFD packet to send [08:25:09]OFD Sender: No OFD packet to send [08:25:14]OFD Sender: No OFD packet to send [08:25:19]OFD Sender: No OFD packet to send [08:25:24]OFD Sender: No OFD packet to send [08:25:29]OFD Sender: No OFD packet to send [08:25:34]OFD Sender: No OFD packet to send [08:25:39]OFD Sender: No OFD packet to send [08:25:44]OFD Sender: No OFD packet to send [08:25:49]OFD Sender: No OFD packet to send [08:25:54]OFD Sender: No OFD packet to send [08:25:59]OFD Sender: No OFD packet to send [08:26:04]OFD Sender: No OFD packet to send [08:26:09]OFD Sender: No OFD packet to send [08:26:14]OFD Sender: No OFD packet to send [08:26:19]OFD Sender: No OFD packet to send [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:54]OFD Sender: No OFD packet to send [08:26:59]OFD Sender: No OFD packet to send [08:27:04]OFD Sender: No OFD packet to send [08:27:09]OFD Sender: No OFD packet to send [08:27:14]OFD Sender: No OFD packet to send [08:27:19]OFD Sender: No OFD packet to send [08:27:24]OFD Sender: No OFD packet to send [08:27:29]OFD Sender: No OFD packet to send [08:27:34]OFD Sender: No OFD packet to send [08:27:39]OFD Sender: No OFD packet to send [08:27:44]OFD Sender: No OFD packet to send [08:27:49]OFD Sender: No OFD packet to send [08:27:54]OFD Sender: No OFD packet to send [08:27:59]OFD Sender: No OFD packet to send [08:28:04]OFD Sender: No OFD packet to send [08:28:09]OFD Sender: No OFD packet to send [08:28:14]OFD Sender: No OFD packet to send [08:28:19]OFD Sender: No OFD packet to send [08:28:24]OFD Sender: No OFD packet to send [08:28:29]OFD Sender: No OFD packet to send [08:28:34]OFD Sender: No OFD packet to send [08:28:39]OFD Sender: No OFD packet to send [08:28:44]OFD Sender: No OFD packet to send [08:28:49]OFD Sender: No OFD packet to send [08:28:54]OFD Sender: No OFD packet to send [08:28:59]OFD Sender: No OFD packet to send [08:29:04]OFD Sender: No OFD packet to send [08:29:09]OFD Sender: No OFD packet to send [08:29:10]accept exits with 8 [08:29:10]New connection [08:29:10]New thread 3067153764 created [08:29:10]Thread 3067010404 joined [08:29:10]Waiting for new connection... [08:29:10] Sock 8.Parse request [08:29:10]Sock 8.Check first char [08:29:10]Sock 8.First char is OK [08:29:10]request: POST /json_proto HTTP/1.0 [08:29:10]Method: POST [08:29:10]URL: /json_proto [08:29:10]Method is POST - this is cgi request [08:29:10]url: /json_proto [08:29:10]query_string will be loaded in cgi processing [08:29:10]execute_cgi json_proto POST (null) [08:29:10]execute_cgi path=json_proto method=POST [08:29:10]POST find Content-Length [08:29:10]Host: 172.17.54.195:8080 [08:29:10]Content-Length: 678 [08:29:10]Content-Type: application/json [08:29:10] [08:29:10]POST finish read [08:29:10]Found Content-Length = 678 [08:29:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16359", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:10]execute_script... [08:29:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16359", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:10]POST & json_proto [08:29:10]process_json_proto [08:29:10]json parsed OK: [08:29:10]protocol is kg_v1.0 [08:29:10]action value=close_receipt [08:29:10]process_action close_receipt [08:29:10]cmd_close_receipt [08:29:10]MH_GetDate [08:29:10]Write to MH i2c: F0 00 00 A3 05 97 [08:29:10]Write i2c OK [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: F0 [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: F0 09 00 [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: F0 09 00 A3 05 00 59 EE 21 67 8D 90 A3 66 95 [08:29:10]GetLastDocTimeStamp 1730276698 [08:29:10]current date 1730276953 [08:29:10]FM_GetShiftState [08:29:10]SAM_PROTO_GetShiftState [08:29:10]wFMCommunicate request_size=4 [08:29:10]MH_SAM_APDU [08:29:10]CAPDU: 80 13 01 00 [08:29:10]Write to MH i2c: E2 08 00 A4 05 80 13 01 00 00 00 00 00 26 [08:29:10]Write i2c OK [08:29:10]MH_I2C_Read... [08:29:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:11]Read from MH i2c: E2 [08:29:11]MH_I2C_Read... [08:29:11]Read from MH i2c: E2 0E 00 [08:29:11]MH_I2C_Read... [08:29:11]Read from MH i2c: E2 0E 00 A4 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 6B [08:29:11]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:29:11]wFMCommunicate OK [08:29:11]SAM_PROTO_GetShiftState done [08:29:11]FM_GetShiftState done [08:29:11]opened in 1730247478 [08:29:11]opened+sec_in_day 1730333878 [08:29:11]quantity*price = 100050 [08:29:11]sum+1 = 100052 [08:29:11]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 19 30.10.2024 08:29 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15809 ФПД: 5043328058954 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082913&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15809&fm=5043328058954&tin=02508201610067®Number=0000000000161798&sum=100000 [08:29:12]StoreToDocumentArchive [08:29:12]shift 173 fd 15809 [08:29:12]save to /storage/0173/doc_00015809 [08:29:12]save last doc name /storage/0173/doc_00015809 to /storage/kkm_last_doc_name [08:29:12]save OK [08:29:12]Clear old archive folders... [08:29:12]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:29:12]tlvbuf is 00227E00 [08:29:12]SAM_PROTO_ClearQueue [08:29:12]wFMCommunicate request_size=4 [08:29:12]MH_SAM_APDU [08:29:12]CAPDU: 80 09 00 00 [08:29:12]Write to MH i2c: E2 08 00 B1 05 80 09 00 00 00 00 00 00 28 [08:29:12]Write i2c OK [08:29:12]MH_I2C_Read... [08:29:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:29:12]Read from MH i2c: E2 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 03 00 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 03 00 B1 05 00 90 00 2A [08:29:12]RAPDU: 90 00 [08:29:12]wFMCommunicate OK [08:29:12]SAM_PROTO_ClearQueue done [08:29:12]KKMCreateOFDPacket [08:29:12]OFDProtocolAddRootSTLVToBuf [08:29:12]FM_MakeSignedData [08:29:12]FM_MakeSignedData [08:29:12]SAM_PROTO_SignData [08:29:12]wFMCommunicate request_size=4 [08:29:12]MH_SAM_APDU [08:29:12]CAPDU: 80 0D 01 02 [08:29:12]Write to MH i2c: E2 08 00 B2 05 80 0D 01 02 00 00 00 00 30 [08:29:12]Write i2c OK [08:29:12]MH_I2C_Read... [08:29:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:29:12]Read from MH i2c: E2 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 03 00 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 03 00 B2 05 00 90 00 2B [08:29:12]RAPDU: 90 00 [08:29:12]wFMCommunicate OK [08:29:12]wFMCommunicate request_size=255 [08:29:12]MH_SAM_APDU [08:29:12]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 59 EE 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C1 3D 00 00 35 04 06 00 04 96 3D C7 [08:29:12]Write to MH i2c: E2 02 01 B3 05 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 59 EE 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C1 3D 00 00 35 04 06 00 04 96 3D C7 00 00 E3 [08:29:12]Write i2c OK [08:29:12]MH_I2C_Read... [08:29:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:12]Read from MH i2c: E2 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 03 00 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 03 00 B3 05 00 90 00 2C [08:29:12]RAPDU: 90 00 [08:29:12]wFMCommunicate OK [08:29:12]wFMCommunicate request_size=7 [08:29:12]MH_SAM_APDU [08:29:12]CAPDU: 80 0D 02 02 02 06 4A [08:29:12]Write to MH i2c: E2 0A 00 B4 05 80 0D 02 02 02 00 06 4A 00 00 87 [08:29:12]Write i2c OK [08:29:12]MH_I2C_Read... [08:29:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:12]Read from MH i2c: E2 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 03 00 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 03 00 B4 05 00 90 00 2D [08:29:12]RAPDU: 90 00 [08:29:12]wFMCommunicate OK [08:29:12]wFMCommunicate request_size=4 [08:29:12]MH_SAM_APDU [08:29:12]CAPDU: 80 0D 03 02 [08:29:12]Write to MH i2c: E2 08 00 B5 05 80 0D 03 02 00 00 00 00 35 [08:29:12]Write i2c OK [08:29:12]MH_I2C_Read... [08:29:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:29:12]Read from MH i2c: E2 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 0B 00 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 0B 00 B5 05 00 A1 40 33 90 0E D8 B9 1E 90 00 97 [08:29:12]RAPDU: A1 40 33 90 0E D8 B9 1E 90 00 [08:29:12]wFMCommunicate OK [08:29:12]SAM_PROTO_SignData done [08:29:12]FM_MakeSignedData done [08:29:12]CreateOFDProtocolMessage [08:29:12]wFMCommunicate request_size=4 [08:29:12]MH_SAM_APDU [08:29:12]CAPDU: 80 11 00 00 [08:29:12]Write to MH i2c: E2 08 00 B6 05 80 11 00 00 00 00 00 00 35 [08:29:12]Write i2c OK [08:29:12]MH_I2C_Read... [08:29:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:12]Read from MH i2c: E2 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 17 00 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: E2 17 00 B6 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 84 [08:29:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:29:12]wFMCommunicate OK [08:29:12]CreateOFDProtocolMessage done [08:29:12]OFDSenderStorePacket 15809 [08:29:12]StoreOFDPacket docnum=15809 [08:29:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 1D 64 04 01 42 26 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 59 EE 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C1 3D 00 00 35 04 06 00 04 96 3D C7 06 4A A1 40 33 90 0E D8 B9 1E [08:29:12]CheckFolder [08:29:12]dirname=/storage/ofd_packets [08:29:12]CheckFolder done [08:29:12]ProducePacketName [08:29:12]name=ofd_packets/00015809 [08:29:12]NVStorageSaveData ofd_packets/00015809 [08:29:12]File name is /storage/ofd_packets/00015809 [08:29:12]Write 298 bytes [08:29:12]NVStorageSaveData done [08:29:12]OFDSenderStorePacket done [08:29:12]KKMCreateOFDPacket done [08:29:12]NVStorageSaveData kkm_last_timestamp [08:29:12]File name is /storage/kkm_last_timestamp [08:29:12]Write 4 bytes [08:29:12]NVStorageSaveData done [08:29:12]ExternCall_PrintAddStr [08:29:12]wPrintStart [08:29:12]Write to MH i2c: 01 00 00 B7 05 BC [08:29:12]Write i2c OK [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: 01 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: 01 07 00 [08:29:12]MH_I2C_Read... [08:29:12]Read from MH i2c: 01 07 00 B7 05 00 00 00 00 00 FF 0F D1 [08:29:12]RasterBufferAndPrint [08:29:12]line Счет N : (1)16359 [08:29:12]line ИНН: 02508201610067 [08:29:12]line Контрольно-Кассовый Чек [08:29:12]line ПРОДАЖА [08:29:12]line ТРК (МРК, ГНК) : 31 [08:29:12]line Товар: 2710194210 [08:29:12]line ДТ-К-5 [08:29:12]line 13.130 * 76.20 [08:29:12]line = 1000.51 [08:29:12]line НДС 12% НСП 1% [08:29:12]line > о реализуемом товаре [08:29:12]line ОКРУГЛЕНИЕ: -0.51 [08:29:12]line ИТОГО: 1000.00 [08:29:12]line Внесено: 1000.00 [08:29:12]line СДАЧА: 0.00 [08:29:12]line НСП 1% : 8.85 [08:29:12]line НДС 12% : 106.25 [08:29:12]line Наличными: 1000.00 [08:29:12]line Безнал.: 0.00 [08:29:12]line Место: АЗС № 178 "Партнер Нефть" [08:29:12]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [08:29:12]line СНО: Общий режим [08:29:12]line Чек 19 30.10.2024 08:29 [08:29:12]line Смена: 173 ФФД: 1.0 [08:29:12]line ЗНМ: 0300000014 [08:29:12]line РНМ: 0000000000161798 [08:29:12]line Версия ККМ: v1.0 [08:29:12]line ФМ: 0000000000963325 [08:29:12]line ФД: 15809 [08:29:12]line ФПД: 5043328058954 [08:29:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T082913&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15809&fm=5043328058954&tin=02508201610067®Number=0000000000161798&sum=100000 [08:29:13]OFD Sender: Processing packet 15809 [packets to send 4, broken 3] [08:29:13]ProducePacketName [08:29:13]name=ofd_packets/00015809 [08:29:13]OFD Sender: To server: pG, [08:29:13]CommunicateWithHost lk.salyk.kg:30040 [08:29:13]ConnectInit lk.salyk.kg [08:29:13]written 0, free lines is 4095 [08:29:13]Connected sock=10 [08:29:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 1D 64 04 01 42 26 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 59 EE 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C1 3D 00 00 35 04 06 00 04 96 3D C7 06 4A A1 40 33 90 0E D8 B9 1E [08:29:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 E5 DD 47 00 D5 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 C1 3D 00 00 F4 03 04 00 43 99 21 67 B6 04 01 00 00 BC AC 41 25 26 86 2B 17 [08:29:13]CommunicateWithHost err = 0 [08:29:13]CheckOFDResponse [08:29:13]1017 (14) - 77093643461234 [08:29:13]1041 (16) - 0000000000963325 [08:29:13]1040 (4) - 15809 [08:29:13]1012 (4) - 30.10.2024 02:26 [08:29:13]1206 (1) - 0 [08:29:13]OFD Sender: Remove packet 15809 [08:29:13]ProducePacketName [08:29:13]name=ofd_packets/00015809 [08:29:13]NVStorageDeleteData [08:29:13]Write to MH i2c: 01 00 00 E2 05 E7 [08:29:13]Write i2c OK [08:29:13]MH_I2C_Read... [08:29:13]Read from MH i2c: 01 [08:29:13]MH_I2C_Read... [08:29:13]Read from MH i2c: 01 07 00 [08:29:13]MH_I2C_Read... [08:29:13]Read from MH i2c: 01 07 00 E2 05 00 00 00 00 00 F8 0C F2 [08:29:13]RasterBufferAndPrint [08:29:13]line [08:29:13]line [08:29:13]line [08:29:13]line [08:29:13]line [08:29:13]written 0, free lines is 3326 [08:29:13]MH_Cut [08:29:13]Write to MH i2c: D1 01 00 E9 05 01 C0 [08:29:13]Write i2c OK [08:29:13]MH_I2C_Read... [08:29:13]Read from MH i2c: D1 [08:29:13]MH_I2C_Read... [08:29:13]Read from MH i2c: D1 01 00 [08:29:13]MH_I2C_Read... [08:29:13]Read from MH i2c: D1 01 00 E9 05 00 BF [08:29:13]Write to MH i2c: 01 00 00 EA 05 EF [08:29:13]Write i2c OK [08:29:13]MH_I2C_Read... [08:29:13]OFD Sender: No OFD packet to send [08:29:14]*** Cut start [08:29:14]*** Partial cut [08:29:14]*** CUTSNS_PIN = 1 [08:29:14]*** CUTSNS_PIN = 0 [08:29:14]*** Brake cut motor [08:29:14]Read from MH i2c: 01 [08:29:14]MH_I2C_Read... [08:29:14]*** Stop cut motor [08:29:14]*** Cut end [08:29:14]Read from MH i2c: 01 07 00 [08:29:14]MH_I2C_Read... [08:29:14]Read from MH i2c: 01 07 00 EA 05 00 00 00 00 00 FF 0F 04 [08:29:14]process_action close_receipt done [08:29:14]requested_data is exist [08:29:14]produce_requested_data [08:29:14]requested_item fm.sn is exist - process it [08:29:14]wFMCommunicate request_size=4 [08:29:14]MH_SAM_APDU [08:29:14]CAPDU: 80 11 00 00 [08:29:14]Write to MH i2c: E2 08 00 EB 05 80 11 00 00 00 00 00 00 6A [08:29:14]Write i2c OK [08:29:14]MH_I2C_Read... [08:29:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:14]Read from MH i2c: E2 [08:29:14]MH_I2C_Read... [08:29:14]Read from MH i2c: E2 17 00 [08:29:14]MH_I2C_Read... [08:29:14]Read from MH i2c: E2 17 00 EB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 B9 [08:29:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:29:14]wFMCommunicate OK [08:29:14]requested_item fd.num is exist - process it [08:29:14]SAM_PROTO_GetFieldsCounters [08:29:14]wFMCommunicate request_size=4 [08:29:14]MH_SAM_APDU [08:29:14]CAPDU: 80 13 00 00 [08:29:14]Write to MH i2c: E2 08 00 EC 05 80 13 00 00 00 00 00 00 6D [08:29:14]Write i2c OK [08:29:14]MH_I2C_Read... [08:29:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:29:15]Read from MH i2c: E2 [08:29:15]MH_I2C_Read... [08:29:15]Read from MH i2c: E2 62 00 [08:29:15]MH_I2C_Read... [08:29:15]Read from MH i2c: E2 62 00 EC 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C1 3D 00 00 0E 04 04 00 AD 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 75 [08:29:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C1 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:29:15]wFMCommunicate OK [08:29:15]SAM_PROTO_GetFieldsCounters done [08:29:15]requested_item shift.num is exist - process it [08:29:15]requested_item shift.opened is exist - process it [08:29:15]req_shift_opened [08:29:15]FM_GetShiftState [08:29:15]SAM_PROTO_GetShiftState [08:29:15]wFMCommunicate request_size=4 [08:29:15]MH_SAM_APDU [08:29:15]CAPDU: 80 13 01 00 [08:29:15]Write to MH i2c: E2 08 00 ED 05 80 13 01 00 00 00 00 00 6F [08:29:15]Write i2c OK [08:29:15]MH_I2C_Read... [08:29:15]Read from MH i2c: E2 [08:29:15]MH_I2C_Read... [08:29:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:15]Read from MH i2c: E2 0E 00 [08:29:15]MH_I2C_Read... [08:29:15]Read from MH i2c: E2 0E 00 ED 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 B4 [08:29:15]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:29:15]wFMCommunicate OK [08:29:15]SAM_PROTO_GetShiftState done [08:29:15]FM_GetShiftState done [08:29:15]req_shift_opened done [08:29:15]requested_item shift.open_date is exist - process it [08:29:15]req_shift_open_date [08:29:15]req_shift_open_date done [08:29:15]produce_requested_data done [08:29:15]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15809,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [08:29:15]process_action_free close_receipt [08:29:15]json_value_free [08:29:15]json_value_free done [08:29:15]process_json_proto returns [08:29:15]Send response to host [08:29:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15809,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [08:29:15]free response buf [08:29:15]execute_script done [08:29:15]execute_script returns [08:29:15]free content buf [08:29:15]Sock 8.Close socket [08:29:15]Sock 8.Thread stoped [08:29:18]OFD Sender: No OFD packet to send [08:29:23]OFD Sender: No OFD packet to send [08:29:28]OFD Sender: No OFD packet to send [08:29:33]OFD Sender: No OFD packet to send [08:29:38]OFD Sender: No OFD packet to send [08:29:43]OFD Sender: No OFD packet to send [08:29:48]OFD Sender: No OFD packet to send [08:29:53]OFD Sender: No OFD packet to send [08:29:58]OFD Sender: No OFD packet to send [08:30:03]OFD Sender: No OFD packet to send [08:30:08]OFD Sender: No OFD packet to send [08:30:13]OFD Sender: No OFD packet to send [08:30:18]OFD Sender: No OFD packet to send [08:30:23]OFD Sender: No OFD packet to send [08:30:28]OFD Sender: No OFD packet to send [08:30:33]OFD Sender: No OFD packet to send [08:30:38]OFD Sender: No OFD packet to send [08:30:43]OFD Sender: No OFD packet to send [08:30:48]OFD Sender: No OFD packet to send [08:30:53]OFD Sender: No OFD packet to send [08:30:58]OFD Sender: No OFD packet to send [08:31:03]OFD Sender: No OFD packet to send [08:31:08]OFD Sender: No OFD packet to send [08:31:13]OFD Sender: No OFD packet to send [08:31:18]OFD Sender: No OFD packet to send [08:31:23]OFD Sender: No OFD packet to send [08:31:28]OFD Sender: No OFD packet to send [08:31:33]OFD Sender: No OFD packet to send [08:31:38]OFD Sender: No OFD packet to send [08:31:43]OFD Sender: No OFD packet to send [08:31:48]OFD Sender: No OFD packet to send [08:31:53]OFD Sender: No OFD packet to send [08:31:58]OFD Sender: No OFD packet to send [08:32:03]OFD Sender: No OFD packet to send [08:32:08]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [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:19]OFD Sender: No OFD packet to send [08:33:24]OFD Sender: No OFD packet to send [08:33:29]OFD Sender: No OFD packet to send [08:33:34]OFD Sender: No OFD packet to send [08:33:39]OFD Sender: No OFD packet to send [08:33:44]OFD Sender: No OFD packet to send [08:33:49]OFD Sender: No OFD packet to send [08:33:54]OFD Sender: No OFD packet to send [08:33:59]OFD Sender: No OFD packet to send [08:34:04]OFD Sender: No OFD packet to send [08:34:09]OFD Sender: No OFD packet to send [08:34:14]OFD Sender: No OFD packet to send [08:34:19]OFD Sender: No OFD packet to send [08:34:24]OFD Sender: No OFD packet to send [08:34:29]OFD Sender: No OFD packet to send [08:34:34]OFD Sender: No OFD packet to send [08:34:39]OFD Sender: No OFD packet to send [08:34:44]OFD Sender: No OFD packet to send [08:34:49]OFD Sender: No OFD packet to send [08:34:54]OFD Sender: No OFD packet to send [08:34:59]OFD Sender: No OFD packet to send [08:35:04]OFD Sender: No OFD packet to send [08:35:09]OFD Sender: No OFD packet to send [08:35:14]OFD Sender: No OFD packet to send [08:35:19]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:09]OFD Sender: No OFD packet to send [08:43:14]OFD Sender: No OFD packet to send [08:43:19]OFD Sender: No OFD packet to send [08:43:24]OFD Sender: No OFD packet to send [08:43:29]OFD Sender: No OFD packet to send [08:43:34]OFD Sender: No OFD packet to send [08:43:39]OFD Sender: No OFD packet to send [08:43:44]OFD Sender: No OFD packet to send [08:43:49]OFD Sender: No OFD packet to send [08:43:54]OFD Sender: No OFD packet to send [08:43:59]OFD Sender: No OFD packet to send [08:44:04]OFD Sender: No OFD packet to send [08:44:09]OFD Sender: No OFD packet to send [08:44:14]OFD Sender: No OFD packet to send [08:44:19]OFD Sender: No OFD packet to send [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45:14]OFD Sender: No OFD packet to send [08:45:19]OFD Sender: No OFD packet to send [08:45:24]OFD Sender: No OFD packet to send [08:45:29]OFD Sender: No OFD packet to send [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:48]accept exits with 9 [08:45:48]New connection [08:45:48]New thread 3067010404 created [08:45:48]Thread 3067153764 joined [08:45:48]Waiting for new connection... [08:45:48] Sock 9.Parse request [08:45:48]Sock 9.Check first char [08:45:48]Sock 9.First char is OK [08:45:48]request: POST /json_proto HTTP/1.0 [08:45:48]Method: POST [08:45:48]URL: /json_proto [08:45:48]Method is POST - this is cgi request [08:45:48]url: /json_proto [08:45:48]query_string will be loaded in cgi processing [08:45:48]execute_cgi json_proto POST (null) [08:45:48]execute_cgi path=json_proto method=POST [08:45:48]POST find Content-Length [08:45:48]Host: 172.17.54.195:8080 [08:45:48]Content-Length: 666 [08:45:48]Content-Type: application/json [08:45:48] [08:45:48]POST finish read [08:45:48]Found Content-Length = 666 [08:45:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16360", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 4.680, "sum" : 320.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 320.00, "total" : 320.00, "payments": [ { "type": 0, "sum" : 320.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:45:48]execute_script... [08:45:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16360", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 4.680, "sum" : 320.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 320.00, "total" : 320.00, "payments": [ { "type": 0, "sum" : 320.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:45:49]POST & json_proto [08:45:49]process_json_proto [08:45:49]json parsed OK: [08:45:49]protocol is kg_v1.0 [08:45:49]action value=close_receipt [08:45:49]process_action close_receipt [08:45:49]cmd_close_receipt [08:45:49]MH_GetDate [08:45:49]Write to MH i2c: F0 00 00 EE 05 E2 [08:45:49]Write i2c OK [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: F0 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: F0 09 00 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: F0 09 00 EE 05 00 3F F2 21 67 8D 90 A3 66 CA [08:45:49]GetLastDocTimeStamp 1730276953 [08:45:49]current date 1730277951 [08:45:49]FM_GetShiftState [08:45:49]SAM_PROTO_GetShiftState [08:45:49]wFMCommunicate request_size=4 [08:45:49]MH_SAM_APDU [08:45:49]CAPDU: 80 13 01 00 [08:45:49]Write to MH i2c: E2 08 00 EF 05 80 13 01 00 00 00 00 00 71 [08:45:49]Write i2c OK [08:45:49]MH_I2C_Read... [08:45:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:49]Read from MH i2c: E2 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: E2 0E 00 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: E2 0E 00 EF 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 B6 [08:45:49]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:45:49]wFMCommunicate OK [08:45:49]SAM_PROTO_GetShiftState done [08:45:49]FM_GetShiftState done [08:45:49]opened in 1730247478 [08:45:49]opened+sec_in_day 1730333878 [08:45:49]quantity*price = 32011 [08:45:49]sum+1 = 32012 [08:45:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.11 ИТОГО: 320.00 Внесено: 320.00 СДАЧА: 0.00 НСП 1% : 2.83 НДС 12% : 33.99 Наличными: 320.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 20 30.10.2024 08:45 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15810 ФПД: 245061289322341 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T084551&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15810&fm=245061289322341&tin=02508201610067®Number=0000000000161798&sum=32000 [08:45:50]StoreToDocumentArchive [08:45:50]shift 173 fd 15810 [08:45:50]save to /storage/0173/doc_00015810 [08:45:50]save last doc name /storage/0173/doc_00015810 to /storage/kkm_last_doc_name [08:45:50]save OK [08:45:50]Clear old archive folders... [08:45:50]ProcessDocumentItem done err = 0, tmpTLVsize=249 [08:45:50]tlvbuf is 00228A10 [08:45:50]SAM_PROTO_ClearQueue [08:45:50]wFMCommunicate request_size=4 [08:45:50]MH_SAM_APDU [08:45:50]CAPDU: 80 09 00 00 [08:45:50]Write to MH i2c: E2 08 00 FC 05 80 09 00 00 00 00 00 00 73 [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:45:50]Read from MH i2c: E2 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 FC 05 00 90 00 75 [08:45:50]RAPDU: 90 00 [08:45:50]wFMCommunicate OK [08:45:50]SAM_PROTO_ClearQueue done [08:45:50]KKMCreateOFDPacket [08:45:50]OFDProtocolAddRootSTLVToBuf [08:45:50]FM_MakeSignedData [08:45:50]FM_MakeSignedData [08:45:50]SAM_PROTO_SignData [08:45:50]wFMCommunicate request_size=4 [08:45:50]MH_SAM_APDU [08:45:50]CAPDU: 80 0D 01 02 [08:45:50]Write to MH i2c: E2 08 00 FD 05 80 0D 01 02 00 00 00 00 7B [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:45:50]Read from MH i2c: E2 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 FD 05 00 90 00 76 [08:45:50]RAPDU: 90 00 [08:45:50]wFMCommunicate OK [08:45:50]wFMCommunicate request_size=255 [08:45:50]MH_SAM_APDU [08:45:50]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 0B 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 3F F2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C2 3D 00 00 35 04 06 00 DE E1 C7 [08:45:50]Write to MH i2c: E2 02 01 FE 05 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 0B 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 3F F2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C2 3D 00 00 35 04 06 00 DE E1 C7 00 00 9A [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:50]Read from MH i2c: E2 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 FE 05 00 90 00 77 [08:45:50]RAPDU: 90 00 [08:45:50]wFMCommunicate OK [08:45:50]wFMCommunicate request_size=8 [08:45:50]MH_SAM_APDU [08:45:50]CAPDU: 80 0D 02 02 03 19 27 65 [08:45:50]Write to MH i2c: E2 0B 00 FF 05 80 0D 02 02 03 00 19 27 65 00 00 29 [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:50]Read from MH i2c: E2 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 FF 05 00 90 00 78 [08:45:50]RAPDU: 90 00 [08:45:50]wFMCommunicate OK [08:45:50]wFMCommunicate request_size=4 [08:45:50]MH_SAM_APDU [08:45:50]CAPDU: 80 0D 03 02 [08:45:50]Write to MH i2c: E2 08 00 00 06 80 0D 03 02 00 00 00 00 81 [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:45:50]Read from MH i2c: E2 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 0B 00 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 0B 00 00 06 00 4E C2 17 F9 74 C5 65 CB 90 00 0B [08:45:50]RAPDU: 4E C2 17 F9 74 C5 65 CB 90 00 [08:45:50]wFMCommunicate OK [08:45:50]SAM_PROTO_SignData done [08:45:50]FM_MakeSignedData done [08:45:50]CreateOFDProtocolMessage [08:45:50]wFMCommunicate request_size=4 [08:45:50]MH_SAM_APDU [08:45:50]CAPDU: 80 11 00 00 [08:45:50]Write to MH i2c: E2 08 00 01 06 80 11 00 00 00 00 00 00 81 [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:50]Read from MH i2c: E2 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 17 00 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 17 00 01 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 D0 [08:45:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:45:50]wFMCommunicate OK [08:45:50]CreateOFDProtocolMessage done [08:45:50]OFDSenderStorePacket 15810 [08:45:50]StoreOFDPacket docnum=15810 [08:45:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 6C 77 05 01 0B 0D 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 0B 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 3F F2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C2 3D 00 00 35 04 06 00 DE E1 C7 19 27 65 4E C2 17 F9 74 C5 65 CB [08:45:50]CheckFolder [08:45:50]dirname=/storage/ofd_packets [08:45:50]CheckFolder done [08:45:50]ProducePacketName [08:45:50]name=ofd_packets/00015810 [08:45:50]NVStorageSaveData ofd_packets/00015810 [08:45:50]File name is /storage/ofd_packets/00015810 [08:45:50]Write 299 bytes [08:45:50]NVStorageSaveData done [08:45:50]OFDSenderStorePacket done [08:45:50]KKMCreateOFDPacket done [08:45:50]NVStorageSaveData kkm_last_timestamp [08:45:50]File name is /storage/kkm_last_timestamp [08:45:50]Write 4 bytes [08:45:50]NVStorageSaveData done [08:45:50]ExternCall_PrintAddStr [08:45:50]wPrintStart [08:45:50]Write to MH i2c: 01 00 00 02 06 08 [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: 01 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: 01 07 00 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: 01 07 00 02 06 00 00 00 00 00 FF 0F 1D [08:45:50]RasterBufferAndPrint [08:45:50]line Счет N : (1)16360 [08:45:50]line ИНН: 02508201610067 [08:45:50]line Контрольно-Кассовый Чек [08:45:50]line ПРОДАЖА [08:45:50]line ТРК (МРК, ГНК) : 12 [08:45:50]line Товар: 50.50.0 [08:45:50]line SUPER 92-К-5 [08:45:50]line 4.680 * 68.40 [08:45:50]line = 320.11 [08:45:50]line НДС 12% НСП 1% [08:45:50]line > о реализуемом товаре [08:45:50]line ОКРУГЛЕНИЕ: -0.11 [08:45:50]line ИТОГО: 320.00 [08:45:50]line Внесено: 320.00 [08:45:50]line СДАЧА: 0.00 [08:45:50]line НСП 1% : 2.83 [08:45:50]line НДС 12% : 33.99 [08:45:50]line Наличными: 320.00 [08:45:50]line Безнал.: 0.00 [08:45:50]line Место: АЗС № 178 "Партнер Нефть" [08:45:50]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [08:45:50]line СНО: Общий режим [08:45:50]line Чек 20 30.10.2024 08:45 [08:45:50]line Смена: 173 ФФД: 1.0 [08:45:50]line ЗНМ: 0300000014 [08:45:50]line РНМ: 0000000000161798 [08:45:50]line Версия ККМ: v1.0 [08:45:50]line ФМ: 0000000000963325 [08:45:50]line ФД: 15810 [08:45:50]line ФПД: 245061289322341 [08:45:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T084551&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15810&fm=245061289322341&tin=02508201610067®Number=0000000000161798&sum=32000 [08:45:51]OFD Sender: Processing packet 15810 [packets to send 4, broken 3] [08:45:51]ProducePacketName [08:45:51]name=ofd_packets/00015810 [08:45:51]OFD Sender: To server: pG, [08:45:51]CommunicateWithHost lk.salyk.kg:30040 [08:45:51]ConnectInit lk.salyk.kg [08:45:51]written 0, free lines is 4095 [08:45:51]Connected sock=10 [08:45:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 6C 77 05 01 0B 0D 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 0B 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 0D 00 00 00 00 07 04 06 00 00 7D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 3F F2 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C2 3D 00 00 35 04 06 00 DE E1 C7 19 27 65 4E C2 17 F9 74 C5 65 CB [08:45:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 B7 02 47 00 CC 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 36 33 33 32 35 10 04 04 00 C2 3D 00 00 F4 03 04 00 29 9D 21 67 B6 04 01 00 00 6A F2 54 8C 0E 11 B1 D6 [08:45:51]CommunicateWithHost err = 0 [08:45:51]CheckOFDResponse [08:45:51]1017 (14) - 77093643461234 [08:45:51]1041 (16) - 0000000000963325 [08:45:51]1040 (4) - 15810 [08:45:51]1012 (4) - 30.10.2024 02:42 [08:45:51]1206 (1) - 0 [08:45:51]OFD Sender: Remove packet 15810 [08:45:51]ProducePacketName [08:45:51]name=ofd_packets/00015810 [08:45:51]NVStorageDeleteData [08:45:51]Write to MH i2c: 01 00 00 2D 06 33 [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 07 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 07 00 2D 06 00 00 00 00 00 FF 0C 45 [08:45:51]RasterBufferAndPrint [08:45:51]line [08:45:51]line [08:45:51]line [08:45:51]line [08:45:51]line [08:45:51]written 0, free lines is 3333 [08:45:51]MH_Cut [08:45:51]Write to MH i2c: D1 01 00 34 06 01 0C [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: D1 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: D1 01 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: D1 01 00 34 06 00 0B [08:45:51]Write to MH i2c: 01 00 00 35 06 3B [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]OFD Sender: No OFD packet to send [08:45:52]*** Cut start [08:45:52]*** Partial cut [08:45:52]*** CUTSNS_PIN = 1 [08:45:52]*** CUTSNS_PIN = 0 [08:45:52]*** Brake cut motor [08:45:52]Read from MH i2c: 01 [08:45:52]MH_I2C_Read... [08:45:52]*** Stop cut motor [08:45:52]*** Cut end [08:45:52]Read from MH i2c: 01 07 00 [08:45:52]MH_I2C_Read... [08:45:52]Read from MH i2c: 01 07 00 35 06 00 00 00 00 00 FF 0F 50 [08:45:52]process_action close_receipt done [08:45:52]requested_data is exist [08:45:52]produce_requested_data [08:45:52]requested_item fm.sn is exist - process it [08:45:52]wFMCommunicate request_size=4 [08:45:52]MH_SAM_APDU [08:45:52]CAPDU: 80 11 00 00 [08:45:52]Write to MH i2c: E2 08 00 36 06 80 11 00 00 00 00 00 00 B6 [08:45:52]Write i2c OK [08:45:52]MH_I2C_Read... [08:45:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:52]Read from MH i2c: E2 [08:45:52]MH_I2C_Read... [08:45:52]Read from MH i2c: E2 17 00 [08:45:52]MH_I2C_Read... [08:45:52]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 36 33 33 32 35 90 00 05 [08:45:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [08:45:52]wFMCommunicate OK [08:45:52]requested_item fd.num is exist - process it [08:45:52]SAM_PROTO_GetFieldsCounters [08:45:52]wFMCommunicate request_size=4 [08:45:52]MH_SAM_APDU [08:45:52]CAPDU: 80 13 00 00 [08:45:52]Write to MH i2c: E2 08 00 37 06 80 13 00 00 00 00 00 00 B9 [08:45:52]Write i2c OK [08:45:52]MH_I2C_Read... [08:45:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:45:53]Read from MH i2c: E2 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 62 00 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 62 00 37 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C2 3D 00 00 0E 04 04 00 AD 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 C5 [08:45:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:45:53]wFMCommunicate OK [08:45:53]SAM_PROTO_GetFieldsCounters done [08:45:53]requested_item shift.num is exist - process it [08:45:53]requested_item shift.opened is exist - process it [08:45:53]req_shift_opened [08:45:53]FM_GetShiftState [08:45:53]SAM_PROTO_GetShiftState [08:45:53]wFMCommunicate request_size=4 [08:45:53]MH_SAM_APDU [08:45:53]CAPDU: 80 13 01 00 [08:45:53]Write to MH i2c: E2 08 00 38 06 80 13 01 00 00 00 00 00 BB [08:45:53]Write i2c OK [08:45:53]MH_I2C_Read... [08:45:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:53]Read from MH i2c: E2 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 0E 00 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 0E 00 38 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 00 [08:45:53]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [08:45:53]wFMCommunicate OK [08:45:53]SAM_PROTO_GetShiftState done [08:45:53]FM_GetShiftState done [08:45:53]req_shift_opened done [08:45:53]requested_item shift.open_date is exist - process it [08:45:53]req_shift_open_date [08:45:53]req_shift_open_date done [08:45:53]produce_requested_data done [08:45:53]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15810,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [08:45:53]process_action_free close_receipt [08:45:53]json_value_free [08:45:53]json_value_free done [08:45:53]process_json_proto returns [08:45:53]Send response to host [08:45:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15810,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [08:45:53]free response buf [08:45:53]execute_script done [08:45:53]execute_script returns [08:45:53]free content buf [08:45:53]Sock 9.Close socket [08:45:53]Sock 9.Thread stoped [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:12]OFD Sender: No OFD packet to send [08:50:17]OFD Sender: No OFD packet to send [08:50:22]OFD Sender: No OFD packet to send [08:50:27]OFD Sender: No OFD packet to send [08:50:32]OFD Sender: No OFD packet to send [08:50:37]OFD Sender: No OFD packet to send [08:50:42]OFD Sender: No OFD packet to send [08:50:47]OFD Sender: No OFD packet to send [08:50:52]OFD Sender: No OFD packet to send [08:50:57]OFD Sender: No OFD packet to send [08:51:02]OFD Sender: No OFD packet to send [08:51:07]OFD Sender: No OFD packet to send [08:51:12]OFD Sender: No OFD packet to send [08:51:17]OFD Sender: No OFD packet to send [08:51:22]OFD Sender: No OFD packet to send [08:51:27]OFD Sender: No OFD packet to send [08:51:32]OFD Sender: No OFD packet to send [08:51:37]OFD Sender: No OFD packet to send [08:51:42]OFD Sender: No OFD packet to send [08:51:47]OFD Sender: No OFD packet to send [08:51:52]OFD Sender: No OFD packet to send [08:51:57]OFD Sender: No OFD packet to send [08:52:02]OFD Sender: No OFD packet to send [08:52:07]OFD Sender: No OFD packet to send [08:52:12]OFD Sender: No OFD packet to send [08:52:17]OFD Sender: No OFD packet to send [08:52:22]OFD Sender: No OFD packet to send [08:52:27]OFD Sender: No OFD packet to send [08:52:32]OFD Sender: No OFD packet to send [08:52:37]OFD Sender: No OFD packet to send [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:02]OFD Sender: No OFD packet to send [08:54:07]OFD Sender: No OFD packet to send [08:54:12]OFD Sender: No OFD packet to send [08:54:17]OFD Sender: No OFD packet to send [08:54:22]OFD Sender: No OFD packet to send [08:54:27]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57:02]OFD Sender: No OFD packet to send [08:57:07]OFD Sender: No OFD packet to send [08:57:12]OFD Sender: No OFD packet to send [08:57:17]OFD Sender: No OFD packet to send [08:57:22]OFD Sender: No OFD packet to send [08:57:27]OFD Sender: No OFD packet to send [08:57:32]OFD Sender: No OFD packet to send [08:57:37]OFD Sender: No OFD packet to send [08:57:42]OFD Sender: No OFD packet to send [08:57:47]OFD Sender: No OFD packet to send [08:57:52]OFD Sender: No OFD packet to send [08:57:57]OFD Sender: No OFD packet to send [08:58:02]OFD Sender: No OFD packet to send [08:58:07]OFD Sender: No OFD packet to send [08:58:12]OFD Sender: No OFD packet to send [08:58:17]OFD Sender: No OFD packet to send [08:58:22]OFD Sender: No OFD packet to send [08:58:27]OFD Sender: No OFD packet to send [08:58:32]OFD Sender: No OFD packet to send [08:58:37]OFD Sender: No OFD packet to send [08:58:42]OFD Sender: No OFD packet to send [08:58:47]OFD Sender: No OFD packet to send [08:58:52]OFD Sender: No OFD packet to send [08:58:57]OFD Sender: No OFD packet to send [08:59:02]OFD Sender: No OFD packet to send [08:59:07]OFD Sender: No OFD packet to send [08:59:12]OFD Sender: No OFD packet to send [08:59:17]OFD Sender: No OFD packet to send [08:59:27]OFD Sender: No OFD packet to send [08:59:32]OFD Sender: No OFD packet to send [08:59:37]OFD Sender: No OFD packet to send [08:59:42]OFD Sender: No OFD packet to send [08:59:47]OFD Sender: No OFD packet to send [08:59:52]OFD Sender: No OFD packet to send [08:59:57]OFD Sender: No OFD packet to send [09:00:02]OFD Sender: No OFD packet to send [09:00:07]OFD Sender: No OFD packet to send [09:00:12]OFD Sender: No OFD packet to send [09:00:17]OFD Sender: No OFD packet to send [09:00:22]OFD Sender: No OFD packet to send [09:00:27]OFD Sender: No OFD packet to send [09:00:32]OFD Sender: No OFD packet to send [09:00:37]OFD Sender: No OFD packet to send [09:00:42]OFD Sender: No OFD packet to send [09:00:47]OFD Sender: No OFD packet to send [09:00:52]OFD Sender: No OFD packet to send [09:00:57]OFD Sender: No OFD packet to send [09:01:02]OFD Sender: No OFD packet to send [09:01:07]OFD Sender: No OFD packet to send [09:01:12]OFD Sender: No OFD packet to send [09:01:17]OFD Sender: No OFD packet to send [09:01:22]OFD Sender: No OFD packet to send [09:01:27]OFD Sender: No OFD packet to send [09:01:32]OFD Sender: No OFD packet to send [09:01:35]ConnectInit Can't connect to host [09:01:37]OFD Sender: No OFD packet to send [09:01:42]OFD Sender: No OFD packet to send [09:01:47]OFD Sender: No OFD packet to send [09:01:57]OFD Sender: No OFD packet to send [09:02:02]OFD Sender: No OFD packet to send [09:02:07]OFD Sender: No OFD packet to send [09:02:12]OFD Sender: No OFD packet to send [09:02:17]OFD Sender: No OFD packet to send [09:02:22]OFD Sender: No OFD packet to send [09:02:27]OFD Sender: No OFD packet to send [09:02:32]OFD Sender: No OFD packet to send [09:02:37]OFD Sender: No OFD packet to send [09:02:42]OFD Sender: No OFD packet to send [09:02:47]OFD Sender: No OFD packet to send [09:02:52]OFD Sender: No OFD packet to send [09:02:57]OFD Sender: No OFD packet to send [09:03:02]OFD Sender: No OFD packet to send [09:03:07]OFD Sender: No OFD packet to send [09:03:12]OFD Sender: No OFD packet to send [09:03:17]OFD Sender: No OFD packet to send [09:03:22]OFD Sender: No OFD packet to send [09:03:27]OFD Sender: No OFD packet to send [09:03:32]OFD Sender: No OFD packet to send [09:03:37]OFD Sender: No OFD packet to send [09:03:42]OFD Sender: No OFD packet to send [09:03:47]OFD Sender: No OFD packet to send [09:03:52]OFD Sender: No OFD packet to send [09:03:57]OFD Sender: No OFD packet to send [09:04:02]OFD Sender: No OFD packet to send [09:04:07]OFD Sender: No OFD packet to send [09:04:09]ConnectInit Can't connect to host [09:04:12]OFD Sender: No OFD packet to send [09:04:17]OFD Sender: No OFD packet to send [09:04:22]OFD Sender: No OFD packet to send [09:04:27]OFD Sender: No OFD packet to send [09:04:32]OFD Sender: No OFD packet to send [09:04:37]OFD Sender: No OFD packet to send [09:04:42]OFD Sender: No OFD packet to send [09:04:47]OFD Sender: No OFD packet to send [09:04:52]OFD Sender: No OFD packet to send [09:04:57]OFD Sender: No OFD packet to send [09:05:02]OFD Sender: No OFD packet to send [09:05:07]OFD Sender: No OFD packet to send [09:05:12]OFD Sender: No OFD packet to send [09:05:17]OFD Sender: No OFD packet to send [09:05:22]OFD Sender: No OFD packet to send [09:05:27]OFD Sender: No OFD packet to send [09:05:32]OFD Sender: No OFD packet to send [09:05:37]OFD Sender: No OFD packet to send [09:05:42]OFD Sender: No OFD packet to send [09:05:47]OFD Sender: No OFD packet to send [09:05:52]OFD Sender: No OFD packet to send [09:05:57]OFD Sender: No OFD packet to send [09:06:02]OFD Sender: No OFD packet to send [09:06:07]OFD Sender: No OFD packet to send [09:06:12]OFD Sender: No OFD packet to send [09:06:17]OFD Sender: No OFD packet to send [09:06:22]OFD Sender: No OFD packet to send [09:06:27]OFD Sender: No OFD packet to send [09:06:32]OFD Sender: No OFD packet to send [09:06:37]OFD Sender: No OFD packet to send [09:06:42]accept exits with 8 [09:06:42]New connection [09:06:42]New thread 3067153764 created [09:06:42]Thread 3067010404 joined [09:06:42]Waiting for new connection... [09:06:42] Sock 8.Parse request [09:06:42]Sock 8.Check first char [09:06:42]Sock 8.First char is OK [09:06:42]request: POST /json_proto HTTP/1.0 [09:06:42]Method: POST [09:06:42]URL: /json_proto [09:06:42]Method is POST - this is cgi request [09:06:42]url: /json_proto [09:06:42]query_string will be loaded in cgi processing [09:06:42]execute_cgi json_proto POST (null) [09:06:42]execute_cgi path=json_proto method=POST [09:06:42]POST find Content-Length [09:06:42]Host: 172.17.54.195:8080 [09:06:42]Content-Length: 777 [09:06:42]Content-Type: application/json [09:06:42] [09:06:42]POST finish read [09:06:42]Found Content-Length = 777 [09:06:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16361", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 34.510, "sum" : 2360.48, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 2360.00, "payments": [ { "type": 1, "sum" : 2360.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:42]execute_script... [09:06:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16361", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 34.510, "sum" : 2360.48, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 2360.00, "payments": [ { "type": 1, "sum" : 2360.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:42]POST & json_proto [09:06:42]process_json_proto [09:06:42]json parsed OK: [09:06:42]protocol is kg_v1.0 [09:06:42]action value=close_receipt [09:06:42]process_action close_receipt [09:06:42]cmd_close_receipt [09:06:42]MH_GetDate [09:06:42]Write to MH i2c: F0 00 00 39 06 2E [09:06:42]Write i2c OK [09:06:42]MH_I2C_Read... [09:06:42]Read from MH i2c: F0 [09:06:42]MH_I2C_Read... [09:06:42]Read from MH i2c: F0 09 00 [09:06:42]MH_I2C_Read... [09:06:42]Read from MH i2c: F0 09 00 39 06 00 25 F7 21 67 8D 90 A3 66 01 [09:06:42]GetLastDocTimeStamp 1730277951 [09:06:42]current date 1730279205 [09:06:42]FM_GetShiftState [09:06:42]SAM_PROTO_GetShiftState [09:06:42]wFMCommunicate request_size=4 [09:06:42]MH_SAM_APDU [09:06:42]CAPDU: 80 13 01 00 [09:06:42]Write to MH i2c: E2 08 00 3A 06 80 13 01 00 00 00 00 00 BD [09:06:42]Write i2c OK [09:06:42]MH_I2C_Read... [09:06:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:42]Read from MH i2c: E2 [09:06:42]MH_I2C_Read... [09:06:42]Read from MH i2c: E2 0E 00 [09:06:42]MH_I2C_Read... [09:06:42]Read from MH i2c: E2 0E 00 3A 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 02 [09:06:42]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:06:42]wFMCommunicate OK [09:06:42]SAM_PROTO_GetShiftState done [09:06:42]FM_GetShiftState done [09:06:42]opened in 1730247478 [09:06:42]opened+sec_in_day 1730333878 [09:06:42]quantity*price = 236048 [09:06:42]sum+1 = 236049 [09:06:42]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.48 ИТОГО: 2360.00 НСП 1% : 20.89 НДС 12% : 250.67 Наличными: 0.00 Безнал.: 2360.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 21 30.10.2024 09:06 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15811 ФПД: 216382772349619 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T090645&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15811&fm=216382772349619&tin=02508201610067®Number=0000000000161798&sum=236000 [09:06:43]StoreToDocumentArchive [09:06:43]shift 173 fd 15811 [09:06:43]save to /storage/0173/doc_00015811 [09:06:43]save last doc name /storage/0173/doc_00015811 to /storage/kkm_last_doc_name [09:06:43]save OK [09:06:43]Clear old archive folders... [09:06:43]ProcessDocumentItem done err = 0, tmpTLVsize=249 [09:06:43]tlvbuf is 0024EF10 [09:06:43]SAM_PROTO_ClearQueue [09:06:43]wFMCommunicate request_size=4 [09:06:43]MH_SAM_APDU [09:06:43]CAPDU: 80 09 00 00 [09:06:43]Write to MH i2c: E2 08 00 47 06 80 09 00 00 00 00 00 00 BF [09:06:43]Write i2c OK [09:06:43]MH_I2C_Read... [09:06:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:06:43]Read from MH i2c: E2 [09:06:43]MH_I2C_Read... [09:06:43]Read from MH i2c: E2 03 00 [09:06:43]MH_I2C_Read... [09:06:43]Read from MH i2c: E2 03 00 47 06 00 90 00 C1 [09:06:43]RAPDU: 90 00 [09:06:43]wFMCommunicate OK [09:06:43]SAM_PROTO_ClearQueue done [09:06:43]KKMCreateOFDPacket [09:06:43]OFDProtocolAddRootSTLVToBuf [09:06:43]FM_MakeSignedData [09:06:43]FM_MakeSignedData [09:06:43]SAM_PROTO_SignData [09:06:43]wFMCommunicate request_size=4 [09:06:43]MH_SAM_APDU [09:06:43]CAPDU: 80 0D 01 02 [09:06:43]Write to MH i2c: E2 08 00 48 06 80 0D 01 02 00 00 00 00 C7 [09:06:43]Write i2c OK [09:06:43]MH_I2C_Read... [09:06:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:06:43]Read from MH i2c: E2 [09:06:43]MH_I2C_Read... [09:06:43]Read from MH i2c: E2 03 00 [09:06:43]MH_I2C_Read... [09:06:43]Read from MH i2c: E2 03 00 48 06 00 90 00 C2 [09:06:43]RAPDU: 90 00 [09:06:43]wFMCommunicate OK [09:06:43]wFMCommunicate request_size=255 [09:06:43]MH_SAM_APDU [09:06:43]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CE 86 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 10 9A 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 99 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 61 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 99 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 25 F7 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C3 3D 00 00 35 04 06 00 C4 CC 8A [09:06:43]Write to MH i2c: E2 02 01 49 06 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CE 86 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 10 9A 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 99 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 61 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 99 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 25 F7 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C3 3D 00 00 35 04 06 00 C4 CC 8A 00 00 91 [09:06:43]Write i2c OK [09:06:43]MH_I2C_Read... [09:06:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:44]Read from MH i2c: E2 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: E2 03 00 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: E2 03 00 49 06 00 90 00 C3 [09:06:44]RAPDU: 90 00 [09:06:44]wFMCommunicate OK [09:06:44]wFMCommunicate request_size=8 [09:06:44]MH_SAM_APDU [09:06:44]CAPDU: 80 0D 02 02 03 48 0A B3 [09:06:44]Write to MH i2c: E2 0B 00 4A 06 80 0D 02 02 03 00 48 0A B3 00 00 D5 [09:06:44]Write i2c OK [09:06:44]MH_I2C_Read... [09:06:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:44]Read from MH i2c: E2 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: E2 03 00 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: E2 03 00 4A 06 00 90 00 C4 [09:06:44]RAPDU: 90 00 [09:06:44]wFMCommunicate OK [09:06:44]wFMCommunicate request_size=4 [09:06:44]MH_SAM_APDU [09:06:44]CAPDU: 80 0D 03 02 [09:06:44]Write to MH i2c: E2 08 00 4B 06 80 0D 03 02 00 00 00 00 CC [09:06:44]Write i2c OK [09:06:44]MH_I2C_Read... [09:06:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:06:44]Read from MH i2c: E2 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: E2 0B 00 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: E2 0B 00 4B 06 00 E0 B1 1A 06 1B C3 2D BA 90 00 43 [09:06:44]RAPDU: E0 B1 1A 06 1B C3 2D BA 90 00 [09:06:44]wFMCommunicate OK [09:06:44]SAM_PROTO_SignData done [09:06:44]FM_MakeSignedData done [09:06:44]CreateOFDProtocolMessage [09:06:44]wFMCommunicate request_size=4 [09:06:44]MH_SAM_APDU [09:06:44]CAPDU: 80 11 00 00 [09:06:44]Write to MH i2c: E2 08 00 4C 06 80 11 00 00 00 00 00 00 CC [09:06:44]Write i2c OK [09:06:44]MH_I2C_Read... [09:06:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:44]Read from MH i2c: E2 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: E2 17 00 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: E2 17 00 4C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 1B [09:06:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:06:44]wFMCommunicate OK [09:06:44]CreateOFDProtocolMessage done [09:06:44]OFDSenderStorePacket 15811 [09:06:44]StoreOFDPacket docnum=15811 [09:06:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 42 6A 05 01 FC 7E 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CE 86 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 10 9A 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 99 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 61 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 99 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 25 F7 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C3 3D 00 00 35 04 06 00 C4 CC 8A 48 0A B3 E0 B1 1A 06 1B C3 2D BA [09:06:44]CheckFolder [09:06:44]dirname=/storage/ofd_packets [09:06:44]CheckFolder done [09:06:44]ProducePacketName [09:06:44]name=ofd_packets/00015811 [09:06:44]NVStorageSaveData ofd_packets/00015811 [09:06:44]File name is /storage/ofd_packets/00015811 [09:06:44]Write 299 bytes [09:06:44]NVStorageSaveData done [09:06:44]OFDSenderStorePacket done [09:06:44]KKMCreateOFDPacket done [09:06:44]NVStorageSaveData kkm_last_timestamp [09:06:44]File name is /storage/kkm_last_timestamp [09:06:44]Write 4 bytes [09:06:44]NVStorageSaveData done [09:06:44]ExternCall_PrintAddStr [09:06:44]wPrintStart [09:06:44]Write to MH i2c: 01 00 00 4D 06 53 [09:06:44]Write i2c OK [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: 01 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: 01 07 00 [09:06:44]MH_I2C_Read... [09:06:44]Read from MH i2c: 01 07 00 4D 06 00 00 00 00 00 FF 0F 68 [09:06:44]RasterBufferAndPrint [09:06:44]line Счет N : (1)16361 [09:06:44]line ИНН: 02508201610067 [09:06:44]line Контрольно-Кассовый Чек [09:06:44]line ПРОДАЖА [09:06:44]line ТРК (МРК, ГНК) : 12 [09:06:44]line Товар: 50.50.0 [09:06:44]line SUPER 92-К-5 [09:06:44]line 34.510 * 68.40 [09:06:44]line = 2360.48 [09:06:44]line НДС 12% НСП 1% [09:06:44]line > о реализуемом товаре [09:06:44]line ОКРУГЛЕНИЕ: -0.48 [09:06:44]line ИТОГО: 2360.00 [09:06:44]line НСП 1% : 20.89 [09:06:44]line НДС 12% : 250.67 [09:06:44]line Наличными: 0.00 [09:06:44]line Безнал.: 2360.00 [09:06:44]line Место: АЗС № 178 "Партнер Нефть" [09:06:44]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [09:06:44]line СНО: Общий режим [09:06:44]line Чек 21 30.10.2024 09:06 [09:06:44]line Смена: 173 ФФД: 1.0 [09:06:44]line ЗНМ: 0300000014 [09:06:44]line РНМ: 0000000000161798 [09:06:44]line Версия ККМ: v1.0 [09:06:44]line Платежная система: Mbank [09:06:44]line ФМ: 0000000000963325 [09:06:44]line ФД: 15811 [09:06:44]line ФПД: 216382772349619 [09:06:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T090645&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15811&fm=216382772349619&tin=02508201610067®Number=0000000000161798&sum=236000 [09:06:44]OFD Sender: Processing packet 15811 [packets to send 4, broken 3] [09:06:44]ProducePacketName [09:06:44]name=ofd_packets/00015811 [09:06:44]OFD Sender: To server: pG, [09:06:44]CommunicateWithHost lk.salyk.kg:30040 [09:06:44]ConnectInit lk.salyk.kg [09:06:44]written 0, free lines is 4095 [09:06:44]Connected sock=11 [09:06:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 42 6A 05 01 FC 7E 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CE 86 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 10 9A 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 99 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 61 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 99 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 25 F7 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C3 3D 00 00 35 04 06 00 C4 CC 8A 48 0A B3 E0 B1 1A 06 1B C3 2D BA [09:06:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 7A 84 47 00 AE 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C3 3D 00 00 F4 03 04 00 0F A2 21 67 B6 04 01 00 00 47 E6 76 42 4C 70 42 9A [09:06:44]CommunicateWithHost err = 0 [09:06:44]CheckOFDResponse [09:06:44]1017 (14) - 77093643461234 [09:06:44]1041 (16) - 0000000000963325 [09:06:44]1040 (4) - 15811 [09:06:44]1012 (4) - 30.10.2024 03:03 [09:06:44]1206 (1) - 0 [09:06:44]OFD Sender: Remove packet 15811 [09:06:44]ProducePacketName [09:06:44]name=ofd_packets/00015811 [09:06:44]NVStorageDeleteData [09:06:45]Write to MH i2c: 01 00 00 77 06 7D [09:06:45]Write i2c OK [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: 01 [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: 01 07 00 [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: 01 07 00 77 06 00 00 00 00 00 1D 0D AE [09:06:45]RasterBufferAndPrint [09:06:45]line [09:06:45]line [09:06:45]line [09:06:45]line [09:06:45]line [09:06:45]written 0, free lines is 3366 [09:06:45]MH_Cut [09:06:45]Write to MH i2c: D1 01 00 7E 06 01 56 [09:06:45]Write i2c OK [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: D1 [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: D1 01 00 [09:06:45]MH_I2C_Read... [09:06:45]Read from MH i2c: D1 01 00 7E 06 00 55 [09:06:45]Write to MH i2c: 01 00 00 7F 06 85 [09:06:45]Write i2c OK [09:06:45]MH_I2C_Read... [09:06:45]OFD Sender: No OFD packet to send [09:06:45]*** Cut start [09:06:45]*** Partial cut [09:06:45]*** CUTSNS_PIN = 1 [09:06:45]*** CUTSNS_PIN = 0 [09:06:46]*** Brake cut motor [09:06:46]Read from MH i2c: 01 [09:06:46]MH_I2C_Read... [09:06:46]*** Stop cut motor [09:06:46]*** Cut end [09:06:46]Read from MH i2c: 01 07 00 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: 01 07 00 7F 06 00 00 00 00 00 FF 0F 9A [09:06:46]process_action close_receipt done [09:06:46]requested_data is exist [09:06:46]produce_requested_data [09:06:46]requested_item fm.sn is exist - process it [09:06:46]wFMCommunicate request_size=4 [09:06:46]MH_SAM_APDU [09:06:46]CAPDU: 80 11 00 00 [09:06:46]Write to MH i2c: E2 08 00 80 06 80 11 00 00 00 00 00 00 00 [09:06:46]Write i2c OK [09:06:46]MH_I2C_Read... [09:06:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:46]Read from MH i2c: E2 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 17 00 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 17 00 80 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 4F [09:06:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:06:46]wFMCommunicate OK [09:06:46]requested_item fd.num is exist - process it [09:06:46]SAM_PROTO_GetFieldsCounters [09:06:46]wFMCommunicate request_size=4 [09:06:46]MH_SAM_APDU [09:06:46]CAPDU: 80 13 00 00 [09:06:46]Write to MH i2c: E2 08 00 81 06 80 13 00 00 00 00 00 00 03 [09:06:46]Write i2c OK [09:06:46]MH_I2C_Read... [09:06:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:06:46]Read from MH i2c: E2 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 62 00 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 62 00 81 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C3 3D 00 00 0E 04 04 00 AD 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 13 [09:06:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C3 3D 00 00 0E 04 04 00 AD 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 [09:06:46]wFMCommunicate OK [09:06:46]SAM_PROTO_GetFieldsCounters done [09:06:46]requested_item shift.num is exist - process it [09:06:46]requested_item shift.opened is exist - process it [09:06:46]req_shift_opened [09:06:46]FM_GetShiftState [09:06:46]SAM_PROTO_GetShiftState [09:06:46]wFMCommunicate request_size=4 [09:06:46]MH_SAM_APDU [09:06:46]CAPDU: 80 13 01 00 [09:06:46]Write to MH i2c: E2 08 00 82 06 80 13 01 00 00 00 00 00 05 [09:06:46]Write i2c OK [09:06:46]MH_I2C_Read... [09:06:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:46]Read from MH i2c: E2 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 0E 00 [09:06:46]MH_I2C_Read... [09:06:46]Read from MH i2c: E2 0E 00 82 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 4A [09:06:46]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:06:46]wFMCommunicate OK [09:06:46]SAM_PROTO_GetShiftState done [09:06:46]FM_GetShiftState done [09:06:46]req_shift_opened done [09:06:46]requested_item shift.open_date is exist - process it [09:06:46]req_shift_open_date [09:06:46]req_shift_open_date done [09:06:46]produce_requested_data done [09:06:46]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15811,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [09:06:46]process_action_free close_receipt [09:06:46]json_value_free [09:06:46]json_value_free done [09:06:46]process_json_proto returns [09:06:46]Send response to host [09:06:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15811,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [09:06:46]free response buf [09:06:46]execute_script done [09:06:46]execute_script returns [09:06:46]free content buf [09:06:46]Sock 8.Close socket [09:06:46]Sock 8.Thread stoped [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]accept exits with 10 [09:08:45]New connection [09:08:45]New thread 3067010404 created [09:08:45]Thread 3067153764 joined [09:08:45]Waiting for new connection... [09:08:45] Sock 10.Parse request [09:08:45]Sock 10.Check first char [09:08:45]Sock 10.First char is OK [09:08:45]request: POST /json_proto HTTP/1.0 [09:08:45]Method: POST [09:08:45]URL: /json_proto [09:08:45]Method is POST - this is cgi request [09:08:45]url: /json_proto [09:08:45]query_string will be loaded in cgi processing [09:08:45]execute_cgi json_proto POST (null) [09:08:45]execute_cgi path=json_proto method=POST [09:08:45]POST find Content-Length [09:08:45]Host: 172.17.54.195:8080 [09:08:45]Content-Length: 681 [09:08:45]Content-Type: application/json [09:08:45] [09:08:45]POST finish read [09:08:45]Found Content-Length = 681 [09:08:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16362", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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" ] } } [09:08:45]execute_script... [09:08:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16362", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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" ] } } [09:08:45]POST & json_proto [09:08:45]process_json_proto [09:08:45]json parsed OK: [09:08:45]protocol is kg_v1.0 [09:08:45]action value=close_receipt [09:08:45]process_action close_receipt [09:08:45]cmd_close_receipt [09:08:45]MH_GetDate [09:08:45]Write to MH i2c: F0 00 00 83 06 78 [09:08:45]Write i2c OK [09:08:45]MH_I2C_Read... [09:08:45]Read from MH i2c: F0 [09:08:45]MH_I2C_Read... [09:08:45]Read from MH i2c: F0 09 00 [09:08:45]MH_I2C_Read... [09:08:45]Read from MH i2c: F0 09 00 83 06 00 A0 F7 21 67 8D 90 A3 66 C6 [09:08:45]GetLastDocTimeStamp 1730279205 [09:08:45]current date 1730279328 [09:08:45]FM_GetShiftState [09:08:45]SAM_PROTO_GetShiftState [09:08:45]wFMCommunicate request_size=4 [09:08:45]MH_SAM_APDU [09:08:45]CAPDU: 80 13 01 00 [09:08:45]Write to MH i2c: E2 08 00 84 06 80 13 01 00 00 00 00 00 07 [09:08:45]Write i2c OK [09:08:45]MH_I2C_Read... [09:08:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:45]Read from MH i2c: E2 [09:08:45]MH_I2C_Read... [09:08:45]Read from MH i2c: E2 0E 00 [09:08:45]MH_I2C_Read... [09:08:45]Read from MH i2c: E2 0E 00 84 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 4C [09:08:45]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:08:45]wFMCommunicate OK [09:08:45]SAM_PROTO_GetShiftState done [09:08:45]FM_GetShiftState done [09:08:45]opened in 1730247478 [09:08:45]opened+sec_in_day 1730333878 [09:08:45]quantity*price = 100021 [09:08:45]sum+1 = 100023 [09:08:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 22 30.10.2024 09:08 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15812 ФПД: 108760252929115 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T090848&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15812&fm=108760252929115&tin=02508201610067®Number=0000000000161798&sum=100000 [09:08:46]StoreToDocumentArchive [09:08:46]shift 173 fd 15812 [09:08:46]save to /storage/0173/doc_00015812 [09:08:46]save last doc name /storage/0173/doc_00015812 to /storage/kkm_last_doc_name [09:08:46]save OK [09:08:46]Clear old archive folders... [09:08:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:08:46]tlvbuf is 00250700 [09:08:46]SAM_PROTO_ClearQueue [09:08:46]wFMCommunicate request_size=4 [09:08:46]MH_SAM_APDU [09:08:46]CAPDU: 80 09 00 00 [09:08:46]Write to MH i2c: E2 08 00 91 06 80 09 00 00 00 00 00 00 09 [09:08:46]Write i2c OK [09:08:46]MH_I2C_Read... [09:08:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:08:46]Read from MH i2c: E2 [09:08:46]MH_I2C_Read... [09:08:46]Read from MH i2c: E2 03 00 [09:08:46]MH_I2C_Read... [09:08:46]Read from MH i2c: E2 03 00 91 06 00 90 00 0B [09:08:46]RAPDU: 90 00 [09:08:46]wFMCommunicate OK [09:08:46]SAM_PROTO_ClearQueue done [09:08:46]KKMCreateOFDPacket [09:08:46]OFDProtocolAddRootSTLVToBuf [09:08:46]FM_MakeSignedData [09:08:46]FM_MakeSignedData [09:08:46]SAM_PROTO_SignData [09:08:46]wFMCommunicate request_size=4 [09:08:46]MH_SAM_APDU [09:08:46]CAPDU: 80 0D 01 02 [09:08:46]Write to MH i2c: E2 08 00 92 06 80 0D 01 02 00 00 00 00 11 [09:08:46]Write i2c OK [09:08:46]MH_I2C_Read... [09:08:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:08:46]Read from MH i2c: E2 [09:08:46]MH_I2C_Read... [09:08:46]Read from MH i2c: E2 03 00 [09:08:46]MH_I2C_Read... [09:08:46]Read from MH i2c: E2 03 00 92 06 00 90 00 0C [09:08:46]RAPDU: 90 00 [09:08:46]wFMCommunicate OK [09:08:46]wFMCommunicate request_size=255 [09:08:46]MH_SAM_APDU [09:08:46]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 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 A0 F7 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C4 3D 00 00 35 04 06 00 62 [09:08:46]Write to MH i2c: E2 02 01 93 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 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 A0 F7 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C4 3D 00 00 35 04 06 00 62 00 00 05 [09:08:46]Write i2c OK [09:08:46]MH_I2C_Read... [09:08:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:46]Read from MH i2c: E2 [09:08:46]MH_I2C_Read... [09:08:46]Read from MH i2c: E2 03 00 [09:08:46]MH_I2C_Read... [09:08:46]Read from MH i2c: E2 03 00 93 06 00 90 00 0D [09:08:46]RAPDU: 90 00 [09:08:46]wFMCommunicate OK [09:08:46]wFMCommunicate request_size=10 [09:08:46]MH_SAM_APDU [09:08:46]CAPDU: 80 0D 02 02 05 EA B8 3D D4 5B [09:08:46]Write to MH i2c: E2 0D 00 94 06 80 0D 02 02 05 00 EA B8 3D D4 5B 00 00 2C [09:08:46]Write i2c OK [09:08:46]MH_I2C_Read... [09:08:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:46]Read from MH i2c: E2 [09:08:46]MH_I2C_Read... [09:08:46]Read from MH i2c: E2 03 00 [09:08:46]MH_I2C_Read... [09:08:46]Read from MH i2c: E2 03 00 94 06 00 90 00 0E [09:08:46]RAPDU: 90 00 [09:08:46]wFMCommunicate OK [09:08:46]wFMCommunicate request_size=4 [09:08:46]MH_SAM_APDU [09:08:46]CAPDU: 80 0D 03 02 [09:08:46]Write to MH i2c: E2 08 00 95 06 80 0D 03 02 00 00 00 00 16 [09:08:46]Write i2c OK [09:08:46]MH_I2C_Read... [09:08:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:08:47]Read from MH i2c: E2 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: E2 0B 00 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: E2 0B 00 95 06 00 18 4F 4C 01 81 39 92 DC 90 00 F3 [09:08:47]RAPDU: 18 4F 4C 01 81 39 92 DC 90 00 [09:08:47]wFMCommunicate OK [09:08:47]SAM_PROTO_SignData done [09:08:47]FM_MakeSignedData done [09:08:47]CreateOFDProtocolMessage [09:08:47]wFMCommunicate request_size=4 [09:08:47]MH_SAM_APDU [09:08:47]CAPDU: 80 11 00 00 [09:08:47]Write to MH i2c: E2 08 00 96 06 80 11 00 00 00 00 00 00 16 [09:08:47]Write i2c OK [09:08:47]MH_I2C_Read... [09:08:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:47]Read from MH i2c: E2 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: E2 17 00 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: E2 17 00 96 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 65 [09:08:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:08:47]wFMCommunicate OK [09:08:47]CreateOFDProtocolMessage done [09:08:47]OFDSenderStorePacket 15812 [09:08:47]StoreOFDPacket docnum=15812 [09:08:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 60 46 07 01 DF FE 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 A0 F7 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C4 3D 00 00 35 04 06 00 62 EA B8 3D D4 5B 18 4F 4C 01 81 39 92 DC [09:08:47]CheckFolder [09:08:47]dirname=/storage/ofd_packets [09:08:47]CheckFolder done [09:08:47]ProducePacketName [09:08:47]name=ofd_packets/00015812 [09:08:47]NVStorageSaveData ofd_packets/00015812 [09:08:47]File name is /storage/ofd_packets/00015812 [09:08:47]Write 301 bytes [09:08:47]NVStorageSaveData done [09:08:47]OFDSenderStorePacket done [09:08:47]KKMCreateOFDPacket done [09:08:47]NVStorageSaveData kkm_last_timestamp [09:08:47]File name is /storage/kkm_last_timestamp [09:08:47]Write 4 bytes [09:08:47]NVStorageSaveData done [09:08:47]ExternCall_PrintAddStr [09:08:47]wPrintStart [09:08:47]Write to MH i2c: 01 00 00 97 06 9D [09:08:47]Write i2c OK [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: 01 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: 01 07 00 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: 01 07 00 97 06 00 00 00 00 00 FF 0F B2 [09:08:47]RasterBufferAndPrint [09:08:47]line Счет N : (1)16362 [09:08:47]line ИНН: 02508201610067 [09:08:47]line Контрольно-Кассовый Чек [09:08:47]line ПРОДАЖА [09:08:47]line ТРК (МРК, ГНК) : 11 [09:08:47]line Товар: 2710124500 [09:08:47]line Аи-95-К-5 [09:08:47]line 13.480 * 74.20 [09:08:47]line = 1000.22 [09:08:47]line НДС 12% НСП 1% [09:08:47]line > о реализуемом товаре [09:08:47]line ОКРУГЛЕНИЕ: -0.22 [09:08:47]line ИТОГО: 1000.00 [09:08:47]line Внесено: 1000.00 [09:08:47]line СДАЧА: 0.00 [09:08:47]line НСП 1% : 8.85 [09:08:47]line НДС 12% : 106.22 [09:08:47]line Наличными: 1000.00 [09:08:47]line Безнал.: 0.00 [09:08:47]line Место: АЗС № 178 "Партнер Нефть" [09:08:47]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [09:08:47]line СНО: Общий режим [09:08:47]line Чек 22 30.10.2024 09:08 [09:08:47]line Смена: 173 ФФД: 1.0 [09:08:47]line ЗНМ: 0300000014 [09:08:47]line РНМ: 0000000000161798 [09:08:47]line Версия ККМ: v1.0 [09:08:47]line ФМ: 0000000000963325 [09:08:47]line ФД: 15812 [09:08:47]line ФПД: 108760252929115 [09:08:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T090848&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15812&fm=108760252929115&tin=02508201610067®Number=0000000000161798&sum=100000 [09:08:47]OFD Sender: Processing packet 15812 [packets to send 4, broken 3] [09:08:47]ProducePacketName [09:08:47]name=ofd_packets/00015812 [09:08:47]OFD Sender: To server: pG, [09:08:47]CommunicateWithHost lk.salyk.kg:30040 [09:08:47]ConnectInit lk.salyk.kg [09:08:47]written 0, free lines is 4095 [09:08:47]Connected sock=9 [09:08:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 60 46 07 01 DF FE 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 A0 F7 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C4 3D 00 00 35 04 06 00 62 EA B8 3D D4 5B 18 4F 4C 01 81 39 92 DC [09:08:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 6C 76 47 00 0F B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C4 3D 00 00 F4 03 04 00 8A A2 21 67 B6 04 01 00 00 85 B8 FF 07 27 57 04 D4 [09:08:47]CommunicateWithHost err = 0 [09:08:47]CheckOFDResponse [09:08:47]1017 (14) - 77093643461234 [09:08:47]1041 (16) - 0000000000963325 [09:08:47]1040 (4) - 15812 [09:08:47]1012 (4) - 30.10.2024 03:05 [09:08:47]1206 (1) - 0 [09:08:47]OFD Sender: Remove packet 15812 [09:08:47]ProducePacketName [09:08:47]name=ofd_packets/00015812 [09:08:47]NVStorageDeleteData [09:08:47]Write to MH i2c: 01 00 00 C2 06 C8 [09:08:47]Write i2c OK [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: 01 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: 01 07 00 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: 01 07 00 C2 06 00 00 00 00 00 02 0D DE [09:08:47]RasterBufferAndPrint [09:08:47]line [09:08:47]line [09:08:47]line [09:08:47]line [09:08:47]line [09:08:47]written 0, free lines is 3339 [09:08:47]MH_Cut [09:08:47]Write to MH i2c: D1 01 00 C9 06 01 A1 [09:08:47]Write i2c OK [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: D1 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: D1 01 00 [09:08:47]MH_I2C_Read... [09:08:47]Read from MH i2c: D1 01 00 C9 06 00 A0 [09:08:47]Write to MH i2c: 01 00 00 CA 06 D0 [09:08:47]Write i2c OK [09:08:47]MH_I2C_Read... [09:08:48]OFD Sender: No OFD packet to send [09:08:48]*** Cut start [09:08:48]*** Partial cut [09:08:48]*** CUTSNS_PIN = 1 [09:08:48]*** CUTSNS_PIN = 0 [09:08:48]*** Brake cut motor [09:08:49]Read from MH i2c: 01 [09:08:49]MH_I2C_Read... [09:08:49]*** Stop cut motor [09:08:49]*** Cut end [09:08:49]Read from MH i2c: 01 07 00 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: 01 07 00 CA 06 00 00 00 00 00 FF 0F E5 [09:08:49]process_action close_receipt done [09:08:49]requested_data is exist [09:08:49]produce_requested_data [09:08:49]requested_item fm.sn is exist - process it [09:08:49]wFMCommunicate request_size=4 [09:08:49]MH_SAM_APDU [09:08:49]CAPDU: 80 11 00 00 [09:08:49]Write to MH i2c: E2 08 00 CB 06 80 11 00 00 00 00 00 00 4B [09:08:49]Write i2c OK [09:08:49]MH_I2C_Read... [09:08:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:49]Read from MH i2c: E2 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: E2 17 00 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: E2 17 00 CB 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 9A [09:08:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:08:49]wFMCommunicate OK [09:08:49]requested_item fd.num is exist - process it [09:08:49]SAM_PROTO_GetFieldsCounters [09:08:49]wFMCommunicate request_size=4 [09:08:49]MH_SAM_APDU [09:08:49]CAPDU: 80 13 00 00 [09:08:49]Write to MH i2c: E2 08 00 CC 06 80 13 00 00 00 00 00 00 4E [09:08:49]Write i2c OK [09:08:49]MH_I2C_Read... [09:08:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:49]Read from MH i2c: E2 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: E2 62 00 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: E2 62 00 CC 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C4 3D 00 00 0E 04 04 00 AD 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 62 [09:08:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C4 3D 00 00 0E 04 04 00 AD 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 [09:08:49]wFMCommunicate OK [09:08:49]SAM_PROTO_GetFieldsCounters done [09:08:49]requested_item shift.num is exist - process it [09:08:49]requested_item shift.opened is exist - process it [09:08:49]req_shift_opened [09:08:49]FM_GetShiftState [09:08:49]SAM_PROTO_GetShiftState [09:08:49]wFMCommunicate request_size=4 [09:08:49]MH_SAM_APDU [09:08:49]CAPDU: 80 13 01 00 [09:08:49]Write to MH i2c: E2 08 00 CD 06 80 13 01 00 00 00 00 00 50 [09:08:49]Write i2c OK [09:08:49]MH_I2C_Read... [09:08:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:49]Read from MH i2c: E2 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: E2 0E 00 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: E2 0E 00 CD 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 95 [09:08:49]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:08:49]wFMCommunicate OK [09:08:49]SAM_PROTO_GetShiftState done [09:08:49]FM_GetShiftState done [09:08:49]req_shift_opened done [09:08:49]requested_item shift.open_date is exist - process it [09:08:49]req_shift_open_date [09:08:49]req_shift_open_date done [09:08:49]produce_requested_data done [09:08:49]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15812,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [09:08:49]process_action_free close_receipt [09:08:49]json_value_free [09:08:49]json_value_free done [09:08:49]process_json_proto returns [09:08:49]Send response to host [09:08:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15812,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [09:08:49]free response buf [09:08:49]execute_script done [09:08:49]execute_script returns [09:08:49]free content buf [09:08:49]Sock 10.Close socket [09:08:49]Sock 10.Thread stoped [09:08:53]OFD Sender: No OFD packet to send [09:08:58]OFD Sender: No OFD packet to send [09:09:03]OFD Sender: No OFD packet to send [09:09:08]OFD Sender: No OFD packet to send [09:09:13]OFD Sender: No OFD packet to send [09:09:18]OFD Sender: No OFD packet to send [09:09:23]OFD Sender: No OFD packet to send [09:09:28]OFD Sender: No OFD packet to send [09:09:33]OFD Sender: No OFD packet to send [09:09:38]OFD Sender: No OFD packet to send [09:09:43]OFD Sender: No OFD packet to send [09:09:48]OFD Sender: No OFD packet to send [09:09:53]OFD Sender: No OFD packet to send [09:09:58]OFD Sender: No OFD packet to send [09:10:03]OFD Sender: No OFD packet to send [09:10:08]OFD Sender: No OFD packet to send [09:10:13]OFD Sender: No OFD packet to send [09:10:18]OFD Sender: No OFD packet to send [09:10:23]OFD Sender: No OFD packet to send [09:10:28]OFD Sender: No OFD packet to send [09:10:33]OFD Sender: No OFD packet to send [09:10:38]OFD Sender: No OFD packet to send [09:10:43]OFD Sender: No OFD packet to send [09:10:48]OFD Sender: No OFD packet to send [09:10:53]OFD Sender: No OFD packet to send [09:10:58]OFD Sender: No OFD packet to send [09:11:03]OFD Sender: No OFD packet to send [09:11:08]OFD Sender: No OFD packet to send [09:11:13]OFD Sender: No OFD packet to send [09:11:18]OFD Sender: No OFD packet to send [09:11:23]OFD Sender: No OFD packet to send [09:11:28]OFD Sender: No OFD packet to send [09:11:33]OFD Sender: No OFD packet to send [09:11:38]OFD Sender: No OFD packet to send [09:11:43]OFD Sender: No OFD packet to send [09:11:48]OFD Sender: No OFD packet to send [09:11:53]OFD Sender: No OFD packet to send [09:11:58]OFD Sender: No OFD packet to send [09:12:03]OFD Sender: No OFD packet to send [09:12:08]OFD Sender: No OFD packet to send [09:12:13]OFD Sender: No OFD packet to send [09:12:18]OFD Sender: No OFD packet to send [09:12:23]OFD Sender: No OFD packet to send [09:12:28]OFD Sender: No OFD packet to send [09:12:33]OFD Sender: No OFD packet to send [09:12:38]OFD Sender: No OFD packet to send [09:12:43]OFD Sender: No OFD packet to send [09:12:44]accept exits with 8 [09:12:44]New connection [09:12:44]New thread 3067153764 created [09:12:44]Thread 3067010404 joined [09:12:44]Waiting for new connection... [09:12:44] Sock 8.Parse request [09:12:44]Sock 8.Check first char [09:12:44]Sock 8.First char is OK [09:12:44]request: POST /json_proto HTTP/1.0 [09:12:44]Method: POST [09:12:44]URL: /json_proto [09:12:44]Method is POST - this is cgi request [09:12:44]url: /json_proto [09:12:44]query_string will be loaded in cgi processing [09:12:44]execute_cgi json_proto POST (null) [09:12:44]execute_cgi path=json_proto method=POST [09:12:44]POST find Content-Length [09:12:44]Host: 172.17.54.195:8080 [09:12:44]Content-Length: 681 [09:12:44]Content-Type: application/json [09:12:44] [09:12:44]POST finish read [09:12:44]Found Content-Length = 681 [09:12:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16363", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 25.220, "sum" : 981.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 981.00, "payments": [ { "type": 0, "sum" : 981.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:12:44]execute_script... [09:12:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16363", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 25.220, "sum" : 981.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 981.00, "payments": [ { "type": 0, "sum" : 981.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:12:44]POST & json_proto [09:12:44]process_json_proto [09:12:44]json parsed OK: [09:12:44]protocol is kg_v1.0 [09:12:44]action value=close_receipt [09:12:44]process_action close_receipt [09:12:44]cmd_close_receipt [09:12:44]MH_GetDate [09:12:44]Write to MH i2c: F0 00 00 CE 06 C3 [09:12:44]Write i2c OK [09:12:44]MH_I2C_Read... [09:12:44]Read from MH i2c: F0 [09:12:44]MH_I2C_Read... [09:12:44]Read from MH i2c: F0 09 00 [09:12:44]MH_I2C_Read... [09:12:44]Read from MH i2c: F0 09 00 CE 06 00 8F F8 21 67 8D 90 A3 66 01 [09:12:44]GetLastDocTimeStamp 1730279328 [09:12:44]current date 1730279567 [09:12:44]FM_GetShiftState [09:12:44]SAM_PROTO_GetShiftState [09:12:44]wFMCommunicate request_size=4 [09:12:44]MH_SAM_APDU [09:12:44]CAPDU: 80 13 01 00 [09:12:44]Write to MH i2c: E2 08 00 CF 06 80 13 01 00 00 00 00 00 52 [09:12:44]Write i2c OK [09:12:44]MH_I2C_Read... [09:12:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:12:44]Read from MH i2c: E2 [09:12:44]MH_I2C_Read... [09:12:44]Read from MH i2c: E2 0E 00 [09:12:44]MH_I2C_Read... [09:12:44]Read from MH i2c: E2 0E 00 CF 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 97 [09:12:44]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:12:44]wFMCommunicate OK [09:12:44]SAM_PROTO_GetShiftState done [09:12:44]FM_GetShiftState done [09:12:44]opened in 1730247478 [09:12:44]opened+sec_in_day 1730333878 [09:12:44]quantity*price = 98105 [09:12:44]sum+1 = 98107 [09:12:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.06 ИТОГО: 981.00 Внесено: 1500.00 СДАЧА: 519.00 НСП 1% : 8.68 НДС 12% : 104.18 Наличными: 981.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 23 30.10.2024 09:12 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15813 ФПД: 39956396560176 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T091247&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15813&fm=39956396560176&tin=02508201610067®Number=0000000000161798&sum=98100 [09:12:45]StoreToDocumentArchive [09:12:45]shift 173 fd 15813 [09:12:45]save to /storage/0173/doc_00015813 [09:12:45]save last doc name /storage/0173/doc_00015813 to /storage/kkm_last_doc_name [09:12:45]save OK [09:12:45]Clear old archive folders... [09:12:45]ProcessDocumentItem done err = 0, tmpTLVsize=250 [09:12:45]tlvbuf is B6F0BE80 [09:12:45]SAM_PROTO_ClearQueue [09:12:45]wFMCommunicate request_size=4 [09:12:45]MH_SAM_APDU [09:12:45]CAPDU: 80 09 00 00 [09:12:45]Write to MH i2c: E2 08 00 DC 06 80 09 00 00 00 00 00 00 54 [09:12:45]Write i2c OK [09:12:45]MH_I2C_Read... [09:12:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:12:45]Read from MH i2c: E2 [09:12:45]MH_I2C_Read... [09:12:45]Read from MH i2c: E2 03 00 [09:12:45]MH_I2C_Read... [09:12:45]Read from MH i2c: E2 03 00 DC 06 00 90 00 56 [09:12:45]RAPDU: 90 00 [09:12:45]wFMCommunicate OK [09:12:45]SAM_PROTO_ClearQueue done [09:12:45]KKMCreateOFDPacket [09:12:45]OFDProtocolAddRootSTLVToBuf [09:12:45]FM_MakeSignedData [09:12:45]FM_MakeSignedData [09:12:45]SAM_PROTO_SignData [09:12:45]wFMCommunicate request_size=4 [09:12:45]MH_SAM_APDU [09:12:45]CAPDU: 80 0D 01 02 [09:12:45]Write to MH i2c: E2 08 00 DD 06 80 0D 01 02 00 00 00 00 5C [09:12:45]Write i2c OK [09:12:45]MH_I2C_Read... [09:12:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:12:45]Read from MH i2c: E2 [09:12:45]MH_I2C_Read... [09:12:45]Read from MH i2c: E2 03 00 [09:12:45]MH_I2C_Read... [09:12:45]Read from MH i2c: E2 03 00 DD 06 00 90 00 57 [09:12:45]RAPDU: 90 00 [09:12:45]wFMCommunicate OK [09:12:45]wFMCommunicate request_size=255 [09:12:45]MH_SAM_APDU [09:12:45]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 84 62 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 3A 7F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 7F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 28 00 00 00 00 07 04 06 00 34 7F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F F8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C5 3D 00 00 35 04 06 00 24 57 [09:12:45]Write to MH i2c: E2 02 01 DE 06 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 84 62 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 3A 7F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 7F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 28 00 00 00 00 07 04 06 00 34 7F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F F8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C5 3D 00 00 35 04 06 00 24 57 00 00 EA [09:12:45]Write i2c OK [09:12:45]MH_I2C_Read... [09:12:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:12:46]Read from MH i2c: E2 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: E2 03 00 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: E2 03 00 DE 06 00 90 00 58 [09:12:46]RAPDU: 90 00 [09:12:46]wFMCommunicate OK [09:12:46]wFMCommunicate request_size=9 [09:12:46]MH_SAM_APDU [09:12:46]CAPDU: 80 0D 02 02 04 12 D2 CF 30 [09:12:46]Write to MH i2c: E2 0C 00 DF 06 80 0D 02 02 04 00 12 D2 CF 30 00 00 4A [09:12:46]Write i2c OK [09:12:46]MH_I2C_Read... [09:12:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:12:46]Read from MH i2c: E2 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: E2 03 00 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: E2 03 00 DF 06 00 90 00 59 [09:12:46]RAPDU: 90 00 [09:12:46]wFMCommunicate OK [09:12:46]wFMCommunicate request_size=4 [09:12:46]MH_SAM_APDU [09:12:46]CAPDU: 80 0D 03 02 [09:12:46]Write to MH i2c: E2 08 00 E0 06 80 0D 03 02 00 00 00 00 61 [09:12:46]Write i2c OK [09:12:46]MH_I2C_Read... [09:12:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:12:46]Read from MH i2c: E2 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: E2 0B 00 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: E2 0B 00 E0 06 00 48 DA 06 0A CE 82 7F 05 90 00 68 [09:12:46]RAPDU: 48 DA 06 0A CE 82 7F 05 90 00 [09:12:46]wFMCommunicate OK [09:12:46]SAM_PROTO_SignData done [09:12:46]FM_MakeSignedData done [09:12:46]CreateOFDProtocolMessage [09:12:46]wFMCommunicate request_size=4 [09:12:46]MH_SAM_APDU [09:12:46]CAPDU: 80 11 00 00 [09:12:46]Write to MH i2c: E2 08 00 E1 06 80 11 00 00 00 00 00 00 61 [09:12:46]Write i2c OK [09:12:46]MH_I2C_Read... [09:12:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:12:46]Read from MH i2c: E2 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: E2 17 00 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: E2 17 00 E1 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 B0 [09:12:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:12:46]wFMCommunicate OK [09:12:46]CreateOFDProtocolMessage done [09:12:46]OFDSenderStorePacket 15813 [09:12:46]StoreOFDPacket docnum=15813 [09:12:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 02 67 06 01 60 F6 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 84 62 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 3A 7F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 7F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 28 00 00 00 00 07 04 06 00 34 7F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F F8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C5 3D 00 00 35 04 06 00 24 57 12 D2 CF 30 48 DA 06 0A CE 82 7F 05 [09:12:46]CheckFolder [09:12:46]dirname=/storage/ofd_packets [09:12:46]CheckFolder done [09:12:46]ProducePacketName [09:12:46]name=ofd_packets/00015813 [09:12:46]NVStorageSaveData ofd_packets/00015813 [09:12:46]File name is /storage/ofd_packets/00015813 [09:12:46]Write 300 bytes [09:12:46]NVStorageSaveData done [09:12:46]OFDSenderStorePacket done [09:12:46]KKMCreateOFDPacket done [09:12:46]NVStorageSaveData kkm_last_timestamp [09:12:46]File name is /storage/kkm_last_timestamp [09:12:46]Write 4 bytes [09:12:46]NVStorageSaveData done [09:12:46]ExternCall_PrintAddStr [09:12:46]wPrintStart [09:12:46]Write to MH i2c: 01 00 00 E2 06 E8 [09:12:46]Write i2c OK [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: 01 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: 01 07 00 [09:12:46]MH_I2C_Read... [09:12:46]Read from MH i2c: 01 07 00 E2 06 00 00 00 00 00 FF 0F FD [09:12:46]RasterBufferAndPrint [09:12:46]line Счет N : (1)16363 [09:12:46]line ИНН: 02508201610067 [09:12:46]line Контрольно-Кассовый Чек [09:12:46]line ПРОДАЖА [09:12:46]line ТРК (МРК, ГНК) : 41 [09:12:46]line Товар: 2711190000 [09:12:46]line ГАЗ-К-5 [09:12:46]line 25.220 * 38.90 [09:12:46]line = 981.06 [09:12:46]line НДС 12% НСП 1% [09:12:46]line > о реализуемом товаре [09:12:46]line ОКРУГЛЕНИЕ: -0.06 [09:12:46]line ИТОГО: 981.00 [09:12:46]line Внесено: 1500.00 [09:12:46]line СДАЧА: 519.00 [09:12:46]line НСП 1% : 8.68 [09:12:46]line НДС 12% : 104.18 [09:12:46]line Наличными: 981.00 [09:12:46]line Безнал.: 0.00 [09:12:46]line Место: АЗС № 178 "Партнер Нефть" [09:12:46]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [09:12:46]line СНО: Общий режим [09:12:46]line Чек 23 30.10.2024 09:12 [09:12:46]line Смена: 173 ФФД: 1.0 [09:12:46]line ЗНМ: 0300000014 [09:12:46]line РНМ: 0000000000161798 [09:12:46]line Версия ККМ: v1.0 [09:12:46]line ФМ: 0000000000963325 [09:12:46]line ФД: 15813 [09:12:46]line ФПД: 39956396560176 [09:12:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T091247&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15813&fm=39956396560176&tin=02508201610067®Number=0000000000161798&sum=98100 [09:12:46]OFD Sender: Processing packet 15813 [packets to send 4, broken 3] [09:12:46]ProducePacketName [09:12:46]name=ofd_packets/00015813 [09:12:46]OFD Sender: To server: pG, [09:12:46]CommunicateWithHost lk.salyk.kg:30040 [09:12:46]ConnectInit lk.salyk.kg [09:12:46]written 0, free lines is 4095 [09:12:46]Connected sock=10 [09:12:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 02 67 06 01 60 F6 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 84 62 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 3A 7F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 7F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 28 00 00 00 00 07 04 06 00 34 7F 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F F8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C5 3D 00 00 35 04 06 00 24 57 12 D2 CF 30 48 DA 06 0A CE 82 7F 05 [09:12:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 F5 31 47 00 C1 CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 C5 3D 00 00 F4 03 04 00 79 A3 21 67 B6 04 01 00 00 7C 1A B7 0F 6F 8D 52 C6 [09:12:46]CommunicateWithHost err = 0 [09:12:46]CheckOFDResponse [09:12:46]1017 (14) - 77093643461234 [09:12:46]1041 (16) - 0000000000963325 [09:12:46]1040 (4) - 15813 [09:12:46]1012 (4) - 30.10.2024 03:09 [09:12:46]1206 (1) - 0 [09:12:46]OFD Sender: Remove packet 15813 [09:12:46]ProducePacketName [09:12:46]name=ofd_packets/00015813 [09:12:46]NVStorageDeleteData [09:12:47]Write to MH i2c: 01 00 00 0D 07 14 [09:12:47]Write i2c OK [09:12:47]MH_I2C_Read... [09:12:47]Read from MH i2c: 01 [09:12:47]MH_I2C_Read... [09:12:47]Read from MH i2c: 01 07 00 [09:12:47]MH_I2C_Read... [09:12:47]Read from MH i2c: 01 07 00 0D 07 00 00 00 00 00 FC 0C 23 [09:12:47]RasterBufferAndPrint [09:12:47]line [09:12:47]line [09:12:47]line [09:12:47]line [09:12:47]line [09:12:47]written 0, free lines is 3330 [09:12:47]MH_Cut [09:12:47]Write to MH i2c: D1 01 00 14 07 01 ED [09:12:47]Write i2c OK [09:12:47]MH_I2C_Read... [09:12:47]Read from MH i2c: D1 [09:12:47]MH_I2C_Read... [09:12:47]Read from MH i2c: D1 01 00 [09:12:47]MH_I2C_Read... [09:12:47]Read from MH i2c: D1 01 00 14 07 00 EC [09:12:47]Write to MH i2c: 01 00 00 15 07 1C [09:12:47]Write i2c OK [09:12:47]MH_I2C_Read... [09:12:47]OFD Sender: No OFD packet to send [09:12:47]*** Cut start [09:12:47]*** Partial cut [09:12:47]*** CUTSNS_PIN = 1 [09:12:47]*** CUTSNS_PIN = 0 [09:12:48]*** Brake cut motor [09:12:48]Read from MH i2c: 01 [09:12:48]MH_I2C_Read... [09:12:48]*** Stop cut motor [09:12:48]*** Cut end [09:12:48]Read from MH i2c: 01 07 00 [09:12:48]MH_I2C_Read... [09:12:48]Read from MH i2c: 01 07 00 15 07 00 00 00 00 00 FF 0F 31 [09:12:48]process_action close_receipt done [09:12:48]requested_data is exist [09:12:48]produce_requested_data [09:12:48]requested_item fm.sn is exist - process it [09:12:48]wFMCommunicate request_size=4 [09:12:48]MH_SAM_APDU [09:12:48]CAPDU: 80 11 00 00 [09:12:48]Write to MH i2c: E2 08 00 16 07 80 11 00 00 00 00 00 00 97 [09:12:48]Write i2c OK [09:12:48]MH_I2C_Read... [09:12:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:12:48]Read from MH i2c: E2 [09:12:48]MH_I2C_Read... [09:12:48]Read from MH i2c: E2 17 00 [09:12:48]MH_I2C_Read... [09:12:48]Read from MH i2c: E2 17 00 16 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 E6 [09:12:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:12:48]wFMCommunicate OK [09:12:48]requested_item fd.num is exist - process it [09:12:48]SAM_PROTO_GetFieldsCounters [09:12:48]wFMCommunicate request_size=4 [09:12:48]MH_SAM_APDU [09:12:48]CAPDU: 80 13 00 00 [09:12:48]Write to MH i2c: E2 08 00 17 07 80 13 00 00 00 00 00 00 9A [09:12:48]Write i2c OK [09:12:48]MH_I2C_Read... [09:12:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:12:48]Read from MH i2c: E2 [09:12:48]MH_I2C_Read... [09:12:48]Read from MH i2c: E2 62 00 [09:12:48]MH_I2C_Read... [09:12:48]Read from MH i2c: E2 62 00 17 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C5 3D 00 00 0E 04 04 00 AD 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 B2 [09:12:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C5 3D 00 00 0E 04 04 00 AD 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 [09:12:48]wFMCommunicate OK [09:12:48]SAM_PROTO_GetFieldsCounters done [09:12:48]requested_item shift.num is exist - process it [09:12:48]requested_item shift.opened is exist - process it [09:12:48]req_shift_opened [09:12:48]FM_GetShiftState [09:12:48]SAM_PROTO_GetShiftState [09:12:48]wFMCommunicate request_size=4 [09:12:48]MH_SAM_APDU [09:12:48]CAPDU: 80 13 01 00 [09:12:48]Write to MH i2c: E2 08 00 18 07 80 13 01 00 00 00 00 00 9C [09:12:48]Write i2c OK [09:12:48]MH_I2C_Read... [09:12:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:12:48]Read from MH i2c: E2 [09:12:48]MH_I2C_Read... [09:12:48]Read from MH i2c: E2 0E 00 [09:12:48]MH_I2C_Read... [09:12:48]Read from MH i2c: E2 0E 00 18 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 E1 [09:12:48]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:12:48]wFMCommunicate OK [09:12:48]SAM_PROTO_GetShiftState done [09:12:48]FM_GetShiftState done [09:12:48]req_shift_opened done [09:12:48]requested_item shift.open_date is exist - process it [09:12:48]req_shift_open_date [09:12:48]req_shift_open_date done [09:12:48]produce_requested_data done [09:12:48]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15813,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [09:12:48]process_action_free close_receipt [09:12:48]json_value_free [09:12:48]json_value_free done [09:12:48]process_json_proto returns [09:12:48]Send response to host [09:12:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15813,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [09:12:48]free response buf [09:12:48]execute_script done [09:12:48]execute_script returns [09:12:48]free content buf [09:12:48]Sock 8.Close socket [09:12:48]Sock 8.Thread stoped [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:33]accept exits with 9 [09:14:33]New connection [09:14:33]New thread 3067010404 created [09:14:33]Thread 3067153764 joined [09:14:33]Waiting for new connection... [09:14:33] Sock 9.Parse request [09:14:33]Sock 9.Check first char [09:14:33]Sock 9.First char is OK [09:14:33]request: POST /json_proto HTTP/1.0 [09:14:33]Method: POST [09:14:33]URL: /json_proto [09:14:33]Method is POST - this is cgi request [09:14:33]url: /json_proto [09:14:33]query_string will be loaded in cgi processing [09:14:33]execute_cgi json_proto POST (null) [09:14:33]execute_cgi path=json_proto method=POST [09:14:33]POST find Content-Length [09:14:33]Host: 172.17.54.195:8080 [09:14:33]Content-Length: 628 [09:14:33]Content-Type: application/json [09:14:33] [09:14:33]POST finish read [09:14:33]Found Content-Length = 628 [09:14:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16364", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:14:33]execute_script... [09:14:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16364", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:14:33]POST & json_proto [09:14:33]process_json_proto [09:14:33]json parsed OK: [09:14:33]protocol is kg_v1.0 [09:14:33]action value=close_receipt [09:14:33]process_action close_receipt [09:14:33]cmd_close_receipt [09:14:33]MH_GetDate [09:14:33]Write to MH i2c: F0 00 00 19 07 0F [09:14:33]Write i2c OK [09:14:33]MH_I2C_Read... [09:14:33]Read from MH i2c: F0 [09:14:33]MH_I2C_Read... [09:14:33]Read from MH i2c: F0 09 00 [09:14:33]MH_I2C_Read... [09:14:33]Read from MH i2c: F0 09 00 19 07 00 FB F8 21 67 8D 90 A3 66 B9 [09:14:33]GetLastDocTimeStamp 1730279567 [09:14:33]current date 1730279675 [09:14:33]FM_GetShiftState [09:14:33]SAM_PROTO_GetShiftState [09:14:33]wFMCommunicate request_size=4 [09:14:33]MH_SAM_APDU [09:14:33]CAPDU: 80 13 01 00 [09:14:33]Write to MH i2c: E2 08 00 1A 07 80 13 01 00 00 00 00 00 9E [09:14:33]Write i2c OK [09:14:33]MH_I2C_Read... [09:14:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:14:33]Read from MH i2c: E2 [09:14:33]MH_I2C_Read... [09:14:33]Read from MH i2c: E2 0E 00 [09:14:33]MH_I2C_Read... [09:14:33]Read from MH i2c: E2 0E 00 1A 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 E3 [09:14:33]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:14:33]wFMCommunicate OK [09:14:33]SAM_PROTO_GetShiftState done [09:14:33]FM_GetShiftState done [09:14:33]opened in 1730247478 [09:14:33]opened+sec_in_day 1730333878 [09:14:33]quantity*price = 50000 [09:14:33]sum+1 = 50001 [09:14:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 24 30.10.2024 09:14 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15814 ФПД: 150164562216126 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T091436&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15814&fm=150164562216126&tin=02508201610067®Number=0000000000161798&sum=50000 [09:14:34]StoreToDocumentArchive [09:14:34]shift 173 fd 15814 [09:14:34]save to /storage/0173/doc_00015814 [09:14:34]save last doc name /storage/0173/doc_00015814 to /storage/kkm_last_doc_name [09:14:34]save OK [09:14:34]Clear old archive folders... [09:14:34]ProcessDocumentItem done err = 0, tmpTLVsize=249 [09:14:34]tlvbuf is 00226560 [09:14:34]SAM_PROTO_ClearQueue [09:14:34]wFMCommunicate request_size=4 [09:14:34]MH_SAM_APDU [09:14:34]CAPDU: 80 09 00 00 [09:14:34]Write to MH i2c: E2 08 00 27 07 80 09 00 00 00 00 00 00 A0 [09:14:34]Write i2c OK [09:14:34]MH_I2C_Read... [09:14:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:14:34]Read from MH i2c: E2 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 03 00 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 03 00 27 07 00 90 00 A2 [09:14:34]RAPDU: 90 00 [09:14:34]wFMCommunicate OK [09:14:34]SAM_PROTO_ClearQueue done [09:14:34]KKMCreateOFDPacket [09:14:34]OFDProtocolAddRootSTLVToBuf [09:14:34]FM_MakeSignedData [09:14:34]FM_MakeSignedData [09:14:34]SAM_PROTO_SignData [09:14:34]wFMCommunicate request_size=4 [09:14:34]MH_SAM_APDU [09:14:34]CAPDU: 80 0D 01 02 [09:14:34]Write to MH i2c: E2 08 00 28 07 80 0D 01 02 00 00 00 00 A8 [09:14:34]Write i2c OK [09:14:34]MH_I2C_Read... [09:14:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:14:34]Read from MH i2c: E2 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 03 00 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 03 00 28 07 00 90 00 A3 [09:14:34]RAPDU: 90 00 [09:14:34]wFMCommunicate OK [09:14:34]wFMCommunicate request_size=255 [09:14:34]MH_SAM_APDU [09:14:34]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 FC F8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C6 3D 00 00 35 04 06 00 88 92 E9 [09:14:34]Write to MH i2c: E2 02 01 29 07 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 FC F8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C6 3D 00 00 35 04 06 00 88 92 E9 00 00 33 [09:14:34]Write i2c OK [09:14:34]MH_I2C_Read... [09:14:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:14:34]Read from MH i2c: E2 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 03 00 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 03 00 29 07 00 90 00 A4 [09:14:34]RAPDU: 90 00 [09:14:34]wFMCommunicate OK [09:14:34]wFMCommunicate request_size=8 [09:14:34]MH_SAM_APDU [09:14:34]CAPDU: 80 0D 02 02 03 63 84 BE [09:14:34]Write to MH i2c: E2 0B 00 2A 07 80 0D 02 02 03 00 63 84 BE 00 00 56 [09:14:34]Write i2c OK [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 [09:14:34]MH_I2C_Read... [09:14:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:14:34]Read from MH i2c: E2 03 00 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 03 00 2A 07 00 90 00 A5 [09:14:34]RAPDU: 90 00 [09:14:34]wFMCommunicate OK [09:14:34]wFMCommunicate request_size=4 [09:14:34]MH_SAM_APDU [09:14:34]CAPDU: 80 0D 03 02 [09:14:34]Write to MH i2c: E2 08 00 2B 07 80 0D 03 02 00 00 00 00 AD [09:14:34]Write i2c OK [09:14:34]MH_I2C_Read... [09:14:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:14:34]Read from MH i2c: E2 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 0B 00 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 0B 00 2B 07 00 6B 74 49 5D D3 13 76 2E 90 00 BD [09:14:34]RAPDU: 6B 74 49 5D D3 13 76 2E 90 00 [09:14:34]wFMCommunicate OK [09:14:34]SAM_PROTO_SignData done [09:14:34]FM_MakeSignedData done [09:14:34]CreateOFDProtocolMessage [09:14:34]wFMCommunicate request_size=4 [09:14:34]MH_SAM_APDU [09:14:34]CAPDU: 80 11 00 00 [09:14:34]Write to MH i2c: E2 08 00 2C 07 80 11 00 00 00 00 00 00 AD [09:14:34]Write i2c OK [09:14:34]MH_I2C_Read... [09:14:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:14:34]Read from MH i2c: E2 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 17 00 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: E2 17 00 2C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 FC [09:14:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:14:34]wFMCommunicate OK [09:14:34]CreateOFDProtocolMessage done [09:14:34]OFDSenderStorePacket 15814 [09:14:34]StoreOFDPacket docnum=15814 [09:14:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 33 2B 05 01 57 93 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 FC F8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C6 3D 00 00 35 04 06 00 88 92 E9 63 84 BE 6B 74 49 5D D3 13 76 2E [09:14:34]CheckFolder [09:14:34]dirname=/storage/ofd_packets [09:14:34]CheckFolder done [09:14:34]ProducePacketName [09:14:34]name=ofd_packets/00015814 [09:14:34]NVStorageSaveData ofd_packets/00015814 [09:14:34]File name is /storage/ofd_packets/00015814 [09:14:34]Write 299 bytes [09:14:34]NVStorageSaveData done [09:14:34]OFDSenderStorePacket done [09:14:34]KKMCreateOFDPacket done [09:14:34]NVStorageSaveData kkm_last_timestamp [09:14:34]File name is /storage/kkm_last_timestamp [09:14:34]Write 4 bytes [09:14:34]NVStorageSaveData done [09:14:34]ExternCall_PrintAddStr [09:14:34]wPrintStart [09:14:34]Write to MH i2c: 01 00 00 2D 07 34 [09:14:34]Write i2c OK [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: 01 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: 01 07 00 [09:14:34]MH_I2C_Read... [09:14:34]Read from MH i2c: 01 07 00 2D 07 00 00 00 00 00 FF 0F 49 [09:14:34]RasterBufferAndPrint [09:14:34]line Счет N : (1)16364 [09:14:34]line ИНН: 02508201610067 [09:14:34]line Контрольно-Кассовый Чек [09:14:34]line ПРОДАЖА [09:14:34]line ТРК (МРК, ГНК) : 12 [09:14:34]line Товар: 50.50.0 [09:14:34]line SUPER 92-К-5 [09:14:34]line 7.310 * 68.40 [09:14:34]line = 500.00 [09:14:34]line НДС 12% НСП 1% [09:14:34]line > о реализуемом товаре [09:14:34]line ИТОГО: 500.00 [09:14:34]line НСП 1% : 4.42 [09:14:34]line НДС 12% : 53.10 [09:14:34]line Наличными: 500.00 [09:14:34]line Безнал.: 0.00 [09:14:34]line Место: АЗС № 178 "Партнер Нефть" [09:14:34]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [09:14:34]line СНО: Общий режим [09:14:34]line Чек 24 30.10.2024 09:14 [09:14:34]line Смена: 173 ФФД: 1.0 [09:14:34]line ЗНМ: 0300000014 [09:14:34]line РНМ: 0000000000161798 [09:14:34]line Версия ККМ: v1.0 [09:14:34]line ФМ: 0000000000963325 [09:14:34]line ФД: 15814 [09:14:34]line ФПД: 150164562216126 [09:14:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T091436&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15814&fm=150164562216126&tin=02508201610067®Number=0000000000161798&sum=50000 [09:14:34]written 0, free lines is 4095 [09:14:34]OFD Sender: Processing packet 15814 [packets to send 4, broken 3] [09:14:34]ProducePacketName [09:14:34]name=ofd_packets/00015814 [09:14:34]OFD Sender: To server: pG, [09:14:34]CommunicateWithHost lk.salyk.kg:30040 [09:14:35]ConnectInit lk.salyk.kg [09:14:35]Connected sock=10 [09:14:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 33 2B 05 01 57 93 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 FC F8 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C6 3D 00 00 35 04 06 00 88 92 E9 63 84 BE 6B 74 49 5D D3 13 76 2E [09:14:35]Write to MH i2c: 01 00 00 55 07 5C [09:14:35]Write i2c OK [09:14:35]MH_I2C_Read... [09:14:35]Read from MH i2c: 01 [09:14:35]MH_I2C_Read... [09:14:35]Read from MH i2c: 01 07 00 [09:14:35]MH_I2C_Read... [09:14:35]Read from MH i2c: 01 07 00 55 07 00 00 00 00 00 1B 0D 8B [09:14:35]RasterBufferAndPrint [09:14:35]line [09:14:35]line [09:14:35]line [09:14:35]line [09:14:35]line [09:14:35]written 0, free lines is 3364 [09:14:35]MH_Cut [09:14:35]Write to MH i2c: D1 01 00 5C 07 01 35 [09:14:35]Write i2c OK [09:14:35]MH_I2C_Read... [09:14:35]Read from MH i2c: D1 [09:14:35]MH_I2C_Read... [09:14:35]Read from MH i2c: D1 01 00 [09:14:35]MH_I2C_Read... [09:14:35]Read from MH i2c: D1 01 00 5C 07 00 34 [09:14:35]Write to MH i2c: 01 00 00 5D 07 64 [09:14:35]Write i2c OK [09:14:35]MH_I2C_Read... [09:14:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 F3 2F 47 00 32 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C6 3D 00 00 F4 03 04 00 E5 A3 21 67 B6 04 01 00 00 1A 7F B0 20 0E 85 2F BF [09:14:35]CommunicateWithHost err = 0 [09:14:35]CheckOFDResponse [09:14:35]1017 (14) - 77093643461234 [09:14:35]1041 (16) - 0000000000963325 [09:14:35]1040 (4) - 15814 [09:14:35]1012 (4) - 30.10.2024 03:11 [09:14:35]1206 (1) - 0 [09:14:35]OFD Sender: Remove packet 15814 [09:14:35]ProducePacketName [09:14:35]name=ofd_packets/00015814 [09:14:35]NVStorageDeleteData [09:14:35]*** Cut start [09:14:35]*** Partial cut [09:14:35]*** CUTSNS_PIN = 1 [09:14:35]OFD Sender: No OFD packet to send [09:14:36]*** CUTSNS_PIN = 0 [09:14:36]*** Brake cut motor [09:14:36]Read from MH i2c: 01 [09:14:36]MH_I2C_Read... [09:14:36]*** Stop cut motor [09:14:36]*** Cut end [09:14:36]Read from MH i2c: 01 07 00 [09:14:36]MH_I2C_Read... [09:14:36]Read from MH i2c: 01 07 00 5D 07 00 00 00 00 00 FF 0F 79 [09:14:36]process_action close_receipt done [09:14:36]requested_data is exist [09:14:36]produce_requested_data [09:14:36]requested_item fm.sn is exist - process it [09:14:36]wFMCommunicate request_size=4 [09:14:36]MH_SAM_APDU [09:14:36]CAPDU: 80 11 00 00 [09:14:36]Write to MH i2c: E2 08 00 5E 07 80 11 00 00 00 00 00 00 DF [09:14:36]Write i2c OK [09:14:36]MH_I2C_Read... [09:14:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:14:36]Read from MH i2c: E2 [09:14:36]MH_I2C_Read... [09:14:36]Read from MH i2c: E2 17 00 [09:14:36]MH_I2C_Read... [09:14:36]Read from MH i2c: E2 17 00 5E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 2E [09:14:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:14:36]wFMCommunicate OK [09:14:36]requested_item fd.num is exist - process it [09:14:36]SAM_PROTO_GetFieldsCounters [09:14:36]wFMCommunicate request_size=4 [09:14:36]MH_SAM_APDU [09:14:36]CAPDU: 80 13 00 00 [09:14:36]Write to MH i2c: E2 08 00 5F 07 80 13 00 00 00 00 00 00 E2 [09:14:36]Write i2c OK [09:14:36]MH_I2C_Read... [09:14:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:14:36]Read from MH i2c: E2 [09:14:36]MH_I2C_Read... [09:14:36]Read from MH i2c: E2 62 00 [09:14:36]MH_I2C_Read... [09:14:36]Read from MH i2c: E2 62 00 5F 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C6 3D 00 00 0E 04 04 00 AD 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 FE [09:14:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C6 3D 00 00 0E 04 04 00 AD 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 [09:14:36]wFMCommunicate OK [09:14:36]SAM_PROTO_GetFieldsCounters done [09:14:36]requested_item shift.num is exist - process it [09:14:36]requested_item shift.opened is exist - process it [09:14:36]req_shift_opened [09:14:36]FM_GetShiftState [09:14:36]SAM_PROTO_GetShiftState [09:14:36]wFMCommunicate request_size=4 [09:14:36]MH_SAM_APDU [09:14:36]CAPDU: 80 13 01 00 [09:14:36]Write to MH i2c: E2 08 00 60 07 80 13 01 00 00 00 00 00 E4 [09:14:36]Write i2c OK [09:14:36]MH_I2C_Read... [09:14:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:14:36]Read from MH i2c: E2 [09:14:36]MH_I2C_Read... [09:14:36]Read from MH i2c: E2 0E 00 [09:14:36]MH_I2C_Read... [09:14:36]Read from MH i2c: E2 0E 00 60 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 29 [09:14:36]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:14:36]wFMCommunicate OK [09:14:36]SAM_PROTO_GetShiftState done [09:14:36]FM_GetShiftState done [09:14:36]req_shift_opened done [09:14:36]requested_item shift.open_date is exist - process it [09:14:36]req_shift_open_date [09:14:36]req_shift_open_date done [09:14:36]produce_requested_data done [09:14:36]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15814,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [09:14:36]process_action_free close_receipt [09:14:36]json_value_free [09:14:36]json_value_free done [09:14:36]process_json_proto returns [09:14:36]Send response to host [09:14:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15814,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [09:14:36]free response buf [09:14:36]execute_script done [09:14:36]execute_script returns [09:14:36]free content buf [09:14:36]Sock 9.Close socket [09:14:36]Sock 9.Thread stoped [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:55]OFD Sender: No OFD packet to send [09:15:00]OFD Sender: No OFD packet to send [09:15:05]OFD Sender: No OFD packet to send [09:15:10]OFD Sender: No OFD packet to send [09:15:15]OFD Sender: No OFD packet to send [09:15:20]OFD Sender: No OFD packet to send [09:15:25]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:45]accept exits with 8 [09:15:45]New connection [09:15:45]New thread 3067153764 created [09:15:45]Thread 3067010404 joined [09:15:45]Waiting for new connection... [09:15:45] Sock 8.Parse request [09:15:45]Sock 8.Check first char [09:15:45]Sock 8.First char is OK [09:15:45]request: POST /json_proto HTTP/1.0 [09:15:45]Method: POST [09:15:45]URL: /json_proto [09:15:45]Method is POST - this is cgi request [09:15:45]url: /json_proto [09:15:45]query_string will be loaded in cgi processing [09:15:45]execute_cgi json_proto POST (null) [09:15:45]execute_cgi path=json_proto method=POST [09:15:45]POST find Content-Length [09:15:45]Host: 172.17.54.195:8080 [09:15:45]Content-Length: 666 [09:15:45]Content-Type: application/json [09:15:45] [09:15:45]POST finish read [09:15:45]Found Content-Length = 666 [09:15:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16365", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 2.930, "sum" : 200.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:45]execute_script... [09:15:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16365", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 2.930, "sum" : 200.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:45]POST & json_proto [09:15:45]process_json_proto [09:15:45]json parsed OK: [09:15:45]protocol is kg_v1.0 [09:15:45]action value=close_receipt [09:15:45]process_action close_receipt [09:15:45]cmd_close_receipt [09:15:45]MH_GetDate [09:15:45]Write to MH i2c: F0 00 00 61 07 57 [09:15:45]Write i2c OK [09:15:45]MH_I2C_Read... [09:15:45]Read from MH i2c: F0 [09:15:45]MH_I2C_Read... [09:15:45]Read from MH i2c: F0 09 00 [09:15:45]MH_I2C_Read... [09:15:45]Read from MH i2c: F0 09 00 61 07 00 44 F9 21 67 8D 90 A3 66 4B [09:15:45]GetLastDocTimeStamp 1730279676 [09:15:45]current date 1730279748 [09:15:45]FM_GetShiftState [09:15:45]SAM_PROTO_GetShiftState [09:15:45]wFMCommunicate request_size=4 [09:15:45]MH_SAM_APDU [09:15:45]CAPDU: 80 13 01 00 [09:15:45]Write to MH i2c: E2 08 00 62 07 80 13 01 00 00 00 00 00 E6 [09:15:45]Write i2c OK [09:15:45]MH_I2C_Read... [09:15:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:45]Read from MH i2c: E2 [09:15:45]MH_I2C_Read... [09:15:45]Read from MH i2c: E2 0E 00 [09:15:45]MH_I2C_Read... [09:15:45]Read from MH i2c: E2 0E 00 62 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 2B [09:15:45]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:15:45]wFMCommunicate OK [09:15:45]SAM_PROTO_GetShiftState done [09:15:45]FM_GetShiftState done [09:15:45]opened in 1730247478 [09:15:45]opened+sec_in_day 1730333878 [09:15:45]quantity*price = 20041 [09:15:45]sum+1 = 20042 [09:15:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.41 ИТОГО: 200.00 Внесено: 200.00 СДАЧА: 0.00 НСП 1% : 1.77 НДС 12% : 21.28 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 25 30.10.2024 09:15 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15815 ФПД: 143380951352095 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T091548&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15815&fm=143380951352095&tin=02508201610067®Number=0000000000161798&sum=20000 [09:15:46]StoreToDocumentArchive [09:15:46]shift 173 fd 15815 [09:15:46]save to /storage/0173/doc_00015815 [09:15:46]save last doc name /storage/0173/doc_00015815 to /storage/kkm_last_doc_name [09:15:46]save OK [09:15:46]Clear old archive folders... [09:15:46]ProcessDocumentItem done err = 0, tmpTLVsize=249 [09:15:46]tlvbuf is B6F89230 [09:15:46]SAM_PROTO_ClearQueue [09:15:46]wFMCommunicate request_size=4 [09:15:46]MH_SAM_APDU [09:15:46]CAPDU: 80 09 00 00 [09:15:46]Write to MH i2c: E2 08 00 6F 07 80 09 00 00 00 00 00 00 E8 [09:15:46]Write i2c OK [09:15:46]MH_I2C_Read... [09:15:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:15:46]Read from MH i2c: E2 [09:15:46]MH_I2C_Read... [09:15:46]Read from MH i2c: E2 03 00 [09:15:46]MH_I2C_Read... [09:15:46]Read from MH i2c: E2 03 00 6F 07 00 90 00 EA [09:15:46]RAPDU: 90 00 [09:15:46]wFMCommunicate OK [09:15:46]SAM_PROTO_ClearQueue done [09:15:46]KKMCreateOFDPacket [09:15:46]OFDProtocolAddRootSTLVToBuf [09:15:46]FM_MakeSignedData [09:15:46]FM_MakeSignedData [09:15:46]SAM_PROTO_SignData [09:15:46]wFMCommunicate request_size=4 [09:15:46]MH_SAM_APDU [09:15:46]CAPDU: 80 0D 01 02 [09:15:46]Write to MH i2c: E2 08 00 70 07 80 0D 01 02 00 00 00 00 F0 [09:15:46]Write i2c OK [09:15:46]MH_I2C_Read... [09:15:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:15:47]Read from MH i2c: E2 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 03 00 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 03 00 70 07 00 90 00 EB [09:15:47]RAPDU: 90 00 [09:15:47]wFMCommunicate OK [09:15:47]wFMCommunicate request_size=255 [09:15:47]MH_SAM_APDU [09:15:47]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 44 F9 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C7 3D 00 00 35 04 06 00 82 67 7A [09:15:47]Write to MH i2c: E2 02 01 71 07 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 44 F9 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C7 3D 00 00 35 04 06 00 82 67 7A 00 00 AF [09:15:47]Write i2c OK [09:15:47]MH_I2C_Read... [09:15:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:47]Read from MH i2c: E2 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 03 00 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 03 00 71 07 00 90 00 EC [09:15:47]RAPDU: 90 00 [09:15:47]wFMCommunicate OK [09:15:47]wFMCommunicate request_size=8 [09:15:47]MH_SAM_APDU [09:15:47]CAPDU: 80 0D 02 02 03 AC 43 1F [09:15:47]Write to MH i2c: E2 0B 00 72 07 80 0D 02 02 03 00 AC 43 1F 00 00 07 [09:15:47]Write i2c OK [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 [09:15:47]MH_I2C_Read... [09:15:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:47]Read from MH i2c: E2 03 00 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 03 00 72 07 00 90 00 ED [09:15:47]RAPDU: 90 00 [09:15:47]wFMCommunicate OK [09:15:47]wFMCommunicate request_size=4 [09:15:47]MH_SAM_APDU [09:15:47]CAPDU: 80 0D 03 02 [09:15:47]Write to MH i2c: E2 08 00 73 07 80 0D 03 02 00 00 00 00 F5 [09:15:47]Write i2c OK [09:15:47]MH_I2C_Read... [09:15:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:15:47]Read from MH i2c: E2 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 0B 00 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 0B 00 73 07 00 E3 6C 03 B6 0A 0A B4 F9 90 00 BF [09:15:47]RAPDU: E3 6C 03 B6 0A 0A B4 F9 90 00 [09:15:47]wFMCommunicate OK [09:15:47]SAM_PROTO_SignData done [09:15:47]FM_MakeSignedData done [09:15:47]CreateOFDProtocolMessage [09:15:47]wFMCommunicate request_size=4 [09:15:47]MH_SAM_APDU [09:15:47]CAPDU: 80 11 00 00 [09:15:47]Write to MH i2c: E2 08 00 74 07 80 11 00 00 00 00 00 00 F5 [09:15:47]Write i2c OK [09:15:47]MH_I2C_Read... [09:15:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:47]Read from MH i2c: E2 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 17 00 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: E2 17 00 74 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 44 [09:15:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:15:47]wFMCommunicate OK [09:15:47]CreateOFDProtocolMessage done [09:15:47]OFDSenderStorePacket 15815 [09:15:47]StoreOFDPacket docnum=15815 [09:15:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 36 4B 05 01 4E D7 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 44 F9 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C7 3D 00 00 35 04 06 00 82 67 7A AC 43 1F E3 6C 03 B6 0A 0A B4 F9 [09:15:47]CheckFolder [09:15:47]dirname=/storage/ofd_packets [09:15:47]CheckFolder done [09:15:47]ProducePacketName [09:15:47]name=ofd_packets/00015815 [09:15:47]NVStorageSaveData ofd_packets/00015815 [09:15:47]File name is /storage/ofd_packets/00015815 [09:15:47]Write 299 bytes [09:15:47]NVStorageSaveData done [09:15:47]OFDSenderStorePacket done [09:15:47]KKMCreateOFDPacket done [09:15:47]NVStorageSaveData kkm_last_timestamp [09:15:47]File name is /storage/kkm_last_timestamp [09:15:47]Write 4 bytes [09:15:47]NVStorageSaveData done [09:15:47]ExternCall_PrintAddStr [09:15:47]wPrintStart [09:15:47]Write to MH i2c: 01 00 00 75 07 7C [09:15:47]Write i2c OK [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: 01 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: 01 07 00 [09:15:47]MH_I2C_Read... [09:15:47]Read from MH i2c: 01 07 00 75 07 00 00 00 00 00 FF 0F 91 [09:15:47]RasterBufferAndPrint [09:15:47]line Счет N : (1)16365 [09:15:47]line ИНН: 02508201610067 [09:15:47]line Контрольно-Кассовый Чек [09:15:47]line ПРОДАЖА [09:15:47]line ТРК (МРК, ГНК) : 12 [09:15:47]line Товар: 50.50.0 [09:15:47]line SUPER 92-К-5 [09:15:47]line 2.930 * 68.40 [09:15:47]line = 200.41 [09:15:47]line НДС 12% НСП 1% [09:15:47]line > о реализуемом товаре [09:15:47]line ОКРУГЛЕНИЕ: -0.41 [09:15:47]line ИТОГО: 200.00 [09:15:47]line Внесено: 200.00 [09:15:47]line СДАЧА: 0.00 [09:15:47]line НСП 1% : 1.77 [09:15:47]line НДС 12% : 21.28 [09:15:47]line Наличными: 200.00 [09:15:47]line Безнал.: 0.00 [09:15:47]line Место: АЗС № 178 "Партнер Нефть" [09:15:47]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [09:15:47]line СНО: Общий режим [09:15:47]line Чек 25 30.10.2024 09:15 [09:15:47]line Смена: 173 ФФД: 1.0 [09:15:47]line ЗНМ: 0300000014 [09:15:47]line РНМ: 0000000000161798 [09:15:47]line Версия ККМ: v1.0 [09:15:47]line ФМ: 0000000000963325 [09:15:47]line ФД: 15815 [09:15:47]line ФПД: 143380951352095 [09:15:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T091548&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15815&fm=143380951352095&tin=02508201610067®Number=0000000000161798&sum=20000 [09:15:47]OFD Sender: Processing packet 15815 [packets to send 4, broken 3] [09:15:47]ProducePacketName [09:15:47]name=ofd_packets/00015815 [09:15:47]OFD Sender: To server: pG, [09:15:47]CommunicateWithHost lk.salyk.kg:30040 [09:15:47]ConnectInit lk.salyk.kg [09:15:47]written 0, free lines is 4095 [09:15:47]Connected sock=10 [09:15:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 36 4B 05 01 4E D7 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 0B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 49 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 44 F9 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C7 3D 00 00 35 04 06 00 82 67 7A AC 43 1F E3 6C 03 B6 0A 0A B4 F9 [09:15:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 95 04 47 00 69 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C7 3D 00 00 F4 03 04 00 2E A4 21 67 B6 04 01 00 00 58 44 7B 58 27 DD 79 59 [09:15:48]CommunicateWithHost err = 0 [09:15:48]CheckOFDResponse [09:15:48]1017 (14) - 77093643461234 [09:15:48]1041 (16) - 0000000000963325 [09:15:48]1040 (4) - 15815 [09:15:48]1012 (4) - 30.10.2024 03:12 [09:15:48]1206 (1) - 0 [09:15:48]OFD Sender: Remove packet 15815 [09:15:48]ProducePacketName [09:15:48]name=ofd_packets/00015815 [09:15:48]NVStorageDeleteData [09:15:48]Write to MH i2c: 01 00 00 A0 07 A7 [09:15:48]Write i2c OK [09:15:48]MH_I2C_Read... [09:15:48]Read from MH i2c: 01 [09:15:48]MH_I2C_Read... [09:15:48]Read from MH i2c: 01 07 00 [09:15:48]MH_I2C_Read... [09:15:48]Read from MH i2c: 01 07 00 A0 07 00 00 00 00 00 01 0D BC [09:15:48]RasterBufferAndPrint [09:15:48]line [09:15:48]line [09:15:48]line [09:15:48]line [09:15:48]line [09:15:48]written 0, free lines is 3338 [09:15:48]MH_Cut [09:15:48]Write to MH i2c: D1 01 00 A7 07 01 80 [09:15:48]Write i2c OK [09:15:48]MH_I2C_Read... [09:15:48]Read from MH i2c: D1 [09:15:48]MH_I2C_Read... [09:15:48]Read from MH i2c: D1 01 00 [09:15:48]MH_I2C_Read... [09:15:48]Read from MH i2c: D1 01 00 A7 07 00 7F [09:15:48]Write to MH i2c: 01 00 00 A8 07 AF [09:15:48]Write i2c OK [09:15:48]MH_I2C_Read... [09:15:48]OFD Sender: No OFD packet to send [09:15:48]*** Cut start [09:15:48]*** Partial cut [09:15:48]*** CUTSNS_PIN = 1 [09:15:49]*** CUTSNS_PIN = 0 [09:15:49]*** Brake cut motor [09:15:49]Read from MH i2c: 01 [09:15:49]MH_I2C_Read... [09:15:49]*** Stop cut motor [09:15:49]*** Cut end [09:15:49]Read from MH i2c: 01 07 00 [09:15:49]MH_I2C_Read... [09:15:49]Read from MH i2c: 01 07 00 A8 07 00 00 00 00 00 FF 0F C4 [09:15:49]process_action close_receipt done [09:15:49]requested_data is exist [09:15:49]produce_requested_data [09:15:49]requested_item fm.sn is exist - process it [09:15:49]wFMCommunicate request_size=4 [09:15:49]MH_SAM_APDU [09:15:49]CAPDU: 80 11 00 00 [09:15:49]Write to MH i2c: E2 08 00 A9 07 80 11 00 00 00 00 00 00 2A [09:15:49]Write i2c OK [09:15:49]MH_I2C_Read... [09:15:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:49]Read from MH i2c: E2 [09:15:49]MH_I2C_Read... [09:15:49]Read from MH i2c: E2 17 00 [09:15:49]MH_I2C_Read... [09:15:49]Read from MH i2c: E2 17 00 A9 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 79 [09:15:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [09:15:49]wFMCommunicate OK [09:15:49]requested_item fd.num is exist - process it [09:15:49]SAM_PROTO_GetFieldsCounters [09:15:49]wFMCommunicate request_size=4 [09:15:49]MH_SAM_APDU [09:15:49]CAPDU: 80 13 00 00 [09:15:49]Write to MH i2c: E2 08 00 AA 07 80 13 00 00 00 00 00 00 2D [09:15:49]Write i2c OK [09:15:49]MH_I2C_Read... [09:15:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:15:49]Read from MH i2c: E2 [09:15:49]MH_I2C_Read... [09:15:49]Read from MH i2c: E2 62 00 [09:15:49]MH_I2C_Read... [09:15:49]Read from MH i2c: E2 62 00 AA 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C7 3D 00 00 0E 04 04 00 AD 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 4D [09:15:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 C7 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:15:49]wFMCommunicate OK [09:15:49]SAM_PROTO_GetFieldsCounters done [09:15:49]requested_item shift.num is exist - process it [09:15:49]requested_item shift.opened is exist - process it [09:15:49]req_shift_opened [09:15:49]FM_GetShiftState [09:15:49]SAM_PROTO_GetShiftState [09:15:49]wFMCommunicate request_size=4 [09:15:49]MH_SAM_APDU [09:15:49]CAPDU: 80 13 01 00 [09:15:49]Write to MH i2c: E2 08 00 AB 07 80 13 01 00 00 00 00 00 2F [09:15:49]Write i2c OK [09:15:49]MH_I2C_Read... [09:15:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:49]Read from MH i2c: E2 [09:15:49]MH_I2C_Read... [09:15:49]Read from MH i2c: E2 0E 00 [09:15:49]MH_I2C_Read... [09:15:49]Read from MH i2c: E2 0E 00 AB 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 74 [09:15:49]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [09:15:49]wFMCommunicate OK [09:15:49]SAM_PROTO_GetShiftState done [09:15:49]FM_GetShiftState done [09:15:49]req_shift_opened done [09:15:49]requested_item shift.open_date is exist - process it [09:15:49]req_shift_open_date [09:15:49]req_shift_open_date done [09:15:49]produce_requested_data done [09:15:49]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15815,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [09:15:49]process_action_free close_receipt [09:15:49]json_value_free [09:15:49]json_value_free done [09:15:49]process_json_proto returns [09:15:49]Send response to host [09:15:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15815,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [09:15:49]free response buf [09:15:49]execute_script done [09:15:49]execute_script returns [09:15:49]free content buf [09:15:49]Sock 8.Close socket [09:15:49]Sock 8.Thread stoped [09:15:53]OFD Sender: No OFD packet to send [09:15:58]OFD Sender: No OFD packet to send [09:16:03]OFD Sender: No OFD packet to send [09:16:08]OFD Sender: No OFD packet to send [09:16:13]OFD Sender: No OFD packet to send [09:16:18]OFD Sender: No OFD packet to send [09:16:23]OFD Sender: No OFD packet to send [09:16:28]OFD Sender: No OFD packet to send [09:16:33]OFD Sender: No OFD packet to send [09:16:38]OFD Sender: No OFD packet to send [09:16:43]OFD Sender: No OFD packet to send [09:16:48]OFD Sender: No OFD packet to send [09:16:53]OFD Sender: No OFD packet to send [09:16:58]OFD Sender: No OFD packet to send [09:17:03]OFD Sender: No OFD packet to send [09:17:08]OFD Sender: No OFD packet to send [09:17:13]OFD Sender: No OFD packet to send [09:17:18]OFD Sender: No OFD packet to send [09:17:23]OFD Sender: No OFD packet to send [09:17:28]OFD Sender: No OFD packet to send [09:17:33]OFD Sender: No OFD packet to send [09:17:38]OFD Sender: No OFD packet to send [09:17:43]OFD Sender: No OFD packet to send [09:17:48]OFD Sender: No OFD packet to send [15:28:36]ConnectInit Can't connect to host [15:28:38]accept exits with 7 [15:28:38]New connection [15:28:38]New thread 3067211108 created [15:28:38]Waiting for new connection... [15:28:38] Sock 7.Parse request [15:28:38]Sock 7.Check first char [15:28:38]Sock 7.First char is OK [15:28:38]request: POST /json_proto HTTP/1.0 [15:28:38]Method: POST [15:28:38]URL: /json_proto [15:28:38]Method is POST - this is cgi request [15:28:38]url: /json_proto [15:28:38]query_string will be loaded in cgi processing [15:28:38]execute_cgi json_proto POST (null) [15:28:38]execute_cgi path=json_proto method=POST [15:28:38]POST find Content-Length [15:28:38]Host: 172.17.54.195:8080 [15:28:38]Content-Length: 215 [15:28:38]Content-Type: application/json [15:28:38] [15:28:38]POST finish read [15:28:38]Found Content-Length = 215 [15:28:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:38]execute_script... [15:28:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:38]POST & json_proto [15:28:38]process_json_proto [15:28:38]json parsed OK: [15:28:38]protocol is kg_v1.0 [15:28:38]action value=get_value [15:28:38]process_action get_value [15:28:38]cmd_get_value [15:28:38]process_action get_value done [15:28:38]requested_data is exist [15:28:38]produce_requested_data [15:28:38]requested_item kkm.sn is exist - process it [15:28:39]requested_item kkm.ver is exist - process it [15:28:39]requested_item fm.sn is exist - process it [15:28:39]wFMCommunicate request_size=4 [15:28:39]MH_SAM_APDU [15:28:39]CAPDU: 80 11 00 00 [15:28:39]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [15:28:39]Write i2c OK [15:28:39]MH_I2C_Read... [15:28:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:39]Read from MH i2c: E2 [15:28:39]MH_I2C_Read... [15:28:39]Read from MH i2c: E2 17 00 [15:28:39]MH_I2C_Read... [15:28:39]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 D9 [15:28:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [15:28:39]wFMCommunicate OK [15:28:39]requested_item fd.num is exist - process it [15:28:39]SAM_PROTO_GetFieldsCounters [15:28:39]wFMCommunicate request_size=4 [15:28:39]MH_SAM_APDU [15:28:39]CAPDU: 80 13 00 00 [15:28:39]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [15:28:39]Write i2c OK [15:28:39]MH_I2C_Read... [15:28:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:39]Read from MH i2c: E2 [15:28:39]MH_I2C_Read... [15:28:39]Read from MH i2c: E2 62 00 [15:28:39]MH_I2C_Read... [15:28:39]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 D9 [15:28:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:28:39]wFMCommunicate OK [15:28:39]SAM_PROTO_GetFieldsCounters done [15:28:39]requested_item shift.num is exist - process it [15:28:39]requested_item shift.opened is exist - process it [15:28:39]req_shift_opened [15:28:39]FM_GetShiftState [15:28:39]SAM_PROTO_GetShiftState [15:28:39]wFMCommunicate request_size=4 [15:28:39]MH_SAM_APDU [15:28:39]CAPDU: 80 13 01 00 [15:28:39]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [15:28:39]Write i2c OK [15:28:39]MH_I2C_Read... [15:28:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:39]Read from MH i2c: E2 [15:28:39]MH_I2C_Read... [15:28:39]Read from MH i2c: E2 0E 00 [15:28:39]MH_I2C_Read... [15:28:39]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 D4 [15:28:39]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [15:28:39]wFMCommunicate OK [15:28:39]SAM_PROTO_GetShiftState done [15:28:39]FM_GetShiftState done [15:28:39]req_shift_opened done [15:28:39]requested_item shift.open_date is exist - process it [15:28:39]req_shift_open_date [15:28:39]req_shift_open_date done [15:28:39]produce_requested_data done [15:28:39]produce_requested_data return {"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15826,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [15:28:39]process_action_free get_value [15:28:39]json_value_free [15:28:39]json_value_free done [15:28:39]process_json_proto returns [15:28:39]Send response to host [15:28:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15826,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [15:28:39]free response buf [15:28:39]execute_script done [15:28:39]execute_script returns [15:28:39]free content buf [15:28:39]Sock 7.Close socket [15:28:39]Sock 7.Thread stoped [15:28:39]accept exits with 11 [15:28:39]New connection [15:28:39]New thread 3067067748 created [15:28:39]Thread 3067211108 joined [15:28:39]Waiting for new connection... [15:28:39] Sock 11.Parse request [15:28:39]Sock 11.Check first char [15:28:39]Sock 11.First char is OK [15:28:39]request: POST /json_proto HTTP/1.0 [15:28:39]Method: POST [15:28:39]URL: /json_proto [15:28:39]Method is POST - this is cgi request [15:28:39]url: /json_proto [15:28:39]query_string will be loaded in cgi processing [15:28:39]execute_cgi json_proto POST (null) [15:28:39]execute_cgi path=json_proto method=POST [15:28:39]POST find Content-Length [15:28:39]Host: 172.17.54.195:8080 [15:28:39]Content-Length: 331 [15:28:39]Content-Type: application/json [15:28:39] [15:28:39]POST finish read [15:28:39]Found Content-Length = 331 [15:28:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:28:39]execute_script... [15:28:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:28:39]POST & json_proto [15:28:39]process_json_proto [15:28:39]json parsed OK: [15:28:39]protocol is kg_v1.0 [15:28:39]action value=get_value [15:28:39]process_action get_value [15:28:39]cmd_get_value [15:28:39]process_action get_value done [15:28:39]requested_data is exist [15:28:39]produce_requested_data [15:28:39]requested_item fm.sale.total is exist - process it [15:28:39]SAM_PROTO_GetFMData [15:28:39]wFMCommunicate request_size=4 [15:28:39]MH_SAM_APDU [15:28:39]CAPDU: 80 13 03 00 [15:28:39]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [15:28:39]ConnectInit Can't take IP for lk.salyk.kg [15:28:39]CommunicateWithHost connect error [15:28:39]CommunicateWithHost err = -1 [15:28:39]OFD Sender: Server communicate error [15:28:39]Write i2c OK [15:28:39]MH_I2C_Read... [15:28:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [15:28:39]Read from MH i2c: E2 [15:28:39]MH_I2C_Read... [15:28:39]Read from MH i2c: E2 FD 00 [15:28:39]MH_I2C_Read... [15:28:39]Read from MH i2c: E2 FD 00 13 00 00 BF 04 85 04 BB 04 6E 04 04 00 78 3C 00 00 69 04 A0 00 6F 04 04 00 2D 3C 00 00 B1 04 04 00 5C 36 C7 5F 70 04 04 00 44 96 EC 47 72 04 04 00 18 A0 DA 17 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 96 91 2C 0A 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 F8 07 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 93 [15:28:39]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 78 3C 00 00 69 04 A0 00 6F 04 04 00 2D 3C 00 00 B1 04 04 00 5C 36 C7 5F 70 04 04 00 44 96 EC 47 72 04 04 00 18 A0 DA 17 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 96 91 2C 0A 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 F8 07 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [15:28:39]wFMCommunicate OK [15:28:39]wFMCommunicate request_size=4 [15:28:39]MH_SAM_APDU [15:28:39]CAPDU: 80 17 00 00 [15:28:39]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [15:28:39]Write i2c OK [15:28:39]MH_I2C_Read... [15:28:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:40]Read from MH i2c: E2 [15:28:40]MH_I2C_Read... [15:28:40]Read from MH i2c: E2 FD 00 [15:28:40]MH_I2C_Read... [15:28:40]Read from MH i2c: E2 FD 00 14 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 FD [15:28:40]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [15:28:40]wFMCommunicate OK [15:28:40]wFMCommunicate request_size=4 [15:28:40]MH_SAM_APDU [15:28:40]CAPDU: 80 17 00 00 [15:28:40]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [15:28:40]Write i2c OK [15:28:40]MH_I2C_Read... [15:28:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:40]Read from MH i2c: E2 [15:28:40]MH_I2C_Read... [15:28:40]Read from MH i2c: E2 FD 00 [15:28:40]MH_I2C_Read... [15:28:40]Read from MH i2c: E2 FD 00 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 39 [15:28:40]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [15:28:40]wFMCommunicate OK [15:28:40]wFMCommunicate request_size=4 [15:28:40]MH_SAM_APDU [15:28:40]CAPDU: 80 17 00 00 [15:28:40]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [15:28:40]Write i2c OK [15:28:40]MH_I2C_Read... [15:28:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:40]Read from MH i2c: E2 [15:28:40]MH_I2C_Read... [15:28:40]Read from MH i2c: E2 FD 00 [15:28:40]MH_I2C_Read... [15:28:40]Read from MH i2c: E2 FD 00 16 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 10 [15:28:40]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [15:28:40]wFMCommunicate OK [15:28:40]wFMCommunicate request_size=4 [15:28:40]MH_SAM_APDU [15:28:40]CAPDU: 80 17 00 00 [15:28:40]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [15:28:40]Write i2c OK [15:28:40]MH_I2C_Read... [15:28:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [15:28:41]Read from MH i2c: E2 [15:28:41]MH_I2C_Read... [15:28:41]Read from MH i2c: E2 DC 00 [15:28:41]MH_I2C_Read... [15:28:41]Read from MH i2c: E2 DC 00 17 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [15:28:41]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:28:41]wFMCommunicate OK [15:28:41]SAM_PROTO_GetFMData done [15:28:41]requested_item fm.sale_refund.total is exist - process it [15:28:41]requested_item fm.buy.total is exist - process it [15:28:41]requested_item shift.sale.total is exist - process it [15:28:41]SAM_PROTO_GetShiftData [15:28:41]wFMCommunicate request_size=4 [15:28:41]MH_SAM_APDU [15:28:41]CAPDU: 80 13 02 00 [15:28:41]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [15:28:41]Write i2c OK [15:28:41]MH_I2C_Read... [15:28:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:28:41]Read from MH i2c: E2 [15:28:41]MH_I2C_Read... [15:28:41]Read from MH i2c: E2 FD 00 [15:28:41]MH_I2C_Read... [15:28:41]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 38 14 3B 70 04 03 00 DC 02 26 72 04 03 00 5C 11 15 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 91 46 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 EB [15:28:41]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 38 14 3B 70 04 03 00 DC 02 26 72 04 03 00 5C 11 15 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 91 46 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [15:28:41]wFMCommunicate OK [15:28:41]wFMCommunicate request_size=4 [15:28:41]MH_SAM_APDU [15:28:41]CAPDU: 80 17 00 00 [15:28:41]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [15:28:41]Write i2c OK [15:28:41]MH_I2C_Read... [15:28:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:41]Read from MH i2c: E2 [15:28:41]MH_I2C_Read... [15:28:41]Read from MH i2c: E2 FD 00 [15:28:41]MH_I2C_Read... [15:28:41]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [15:28:41]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:28:41]wFMCommunicate OK [15:28:41]wFMCommunicate request_size=4 [15:28:41]MH_SAM_APDU [15:28:41]CAPDU: 80 17 00 00 [15:28:41]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [15:28:41]Write i2c OK [15:28:41]MH_I2C_Read... [15:28:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:41]Read from MH i2c: E2 [15:28:41]MH_I2C_Read... [15:28:41]Read from MH i2c: E2 FD 00 [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [15:28:42]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:28:42]wFMCommunicate OK [15:28:42]wFMCommunicate request_size=4 [15:28:42]MH_SAM_APDU [15:28:42]CAPDU: 80 17 00 00 [15:28:42]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [15:28:42]Write i2c OK [15:28:42]MH_I2C_Read... [15:28:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:42]Read from MH i2c: E2 [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: E2 FD 00 [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [15:28:42]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:28:42]wFMCommunicate OK [15:28:42]wFMCommunicate request_size=4 [15:28:42]MH_SAM_APDU [15:28:42]CAPDU: 80 17 00 00 [15:28:42]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [15:28:42]Write i2c OK [15:28:42]MH_I2C_Read... [15:28:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:28:42]Read from MH i2c: E2 [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: E2 CB 00 [15:28:42]MH_I2C_Read... [15:28:42]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [15:28:42]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:28:42]wFMCommunicate OK [15:28:42]SAM_PROTO_GetShiftData done [15:28:42]requested_item shift.sale.total_cash is exist - process it [15:28:42]requested_item shift.sale_refund.total is exist - process it [15:28:42]requested_item shift.sale_refund.total_cash is exist - process it [15:28:42]requested_item shift.buy.total is exist - process it [15:28:42]requested_item shift.buy.total_cash is exist - process it [15:28:42]produce_requested_data done [15:28:42]produce_requested_data return {"fm.sale.total":16068911.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":38718.00,"shift.sale.total_cash":24911.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} [15:28:42]process_action_free get_value [15:28:42]json_value_free [15:28:42]json_value_free done [15:28:42]process_json_proto returns [15:28:42]Send response to host [15:28:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16068911.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":38718.00,"shift.sale.total_cash":24911.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}}} [15:28:42]free response buf [15:28:42]execute_script done [15:28:42]execute_script returns [15:28:42]free content buf [15:28:42]Sock 11.Close socket [15:28:42]Sock 11.Thread stoped [15:28:44]OFD Sender: Processing packet 15816 [packets to send 14, broken 3] [15:28:44]ProducePacketName [15:28:44]name=ofd_packets/00015816 [15:28:44]OFD Sender: To server: pG, [15:28:44]CommunicateWithHost lk.salyk.kg:30040 [15:28:44]ConnectInit lk.salyk.kg [15:28:44]Connected sock=9 [15:28:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 D6 D7 07 01 E6 8D 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 78 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F0 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 71 FB 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C8 3D 00 00 35 04 06 00 F6 F5 0B 52 BC 1A 1E C5 3A 76 5B F4 2B AA [15:28:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 00 32 47 00 99 E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C8 3D 00 00 F4 03 04 00 93 FB 21 67 B6 04 01 00 00 C4 B8 D7 85 B7 78 71 9B [15:28:44]CommunicateWithHost err = 0 [15:28:44]CheckOFDResponse [15:28:44]1017 (14) - 77093643461234 [15:28:44]1041 (16) - 0000000000963325 [15:28:44]1040 (4) - 15816 [15:28:44]1012 (4) - 30.10.2024 09:25 [15:28:44]1206 (1) - 0 [15:28:44]OFD Sender: Remove packet 15816 [15:28:44]ProducePacketName [15:28:44]name=ofd_packets/00015816 [15:28:44]NVStorageDeleteData [15:28:45]OFD Sender: Processing packet 15817 [packets to send 13, broken 3] [15:28:45]ProducePacketName [15:28:45]name=ofd_packets/00015817 [15:28:45]OFD Sender: To server: pG, [15:28:45]CommunicateWithHost lk.salyk.kg:30040 [15:28:45]ConnectInit lk.salyk.kg [15:28:45]Connected sock=9 [15:28:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 ED 2C 04 01 6E F5 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 B2 FB 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C9 3D 00 00 35 04 06 00 CA 32 F8 52 0D F1 B1 2B BB 5E 8B 53 A2 0F [15:28:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 EB 13 47 00 EA 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 C9 3D 00 00 F4 03 04 00 94 FB 21 67 B6 04 01 00 00 A5 54 47 CE 6A 31 29 40 [15:28:45]CommunicateWithHost err = 0 [15:28:45]CheckOFDResponse [15:28:45]1017 (14) - 77093643461234 [15:28:45]1041 (16) - 0000000000963325 [15:28:45]1040 (4) - 15817 [15:28:45]1012 (4) - 30.10.2024 09:25 [15:28:45]1206 (1) - 0 [15:28:45]OFD Sender: Remove packet 15817 [15:28:45]ProducePacketName [15:28:45]name=ofd_packets/00015817 [15:28:45]NVStorageDeleteData [15:28:46]OFD Sender: Processing packet 15818 [packets to send 12, broken 3] [15:28:46]ProducePacketName [15:28:46]name=ofd_packets/00015818 [15:28:46]OFD Sender: To server: pG, [15:28:46]CommunicateWithHost lk.salyk.kg:30040 [15:28:46]ConnectInit lk.salyk.kg [15:28:46]Connected sock=9 [15:28:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 77 78 05 01 5F 08 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 30 0B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 0B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 60 1C 00 00 00 00 07 04 06 00 30 0B 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 D0 FB 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CA 3D 00 00 35 04 06 00 4D 7B 5B BF 68 F6 2E C0 EA B4 BC C5 10 0D [15:28:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 02 96 47 00 79 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 CA 3D 00 00 F4 03 04 00 95 FB 21 67 B6 04 01 00 00 65 2F 19 5F 49 B2 7D 5C [15:28:46]CommunicateWithHost err = 0 [15:28:46]CheckOFDResponse [15:28:46]1017 (14) - 77093643461234 [15:28:46]1041 (16) - 0000000000963325 [15:28:46]1040 (4) - 15818 [15:28:46]1012 (4) - 30.10.2024 09:25 [15:28:46]1206 (1) - 0 [15:28:46]OFD Sender: Remove packet 15818 [15:28:46]ProducePacketName [15:28:46]name=ofd_packets/00015818 [15:28:46]NVStorageDeleteData [15:28:46]OFD Sender: Processing packet 15819 [packets to send 11, broken 3] [15:28:46]ProducePacketName [15:28:46]name=ofd_packets/00015819 [15:28:46]OFD Sender: To server: pG, [15:28:46]CommunicateWithHost lk.salyk.kg:30040 [15:28:46]ConnectInit lk.salyk.kg [15:28:47]Connected sock=9 [15:28:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 50 48 05 01 03 A9 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 56 FC 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CB 3D 00 00 35 04 06 00 07 48 4E 6C B0 48 83 65 87 6E 42 E4 68 0B [15:28:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 73 56 47 00 C3 2A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CB 3D 00 00 F4 03 04 00 96 FB 21 67 B6 04 01 00 00 86 B3 B8 DC C4 E9 20 95 [15:28:47]CommunicateWithHost err = 0 [15:28:47]CheckOFDResponse [15:28:47]1017 (14) - 77093643461234 [15:28:47]1041 (16) - 0000000000963325 [15:28:47]1040 (4) - 15819 [15:28:47]1012 (4) - 30.10.2024 09:25 [15:28:47]1206 (1) - 0 [15:28:47]OFD Sender: Remove packet 15819 [15:28:47]ProducePacketName [15:28:47]name=ofd_packets/00015819 [15:28:47]NVStorageDeleteData [15:28:47]OFD Sender: Processing packet 15820 [packets to send 10, broken 3] [15:28:47]ProducePacketName [15:28:47]name=ofd_packets/00015820 [15:28:47]OFD Sender: To server: pG, [15:28:47]CommunicateWithHost lk.salyk.kg:30040 [15:28:47]ConnectInit lk.salyk.kg [15:28:47]Connected sock=9 [15:28:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 84 D6 04 01 FF DD 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 10 FD 21 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CC 3D 00 00 35 04 06 00 D3 0B B1 3D DE 7E 1F BD 68 9A 62 D7 8E 19 [15:28:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 56 B5 47 00 CC 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CC 3D 00 00 F4 03 04 00 97 FB 21 67 B6 04 01 00 00 1E 36 F1 4C 29 E6 1B CB [15:28:48]CommunicateWithHost err = 0 [15:28:48]CheckOFDResponse [15:28:48]1017 (14) - 77093643461234 [15:28:48]1041 (16) - 0000000000963325 [15:28:48]1040 (4) - 15820 [15:28:48]1012 (4) - 30.10.2024 09:25 [15:28:48]1206 (1) - 0 [15:28:48]OFD Sender: Remove packet 15820 [15:28:48]ProducePacketName [15:28:48]name=ofd_packets/00015820 [15:28:48]NVStorageDeleteData [15:28:48]OFD Sender: Processing packet 15821 [packets to send 9, broken 3] [15:28:48]ProducePacketName [15:28:48]name=ofd_packets/00015821 [15:28:48]OFD Sender: To server: pG, [15:28:48]CommunicateWithHost lk.salyk.kg:30040 [15:28:48]ConnectInit lk.salyk.kg [15:28:48]Connected sock=9 [15:28:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 DE 8D 05 01 AB 91 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C6 8E 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 92 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 69 0C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CD 3D 00 00 35 04 06 00 BC 57 F4 B6 69 5F B7 4D 31 08 81 B7 EC 66 [15:28:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 3C AB 47 00 30 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CD 3D 00 00 F4 03 04 00 97 FB 21 67 B6 04 01 00 00 CB E4 4D BF FE FC C7 37 [15:28:48]CommunicateWithHost err = 0 [15:28:48]CheckOFDResponse [15:28:48]1017 (14) - 77093643461234 [15:28:48]1041 (16) - 0000000000963325 [15:28:48]1040 (4) - 15821 [15:28:48]1012 (4) - 30.10.2024 09:25 [15:28:48]1206 (1) - 0 [15:28:48]OFD Sender: Remove packet 15821 [15:28:48]ProducePacketName [15:28:48]name=ofd_packets/00015821 [15:28:48]NVStorageDeleteData [15:28:49]OFD Sender: Processing packet 15822 [packets to send 8, broken 3] [15:28:49]ProducePacketName [15:28:49]name=ofd_packets/00015822 [15:28:49]OFD Sender: To server: pG, [15:28:49]CommunicateWithHost lk.salyk.kg:30040 [15:28:49]ConnectInit lk.salyk.kg [15:28:49]Connected sock=9 [15:28:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 7B 38 04 01 60 6C 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 F5 0D 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CE 3D 00 00 35 04 06 00 E6 19 D6 0C 41 5F B1 2C 21 9C 66 FF 10 DF [15:28:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 E8 38 47 00 C3 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CE 3D 00 00 F4 03 04 00 98 FB 21 67 B6 04 01 00 00 67 7D 21 5B 88 23 F2 49 [15:28:49]CommunicateWithHost err = 0 [15:28:49]CheckOFDResponse [15:28:49]1017 (14) - 77093643461234 [15:28:49]1041 (16) - 0000000000963325 [15:28:49]1040 (4) - 15822 [15:28:49]1012 (4) - 30.10.2024 09:25 [15:28:49]1206 (1) - 0 [15:28:49]OFD Sender: Remove packet 15822 [15:28:49]ProducePacketName [15:28:49]name=ofd_packets/00015822 [15:28:49]NVStorageDeleteData [15:28:50]OFD Sender: Processing packet 15823 [packets to send 7, broken 3] [15:28:50]ProducePacketName [15:28:50]name=ofd_packets/00015823 [15:28:50]OFD Sender: To server: pG, [15:28:50]CommunicateWithHost lk.salyk.kg:30040 [15:28:50]ConnectInit lk.salyk.kg [15:28:50]Connected sock=9 [15:28:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 2C 7E 07 01 78 6F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 3A 75 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 D2 65 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 65 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B3 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 5C 00 00 00 00 07 04 06 00 88 65 03 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 B8 0F 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CF 3D 00 00 35 04 06 00 F9 88 F4 86 EB BE 27 5B 24 65 1B 1D D3 7D [15:28:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 92 ED 47 00 D8 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 CF 3D 00 00 F4 03 04 00 99 FB 21 67 B6 04 01 00 00 39 6D 59 2A C8 2E 87 06 [15:28:50]CommunicateWithHost err = 0 [15:28:50]CheckOFDResponse [15:28:50]1017 (14) - 77093643461234 [15:28:50]1041 (16) - 0000000000963325 [15:28:50]1040 (4) - 15823 [15:28:50]1012 (4) - 30.10.2024 09:25 [15:28:50]1206 (1) - 0 [15:28:50]OFD Sender: Remove packet 15823 [15:28:50]ProducePacketName [15:28:50]name=ofd_packets/00015823 [15:28:50]NVStorageDeleteData [15:28:51]OFD Sender: Processing packet 15824 [packets to send 6, broken 3] [15:28:51]ProducePacketName [15:28:51]name=ofd_packets/00015824 [15:28:51]OFD Sender: To server: pG, [15:28:51]CommunicateWithHost lk.salyk.kg:30040 [15:28:51]ConnectInit lk.salyk.kg [15:28:51]Connected sock=9 [15:28:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 0A 37 07 01 61 45 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 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 45 10 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D0 3D 00 00 35 04 06 00 80 78 5F CA D6 3E E5 ED BD A2 81 D1 C6 E9 [15:28:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 D7 9E 47 00 0B ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D0 3D 00 00 F4 03 04 00 9A FB 21 67 B6 04 01 00 00 52 6C 69 66 9E F1 E9 CF [15:28:51]CommunicateWithHost err = 0 [15:28:51]CheckOFDResponse [15:28:51]1017 (14) - 77093643461234 [15:28:51]1041 (16) - 0000000000963325 [15:28:51]1040 (4) - 15824 [15:28:51]1012 (4) - 30.10.2024 09:25 [15:28:51]1206 (1) - 0 [15:28:51]OFD Sender: Remove packet 15824 [15:28:51]ProducePacketName [15:28:51]name=ofd_packets/00015824 [15:28:51]NVStorageDeleteData [15:28:51]OFD Sender: Processing packet 15825 [packets to send 5, broken 3] [15:28:51]ProducePacketName [15:28:51]name=ofd_packets/00015825 [15:28:51]OFD Sender: To server: pG, [15:28:51]CommunicateWithHost lk.salyk.kg:30040 [15:28:51]ConnectInit lk.salyk.kg [15:28:51]Connected sock=10 [15:28:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 56 7F 07 01 62 1B 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 20 4E 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 42 11 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D1 3D 00 00 35 04 06 00 89 01 D1 85 E7 0B 6C F4 CA FE 8E BB DB 34 [15:28:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 17 73 47 00 86 BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D1 3D 00 00 F4 03 04 00 9B FB 21 67 B6 04 01 00 00 CE 42 7B A4 E4 6D 5A CF [15:28:52]CommunicateWithHost err = 0 [15:28:52]CheckOFDResponse [15:28:52]1017 (14) - 77093643461234 [15:28:52]1041 (16) - 0000000000963325 [15:28:52]1040 (4) - 15825 [15:28:52]1012 (4) - 30.10.2024 09:25 [15:28:52]1206 (1) - 0 [15:28:52]OFD Sender: Remove packet 15825 [15:28:52]ProducePacketName [15:28:52]name=ofd_packets/00015825 [15:28:52]NVStorageDeleteData [15:28:52]OFD Sender: Processing packet 15826 [packets to send 4, broken 3] [15:28:52]ProducePacketName [15:28:52]name=ofd_packets/00015826 [15:28:52]OFD Sender: To server: pG, [15:28:52]CommunicateWithHost lk.salyk.kg:30040 [15:28:52]ConnectInit lk.salyk.kg [15:28:52]Connected sock=9 [15:28:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 37 79 05 01 55 3E 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 9F 12 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D2 3D 00 00 35 04 06 00 8C E5 E8 65 79 FA ED BD 70 9A 16 E7 77 65 [15:28:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 32 65 47 00 0F C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 D2 3D 00 00 F4 03 04 00 9B FB 21 67 B6 04 01 00 00 93 9E 9E 5D 1B 4D 6E 51 [15:28:52]CommunicateWithHost err = 0 [15:28:52]CheckOFDResponse [15:28:52]1017 (14) - 77093643461234 [15:28:52]1041 (16) - 0000000000963325 [15:28:52]1040 (4) - 15826 [15:28:52]1012 (4) - 30.10.2024 09:25 [15:28:52]1206 (1) - 0 [15:28:52]OFD Sender: Remove packet 15826 [15:28:52]ProducePacketName [15:28:52]name=ofd_packets/00015826 [15:28:52]NVStorageDeleteData [15:28:53]OFD Sender: No OFD packet to send [15:28:58]OFD Sender: No OFD packet to send [15:29:03]OFD Sender: No OFD packet to send [15:29:08]OFD Sender: No OFD packet to send [15:29:13]accept exits with 7 [15:29:13]New connection [15:29:13]New thread 3067211108 created [15:29:13]Thread 3067067748 joined [15:29:13]Waiting for new connection... [15:29:13] Sock 7.Parse request [15:29:13]Sock 7.Check first char [15:29:13]Sock 7.First char is OK [15:29:13]request: POST /json_proto HTTP/1.0 [15:29:13]Method: POST [15:29:13]URL: /json_proto [15:29:13]Method is POST - this is cgi request [15:29:13]url: /json_proto [15:29:13]query_string will be loaded in cgi processing [15:29:13]execute_cgi json_proto POST (null) [15:29:13]execute_cgi path=json_proto method=POST [15:29:13]POST find Content-Length [15:29:13]Host: 172.17.54.195:8080 [15:29:13]Content-Length: 215 [15:29:13]Content-Type: application/json [15:29:13] [15:29:13]POST finish read [15:29:13]Found Content-Length = 215 [15:29:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:29:13]execute_script... [15:29:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:29:13]POST & json_proto [15:29:13]process_json_proto [15:29:13]json parsed OK: [15:29:13]protocol is kg_v1.0 [15:29:13]action value=get_value [15:29:13]process_action get_value [15:29:13]cmd_get_value [15:29:13]process_action get_value done [15:29:13]requested_data is exist [15:29:13]produce_requested_data [15:29:13]requested_item kkm.sn is exist - process it [15:29:13]requested_item kkm.ver is exist - process it [15:29:13]requested_item fm.sn is exist - process it [15:29:13]wFMCommunicate request_size=4 [15:29:13]MH_SAM_APDU [15:29:13]CAPDU: 80 11 00 00 [15:29:13]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [15:29:13]Write i2c OK [15:29:13]MH_I2C_Read... [15:29:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:29:13]Read from MH i2c: E2 [15:29:13]MH_I2C_Read... [15:29:13]Read from MH i2c: E2 17 00 [15:29:13]MH_I2C_Read... [15:29:13]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 E6 [15:29:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [15:29:13]wFMCommunicate OK [15:29:13]requested_item fd.num is exist - process it [15:29:13]SAM_PROTO_GetFieldsCounters [15:29:13]wFMCommunicate request_size=4 [15:29:13]MH_SAM_APDU [15:29:13]CAPDU: 80 13 00 00 [15:29:13]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [15:29:13]Write i2c OK [15:29:13]MH_I2C_Read... [15:29:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:29:13]Read from MH i2c: E2 [15:29:13]MH_I2C_Read... [15:29:13]Read from MH i2c: E2 62 00 [15:29:13]MH_I2C_Read... [15:29:13]Read from MH i2c: E2 62 00 1E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [15:29:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:29:13]wFMCommunicate OK [15:29:13]SAM_PROTO_GetFieldsCounters done [15:29:13]requested_item shift.num is exist - process it [15:29:13]requested_item shift.opened is exist - process it [15:29:13]req_shift_opened [15:29:13]FM_GetShiftState [15:29:13]SAM_PROTO_GetShiftState [15:29:13]wFMCommunicate request_size=4 [15:29:13]MH_SAM_APDU [15:29:13]CAPDU: 80 13 01 00 [15:29:13]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [15:29:13]Write i2c OK [15:29:13]MH_I2C_Read... [15:29:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:29:13]Read from MH i2c: E2 [15:29:13]MH_I2C_Read... [15:29:13]Read from MH i2c: E2 0E 00 [15:29:13]MH_I2C_Read... [15:29:13]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 E1 [15:29:13]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [15:29:13]wFMCommunicate OK [15:29:13]SAM_PROTO_GetShiftState done [15:29:13]FM_GetShiftState done [15:29:13]req_shift_opened done [15:29:13]requested_item shift.open_date is exist - process it [15:29:13]req_shift_open_date [15:29:13]req_shift_open_date done [15:29:13]produce_requested_data done [15:29:13]produce_requested_data return {"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15826,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [15:29:13]process_action_free get_value [15:29:13]json_value_free [15:29:13]json_value_free done [15:29:13]process_json_proto returns [15:29:13]Send response to host [15:29:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15826,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [15:29:13]free response buf [15:29:13]execute_script done [15:29:13]execute_script returns [15:29:13]free content buf [15:29:13]Sock 7.Close socket [15:29:13]Sock 7.Thread stoped [15:29:13]accept exits with 9 [15:29:13]New connection [15:29:13]New thread 3067067748 created [15:29:13]Thread 3067211108 joined [15:29:13]Waiting for new connection... [15:29:13] Sock 9.Parse request [15:29:13]Sock 9.Check first char [15:29:13]Sock 9.First char is OK [15:29:13]request: POST /json_proto HTTP/1.0 [15:29:13]Method: POST [15:29:13]URL: /json_proto [15:29:13]Method is POST - this is cgi request [15:29:13]url: /json_proto [15:29:13]query_string will be loaded in cgi processing [15:29:13]execute_cgi json_proto POST (null) [15:29:13]execute_cgi path=json_proto method=POST [15:29:13]POST find Content-Length [15:29:13]Host: 172.17.54.195:8080 [15:29:13]Content-Length: 331 [15:29:13]Content-Type: application/json [15:29:13] [15:29:13]POST finish read [15:29:13]Found Content-Length = 331 [15:29:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:29:13]execute_script... [15:29:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:29:13]POST & json_proto [15:29:13]process_json_proto [15:29:13]json parsed OK: [15:29:13]protocol is kg_v1.0 [15:29:13]action value=get_value [15:29:13]process_action get_value [15:29:13]cmd_get_value [15:29:13]process_action get_value done [15:29:13]requested_data is exist [15:29:13]produce_requested_data [15:29:13]requested_item fm.sale.total is exist - process it [15:29:13]SAM_PROTO_GetFMData [15:29:13]wFMCommunicate request_size=4 [15:29:13]MH_SAM_APDU [15:29:13]CAPDU: 80 13 03 00 [15:29:13]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [15:29:13]OFD Sender: No OFD packet to send [15:29:13]Write i2c OK [15:29:13]MH_I2C_Read... [15:29:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [15:29:14]Read from MH i2c: E2 [15:29:14]MH_I2C_Read... [15:29:14]Read from MH i2c: E2 FD 00 [15:29:14]MH_I2C_Read... [15:29:14]Read from MH i2c: E2 FD 00 20 00 00 BF 04 85 04 BB 04 6E 04 04 00 78 3C 00 00 69 04 A0 00 6F 04 04 00 2D 3C 00 00 B1 04 04 00 5C 36 C7 5F 70 04 04 00 44 96 EC 47 72 04 04 00 18 A0 DA 17 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 96 91 2C 0A 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 F8 07 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 A0 [15:29:14]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 78 3C 00 00 69 04 A0 00 6F 04 04 00 2D 3C 00 00 B1 04 04 00 5C 36 C7 5F 70 04 04 00 44 96 EC 47 72 04 04 00 18 A0 DA 17 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 96 91 2C 0A 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 F8 07 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [15:29:14]wFMCommunicate OK [15:29:14]wFMCommunicate request_size=4 [15:29:14]MH_SAM_APDU [15:29:14]CAPDU: 80 17 00 00 [15:29:14]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [15:29:14]Write i2c OK [15:29:14]MH_I2C_Read... [15:29:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:29:14]Read from MH i2c: E2 [15:29:14]MH_I2C_Read... [15:29:14]Read from MH i2c: E2 FD 00 [15:29:14]MH_I2C_Read... [15:29:14]Read from MH i2c: E2 FD 00 21 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 0A [15:29:14]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [15:29:14]wFMCommunicate OK [15:29:14]wFMCommunicate request_size=4 [15:29:14]MH_SAM_APDU [15:29:14]CAPDU: 80 17 00 00 [15:29:14]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [15:29:14]Write i2c OK [15:29:14]MH_I2C_Read... [15:29:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:29:14]Read from MH i2c: E2 [15:29:14]MH_I2C_Read... [15:29:14]Read from MH i2c: E2 FD 00 [15:29:14]MH_I2C_Read... [15:29:14]Read from MH i2c: E2 FD 00 22 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 46 [15:29:14]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [15:29:14]wFMCommunicate OK [15:29:14]wFMCommunicate request_size=4 [15:29:14]MH_SAM_APDU [15:29:14]CAPDU: 80 17 00 00 [15:29:14]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [15:29:14]Write i2c OK [15:29:14]MH_I2C_Read... [15:29:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:29:14]Read from MH i2c: E2 [15:29:14]MH_I2C_Read... [15:29:14]Read from MH i2c: E2 FD 00 [15:29:14]MH_I2C_Read... [15:29:14]Read from MH i2c: E2 FD 00 23 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 1D [15:29:14]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [15:29:14]wFMCommunicate OK [15:29:14]wFMCommunicate request_size=4 [15:29:14]MH_SAM_APDU [15:29:14]CAPDU: 80 17 00 00 [15:29:14]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [15:29:14]Write i2c OK [15:29:14]MH_I2C_Read... [15:29:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [15:29:15]Read from MH i2c: E2 [15:29:15]MH_I2C_Read... [15:29:15]Read from MH i2c: E2 DC 00 [15:29:15]MH_I2C_Read... [15:29:15]Read from MH i2c: E2 DC 00 24 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 88 [15:29:15]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:29:15]wFMCommunicate OK [15:29:15]SAM_PROTO_GetFMData done [15:29:15]requested_item fm.sale_refund.total is exist - process it [15:29:15]requested_item fm.buy.total is exist - process it [15:29:15]requested_item shift.sale.total is exist - process it [15:29:15]SAM_PROTO_GetShiftData [15:29:15]wFMCommunicate request_size=4 [15:29:15]MH_SAM_APDU [15:29:15]CAPDU: 80 13 02 00 [15:29:15]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [15:29:15]Write i2c OK [15:29:15]MH_I2C_Read... [15:29:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:29:15]Read from MH i2c: E2 [15:29:15]MH_I2C_Read... [15:29:15]Read from MH i2c: E2 FD 00 [15:29:15]MH_I2C_Read... [15:29:15]Read from MH i2c: E2 FD 00 25 00 00 AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 38 14 3B 70 04 03 00 DC 02 26 72 04 03 00 5C 11 15 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 91 46 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 F8 [15:29:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 38 14 3B 70 04 03 00 DC 02 26 72 04 03 00 5C 11 15 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 91 46 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [15:29:15]wFMCommunicate OK [15:29:15]wFMCommunicate request_size=4 [15:29:15]MH_SAM_APDU [15:29:15]CAPDU: 80 17 00 00 [15:29:15]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [15:29:15]Write i2c OK [15:29:15]MH_I2C_Read... [15:29:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:29:15]Read from MH i2c: E2 [15:29:15]MH_I2C_Read... [15:29:15]Read from MH i2c: E2 FD 00 [15:29:15]MH_I2C_Read... [15:29:15]Read from MH i2c: E2 FD 00 26 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C8 [15:29:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:29:15]wFMCommunicate OK [15:29:15]wFMCommunicate request_size=4 [15:29:15]MH_SAM_APDU [15:29:15]CAPDU: 80 17 00 00 [15:29:15]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [15:29:15]Write i2c OK [15:29:15]MH_I2C_Read... [15:29:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:29:16]Read from MH i2c: E2 [15:29:16]MH_I2C_Read... [15:29:16]Read from MH i2c: E2 FD 00 [15:29:16]MH_I2C_Read... [15:29:16]Read from MH i2c: E2 FD 00 27 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 5E [15:29:16]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:29:16]wFMCommunicate OK [15:29:16]wFMCommunicate request_size=4 [15:29:16]MH_SAM_APDU [15:29:16]CAPDU: 80 17 00 00 [15:29:16]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [15:29:16]Write i2c OK [15:29:16]MH_I2C_Read... [15:29:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:29:16]Read from MH i2c: E2 [15:29:16]MH_I2C_Read... [15:29:16]Read from MH i2c: E2 FD 00 [15:29:16]MH_I2C_Read... [15:29:16]Read from MH i2c: E2 FD 00 28 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1A [15:29:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:29:16]wFMCommunicate OK [15:29:16]wFMCommunicate request_size=4 [15:29:16]MH_SAM_APDU [15:29:16]CAPDU: 80 17 00 00 [15:29:16]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [15:29:16]Write i2c OK [15:29:16]MH_I2C_Read... [15:29:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:29:16]Read from MH i2c: E2 [15:29:16]MH_I2C_Read... [15:29:16]Read from MH i2c: E2 CB 00 [15:29:16]MH_I2C_Read... [15:29:16]Read from MH i2c: E2 CB 00 29 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 92 [15:29:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:29:16]wFMCommunicate OK [15:29:16]SAM_PROTO_GetShiftData done [15:29:16]requested_item shift.sale.total_cash is exist - process it [15:29:16]requested_item shift.sale_refund.total is exist - process it [15:29:16]requested_item shift.sale_refund.total_cash is exist - process it [15:29:16]requested_item shift.buy.total is exist - process it [15:29:16]requested_item shift.buy.total_cash is exist - process it [15:29:16]produce_requested_data done [15:29:16]produce_requested_data return {"fm.sale.total":16068911.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":38718.00,"shift.sale.total_cash":24911.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} [15:29:16]process_action_free get_value [15:29:16]json_value_free [15:29:16]json_value_free done [15:29:16]process_json_proto returns [15:29:16]Send response to host [15:29:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16068911.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":38718.00,"shift.sale.total_cash":24911.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}}} [15:29:16]free response buf [15:29:16]execute_script done [15:29:16]execute_script returns [15:29:16]free content buf [15:29:16]Sock 9.Close socket [15:29:16]Sock 9.Thread stoped [15:29:18]OFD Sender: No OFD packet to send [15:29:23]OFD Sender: No OFD packet to send [15:29:28]OFD Sender: No OFD packet to send [15:29:33]OFD Sender: No OFD packet to send [15:29:38]OFD Sender: No OFD packet to send [15:29:43]OFD Sender: No OFD packet to send [15:29:48]OFD Sender: No OFD packet to send [15:29:53]OFD Sender: No OFD packet to send [15:29:58]OFD Sender: No OFD packet to send [15:30:03]OFD Sender: No OFD packet to send [15:30:08]OFD Sender: No OFD packet to send [15:30:13]OFD Sender: No OFD packet to send [15:30:18]OFD Sender: No OFD packet to send [15:30:23]OFD Sender: No OFD packet to send [15:30:28]OFD Sender: No OFD packet to send [15:30:33]OFD Sender: No OFD packet to send [15:30:38]OFD Sender: No OFD packet to send [15:30:43]OFD Sender: No OFD packet to send [15:30:44]accept exits with 7 [15:30:44]New connection [15:30:44]New thread 3067211108 created [15:30:44]Thread 3067067748 joined [15:30:44]Waiting for new connection... [15:30:44] Sock 7.Parse request [15:30:44]Sock 7.Check first char [15:30:44]Sock 7.First char is OK [15:30:44]request: POST /json_proto HTTP/1.0 [15:30:44]Method: POST [15:30:44]URL: /json_proto [15:30:44]Method is POST - this is cgi request [15:30:44]url: /json_proto [15:30:44]query_string will be loaded in cgi processing [15:30:44]execute_cgi json_proto POST (null) [15:30:44]execute_cgi path=json_proto method=POST [15:30:44]POST find Content-Length [15:30:44]Host: 172.17.54.195:8080 [15:30:44]Content-Length: 215 [15:30:44]Content-Type: application/json [15:30:44] [15:30:44]POST finish read [15:30:44]Found Content-Length = 215 [15:30:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:30:44]execute_script... [15:30:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:30:44]POST & json_proto [15:30:44]process_json_proto [15:30:44]json parsed OK: [15:30:44]protocol is kg_v1.0 [15:30:44]action value=get_value [15:30:44]process_action get_value [15:30:44]cmd_get_value [15:30:44]process_action get_value done [15:30:44]requested_data is exist [15:30:44]produce_requested_data [15:30:44]requested_item kkm.sn is exist - process it [15:30:44]requested_item kkm.ver is exist - process it [15:30:44]requested_item fm.sn is exist - process it [15:30:44]wFMCommunicate request_size=4 [15:30:44]MH_SAM_APDU [15:30:44]CAPDU: 80 11 00 00 [15:30:44]Write to MH i2c: E2 08 00 2A 00 80 11 00 00 00 00 00 00 A4 [15:30:44]Write i2c OK [15:30:44]MH_I2C_Read... [15:30:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:30:44]Read from MH i2c: E2 [15:30:44]MH_I2C_Read... [15:30:44]Read from MH i2c: E2 17 00 [15:30:44]MH_I2C_Read... [15:30:44]Read from MH i2c: E2 17 00 2A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 F3 [15:30:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [15:30:44]wFMCommunicate OK [15:30:44]requested_item fd.num is exist - process it [15:30:44]SAM_PROTO_GetFieldsCounters [15:30:44]wFMCommunicate request_size=4 [15:30:44]MH_SAM_APDU [15:30:44]CAPDU: 80 13 00 00 [15:30:44]Write to MH i2c: E2 08 00 2B 00 80 13 00 00 00 00 00 00 A7 [15:30:44]Write i2c OK [15:30:44]MH_I2C_Read... [15:30:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:30:45]Read from MH i2c: E2 [15:30:45]MH_I2C_Read... [15:30:45]Read from MH i2c: E2 62 00 [15:30:45]MH_I2C_Read... [15:30:45]Read from MH i2c: E2 62 00 2B 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 F3 [15:30:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:30:45]wFMCommunicate OK [15:30:45]SAM_PROTO_GetFieldsCounters done [15:30:45]requested_item shift.num is exist - process it [15:30:45]requested_item shift.opened is exist - process it [15:30:45]req_shift_opened [15:30:45]FM_GetShiftState [15:30:45]SAM_PROTO_GetShiftState [15:30:45]wFMCommunicate request_size=4 [15:30:45]MH_SAM_APDU [15:30:45]CAPDU: 80 13 01 00 [15:30:45]Write to MH i2c: E2 08 00 2C 00 80 13 01 00 00 00 00 00 A9 [15:30:45]Write i2c OK [15:30:45]MH_I2C_Read... [15:30:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:30:45]Read from MH i2c: E2 [15:30:45]MH_I2C_Read... [15:30:45]Read from MH i2c: E2 0E 00 [15:30:45]MH_I2C_Read... [15:30:45]Read from MH i2c: E2 0E 00 2C 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 EE [15:30:45]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [15:30:45]wFMCommunicate OK [15:30:45]SAM_PROTO_GetShiftState done [15:30:45]FM_GetShiftState done [15:30:45]req_shift_opened done [15:30:45]requested_item shift.open_date is exist - process it [15:30:45]req_shift_open_date [15:30:45]req_shift_open_date done [15:30:45]produce_requested_data done [15:30:45]produce_requested_data return {"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15826,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [15:30:45]process_action_free get_value [15:30:45]json_value_free [15:30:45]json_value_free done [15:30:45]process_json_proto returns [15:30:45]Send response to host [15:30:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15826,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [15:30:45]free response buf [15:30:45]execute_script done [15:30:45]execute_script returns [15:30:45]free content buf [15:30:45]Sock 7.Close socket [15:30:45]Sock 7.Thread stoped [15:30:45]accept exits with 9 [15:30:45]New connection [15:30:45]New thread 3067067748 created [15:30:45]Thread 3067211108 joined [15:30:45]Waiting for new connection... [15:30:45] Sock 9.Parse request [15:30:45]Sock 9.Check first char [15:30:45]Sock 9.First char is OK [15:30:45]request: POST /json_proto HTTP/1.0 [15:30:45]Method: POST [15:30:45]URL: /json_proto [15:30:45]Method is POST - this is cgi request [15:30:45]url: /json_proto [15:30:45]query_string will be loaded in cgi processing [15:30:45]execute_cgi json_proto POST (null) [15:30:45]execute_cgi path=json_proto method=POST [15:30:45]POST find Content-Length [15:30:45]Host: 172.17.54.195:8080 [15:30:45]Content-Length: 331 [15:30:45]Content-Type: application/json [15:30:45] [15:30:45]POST finish read [15:30:45]Found Content-Length = 331 [15:30:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:30:45]execute_script... [15:30:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [15:30:45]POST & json_proto [15:30:45]process_json_proto [15:30:45]json parsed OK: [15:30:45]protocol is kg_v1.0 [15:30:45]action value=get_value [15:30:45]process_action get_value [15:30:45]cmd_get_value [15:30:45]process_action get_value done [15:30:45]requested_data is exist [15:30:45]produce_requested_data [15:30:45]requested_item fm.sale.total is exist - process it [15:30:45]SAM_PROTO_GetFMData [15:30:45]wFMCommunicate request_size=4 [15:30:45]MH_SAM_APDU [15:30:45]CAPDU: 80 13 03 00 [15:30:45]Write to MH i2c: E2 08 00 2D 00 80 13 03 00 00 00 00 00 AC [15:30:45]Write i2c OK [15:30:45]MH_I2C_Read... [15:30:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [15:30:45]Read from MH i2c: E2 [15:30:45]MH_I2C_Read... [15:30:45]Read from MH i2c: E2 FD 00 [15:30:45]MH_I2C_Read... [15:30:45]Read from MH i2c: E2 FD 00 2D 00 00 BF 04 85 04 BB 04 6E 04 04 00 78 3C 00 00 69 04 A0 00 6F 04 04 00 2D 3C 00 00 B1 04 04 00 5C 36 C7 5F 70 04 04 00 44 96 EC 47 72 04 04 00 18 A0 DA 17 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 96 91 2C 0A 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 F8 07 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 AD [15:30:45]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 78 3C 00 00 69 04 A0 00 6F 04 04 00 2D 3C 00 00 B1 04 04 00 5C 36 C7 5F 70 04 04 00 44 96 EC 47 72 04 04 00 18 A0 DA 17 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 96 91 2C 0A 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 F8 07 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [15:30:45]wFMCommunicate OK [15:30:45]wFMCommunicate request_size=4 [15:30:45]MH_SAM_APDU [15:30:45]CAPDU: 80 17 00 00 [15:30:45]Write to MH i2c: E2 08 00 2E 00 80 17 00 00 00 00 00 00 AE [15:30:45]Write i2c OK [15:30:45]MH_I2C_Read... [15:30:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:30:46]Read from MH i2c: E2 [15:30:46]MH_I2C_Read... [15:30:46]Read from MH i2c: E2 FD 00 [15:30:46]MH_I2C_Read... [15:30:46]Read from MH i2c: E2 FD 00 2E 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 17 [15:30:46]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [15:30:46]wFMCommunicate OK [15:30:46]wFMCommunicate request_size=4 [15:30:46]MH_SAM_APDU [15:30:46]CAPDU: 80 17 00 00 [15:30:46]Write to MH i2c: E2 08 00 2F 00 80 17 00 00 00 00 00 00 AF [15:30:46]Write i2c OK [15:30:46]MH_I2C_Read... [15:30:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:30:46]Read from MH i2c: E2 [15:30:46]MH_I2C_Read... [15:30:46]Read from MH i2c: E2 FD 00 [15:30:46]MH_I2C_Read... [15:30:46]Read from MH i2c: E2 FD 00 2F 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 53 [15:30:46]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [15:30:46]wFMCommunicate OK [15:30:46]wFMCommunicate request_size=4 [15:30:46]MH_SAM_APDU [15:30:46]CAPDU: 80 17 00 00 [15:30:46]Write to MH i2c: E2 08 00 30 00 80 17 00 00 00 00 00 00 B0 [15:30:46]Write i2c OK [15:30:46]MH_I2C_Read... [15:30:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:30:46]Read from MH i2c: E2 [15:30:46]MH_I2C_Read... [15:30:46]Read from MH i2c: E2 FD 00 [15:30:46]MH_I2C_Read... [15:30:46]Read from MH i2c: E2 FD 00 30 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 2A [15:30:46]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [15:30:46]wFMCommunicate OK [15:30:46]wFMCommunicate request_size=4 [15:30:46]MH_SAM_APDU [15:30:46]CAPDU: 80 17 00 00 [15:30:46]Write to MH i2c: E2 08 00 31 00 80 17 00 00 00 00 00 00 B1 [15:30:46]Write i2c OK [15:30:46]MH_I2C_Read... [15:30:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [15:30:46]Read from MH i2c: E2 [15:30:46]MH_I2C_Read... [15:30:46]Read from MH i2c: E2 DC 00 [15:30:46]MH_I2C_Read... [15:30:46]Read from MH i2c: E2 DC 00 31 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 95 [15:30:46]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:30:46]wFMCommunicate OK [15:30:46]SAM_PROTO_GetFMData done [15:30:46]requested_item fm.sale_refund.total is exist - process it [15:30:46]requested_item fm.buy.total is exist - process it [15:30:46]requested_item shift.sale.total is exist - process it [15:30:46]SAM_PROTO_GetShiftData [15:30:46]wFMCommunicate request_size=4 [15:30:46]MH_SAM_APDU [15:30:46]CAPDU: 80 13 02 00 [15:30:46]Write to MH i2c: E2 08 00 32 00 80 13 02 00 00 00 00 00 B0 [15:30:46]Write i2c OK [15:30:46]MH_I2C_Read... [15:30:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:30:47]Read from MH i2c: E2 [15:30:47]MH_I2C_Read... [15:30:47]Read from MH i2c: E2 FD 00 [15:30:47]MH_I2C_Read... [15:30:47]Read from MH i2c: E2 FD 00 32 00 00 AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 38 14 3B 70 04 03 00 DC 02 26 72 04 03 00 5C 11 15 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 91 46 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 05 [15:30:47]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 38 14 3B 70 04 03 00 DC 02 26 72 04 03 00 5C 11 15 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 91 46 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DD 85 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [15:30:47]wFMCommunicate OK [15:30:47]wFMCommunicate request_size=4 [15:30:47]MH_SAM_APDU [15:30:47]CAPDU: 80 17 00 00 [15:30:47]Write to MH i2c: E2 08 00 33 00 80 17 00 00 00 00 00 00 B3 [15:30:47]Write i2c OK [15:30:47]MH_I2C_Read... [15:30:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:30:47]Read from MH i2c: E2 [15:30:47]MH_I2C_Read... [15:30:47]Read from MH i2c: E2 FD 00 [15:30:47]MH_I2C_Read... [15:30:47]Read from MH i2c: E2 FD 00 33 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 D5 [15:30:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [15:30:47]wFMCommunicate OK [15:30:47]wFMCommunicate request_size=4 [15:30:47]MH_SAM_APDU [15:30:47]CAPDU: 80 17 00 00 [15:30:47]Write to MH i2c: E2 08 00 34 00 80 17 00 00 00 00 00 00 B4 [15:30:47]Write i2c OK [15:30:47]MH_I2C_Read... [15:30:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:30:47]Read from MH i2c: E2 [15:30:47]MH_I2C_Read... [15:30:47]Read from MH i2c: E2 FD 00 [15:30:47]MH_I2C_Read... [15:30:47]Read from MH i2c: E2 FD 00 34 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 6B [15:30:47]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [15:30:47]wFMCommunicate OK [15:30:47]wFMCommunicate request_size=4 [15:30:47]MH_SAM_APDU [15:30:47]CAPDU: 80 17 00 00 [15:30:47]Write to MH i2c: E2 08 00 35 00 80 17 00 00 00 00 00 00 B5 [15:30:47]Write i2c OK [15:30:47]MH_I2C_Read... [15:30:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:30:48]Read from MH i2c: E2 [15:30:48]MH_I2C_Read... [15:30:48]Read from MH i2c: E2 FD 00 [15:30:48]MH_I2C_Read... [15:30:48]Read from MH i2c: E2 FD 00 35 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 27 [15:30:48]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [15:30:48]wFMCommunicate OK [15:30:48]wFMCommunicate request_size=4 [15:30:48]MH_SAM_APDU [15:30:48]CAPDU: 80 17 00 00 [15:30:48]Write to MH i2c: E2 08 00 36 00 80 17 00 00 00 00 00 00 B6 [15:30:48]Write i2c OK [15:30:48]MH_I2C_Read... [15:30:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [15:30:48]Read from MH i2c: E2 [15:30:48]MH_I2C_Read... [15:30:48]Read from MH i2c: E2 CB 00 [15:30:48]MH_I2C_Read... [15:30:48]Read from MH i2c: E2 CB 00 36 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9F [15:30:48]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [15:30:48]wFMCommunicate OK [15:30:48]SAM_PROTO_GetShiftData done [15:30:48]requested_item shift.sale.total_cash is exist - process it [15:30:48]requested_item shift.sale_refund.total is exist - process it [15:30:48]requested_item shift.sale_refund.total_cash is exist - process it [15:30:48]requested_item shift.buy.total is exist - process it [15:30:48]requested_item shift.buy.total_cash is exist - process it [15:30:48]produce_requested_data done [15:30:48]produce_requested_data return {"fm.sale.total":16068911.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":38718.00,"shift.sale.total_cash":24911.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} [15:30:48]process_action_free get_value [15:30:48]json_value_free [15:30:48]json_value_free done [15:30:48]process_json_proto returns [15:30:48]Send response to host [15:30:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16068911.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":38718.00,"shift.sale.total_cash":24911.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}}} [15:30:48]free response buf [15:30:48]execute_script done [15:30:48]execute_script returns [15:30:48]free content buf [15:30:48]Sock 9.Close socket [15:30:48]Sock 9.Thread stoped [15:30:48]OFD Sender: No OFD packet to send [15:30:53]OFD Sender: No OFD packet to send [15:30:58]OFD Sender: No OFD packet to send [15:31:03]OFD Sender: No OFD packet to send [15:31:08]OFD Sender: No OFD packet to send [15:31:13]OFD Sender: No OFD packet to send [15:31:18]OFD Sender: No OFD packet to send [15:31:23]OFD Sender: No OFD packet to send [15:31:28]OFD Sender: No OFD packet to send [15:31:33]OFD Sender: No OFD packet to send [15:31:38]OFD Sender: No OFD packet to send [15:31:43]OFD Sender: No OFD packet to send [15:31:48]OFD Sender: No OFD packet to send [15:31:53]OFD Sender: No OFD packet to send [15:31:58]OFD Sender: No OFD packet to send [15:32:03]OFD Sender: No OFD packet to send [15:32:08]OFD Sender: No OFD packet to send [15:32:13]OFD Sender: No OFD packet to send [15:32:18]OFD Sender: No OFD packet to send [15:32:23]OFD Sender: No OFD packet to send [15:32:28]OFD Sender: No OFD packet to send [15:32:33]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:44]OFD Sender: No OFD packet to send [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:00]accept exits with 7 [15:33:00]New connection [15:33:00]New thread 3067211108 created [15:33:00]Thread 3067067748 joined [15:33:00]Waiting for new connection... [15:33:00] Sock 7.Parse request [15:33:00]Sock 7.Check first char [15:33:00]Sock 7.First char is OK [15:33:00]request: POST /json_proto HTTP/1.0 [15:33:00]Method: POST [15:33:00]URL: /json_proto [15:33:00]Method is POST - this is cgi request [15:33:00]url: /json_proto [15:33:00]query_string will be loaded in cgi processing [15:33:00]execute_cgi json_proto POST (null) [15:33:00]execute_cgi path=json_proto method=POST [15:33:00]POST find Content-Length [15:33:00]Host: 172.17.54.195:8080 [15:33:00]Content-Length: 977 [15:33:00]Content-Type: application/json [15:33:00] [15:33:00]POST finish read [15:33:00]Found Content-Length = 977 [15:33:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16377", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 50.540, "sum" : 3800.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 178\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 50.54 \u0441\u043E\u043C", "deposit" : 3800.00, "total" : 3800.00, "payments": [ { "type": 0, "sum" : 3800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:00]execute_script... [15:33:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16377", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 50.540, "sum" : 3800.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 178\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 50.54 \u0441\u043E\u043C", "deposit" : 3800.00, "total" : 3800.00, "payments": [ { "type": 0, "sum" : 3800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:00]POST & json_proto [15:33:00]process_json_proto [15:33:00]json parsed OK: [15:33:00]protocol is kg_v1.0 [15:33:00]action value=close_receipt [15:33:00]process_action close_receipt [15:33:00]cmd_close_receipt [15:33:00]MH_GetDate [15:33:00]Write to MH i2c: F0 00 00 37 00 26 [15:33:00]Write i2c OK [15:33:00]MH_I2C_Read... [15:33:00]Read from MH i2c: F0 [15:33:00]MH_I2C_Read... [15:33:00]Read from MH i2c: F0 09 00 [15:33:00]MH_I2C_Read... [15:33:00]Read from MH i2c: F0 09 00 37 00 00 AD 51 22 67 8D 90 A3 66 DC [15:33:00]GetLastDocTimeStamp 1730286239 [15:33:00]current date 1730302381 [15:33:00]FM_GetShiftState [15:33:00]SAM_PROTO_GetShiftState [15:33:00]wFMCommunicate request_size=4 [15:33:00]MH_SAM_APDU [15:33:00]CAPDU: 80 13 01 00 [15:33:00]Write to MH i2c: E2 08 00 38 00 80 13 01 00 00 00 00 00 B5 [15:33:00]Write i2c OK [15:33:00]MH_I2C_Read... [15:33:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:01]Read from MH i2c: E2 [15:33:01]MH_I2C_Read... [15:33:01]Read from MH i2c: E2 0E 00 [15:33:01]MH_I2C_Read... [15:33:01]Read from MH i2c: E2 0E 00 38 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 FA [15:33:01]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [15:33:01]wFMCommunicate OK [15:33:01]SAM_PROTO_GetShiftState done [15:33:01]FM_GetShiftState done [15:33:01]opened in 1730247478 [15:33:01]opened+sec_in_day 1730333878 [15:33:01]quantity*price = 380060 [15:33:01]sum+1 = 380062 [15:33:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.61 ИТОГО: 3800.00 Внесено: 3800.00 СДАЧА: 0.00 НСП 1% : 33.63 НДС 12% : 403.60 Наличными: 3800.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 37 30.10.2024 15:33 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Дисконтная программа ДТ номер 178 сэкономлено 50.54 сом ФМ: 0000000000963325 ФД: 15827 ФПД: 136140006456065 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T153301&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15827&fm=136140006456065&tin=02508201610067®Number=0000000000161798&sum=380000 [15:33:02]StoreToDocumentArchive [15:33:02]shift 173 fd 15827 [15:33:02]save to /storage/0173/doc_00015827 [15:33:02]save last doc name /storage/0173/doc_00015827 to /storage/kkm_last_doc_name [15:33:02]save OK [15:33:02]Clear old archive folders... [15:33:02]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:33:02]tlvbuf is 00E29070 [15:33:02]SAM_PROTO_ClearQueue [15:33:02]wFMCommunicate request_size=4 [15:33:02]MH_SAM_APDU [15:33:02]CAPDU: 80 09 00 00 [15:33:02]Write to MH i2c: E2 08 00 45 00 80 09 00 00 00 00 00 00 B7 [15:33:02]Write i2c OK [15:33:02]MH_I2C_Read... [15:33:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:33:02]Read from MH i2c: E2 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 03 00 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 03 00 45 00 00 90 00 B9 [15:33:02]RAPDU: 90 00 [15:33:02]wFMCommunicate OK [15:33:02]SAM_PROTO_ClearQueue done [15:33:02]KKMCreateOFDPacket [15:33:02]OFDProtocolAddRootSTLVToBuf [15:33:02]FM_MakeSignedData [15:33:02]FM_MakeSignedData [15:33:02]SAM_PROTO_SignData [15:33:02]wFMCommunicate request_size=4 [15:33:02]MH_SAM_APDU [15:33:02]CAPDU: 80 0D 01 02 [15:33:02]Write to MH i2c: E2 08 00 46 00 80 0D 01 02 00 00 00 00 BF [15:33:02]Write i2c OK [15:33:02]MH_I2C_Read... [15:33:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:33:02]Read from MH i2c: E2 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 03 00 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 03 00 46 00 00 90 00 BA [15:33:02]RAPDU: 90 00 [15:33:02]wFMCommunicate OK [15:33:02]wFMCommunicate request_size=255 [15:33:02]MH_SAM_APDU [15:33:02]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 6C C5 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 9D CC 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 CC 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 9D 00 00 00 00 07 04 06 00 60 CC 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 AD 51 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D3 3D 00 00 35 04 06 00 7B D1 90 B9 [15:33:02]Write to MH i2c: E2 02 01 47 00 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 6C C5 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 9D CC 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 CC 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 9D 00 00 00 00 07 04 06 00 60 CC 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 AD 51 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D3 3D 00 00 35 04 06 00 7B D1 90 B9 00 00 10 [15:33:02]Write i2c OK [15:33:02]MH_I2C_Read... [15:33:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:02]Read from MH i2c: E2 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 03 00 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 03 00 47 00 00 90 00 BB [15:33:02]RAPDU: 90 00 [15:33:02]wFMCommunicate OK [15:33:02]wFMCommunicate request_size=7 [15:33:02]MH_SAM_APDU [15:33:02]CAPDU: 80 0D 02 02 02 7B 01 [15:33:02]Write to MH i2c: E2 0A 00 48 00 80 0D 02 02 02 00 7B 01 00 00 42 [15:33:02]Write i2c OK [15:33:02]MH_I2C_Read... [15:33:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:02]Read from MH i2c: E2 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 03 00 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 03 00 48 00 00 90 00 BC [15:33:02]RAPDU: 90 00 [15:33:02]wFMCommunicate OK [15:33:02]wFMCommunicate request_size=4 [15:33:02]MH_SAM_APDU [15:33:02]CAPDU: 80 0D 03 02 [15:33:02]Write to MH i2c: E2 08 00 49 00 80 0D 03 02 00 00 00 00 C4 [15:33:02]Write i2c OK [15:33:02]MH_I2C_Read... [15:33:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:33:02]Read from MH i2c: E2 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 0B 00 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 0B 00 49 00 00 F5 EE 8C FA CE 97 CF 70 90 00 D2 [15:33:02]RAPDU: F5 EE 8C FA CE 97 CF 70 90 00 [15:33:02]wFMCommunicate OK [15:33:02]SAM_PROTO_SignData done [15:33:02]FM_MakeSignedData done [15:33:02]CreateOFDProtocolMessage [15:33:02]wFMCommunicate request_size=4 [15:33:02]MH_SAM_APDU [15:33:02]CAPDU: 80 11 00 00 [15:33:02]Write to MH i2c: E2 08 00 4A 00 80 11 00 00 00 00 00 00 C4 [15:33:02]Write i2c OK [15:33:02]MH_I2C_Read... [15:33:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:02]Read from MH i2c: E2 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 17 00 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: E2 17 00 4A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 13 [15:33:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [15:33:02]wFMCommunicate OK [15:33:02]CreateOFDProtocolMessage done [15:33:02]OFDSenderStorePacket 15827 [15:33:02]StoreOFDPacket docnum=15827 [15:33:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 9D 9A 04 01 AA 68 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 6C C5 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 9D CC 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 CC 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 9D 00 00 00 00 07 04 06 00 60 CC 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 AD 51 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D3 3D 00 00 35 04 06 00 7B D1 90 B9 7B 01 F5 EE 8C FA CE 97 CF 70 [15:33:02]CheckFolder [15:33:02]dirname=/storage/ofd_packets [15:33:02]CheckFolder done [15:33:02]ProducePacketName [15:33:02]name=ofd_packets/00015827 [15:33:02]NVStorageSaveData ofd_packets/00015827 [15:33:02]File name is /storage/ofd_packets/00015827 [15:33:02]Write 298 bytes [15:33:02]NVStorageSaveData done [15:33:02]OFDSenderStorePacket done [15:33:02]KKMCreateOFDPacket done [15:33:02]NVStorageSaveData kkm_last_timestamp [15:33:02]File name is /storage/kkm_last_timestamp [15:33:02]Write 4 bytes [15:33:02]NVStorageSaveData done [15:33:02]ExternCall_PrintAddStr [15:33:02]wPrintStart [15:33:02]Write to MH i2c: 01 00 00 4B 00 4B [15:33:02]Write i2c OK [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: 01 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: 01 07 00 [15:33:02]MH_I2C_Read... [15:33:02]Read from MH i2c: 01 07 00 4B 00 00 00 00 00 00 FF 0F 60 [15:33:02]RasterBufferAndPrint [15:33:02]line Счет N : (1)16377 [15:33:02]line ИНН: 02508201610067 [15:33:02]line Контрольно-Кассовый Чек [15:33:02]line ПРОДАЖА [15:33:02]line ТРК (МРК, ГНК) : 22 [15:33:02]line Товар: 2710194210 [15:33:02]line ДТ-К-5 [15:33:02]line 50.540 * 75.20 [15:33:02]line = 3800.61 [15:33:02]line НДС 12% НСП 1% [15:33:02]line > о реализуемом товаре [15:33:02]line ОКРУГЛЕНИЕ: -0.61 [15:33:02]line ИТОГО: 3800.00 [15:33:02]line Внесено: 3800.00 [15:33:02]line СДАЧА: 0.00 [15:33:02]line НСП 1% : 33.63 [15:33:02]line НДС 12% : 403.60 [15:33:02]line Наличными: 3800.00 [15:33:02]line Безнал.: 0.00 [15:33:02]line Место: АЗС № 178 "Партнер Нефть" [15:33:02]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [15:33:02]line СНО: Общий режим [15:33:02]line Чек 37 30.10.2024 15:33 [15:33:02]line Смена: 173 ФФД: 1.0 [15:33:02]line ЗНМ: 0300000014 [15:33:02]line РНМ: 0000000000161798 [15:33:02]line Версия ККМ: v1.0 [15:33:02]line [15:33:02]line Дисконтная программа [15:33:02]line ДТ [15:33:02]line номер 178 [15:33:02]line сэкономлено 50.54 сом [15:33:02]line ФМ: 0000000000963325 [15:33:02]line ФД: 15827 [15:33:02]line ФПД: 136140006456065 [15:33:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T153301&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15827&fm=136140006456065&tin=02508201610067®Number=0000000000161798&sum=380000 [15:33:03]OFD Sender: Processing packet 15827 [packets to send 4, broken 3] [15:33:03]ProducePacketName [15:33:03]name=ofd_packets/00015827 [15:33:03]OFD Sender: To server: pG, [15:33:03]CommunicateWithHost lk.salyk.kg:30040 [15:33:03]ConnectInit lk.salyk.kg [15:33:03]written 0, free lines is 4095 [15:33:03]Connected sock=10 [15:33:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 9D 9A 04 01 AA 68 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 6C C5 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 9D CC 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 CC 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 9D 00 00 00 00 07 04 06 00 60 CC 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 AD 51 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D3 3D 00 00 35 04 06 00 7B D1 90 B9 7B 01 F5 EE 8C FA CE 97 CF 70 [15:33:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 F8 AC 47 00 7F 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 36 33 33 32 35 10 04 04 00 D3 3D 00 00 F4 03 04 00 96 FC 21 67 B6 04 01 00 00 92 69 50 11 7E 57 01 6D [15:33:03]CommunicateWithHost err = 0 [15:33:03]CheckOFDResponse [15:33:03]1017 (14) - 77093643461234 [15:33:03]1041 (16) - 0000000000963325 [15:33:03]1040 (4) - 15827 [15:33:03]1012 (4) - 30.10.2024 09:29 [15:33:03]1206 (1) - 0 [15:33:03]OFD Sender: Remove packet 15827 [15:33:03]ProducePacketName [15:33:03]name=ofd_packets/00015827 [15:33:03]NVStorageDeleteData [15:33:03]Write to MH i2c: 01 00 00 7B 00 7B [15:33:03]Write i2c OK [15:33:03]MH_I2C_Read... [15:33:03]Read from MH i2c: 01 [15:33:03]MH_I2C_Read... [15:33:03]Read from MH i2c: 01 07 00 [15:33:03]MH_I2C_Read... [15:33:03]Read from MH i2c: 01 07 00 7B 00 00 00 00 00 00 B4 0C 42 [15:33:03]RasterBufferAndPrint [15:33:03]line [15:33:03]line [15:33:03]line [15:33:03]line [15:33:03]line [15:33:03]written 0, free lines is 3258 [15:33:03]MH_Cut [15:33:03]Write to MH i2c: D1 01 00 82 00 01 54 [15:33:03]Write i2c OK [15:33:03]MH_I2C_Read... [15:33:03]Read from MH i2c: D1 [15:33:03]MH_I2C_Read... [15:33:03]Read from MH i2c: D1 01 00 [15:33:03]MH_I2C_Read... [15:33:03]Read from MH i2c: D1 01 00 82 00 00 53 [15:33:03]Write to MH i2c: 01 00 00 83 00 83 [15:33:03]Write i2c OK [15:33:03]MH_I2C_Read... [15:33:03]OFD Sender: No OFD packet to send [15:33:04]*** Cut start [15:33:04]*** Partial cut [15:33:04]*** CUTSNS_PIN = 1 [15:33:04]*** CUTSNS_PIN = 0 [15:33:04]*** Brake cut motor [15:33:04]Read from MH i2c: 01 [15:33:04]MH_I2C_Read... [15:33:04]*** Stop cut motor [15:33:04]*** Cut end [15:33:04]Read from MH i2c: 01 07 00 [15:33:04]MH_I2C_Read... [15:33:04]Read from MH i2c: 01 07 00 83 00 00 00 00 00 00 FF 0F 98 [15:33:04]process_action close_receipt done [15:33:04]requested_data is exist [15:33:04]produce_requested_data [15:33:04]requested_item fm.sn is exist - process it [15:33:04]wFMCommunicate request_size=4 [15:33:04]MH_SAM_APDU [15:33:04]CAPDU: 80 11 00 00 [15:33:04]Write to MH i2c: E2 08 00 84 00 80 11 00 00 00 00 00 00 FE [15:33:04]Write i2c OK [15:33:04]MH_I2C_Read... [15:33:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:04]Read from MH i2c: E2 [15:33:04]MH_I2C_Read... [15:33:04]Read from MH i2c: E2 17 00 [15:33:04]MH_I2C_Read... [15:33:04]Read from MH i2c: E2 17 00 84 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 4D [15:33:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [15:33:04]wFMCommunicate OK [15:33:04]requested_item fd.num is exist - process it [15:33:04]SAM_PROTO_GetFieldsCounters [15:33:04]wFMCommunicate request_size=4 [15:33:04]MH_SAM_APDU [15:33:04]CAPDU: 80 13 00 00 [15:33:04]Write to MH i2c: E2 08 00 85 00 80 13 00 00 00 00 00 00 01 [15:33:05]Write i2c OK [15:33:05]MH_I2C_Read... [15:33:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:33:05]Read from MH i2c: E2 [15:33:05]MH_I2C_Read... [15:33:05]Read from MH i2c: E2 62 00 [15:33:05]MH_I2C_Read... [15:33:05]Read from MH i2c: E2 62 00 85 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D3 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 51 [15:33:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D3 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:33:05]wFMCommunicate OK [15:33:05]SAM_PROTO_GetFieldsCounters done [15:33:05]requested_item shift.num is exist - process it [15:33:05]requested_item shift.opened is exist - process it [15:33:05]req_shift_opened [15:33:05]FM_GetShiftState [15:33:05]SAM_PROTO_GetShiftState [15:33:05]wFMCommunicate request_size=4 [15:33:05]MH_SAM_APDU [15:33:05]CAPDU: 80 13 01 00 [15:33:05]Write to MH i2c: E2 08 00 86 00 80 13 01 00 00 00 00 00 03 [15:33:05]Write i2c OK [15:33:05]MH_I2C_Read... [15:33:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:05]Read from MH i2c: E2 [15:33:05]MH_I2C_Read... [15:33:05]Read from MH i2c: E2 0E 00 [15:33:05]MH_I2C_Read... [15:33:05]Read from MH i2c: E2 0E 00 86 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 48 [15:33:05]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [15:33:05]wFMCommunicate OK [15:33:05]SAM_PROTO_GetShiftState done [15:33:05]FM_GetShiftState done [15:33:05]req_shift_opened done [15:33:05]requested_item shift.open_date is exist - process it [15:33:05]req_shift_open_date [15:33:05]req_shift_open_date done [15:33:05]produce_requested_data done [15:33:05]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15827,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [15:33:05]process_action_free close_receipt [15:33:05]json_value_free [15:33:05]json_value_free done [15:33:05]process_json_proto returns [15:33:05]Send response to host [15:33:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15827,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [15:33:05]free response buf [15:33:05]execute_script done [15:33:05]execute_script returns [15:33:05]free content buf [15:33:05]Sock 7.Close socket [15:33:05]Sock 7.Thread stoped [15:33:08]OFD Sender: No OFD packet to send [15:33:12]accept exits with 9 [15:33:12]New connection [15:33:12]New thread 3067067748 created [15:33:12]Thread 3067211108 joined [15:33:12]Waiting for new connection... [15:33:12] Sock 9.Parse request [15:33:12]Sock 9.Check first char [15:33:12]Sock 9.First char is OK [15:33:12]request: POST /json_proto HTTP/1.0 [15:33:12]Method: POST [15:33:12]URL: /json_proto [15:33:12]Method is POST - this is cgi request [15:33:12]url: /json_proto [15:33:12]query_string will be loaded in cgi processing [15:33:12]execute_cgi json_proto POST (null) [15:33:12]execute_cgi path=json_proto method=POST [15:33:12]POST find Content-Length [15:33:12]Host: 172.17.54.195:8080 [15:33:12]Content-Length: 628 [15:33:12]Content-Type: application/json [15:33:12] [15:33:12]POST finish read [15:33:12]Found Content-Length = 628 [15:33:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16378", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:12]execute_script... [15:33:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16378", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:33:12]POST & json_proto [15:33:12]process_json_proto [15:33:12]json parsed OK: [15:33:12]protocol is kg_v1.0 [15:33:12]action value=close_receipt [15:33:12]process_action close_receipt [15:33:12]cmd_close_receipt [15:33:12]MH_GetDate [15:33:12]Write to MH i2c: F0 00 00 87 00 76 [15:33:12]Write i2c OK [15:33:12]MH_I2C_Read... [15:33:12]Read from MH i2c: F0 [15:33:12]MH_I2C_Read... [15:33:12]Read from MH i2c: F0 09 00 [15:33:12]MH_I2C_Read... [15:33:12]Read from MH i2c: F0 09 00 87 00 00 B8 51 22 67 8D 90 A3 66 37 [15:33:12]GetLastDocTimeStamp 1730302381 [15:33:12]current date 1730302392 [15:33:12]FM_GetShiftState [15:33:12]SAM_PROTO_GetShiftState [15:33:12]wFMCommunicate request_size=4 [15:33:12]MH_SAM_APDU [15:33:12]CAPDU: 80 13 01 00 [15:33:12]Write to MH i2c: E2 08 00 88 00 80 13 01 00 00 00 00 00 05 [15:33:12]Write i2c OK [15:33:12]MH_I2C_Read... [15:33:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:12]Read from MH i2c: E2 [15:33:12]MH_I2C_Read... [15:33:12]Read from MH i2c: E2 0E 00 [15:33:12]MH_I2C_Read... [15:33:12]Read from MH i2c: E2 0E 00 88 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 4A [15:33:12]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [15:33:12]wFMCommunicate OK [15:33:12]SAM_PROTO_GetShiftState done [15:33:12]FM_GetShiftState done [15:33:12]opened in 1730247478 [15:33:12]opened+sec_in_day 1730333878 [15:33:12]quantity*price = 50000 [15:33:12]sum+1 = 50001 [15:33:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 38 30.10.2024 15:33 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15828 ФПД: 254469025281100 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T153312&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15828&fm=254469025281100&tin=02508201610067®Number=0000000000161798&sum=50000 [15:33:13]StoreToDocumentArchive [15:33:13]shift 173 fd 15828 [15:33:13]save to /storage/0173/doc_00015828 [15:33:13]save last doc name /storage/0173/doc_00015828 to /storage/kkm_last_doc_name [15:33:13]save OK [15:33:13]Clear old archive folders... [15:33:13]ProcessDocumentItem done err = 0, tmpTLVsize=249 [15:33:13]tlvbuf is 00E24180 [15:33:13]SAM_PROTO_ClearQueue [15:33:13]wFMCommunicate request_size=4 [15:33:13]MH_SAM_APDU [15:33:13]CAPDU: 80 09 00 00 [15:33:13]Write to MH i2c: E2 08 00 95 00 80 09 00 00 00 00 00 00 07 [15:33:13]Write i2c OK [15:33:13]MH_I2C_Read... [15:33:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:33:13]Read from MH i2c: E2 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 03 00 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 03 00 95 00 00 90 00 09 [15:33:13]RAPDU: 90 00 [15:33:13]wFMCommunicate OK [15:33:13]SAM_PROTO_ClearQueue done [15:33:13]KKMCreateOFDPacket [15:33:13]OFDProtocolAddRootSTLVToBuf [15:33:13]FM_MakeSignedData [15:33:13]FM_MakeSignedData [15:33:13]SAM_PROTO_SignData [15:33:13]wFMCommunicate request_size=4 [15:33:13]MH_SAM_APDU [15:33:13]CAPDU: 80 0D 01 02 [15:33:13]Write to MH i2c: E2 08 00 96 00 80 0D 01 02 00 00 00 00 0F [15:33:13]Write i2c OK [15:33:13]MH_I2C_Read... [15:33:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:33:13]Read from MH i2c: E2 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 03 00 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 03 00 96 00 00 90 00 0A [15:33:13]RAPDU: 90 00 [15:33:13]wFMCommunicate OK [15:33:13]wFMCommunicate request_size=255 [15:33:13]MH_SAM_APDU [15:33:13]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 B8 51 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D4 3D 00 00 35 04 06 00 E7 70 2F [15:33:13]Write to MH i2c: E2 02 01 97 00 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 B8 51 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D4 3D 00 00 35 04 06 00 E7 70 2F 00 00 4F [15:33:13]Write i2c OK [15:33:13]MH_I2C_Read... [15:33:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:13]Read from MH i2c: E2 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 03 00 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 03 00 97 00 00 90 00 0B [15:33:13]RAPDU: 90 00 [15:33:13]wFMCommunicate OK [15:33:13]wFMCommunicate request_size=8 [15:33:13]MH_SAM_APDU [15:33:13]CAPDU: 80 0D 02 02 03 DB B4 4C [15:33:13]Write to MH i2c: E2 0B 00 98 00 80 0D 02 02 03 00 DB B4 4C 00 00 F3 [15:33:13]Write i2c OK [15:33:13]MH_I2C_Read... [15:33:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:13]Read from MH i2c: E2 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 03 00 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 03 00 98 00 00 90 00 0C [15:33:13]RAPDU: 90 00 [15:33:13]wFMCommunicate OK [15:33:13]wFMCommunicate request_size=4 [15:33:13]MH_SAM_APDU [15:33:13]CAPDU: 80 0D 03 02 [15:33:13]Write to MH i2c: E2 08 00 99 00 80 0D 03 02 00 00 00 00 14 [15:33:13]Write i2c OK [15:33:13]MH_I2C_Read... [15:33:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:33:13]Read from MH i2c: E2 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 0B 00 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 0B 00 99 00 00 08 36 AC CA E2 D8 44 02 90 00 C9 [15:33:13]RAPDU: 08 36 AC CA E2 D8 44 02 90 00 [15:33:13]wFMCommunicate OK [15:33:13]SAM_PROTO_SignData done [15:33:13]FM_MakeSignedData done [15:33:13]CreateOFDProtocolMessage [15:33:13]wFMCommunicate request_size=4 [15:33:13]MH_SAM_APDU [15:33:13]CAPDU: 80 11 00 00 [15:33:13]Write to MH i2c: E2 08 00 9A 00 80 11 00 00 00 00 00 00 14 [15:33:13]Write i2c OK [15:33:13]MH_I2C_Read... [15:33:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:13]Read from MH i2c: E2 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 17 00 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: E2 17 00 9A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 63 [15:33:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [15:33:13]wFMCommunicate OK [15:33:13]CreateOFDProtocolMessage done [15:33:13]OFDSenderStorePacket 15828 [15:33:13]StoreOFDPacket docnum=15828 [15:33:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 AE B5 05 01 5C C2 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 B8 51 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D4 3D 00 00 35 04 06 00 E7 70 2F DB B4 4C 08 36 AC CA E2 D8 44 02 [15:33:13]CheckFolder [15:33:13]dirname=/storage/ofd_packets [15:33:13]CheckFolder done [15:33:13]ProducePacketName [15:33:13]name=ofd_packets/00015828 [15:33:13]NVStorageSaveData ofd_packets/00015828 [15:33:13]File name is /storage/ofd_packets/00015828 [15:33:13]Write 299 bytes [15:33:13]NVStorageSaveData done [15:33:13]OFDSenderStorePacket done [15:33:13]KKMCreateOFDPacket done [15:33:13]NVStorageSaveData kkm_last_timestamp [15:33:13]File name is /storage/kkm_last_timestamp [15:33:13]Write 4 bytes [15:33:13]NVStorageSaveData done [15:33:13]ExternCall_PrintAddStr [15:33:13]wPrintStart [15:33:13]Write to MH i2c: 01 00 00 9B 00 9B [15:33:13]Write i2c OK [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: 01 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: 01 07 00 [15:33:13]MH_I2C_Read... [15:33:13]Read from MH i2c: 01 07 00 9B 00 00 00 00 00 00 FF 0F B0 [15:33:13]RasterBufferAndPrint [15:33:13]line Счет N : (1)16378 [15:33:13]line ИНН: 02508201610067 [15:33:13]line Контрольно-Кассовый Чек [15:33:13]line ПРОДАЖА [15:33:13]line ТРК (МРК, ГНК) : 12 [15:33:13]line Товар: 50.50.0 [15:33:13]line SUPER 92-К-5 [15:33:13]line 7.310 * 68.40 [15:33:13]line = 500.00 [15:33:13]line НДС 12% НСП 1% [15:33:13]line > о реализуемом товаре [15:33:13]line ИТОГО: 500.00 [15:33:13]line НСП 1% : 4.42 [15:33:13]line НДС 12% : 53.10 [15:33:13]line Наличными: 500.00 [15:33:13]line Безнал.: 0.00 [15:33:13]line Место: АЗС № 178 "Партнер Нефть" [15:33:13]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [15:33:13]line СНО: Общий режим [15:33:13]line Чек 38 30.10.2024 15:33 [15:33:13]line Смена: 173 ФФД: 1.0 [15:33:13]line ЗНМ: 0300000014 [15:33:13]line РНМ: 0000000000161798 [15:33:13]line Версия ККМ: v1.0 [15:33:13]line ФМ: 0000000000963325 [15:33:13]line ФД: 15828 [15:33:13]line ФПД: 254469025281100 [15:33:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T153312&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15828&fm=254469025281100&tin=02508201610067®Number=0000000000161798&sum=50000 [15:33:14]OFD Sender: Processing packet 15828 [packets to send 4, broken 3] [15:33:14]ProducePacketName [15:33:14]name=ofd_packets/00015828 [15:33:14]OFD Sender: To server: pG, [15:33:14]CommunicateWithHost lk.salyk.kg:30040 [15:33:14]ConnectInit lk.salyk.kg [15:33:14]written 0, free lines is 4095 [15:33:14]Connected sock=10 [15:33:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 AE B5 05 01 5C C2 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 B8 51 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D4 3D 00 00 35 04 06 00 E7 70 2F DB B4 4C 08 36 AC CA E2 D8 44 02 [15:33:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 6B 11 47 00 47 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D4 3D 00 00 F4 03 04 00 A1 FC 21 67 B6 04 01 00 00 AD 96 5A 17 28 12 7B F9 [15:33:14]CommunicateWithHost err = 0 [15:33:14]CheckOFDResponse [15:33:14]1017 (14) - 77093643461234 [15:33:14]1041 (16) - 0000000000963325 [15:33:14]1040 (4) - 15828 [15:33:14]1012 (4) - 30.10.2024 09:30 [15:33:14]1206 (1) - 0 [15:33:14]OFD Sender: Remove packet 15828 [15:33:14]ProducePacketName [15:33:14]name=ofd_packets/00015828 [15:33:14]NVStorageDeleteData [15:33:14]Write to MH i2c: 01 00 00 C3 00 C3 [15:33:14]Write i2c OK [15:33:14]MH_I2C_Read... [15:33:14]Read from MH i2c: 01 [15:33:14]MH_I2C_Read... [15:33:14]Read from MH i2c: 01 07 00 [15:33:14]MH_I2C_Read... [15:33:14]Read from MH i2c: 01 07 00 C3 00 00 00 00 00 00 23 0D FA [15:33:14]RasterBufferAndPrint [15:33:14]line [15:33:14]line [15:33:14]line [15:33:14]line [15:33:14]line [15:33:14]written 0, free lines is 3372 [15:33:14]MH_Cut [15:33:14]Write to MH i2c: D1 01 00 CA 00 01 9C [15:33:14]Write i2c OK [15:33:14]MH_I2C_Read... [15:33:14]Read from MH i2c: D1 [15:33:14]MH_I2C_Read... [15:33:14]Read from MH i2c: D1 01 00 [15:33:14]MH_I2C_Read... [15:33:14]Read from MH i2c: D1 01 00 CA 00 00 9B [15:33:14]Write to MH i2c: 01 00 00 CB 00 CB [15:33:14]Write i2c OK [15:33:14]MH_I2C_Read... [15:33:14]OFD Sender: No OFD packet to send [15:33:15]*** Cut start [15:33:15]*** Partial cut [15:33:15]*** CUTSNS_PIN = 1 [15:33:15]*** CUTSNS_PIN = 0 [15:33:15]*** Brake cut motor [15:33:15]Read from MH i2c: 01 [15:33:15]MH_I2C_Read... [15:33:15]*** Stop cut motor [15:33:15]*** Cut end [15:33:15]Read from MH i2c: 01 07 00 [15:33:15]MH_I2C_Read... [15:33:15]Read from MH i2c: 01 07 00 CB 00 00 00 00 00 00 FF 0F E0 [15:33:15]process_action close_receipt done [15:33:15]requested_data is exist [15:33:15]produce_requested_data [15:33:15]requested_item fm.sn is exist - process it [15:33:15]wFMCommunicate request_size=4 [15:33:15]MH_SAM_APDU [15:33:15]CAPDU: 80 11 00 00 [15:33:15]Write to MH i2c: E2 08 00 CC 00 80 11 00 00 00 00 00 00 46 [15:33:15]Write i2c OK [15:33:15]MH_I2C_Read... [15:33:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:15]Read from MH i2c: E2 [15:33:15]MH_I2C_Read... [15:33:15]Read from MH i2c: E2 17 00 [15:33:15]MH_I2C_Read... [15:33:15]Read from MH i2c: E2 17 00 CC 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 95 [15:33:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [15:33:15]wFMCommunicate OK [15:33:15]requested_item fd.num is exist - process it [15:33:15]SAM_PROTO_GetFieldsCounters [15:33:15]wFMCommunicate request_size=4 [15:33:15]MH_SAM_APDU [15:33:15]CAPDU: 80 13 00 00 [15:33:15]Write to MH i2c: E2 08 00 CD 00 80 13 00 00 00 00 00 00 49 [15:33:15]Write i2c OK [15:33:15]MH_I2C_Read... [15:33:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:33:16]Read from MH i2c: E2 [15:33:16]MH_I2C_Read... [15:33:16]Read from MH i2c: E2 62 00 [15:33:16]MH_I2C_Read... [15:33:16]Read from MH i2c: E2 62 00 CD 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D4 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 9D [15:33:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D4 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:33:16]wFMCommunicate OK [15:33:16]SAM_PROTO_GetFieldsCounters done [15:33:16]requested_item shift.num is exist - process it [15:33:16]requested_item shift.opened is exist - process it [15:33:16]req_shift_opened [15:33:16]FM_GetShiftState [15:33:16]SAM_PROTO_GetShiftState [15:33:16]wFMCommunicate request_size=4 [15:33:16]MH_SAM_APDU [15:33:16]CAPDU: 80 13 01 00 [15:33:16]Write to MH i2c: E2 08 00 CE 00 80 13 01 00 00 00 00 00 4B [15:33:16]Write i2c OK [15:33:16]MH_I2C_Read... [15:33:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:16]Read from MH i2c: E2 [15:33:16]MH_I2C_Read... [15:33:16]Read from MH i2c: E2 0E 00 [15:33:16]MH_I2C_Read... [15:33:16]Read from MH i2c: E2 0E 00 CE 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 90 [15:33:16]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [15:33:16]wFMCommunicate OK [15:33:16]SAM_PROTO_GetShiftState done [15:33:16]FM_GetShiftState done [15:33:16]req_shift_opened done [15:33:16]requested_item shift.open_date is exist - process it [15:33:16]req_shift_open_date [15:33:16]req_shift_open_date done [15:33:16]produce_requested_data done [15:33:16]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15828,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [15:33:16]process_action_free close_receipt [15:33:16]json_value_free [15:33:16]json_value_free done [15:33:16]process_json_proto returns [15:33:16]Send response to host [15:33:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15828,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [15:33:16]free response buf [15:33:16]execute_script done [15:33:16]execute_script returns [15:33:16]free content buf [15:33:16]Sock 9.Close socket [15:33:16]Sock 9.Thread stoped [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [18:35:00]ConnectInit Can't connect to host [18:35:00]OFD Sender: Processing packet 15829 [packets to send 6, broken 3] [18:35:00]ProducePacketName [18:35:00]name=ofd_packets/00015829 [18:35:00]OFD Sender: To server: pG, [18:35:00]CommunicateWithHost lk.salyk.kg:30040 [18:35:00]ConnectInit lk.salyk.kg [18:35:05]ConnectInit Can't take IP for lk.salyk.kg [18:35:05]CommunicateWithHost connect error [18:35:05]CommunicateWithHost err = -1 [18:35:05]OFD Sender: Server communicate error [18:35:10]OFD Sender: Processing packet 15829 [packets to send 6, broken 3] [18:35:10]ProducePacketName [18:35:10]name=ofd_packets/00015829 [18:35:10]OFD Sender: To server: pG, [18:35:10]CommunicateWithHost lk.salyk.kg:30040 [18:35:10]ConnectInit lk.salyk.kg [18:35:10]Connected sock=7 [18:35:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 46 48 04 01 1B 5B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 46 0A 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 49 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 FC 76 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D5 3D 00 00 35 04 06 00 B7 59 73 CE DE 11 7F 0C D9 7F C6 47 24 CA [18:35:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 7B C2 47 00 F3 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D5 3D 00 00 F4 03 04 00 45 27 22 67 B6 04 01 00 00 A9 6A DC 94 A3 81 39 DE [18:35:10]CommunicateWithHost err = 0 [18:35:10]CheckOFDResponse [18:35:10]1017 (14) - 77093643461234 [18:35:10]1041 (16) - 0000000000963325 [18:35:10]1040 (4) - 15829 [18:35:10]1012 (4) - 30.10.2024 12:32 [18:35:10]1206 (1) - 0 [18:35:10]OFD Sender: Remove packet 15829 [18:35:10]ProducePacketName [18:35:10]name=ofd_packets/00015829 [18:35:10]NVStorageDeleteData [18:35:11]OFD Sender: Processing packet 15830 [packets to send 5, broken 3] [18:35:11]ProducePacketName [18:35:11]name=ofd_packets/00015830 [18:35:11]OFD Sender: To server: pG, [18:35:11]CommunicateWithHost lk.salyk.kg:30040 [18:35:11]ConnectInit lk.salyk.kg [18:35:11]Connected sock=7 [18:35:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 D7 30 05 01 05 0C 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 D8 77 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D6 3D 00 00 35 04 06 00 EB 16 0C 1A 47 23 18 BC BE 49 38 48 C6 9B [18:35:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 6C CB 47 00 4D F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D6 3D 00 00 F4 03 04 00 46 27 22 67 B6 04 01 00 00 FC D6 29 D0 CC 34 60 50 [18:35:11]CommunicateWithHost err = 0 [18:35:11]CheckOFDResponse [18:35:11]1017 (14) - 77093643461234 [18:35:11]1041 (16) - 0000000000963325 [18:35:11]1040 (4) - 15830 [18:35:11]1012 (4) - 30.10.2024 12:32 [18:35:11]1206 (1) - 0 [18:35:11]OFD Sender: Remove packet 15830 [18:35:11]ProducePacketName [18:35:11]name=ofd_packets/00015830 [18:35:11]NVStorageDeleteData [18:35:12]OFD Sender: Processing packet 15831 [packets to send 4, broken 3] [18:35:12]ProducePacketName [18:35:12]name=ofd_packets/00015831 [18:35:12]OFD Sender: To server: pG, [18:35:12]CommunicateWithHost lk.salyk.kg:30040 [18:35:12]ConnectInit lk.salyk.kg [18:35:12]Connected sock=7 [18:35:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 C8 35 07 01 EC 0A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 31 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 00 7C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D7 3D 00 00 35 04 06 00 90 EF C7 94 33 11 C1 F5 C6 5F 90 11 3C 62 [18:35:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 0D 66 47 00 F5 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 36 33 33 32 35 10 04 04 00 D7 3D 00 00 F4 03 04 00 47 27 22 67 B6 04 01 00 00 9A 05 09 61 F3 99 3C 92 [18:35:12]CommunicateWithHost err = 0 [18:35:12]CheckOFDResponse [18:35:12]1017 (14) - 77093643461234 [18:35:12]1041 (16) - 0000000000963325 [18:35:12]1040 (4) - 15831 [18:35:12]1012 (4) - 30.10.2024 12:32 [18:35:12]1206 (1) - 0 [18:35:12]OFD Sender: Remove packet 15831 [18:35:12]ProducePacketName [18:35:12]name=ofd_packets/00015831 [18:35:12]NVStorageDeleteData [18:35:12]OFD Sender: No OFD packet to send [18:35:17]OFD Sender: No OFD packet to send [18:35:22]OFD Sender: No OFD packet to send [18:35:27]OFD Sender: No OFD packet to send [18:35:32]OFD Sender: No OFD packet to send [18:35:37]OFD Sender: No OFD packet to send [18:35:42]OFD Sender: No OFD packet to send [18:35:47]OFD Sender: No OFD packet to send [18:35:52]OFD Sender: No OFD packet to send [18:35:57]OFD Sender: No OFD packet to send [18:36:02]OFD Sender: No OFD packet to send [18:36:07]OFD Sender: No OFD packet to send [18:36:12]OFD Sender: No OFD packet to send [18:36:17]OFD Sender: No OFD packet to send [18:36:22]OFD Sender: No OFD packet to send [18:36:27]OFD Sender: No OFD packet to send [18:36:32]OFD Sender: No OFD packet to send [18:36:37]OFD Sender: No OFD packet to send [18:36:42]OFD Sender: No OFD packet to send [18:36:47]OFD Sender: No OFD packet to send [18:36:52]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:11]accept exits with 11 [18:37:11]New connection [18:37:11]New thread 3066568036 created [18:37:11]Thread 3066711396 joined [18:37:11]Waiting for new connection... [18:37:11] Sock 11.Parse request [18:37:11]Sock 11.Check first char [18:37:11]Sock 11.First char is OK [18:37:11]request: POST /json_proto HTTP/1.0 [18:37:11]Method: POST [18:37:11]URL: /json_proto [18:37:11]Method is POST - this is cgi request [18:37:11]url: /json_proto [18:37:11]query_string will be loaded in cgi processing [18:37:11]execute_cgi json_proto POST (null) [18:37:11]execute_cgi path=json_proto method=POST [18:37:11]POST find Content-Length [18:37:11]Host: 172.17.54.195:8080 [18:37:11]Content-Length: 784 [18:37:11]Content-Type: application/json [18:37:11] [18:37:11]POST finish read [18:37:11]Found Content-Length = 784 [18:37:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16382", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.250, "sum" : 2000.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 2000.00, "payments": [ { "type": 1, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:37:11]execute_script... [18:37:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16382", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.250, "sum" : 2000.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 2000.00, "payments": [ { "type": 1, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:37:11]POST & json_proto [18:37:11]process_json_proto [18:37:11]json parsed OK: [18:37:11]protocol is kg_v1.0 [18:37:11]action value=close_receipt [18:37:11]process_action close_receipt [18:37:11]cmd_close_receipt [18:37:11]MH_GetDate [18:37:11]Write to MH i2c: F0 00 00 18 01 08 [18:37:11]Write i2c OK [18:37:11]MH_I2C_Read... [18:37:11]Read from MH i2c: F0 [18:37:11]MH_I2C_Read... [18:37:11]Read from MH i2c: F0 09 00 [18:37:11]MH_I2C_Read... [18:37:11]Read from MH i2c: F0 09 00 18 01 00 D8 7C 22 67 8D 90 A3 66 14 [18:37:11]GetLastDocTimeStamp 1730313216 [18:37:11]current date 1730313432 [18:37:11]FM_GetShiftState [18:37:11]SAM_PROTO_GetShiftState [18:37:11]wFMCommunicate request_size=4 [18:37:11]MH_SAM_APDU [18:37:11]CAPDU: 80 13 01 00 [18:37:11]Write to MH i2c: E2 08 00 19 01 80 13 01 00 00 00 00 00 97 [18:37:11]Write i2c OK [18:37:11]MH_I2C_Read... [18:37:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:37:11]Read from MH i2c: E2 [18:37:11]MH_I2C_Read... [18:37:11]Read from MH i2c: E2 0E 00 [18:37:11]MH_I2C_Read... [18:37:11]Read from MH i2c: E2 0E 00 19 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 DC [18:37:11]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [18:37:11]wFMCommunicate OK [18:37:11]SAM_PROTO_GetShiftState done [18:37:11]FM_GetShiftState done [18:37:11]opened in 1730247478 [18:37:11]opened+sec_in_day 1730333878 [18:37:11]quantity*price = 200025 [18:37:11]sum+1 = 200026 [18:37:11]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.25 ИТОГО: 2000.00 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 0.00 Безнал.: 2000.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 42 30.10.2024 18:37 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15832 ФПД: 42899640936705 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T183712&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15832&fm=42899640936705&tin=02508201610067®Number=0000000000161798&sum=200000 [18:37:12]StoreToDocumentArchive [18:37:12]shift 173 fd 15832 [18:37:12]save to /storage/0173/doc_00015832 [18:37:12]save last doc name /storage/0173/doc_00015832 to /storage/kkm_last_doc_name [18:37:12]save OK [18:37:12]Clear old archive folders... [18:37:12]ProcessDocumentItem done err = 0, tmpTLVsize=248 [18:37:12]tlvbuf is 01A18EC0 [18:37:12]SAM_PROTO_ClearQueue [18:37:12]wFMCommunicate request_size=4 [18:37:12]MH_SAM_APDU [18:37:12]CAPDU: 80 09 00 00 [18:37:12]Write to MH i2c: E2 08 00 26 01 80 09 00 00 00 00 00 00 99 [18:37:12]Write i2c OK [18:37:12]MH_I2C_Read... [18:37:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:37:12]Read from MH i2c: E2 [18:37:12]MH_I2C_Read... [18:37:12]Read from MH i2c: E2 03 00 [18:37:12]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 03 00 26 01 00 90 00 9B [18:37:13]RAPDU: 90 00 [18:37:13]wFMCommunicate OK [18:37:13]SAM_PROTO_ClearQueue done [18:37:13]KKMCreateOFDPacket [18:37:13]OFDProtocolAddRootSTLVToBuf [18:37:13]FM_MakeSignedData [18:37:13]FM_MakeSignedData [18:37:13]SAM_PROTO_SignData [18:37:13]wFMCommunicate request_size=4 [18:37:13]MH_SAM_APDU [18:37:13]CAPDU: 80 0D 01 02 [18:37:13]Write to MH i2c: E2 08 00 27 01 80 0D 01 02 00 00 00 00 A1 [18:37:13]Write i2c OK [18:37:13]MH_I2C_Read... [18:37:13]OFD Sender: No OFD packet to send [18:37:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:37:13]Read from MH i2c: E2 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 03 00 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 03 00 27 01 00 90 00 9C [18:37:13]RAPDU: 90 00 [18:37:13]wFMCommunicate OK [18:37:13]wFMCommunicate request_size=255 [18:37:13]MH_SAM_APDU [18:37:13]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 D8 7C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D8 3D 00 00 35 04 06 00 27 04 59 DB [18:37:13]Write to MH i2c: E2 02 01 28 01 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 D8 7C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D8 3D 00 00 35 04 06 00 27 04 59 DB 00 00 3F [18:37:13]Write i2c OK [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 [18:37:13]MH_I2C_Read... [18:37:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:37:13]Read from MH i2c: E2 03 00 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 03 00 28 01 00 90 00 9D [18:37:13]RAPDU: 90 00 [18:37:13]wFMCommunicate OK [18:37:13]wFMCommunicate request_size=7 [18:37:13]MH_SAM_APDU [18:37:13]CAPDU: 80 0D 02 02 02 E9 01 [18:37:13]Write to MH i2c: E2 0A 00 29 01 80 0D 02 02 02 00 E9 01 00 00 92 [18:37:13]Write i2c OK [18:37:13]MH_I2C_Read... [18:37:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:37:13]Read from MH i2c: E2 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 03 00 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 03 00 29 01 00 90 00 9E [18:37:13]RAPDU: 90 00 [18:37:13]wFMCommunicate OK [18:37:13]wFMCommunicate request_size=4 [18:37:13]MH_SAM_APDU [18:37:13]CAPDU: 80 0D 03 02 [18:37:13]Write to MH i2c: E2 08 00 2A 01 80 0D 03 02 00 00 00 00 A6 [18:37:13]Write i2c OK [18:37:13]MH_I2C_Read... [18:37:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:37:13]Read from MH i2c: E2 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 0B 00 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 0B 00 2A 01 00 B1 A4 05 E1 FB 99 FB 43 90 00 B4 [18:37:13]RAPDU: B1 A4 05 E1 FB 99 FB 43 90 00 [18:37:13]wFMCommunicate OK [18:37:13]SAM_PROTO_SignData done [18:37:13]FM_MakeSignedData done [18:37:13]CreateOFDProtocolMessage [18:37:13]wFMCommunicate request_size=4 [18:37:13]MH_SAM_APDU [18:37:13]CAPDU: 80 11 00 00 [18:37:13]Write to MH i2c: E2 08 00 2B 01 80 11 00 00 00 00 00 00 A6 [18:37:13]Write i2c OK [18:37:13]MH_I2C_Read... [18:37:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:37:13]Read from MH i2c: E2 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 17 00 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: E2 17 00 2B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 F5 [18:37:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [18:37:13]wFMCommunicate OK [18:37:13]CreateOFDProtocolMessage done [18:37:13]OFDSenderStorePacket 15832 [18:37:13]StoreOFDPacket docnum=15832 [18:37:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 F9 B3 04 01 A6 D4 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 D8 7C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D8 3D 00 00 35 04 06 00 27 04 59 DB E9 01 B1 A4 05 E1 FB 99 FB 43 [18:37:13]CheckFolder [18:37:13]dirname=/storage/ofd_packets [18:37:13]CheckFolder done [18:37:13]ProducePacketName [18:37:13]name=ofd_packets/00015832 [18:37:13]NVStorageSaveData ofd_packets/00015832 [18:37:13]File name is /storage/ofd_packets/00015832 [18:37:13]Write 298 bytes [18:37:13]NVStorageSaveData done [18:37:13]OFDSenderStorePacket done [18:37:13]KKMCreateOFDPacket done [18:37:13]NVStorageSaveData kkm_last_timestamp [18:37:13]File name is /storage/kkm_last_timestamp [18:37:13]Write 4 bytes [18:37:13]NVStorageSaveData done [18:37:13]ExternCall_PrintAddStr [18:37:13]wPrintStart [18:37:13]Write to MH i2c: 01 00 00 2C 01 2D [18:37:13]Write i2c OK [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: 01 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: 01 07 00 [18:37:13]MH_I2C_Read... [18:37:13]Read from MH i2c: 01 07 00 2C 01 00 00 00 00 00 FF 0F 42 [18:37:13]RasterBufferAndPrint [18:37:13]line Счет N : (1)16382 [18:37:13]line ИНН: 02508201610067 [18:37:13]line Контрольно-Кассовый Чек [18:37:13]line ПРОДАЖА [18:37:13]line ТРК (МРК, ГНК) : 22 [18:37:13]line Товар: 2710194210 [18:37:13]line ДТ-К-5 [18:37:13]line 26.250 * 76.20 [18:37:13]line = 2000.25 [18:37:13]line НДС 12% НСП 1% [18:37:13]line > о реализуемом товаре [18:37:13]line ОКРУГЛЕНИЕ: -0.25 [18:37:13]line ИТОГО: 2000.00 [18:37:13]line НСП 1% : 17.70 [18:37:13]line НДС 12% : 212.42 [18:37:13]line Наличными: 0.00 [18:37:13]line Безнал.: 2000.00 [18:37:13]line Место: АЗС № 178 "Партнер Нефть" [18:37:13]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [18:37:13]line СНО: Общий режим [18:37:13]line Чек 42 30.10.2024 18:37 [18:37:13]line Смена: 173 ФФД: 1.0 [18:37:13]line ЗНМ: 0300000014 [18:37:13]line РНМ: 0000000000161798 [18:37:13]line Версия ККМ: v1.0 [18:37:13]line Платежная система: Mbank [18:37:13]line ФМ: 0000000000963325 [18:37:13]line ФД: 15832 [18:37:13]line ФПД: 42899640936705 [18:37:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T183712&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15832&fm=42899640936705&tin=02508201610067®Number=0000000000161798&sum=200000 [18:37:13]OFD Sender: Processing packet 15832 [packets to send 4, broken 3] [18:37:13]ProducePacketName [18:37:13]name=ofd_packets/00015832 [18:37:13]OFD Sender: To server: pG, [18:37:13]CommunicateWithHost lk.salyk.kg:30040 [18:37:13]ConnectInit lk.salyk.kg [18:37:13]written 0, free lines is 4095 [18:37:13]Connected sock=9 [18:37:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 F9 B3 04 01 A6 D4 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 8A 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 59 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 D8 7C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D8 3D 00 00 35 04 06 00 27 04 59 DB E9 01 B1 A4 05 E1 FB 99 FB 43 [18:37:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 D7 58 47 00 70 D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D8 3D 00 00 F4 03 04 00 C0 27 22 67 B6 04 01 00 00 C0 70 D7 F1 C2 A1 A3 D5 [18:37:14]CommunicateWithHost err = 0 [18:37:14]CheckOFDResponse [18:37:14]1017 (14) - 77093643461234 [18:37:14]1041 (16) - 0000000000963325 [18:37:14]1040 (4) - 15832 [18:37:14]1012 (4) - 30.10.2024 12:34 [18:37:14]1206 (1) - 0 [18:37:14]OFD Sender: Remove packet 15832 [18:37:14]ProducePacketName [18:37:14]name=ofd_packets/00015832 [18:37:14]NVStorageDeleteData [18:37:14]Write to MH i2c: 01 00 00 56 01 57 [18:37:14]Write i2c OK [18:37:14]MH_I2C_Read... [18:37:14]Read from MH i2c: 01 [18:37:14]MH_I2C_Read... [18:37:14]Read from MH i2c: 01 07 00 [18:37:14]MH_I2C_Read... [18:37:14]Read from MH i2c: 01 07 00 56 01 00 00 00 00 00 19 0D 84 [18:37:14]RasterBufferAndPrint [18:37:14]line [18:37:14]line [18:37:14]line [18:37:14]line [18:37:14]line [18:37:14]written 0, free lines is 3359 [18:37:14]MH_Cut [18:37:14]Write to MH i2c: D1 01 00 5D 01 01 30 [18:37:14]Write i2c OK [18:37:14]MH_I2C_Read... [18:37:14]Read from MH i2c: D1 [18:37:14]MH_I2C_Read... [18:37:14]Read from MH i2c: D1 01 00 [18:37:14]MH_I2C_Read... [18:37:14]Read from MH i2c: D1 01 00 5D 01 00 2F [18:37:14]Write to MH i2c: 01 00 00 5E 01 5F [18:37:14]Write i2c OK [18:37:14]MH_I2C_Read... [18:37:14]OFD Sender: No OFD packet to send [18:37:14]*** Cut start [18:37:14]*** Partial cut [18:37:14]*** CUTSNS_PIN = 1 [18:37:15]*** CUTSNS_PIN = 0 [18:37:15]*** Brake cut motor [18:37:15]Read from MH i2c: 01 [18:37:15]MH_I2C_Read... [18:37:15]*** Stop cut motor [18:37:15]*** Cut end [18:37:15]Read from MH i2c: 01 07 00 [18:37:15]MH_I2C_Read... [18:37:15]Read from MH i2c: 01 07 00 5E 01 00 00 00 00 00 FF 0F 74 [18:37:15]process_action close_receipt done [18:37:15]requested_data is exist [18:37:15]produce_requested_data [18:37:15]requested_item fm.sn is exist - process it [18:37:15]wFMCommunicate request_size=4 [18:37:15]MH_SAM_APDU [18:37:15]CAPDU: 80 11 00 00 [18:37:15]Write to MH i2c: E2 08 00 5F 01 80 11 00 00 00 00 00 00 DA [18:37:15]Write i2c OK [18:37:15]MH_I2C_Read... [18:37:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:37:15]Read from MH i2c: E2 [18:37:15]MH_I2C_Read... [18:37:15]Read from MH i2c: E2 17 00 [18:37:15]MH_I2C_Read... [18:37:15]Read from MH i2c: E2 17 00 5F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 29 [18:37:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [18:37:15]wFMCommunicate OK [18:37:15]requested_item fd.num is exist - process it [18:37:15]SAM_PROTO_GetFieldsCounters [18:37:15]wFMCommunicate request_size=4 [18:37:15]MH_SAM_APDU [18:37:15]CAPDU: 80 13 00 00 [18:37:15]Write to MH i2c: E2 08 00 60 01 80 13 00 00 00 00 00 00 DD [18:37:15]Write i2c OK [18:37:15]MH_I2C_Read... [18:37:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:37:15]Read from MH i2c: E2 [18:37:15]MH_I2C_Read... [18:37:15]Read from MH i2c: E2 62 00 [18:37:15]MH_I2C_Read... [18:37:15]Read from MH i2c: E2 62 00 60 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D8 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 41 [18:37:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D8 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:37:15]wFMCommunicate OK [18:37:15]SAM_PROTO_GetFieldsCounters done [18:37:15]requested_item shift.num is exist - process it [18:37:15]requested_item shift.opened is exist - process it [18:37:15]req_shift_opened [18:37:15]FM_GetShiftState [18:37:15]SAM_PROTO_GetShiftState [18:37:15]wFMCommunicate request_size=4 [18:37:15]MH_SAM_APDU [18:37:15]CAPDU: 80 13 01 00 [18:37:15]Write to MH i2c: E2 08 00 61 01 80 13 01 00 00 00 00 00 DF [18:37:15]Write i2c OK [18:37:15]MH_I2C_Read... [18:37:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:37:15]Read from MH i2c: E2 [18:37:15]MH_I2C_Read... [18:37:15]Read from MH i2c: E2 0E 00 [18:37:15]MH_I2C_Read... [18:37:15]Read from MH i2c: E2 0E 00 61 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 24 [18:37:15]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [18:37:15]wFMCommunicate OK [18:37:15]SAM_PROTO_GetShiftState done [18:37:15]FM_GetShiftState done [18:37:15]req_shift_opened done [18:37:15]requested_item shift.open_date is exist - process it [18:37:15]req_shift_open_date [18:37:15]req_shift_open_date done [18:37:15]produce_requested_data done [18:37:15]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15832,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [18:37:15]process_action_free close_receipt [18:37:15]json_value_free [18:37:15]json_value_free done [18:37:15]process_json_proto returns [18:37:15]Send response to host [18:37:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15832,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [18:37:15]free response buf [18:37:15]execute_script done [18:37:15]execute_script returns [18:37:15]free content buf [18:37:15]Sock 11.Close socket [18:37:15]Sock 11.Thread stoped [18:37:19]OFD Sender: No OFD packet to send [18:37:24]OFD Sender: No OFD packet to send [18:37:29]OFD Sender: No OFD packet to send [18:37:34]OFD Sender: No OFD packet to send [18:39:56]ConnectInit Can't connect to host [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:07]accept exits with 9 [18:41:07]New connection [18:41:07]New thread 3067391332 created [18:41:07]Waiting for new connection... [18:41:07] Sock 9.Parse request [18:41:07]Sock 9.Check first char [18:41:07]Sock 9.First char is OK [18:41:07]request: POST /json_proto HTTP/1.0 [18:41:07]Method: POST [18:41:07]URL: /json_proto [18:41:07]Method is POST - this is cgi request [18:41:07]url: /json_proto [18:41:07]query_string will be loaded in cgi processing [18:41:07]execute_cgi json_proto POST (null) [18:41:07]execute_cgi path=json_proto method=POST [18:41:07]POST find Content-Length [18:41:07]Host: 172.17.54.195:8080 [18:41:07]Content-Length: 215 [18:41:07]Content-Type: application/json [18:41:07] [18:41:07]POST finish read [18:41:07]Found Content-Length = 215 [18:41:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:41:07]execute_script... [18:41:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:41:07]POST & json_proto [18:41:07]process_json_proto [18:41:07]json parsed OK: [18:41:07]protocol is kg_v1.0 [18:41:07]action value=get_value [18:41:07]process_action get_value [18:41:07]cmd_get_value [18:41:07]process_action get_value done [18:41:07]requested_data is exist [18:41:07]produce_requested_data [18:41:07]requested_item kkm.sn is exist - process it [18:41:07]requested_item kkm.ver is exist - process it [18:41:07]requested_item fm.sn is exist - process it [18:41:07]wFMCommunicate request_size=4 [18:41:07]MH_SAM_APDU [18:41:07]CAPDU: 80 11 00 00 [18:41:07]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [18:41:07]Write i2c OK [18:41:07]MH_I2C_Read... [18:41:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:41:07]Read from MH i2c: E2 [18:41:07]MH_I2C_Read... [18:41:07]Read from MH i2c: E2 17 00 [18:41:07]MH_I2C_Read... [18:41:07]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 D9 [18:41:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [18:41:07]wFMCommunicate OK [18:41:07]requested_item fd.num is exist - process it [18:41:07]SAM_PROTO_GetFieldsCounters [18:41:07]wFMCommunicate request_size=4 [18:41:07]MH_SAM_APDU [18:41:07]CAPDU: 80 13 00 00 [18:41:07]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [18:41:07]Write i2c OK [18:41:07]MH_I2C_Read... [18:41:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:41:07]Read from MH i2c: E2 [18:41:07]MH_I2C_Read... [18:41:07]Read from MH i2c: E2 62 00 [18:41:07]MH_I2C_Read... [18:41:07]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D8 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [18:41:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D8 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:41:07]wFMCommunicate OK [18:41:07]SAM_PROTO_GetFieldsCounters done [18:41:07]requested_item shift.num is exist - process it [18:41:07]requested_item shift.opened is exist - process it [18:41:07]req_shift_opened [18:41:07]FM_GetShiftState [18:41:07]SAM_PROTO_GetShiftState [18:41:07]wFMCommunicate request_size=4 [18:41:07]MH_SAM_APDU [18:41:07]CAPDU: 80 13 01 00 [18:41:07]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [18:41:07]Write i2c OK [18:41:07]MH_I2C_Read... [18:41:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:41:07]Read from MH i2c: E2 [18:41:07]MH_I2C_Read... [18:41:07]Read from MH i2c: E2 0E 00 [18:41:07]MH_I2C_Read... [18:41:07]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 D4 [18:41:07]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [18:41:07]wFMCommunicate OK [18:41:07]SAM_PROTO_GetShiftState done [18:41:07]FM_GetShiftState done [18:41:07]req_shift_opened done [18:41:07]requested_item shift.open_date is exist - process it [18:41:07]req_shift_open_date [18:41:07]req_shift_open_date done [18:41:07]produce_requested_data done [18:41:07]produce_requested_data return {"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15832,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [18:41:07]process_action_free get_value [18:41:07]json_value_free [18:41:07]json_value_free done [18:41:07]process_json_proto returns [18:41:07]Send response to host [18:41:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15832,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [18:41:07]free response buf [18:41:07]execute_script done [18:41:07]execute_script returns [18:41:07]free content buf [18:41:07]Sock 9.Close socket [18:41:07]Sock 9.Thread stoped [18:41:07]accept exits with 7 [18:41:07]New connection [18:41:07]New thread 3067247972 created [18:41:07]Thread 3067391332 joined [18:41:07]Waiting for new connection... [18:41:07] Sock 7.Parse request [18:41:07]Sock 7.Check first char [18:41:07]Sock 7.First char is OK [18:41:07]request: POST /json_proto HTTP/1.0 [18:41:07]Method: POST [18:41:07]URL: /json_proto [18:41:07]Method is POST - this is cgi request [18:41:07]url: /json_proto [18:41:07]query_string will be loaded in cgi processing [18:41:07]execute_cgi json_proto POST (null) [18:41:07]execute_cgi path=json_proto method=POST [18:41:07]POST find Content-Length [18:41:07]Host: 172.17.54.195:8080 [18:41:07]Content-Length: 331 [18:41:07]Content-Type: application/json [18:41:07] [18:41:07]POST finish read [18:41:07]Found Content-Length = 331 [18:41:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [18:41:07]execute_script... [18:41:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [18:41:08]POST & json_proto [18:41:08]process_json_proto [18:41:08]json parsed OK: [18:41:08]protocol is kg_v1.0 [18:41:08]action value=get_value [18:41:08]process_action get_value [18:41:08]cmd_get_value [18:41:08]process_action get_value done [18:41:08]requested_data is exist [18:41:08]produce_requested_data [18:41:08]requested_item fm.sale.total is exist - process it [18:41:08]SAM_PROTO_GetFMData [18:41:08]wFMCommunicate request_size=4 [18:41:08]MH_SAM_APDU [18:41:08]CAPDU: 80 13 03 00 [18:41:08]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [18:41:08]Write i2c OK [18:41:08]MH_I2C_Read... [18:41:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [18:41:08]Read from MH i2c: E2 [18:41:08]MH_I2C_Read... [18:41:08]Read from MH i2c: E2 FD 00 [18:41:08]MH_I2C_Read... [18:41:08]Read from MH i2c: E2 FD 00 13 00 00 BF 04 85 04 BB 04 6E 04 04 00 7E 3C 00 00 69 04 A0 00 6F 04 04 00 33 3C 00 00 B1 04 04 00 3C 1D D3 5F 70 04 04 00 E4 6F F5 47 72 04 04 00 58 AD DD 17 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 38 D5 2D 0A 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 EF 22 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 3D [18:41:08]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 7E 3C 00 00 69 04 A0 00 6F 04 04 00 33 3C 00 00 B1 04 04 00 3C 1D D3 5F 70 04 04 00 E4 6F F5 47 72 04 04 00 58 AD DD 17 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 38 D5 2D 0A 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 EF 22 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [18:41:08]wFMCommunicate OK [18:41:08]wFMCommunicate request_size=4 [18:41:08]MH_SAM_APDU [18:41:08]CAPDU: 80 17 00 00 [18:41:08]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [18:41:08]Write i2c OK [18:41:08]MH_I2C_Read... [18:41:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:08]Read from MH i2c: E2 [18:41:08]MH_I2C_Read... [18:41:08]Read from MH i2c: E2 FD 00 [18:41:08]MH_I2C_Read... [18:41:08]Read from MH i2c: E2 FD 00 14 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 FD [18:41:08]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [18:41:08]wFMCommunicate OK [18:41:08]wFMCommunicate request_size=4 [18:41:08]MH_SAM_APDU [18:41:08]CAPDU: 80 17 00 00 [18:41:08]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [18:41:08]Write i2c OK [18:41:08]MH_I2C_Read... [18:41:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:09]Read from MH i2c: E2 [18:41:09]MH_I2C_Read... [18:41:09]Read from MH i2c: E2 FD 00 [18:41:09]MH_I2C_Read... [18:41:09]Read from MH i2c: E2 FD 00 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 39 [18:41:09]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [18:41:09]wFMCommunicate OK [18:41:09]wFMCommunicate request_size=4 [18:41:09]MH_SAM_APDU [18:41:09]CAPDU: 80 17 00 00 [18:41:09]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [18:41:09]Write i2c OK [18:41:09]MH_I2C_Read... [18:41:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:09]Read from MH i2c: E2 [18:41:09]MH_I2C_Read... [18:41:09]Read from MH i2c: E2 FD 00 [18:41:09]MH_I2C_Read... [18:41:09]Read from MH i2c: E2 FD 00 16 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 10 [18:41:09]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [18:41:09]wFMCommunicate OK [18:41:09]wFMCommunicate request_size=4 [18:41:09]MH_SAM_APDU [18:41:09]CAPDU: 80 17 00 00 [18:41:09]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [18:41:09]Write i2c OK [18:41:09]MH_I2C_Read... [18:41:09]OFD Sender: No OFD packet to send [18:41:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [18:41:09]Read from MH i2c: E2 [18:41:09]MH_I2C_Read... [18:41:09]Read from MH i2c: E2 DC 00 [18:41:09]MH_I2C_Read... [18:41:09]Read from MH i2c: E2 DC 00 17 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [18:41:09]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:41:09]wFMCommunicate OK [18:41:09]SAM_PROTO_GetFMData done [18:41:09]requested_item fm.sale_refund.total is exist - process it [18:41:09]requested_item fm.buy.total is exist - process it [18:41:09]requested_item shift.sale.total is exist - process it [18:41:09]SAM_PROTO_GetShiftData [18:41:09]wFMCommunicate request_size=4 [18:41:09]MH_SAM_APDU [18:41:09]CAPDU: 80 13 02 00 [18:41:09]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [18:41:09]Write i2c OK [18:41:09]MH_I2C_Read... [18:41:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:41:10]Read from MH i2c: E2 [18:41:10]MH_I2C_Read... [18:41:10]Read from MH i2c: E2 FD 00 [18:41:10]MH_I2C_Read... [18:41:10]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 18 FB 46 70 04 03 00 7C DC 2E 72 04 03 00 9C 1E 18 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 33 8A 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 A0 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 94 [18:41:10]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 18 FB 46 70 04 03 00 7C DC 2E 72 04 03 00 9C 1E 18 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 33 8A 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 A0 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [18:41:10]wFMCommunicate OK [18:41:10]wFMCommunicate request_size=4 [18:41:10]MH_SAM_APDU [18:41:10]CAPDU: 80 17 00 00 [18:41:10]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [18:41:10]Write i2c OK [18:41:10]MH_I2C_Read... [18:41:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:10]Read from MH i2c: E2 [18:41:10]MH_I2C_Read... [18:41:10]Read from MH i2c: E2 FD 00 [18:41:10]MH_I2C_Read... [18:41:10]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [18:41:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [18:41:10]wFMCommunicate OK [18:41:10]wFMCommunicate request_size=4 [18:41:10]MH_SAM_APDU [18:41:10]CAPDU: 80 17 00 00 [18:41:10]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [18:41:10]Write i2c OK [18:41:10]MH_I2C_Read... [18:41:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:10]Read from MH i2c: E2 [18:41:10]MH_I2C_Read... [18:41:10]Read from MH i2c: E2 FD 00 [18:41:10]MH_I2C_Read... [18:41:10]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [18:41:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [18:41:10]wFMCommunicate OK [18:41:10]wFMCommunicate request_size=4 [18:41:10]MH_SAM_APDU [18:41:10]CAPDU: 80 17 00 00 [18:41:10]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [18:41:10]Write i2c OK [18:41:10]MH_I2C_Read... [18:41:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:10]Read from MH i2c: E2 [18:41:10]MH_I2C_Read... [18:41:10]Read from MH i2c: E2 FD 00 [18:41:10]MH_I2C_Read... [18:41:10]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [18:41:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [18:41:10]wFMCommunicate OK [18:41:10]wFMCommunicate request_size=4 [18:41:10]MH_SAM_APDU [18:41:10]CAPDU: 80 17 00 00 [18:41:10]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [18:41:10]Write i2c OK [18:41:10]MH_I2C_Read... [18:41:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:41:11]Read from MH i2c: E2 [18:41:11]MH_I2C_Read... [18:41:11]Read from MH i2c: E2 CB 00 [18:41:11]MH_I2C_Read... [18:41:11]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [18:41:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:41:11]wFMCommunicate OK [18:41:11]SAM_PROTO_GetShiftData done [18:41:11]requested_item shift.sale.total_cash is exist - process it [18:41:11]requested_item shift.sale_refund.total is exist - process it [18:41:11]requested_item shift.sale_refund.total_cash is exist - process it [18:41:11]requested_item shift.buy.total is exist - process it [18:41:11]requested_item shift.buy.total_cash is exist - process it [18:41:11]produce_requested_data done [18:41:11]produce_requested_data return {"fm.sale.total":16076711.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":46518.00,"shift.sale.total_cash":30711.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} [18:41:11]process_action_free get_value [18:41:11]json_value_free [18:41:11]json_value_free done [18:41:11]process_json_proto returns [18:41:11]Send response to host [18:41:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16076711.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":46518.00,"shift.sale.total_cash":30711.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}}} [18:41:11]free response buf [18:41:11]execute_script done [18:41:11]execute_script returns [18:41:11]free content buf [18:41:11]Sock 7.Close socket [18:41:11]Sock 7.Thread stoped [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:38]accept exits with 9 [18:41:38]New connection [18:41:38]New thread 3067391332 created [18:41:38]Thread 3067247972 joined [18:41:38]Waiting for new connection... [18:41:38] Sock 9.Parse request [18:41:38]Sock 9.Check first char [18:41:38]Sock 9.First char is OK [18:41:38]request: POST /json_proto HTTP/1.0 [18:41:38]Method: POST [18:41:38]URL: /json_proto [18:41:38]Method is POST - this is cgi request [18:41:38]url: /json_proto [18:41:38]query_string will be loaded in cgi processing [18:41:38]execute_cgi json_proto POST (null) [18:41:38]execute_cgi path=json_proto method=POST [18:41:38]POST find Content-Length [18:41:38]Host: 172.17.54.195:8080 [18:41:38]Content-Length: 215 [18:41:38]Content-Type: application/json [18:41:38] [18:41:38]POST finish read [18:41:38]Found Content-Length = 215 [18:41:38]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" ] } } [18:41:38]execute_script... [18:41:38]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" ] } } [18:41:38]POST & json_proto [18:41:38]process_json_proto [18:41:38]json parsed OK: [18:41:38]protocol is kg_v1.0 [18:41:38]action value=get_value [18:41:38]process_action get_value [18:41:38]cmd_get_value [18:41:38]process_action get_value done [18:41:38]requested_data is exist [18:41:38]produce_requested_data [18:41:38]requested_item kkm.sn is exist - process it [18:41:38]requested_item kkm.ver is exist - process it [18:41:38]requested_item fm.sn is exist - process it [18:41:38]wFMCommunicate request_size=4 [18:41:38]MH_SAM_APDU [18:41:38]CAPDU: 80 11 00 00 [18:41:38]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [18:41:38]Write i2c OK [18:41:38]MH_I2C_Read... [18:41:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:41:38]Read from MH i2c: E2 [18:41:38]MH_I2C_Read... [18:41:38]Read from MH i2c: E2 17 00 [18:41:38]MH_I2C_Read... [18:41:38]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 E6 [18:41:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [18:41:38]wFMCommunicate OK [18:41:38]requested_item fd.num is exist - process it [18:41:38]SAM_PROTO_GetFieldsCounters [18:41:38]wFMCommunicate request_size=4 [18:41:38]MH_SAM_APDU [18:41:38]CAPDU: 80 13 00 00 [18:41:38]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [18:41:38]Write i2c OK [18:41:38]MH_I2C_Read... [18:41:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:41:38]Read from MH i2c: E2 [18:41:38]MH_I2C_Read... [18:41:38]Read from MH i2c: E2 62 00 [18:41:38]MH_I2C_Read... [18:41:38]Read from MH i2c: E2 62 00 1E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D8 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [18:41:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D8 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:41:38]wFMCommunicate OK [18:41:38]SAM_PROTO_GetFieldsCounters done [18:41:38]requested_item shift.num is exist - process it [18:41:38]requested_item shift.opened is exist - process it [18:41:38]req_shift_opened [18:41:38]FM_GetShiftState [18:41:38]SAM_PROTO_GetShiftState [18:41:38]wFMCommunicate request_size=4 [18:41:38]MH_SAM_APDU [18:41:38]CAPDU: 80 13 01 00 [18:41:38]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [18:41:38]Write i2c OK [18:41:38]MH_I2C_Read... [18:41:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:41:38]Read from MH i2c: E2 [18:41:38]MH_I2C_Read... [18:41:38]Read from MH i2c: E2 0E 00 [18:41:38]MH_I2C_Read... [18:41:38]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 E1 [18:41:38]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [18:41:38]wFMCommunicate OK [18:41:38]SAM_PROTO_GetShiftState done [18:41:38]FM_GetShiftState done [18:41:38]req_shift_opened done [18:41:38]requested_item shift.open_date is exist - process it [18:41:38]req_shift_open_date [18:41:38]req_shift_open_date done [18:41:38]produce_requested_data done [18:41:38]produce_requested_data return {"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15832,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [18:41:38]process_action_free get_value [18:41:38]json_value_free [18:41:38]json_value_free done [18:41:38]process_json_proto returns [18:41:38]Send response to host [18:41:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15832,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [18:41:38]free response buf [18:41:38]execute_script done [18:41:38]execute_script returns [18:41:38]free content buf [18:41:38]Sock 9.Close socket [18:41:38]Sock 9.Thread stoped [18:41:38]accept exits with 7 [18:41:38]New connection [18:41:38]New thread 3067247972 created [18:41:38]Thread 3067391332 joined [18:41:38]Waiting for new connection... [18:41:38] Sock 7.Parse request [18:41:38]Sock 7.Check first char [18:41:38]Sock 7.First char is OK [18:41:38]request: POST /json_proto HTTP/1.0 [18:41:38]Method: POST [18:41:38]URL: /json_proto [18:41:38]Method is POST - this is cgi request [18:41:38]url: /json_proto [18:41:38]query_string will be loaded in cgi processing [18:41:38]execute_cgi json_proto POST (null) [18:41:38]execute_cgi path=json_proto method=POST [18:41:38]POST find Content-Length [18:41:38]Host: 172.17.54.195:8080 [18:41:38]Content-Length: 331 [18:41:38]Content-Type: application/json [18:41:38] [18:41:38]POST finish read [18:41:38]Found Content-Length = 331 [18:41:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [18:41:38]execute_script... [18:41:39]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" ] } } [18:41:39]POST & json_proto [18:41:39]process_json_proto [18:41:39]json parsed OK: [18:41:39]protocol is kg_v1.0 [18:41:39]action value=get_value [18:41:39]process_action get_value [18:41:39]cmd_get_value [18:41:39]process_action get_value done [18:41:39]requested_data is exist [18:41:39]produce_requested_data [18:41:39]requested_item fm.sale.total is exist - process it [18:41:39]SAM_PROTO_GetFMData [18:41:39]wFMCommunicate request_size=4 [18:41:39]MH_SAM_APDU [18:41:39]CAPDU: 80 13 03 00 [18:41:39]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [18:41:39]Write i2c OK [18:41:39]MH_I2C_Read... [18:41:39]OFD Sender: No OFD packet to send [18:41:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [18:41:39]Read from MH i2c: E2 [18:41:39]MH_I2C_Read... [18:41:39]Read from MH i2c: E2 FD 00 [18:41:39]MH_I2C_Read... [18:41:39]Read from MH i2c: E2 FD 00 20 00 00 BF 04 85 04 BB 04 6E 04 04 00 7E 3C 00 00 69 04 A0 00 6F 04 04 00 33 3C 00 00 B1 04 04 00 3C 1D D3 5F 70 04 04 00 E4 6F F5 47 72 04 04 00 58 AD DD 17 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 38 D5 2D 0A 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 EF 22 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 4A [18:41:39]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 7E 3C 00 00 69 04 A0 00 6F 04 04 00 33 3C 00 00 B1 04 04 00 3C 1D D3 5F 70 04 04 00 E4 6F F5 47 72 04 04 00 58 AD DD 17 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 38 D5 2D 0A 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 EF 22 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [18:41:39]wFMCommunicate OK [18:41:39]wFMCommunicate request_size=4 [18:41:39]MH_SAM_APDU [18:41:39]CAPDU: 80 17 00 00 [18:41:39]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [18:41:39]Write i2c OK [18:41:39]MH_I2C_Read... [18:41:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:39]Read from MH i2c: E2 [18:41:39]MH_I2C_Read... [18:41:39]Read from MH i2c: E2 FD 00 [18:41:39]MH_I2C_Read... [18:41:39]Read from MH i2c: E2 FD 00 21 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 0A [18:41:39]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [18:41:39]wFMCommunicate OK [18:41:39]wFMCommunicate request_size=4 [18:41:39]MH_SAM_APDU [18:41:39]CAPDU: 80 17 00 00 [18:41:39]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [18:41:39]Write i2c OK [18:41:39]MH_I2C_Read... [18:41:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:40]Read from MH i2c: E2 [18:41:40]MH_I2C_Read... [18:41:40]Read from MH i2c: E2 FD 00 [18:41:40]MH_I2C_Read... [18:41:40]Read from MH i2c: E2 FD 00 22 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 46 [18:41:40]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [18:41:40]wFMCommunicate OK [18:41:40]wFMCommunicate request_size=4 [18:41:40]MH_SAM_APDU [18:41:40]CAPDU: 80 17 00 00 [18:41:40]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [18:41:40]Write i2c OK [18:41:40]MH_I2C_Read... [18:41:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:40]Read from MH i2c: E2 [18:41:40]MH_I2C_Read... [18:41:40]Read from MH i2c: E2 FD 00 [18:41:40]MH_I2C_Read... [18:41:40]Read from MH i2c: E2 FD 00 23 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 1D [18:41:40]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [18:41:40]wFMCommunicate OK [18:41:40]wFMCommunicate request_size=4 [18:41:40]MH_SAM_APDU [18:41:40]CAPDU: 80 17 00 00 [18:41:40]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [18:41:40]Write i2c OK [18:41:40]MH_I2C_Read... [18:41:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [18:41:40]Read from MH i2c: E2 [18:41:40]MH_I2C_Read... [18:41:40]Read from MH i2c: E2 DC 00 [18:41:40]MH_I2C_Read... [18:41:40]Read from MH i2c: E2 DC 00 24 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 88 [18:41:40]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:41:40]wFMCommunicate OK [18:41:40]SAM_PROTO_GetFMData done [18:41:40]requested_item fm.sale_refund.total is exist - process it [18:41:40]requested_item fm.buy.total is exist - process it [18:41:40]requested_item shift.sale.total is exist - process it [18:41:40]SAM_PROTO_GetShiftData [18:41:40]wFMCommunicate request_size=4 [18:41:40]MH_SAM_APDU [18:41:40]CAPDU: 80 13 02 00 [18:41:40]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [18:41:40]Write i2c OK [18:41:40]MH_I2C_Read... [18:41:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:41:41]Read from MH i2c: E2 [18:41:41]MH_I2C_Read... [18:41:41]Read from MH i2c: E2 FD 00 [18:41:41]MH_I2C_Read... [18:41:41]Read from MH i2c: E2 FD 00 25 00 00 AE 04 AA 04 AA 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 18 FB 46 70 04 03 00 7C DC 2E 72 04 03 00 9C 1E 18 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 33 8A 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 A0 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A1 [18:41:41]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 18 FB 46 70 04 03 00 7C DC 2E 72 04 03 00 9C 1E 18 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 33 8A 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D4 A0 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [18:41:41]wFMCommunicate OK [18:41:41]wFMCommunicate request_size=4 [18:41:41]MH_SAM_APDU [18:41:41]CAPDU: 80 17 00 00 [18:41:41]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [18:41:41]Write i2c OK [18:41:41]MH_I2C_Read... [18:41:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:41]Read from MH i2c: E2 [18:41:41]MH_I2C_Read... [18:41:41]Read from MH i2c: E2 FD 00 [18:41:41]MH_I2C_Read... [18:41:41]Read from MH i2c: E2 FD 00 26 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C8 [18:41:41]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [18:41:41]wFMCommunicate OK [18:41:41]wFMCommunicate request_size=4 [18:41:41]MH_SAM_APDU [18:41:41]CAPDU: 80 17 00 00 [18:41:41]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [18:41:41]Write i2c OK [18:41:41]MH_I2C_Read... [18:41:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:41]Read from MH i2c: E2 [18:41:41]MH_I2C_Read... [18:41:41]Read from MH i2c: E2 FD 00 [18:41:41]MH_I2C_Read... [18:41:41]Read from MH i2c: E2 FD 00 27 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 5E [18:41:41]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [18:41:41]wFMCommunicate OK [18:41:41]wFMCommunicate request_size=4 [18:41:41]MH_SAM_APDU [18:41:41]CAPDU: 80 17 00 00 [18:41:41]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [18:41:41]Write i2c OK [18:41:41]MH_I2C_Read... [18:41:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:41:41]Read from MH i2c: E2 [18:41:41]MH_I2C_Read... [18:41:41]Read from MH i2c: E2 FD 00 [18:41:41]MH_I2C_Read... [18:41:41]Read from MH i2c: E2 FD 00 28 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1A [18:41:41]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [18:41:42]wFMCommunicate OK [18:41:42]wFMCommunicate request_size=4 [18:41:42]MH_SAM_APDU [18:41:42]CAPDU: 80 17 00 00 [18:41:42]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [18:41:42]Write i2c OK [18:41:42]MH_I2C_Read... [18:41:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:41:42]Read from MH i2c: E2 [18:41:42]MH_I2C_Read... [18:41:42]Read from MH i2c: E2 CB 00 [18:41:42]MH_I2C_Read... [18:41:42]Read from MH i2c: E2 CB 00 29 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 92 [18:41:42]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:41:42]wFMCommunicate OK [18:41:42]SAM_PROTO_GetShiftData done [18:41:42]requested_item shift.sale.total_cash is exist - process it [18:41:42]requested_item shift.sale_refund.total is exist - process it [18:41:42]requested_item shift.sale_refund.total_cash is exist - process it [18:41:42]requested_item shift.buy.total is exist - process it [18:41:42]requested_item shift.buy.total_cash is exist - process it [18:41:42]produce_requested_data done [18:41:42]produce_requested_data return {"fm.sale.total":16076711.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":46518.00,"shift.sale.total_cash":30711.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} [18:41:42]process_action_free get_value [18:41:42]json_value_free [18:41:42]json_value_free done [18:41:42]process_json_proto returns [18:41:42]Send response to host [18:41:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16076711.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":46518.00,"shift.sale.total_cash":30711.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}}} [18:41:42]free response buf [18:41:42]execute_script done [18:41:42]execute_script returns [18:41:42]free content buf [18:41:42]Sock 7.Close socket [18:41:42]Sock 7.Thread stoped [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]OFD Sender: No OFD packet to send [18:48:04]OFD Sender: No OFD packet to send [18:48:09]OFD Sender: No OFD packet to send [18:48:14]OFD Sender: No OFD packet to send [18:48:19]OFD Sender: No OFD packet to send [18:48:24]OFD Sender: No OFD packet to send [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:10]OFD Sender: No OFD packet to send [18:54:15]OFD Sender: No OFD packet to send [18:54:18]accept exits with 9 [18:54:18]New connection [18:54:18]New thread 3067391332 created [18:54:18]Thread 3067247972 joined [18:54:18]Waiting for new connection... [18:54:18] Sock 9.Parse request [18:54:18]Sock 9.Check first char [18:54:18]Sock 9.First char is OK [18:54:18]request: POST /json_proto HTTP/1.0 [18:54:18]Method: POST [18:54:18]URL: /json_proto [18:54:18]Method is POST - this is cgi request [18:54:18]url: /json_proto [18:54:18]query_string will be loaded in cgi processing [18:54:18]execute_cgi json_proto POST (null) [18:54:18]execute_cgi path=json_proto method=POST [18:54:18]POST find Content-Length [18:54:18]Host: 172.17.54.195:8080 [18:54:18]Content-Length: 670 [18:54:18]Content-Type: application/json [18:54:18] [18:54:18]POST finish read [18:54:18]Found Content-Length = 670 [18:54:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16383", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 0.010, "sum" : 0.67, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 669.00, "total" : 0.00, "payments": [ { "type": 0, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:54:18]execute_script... [18:54:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16383", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 0.010, "sum" : 0.67, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 669.00, "total" : 0.00, "payments": [ { "type": 0, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:54:18]POST & json_proto [18:54:18]process_json_proto [18:54:18]json parsed OK: [18:54:18]protocol is kg_v1.0 [18:54:18]action value=close_receipt [18:54:18]process_action close_receipt [18:54:18]cmd_close_receipt [18:54:18]MH_GetDate [18:54:18]Write to MH i2c: F0 00 00 2A 00 19 [18:54:18]Write i2c OK [18:54:18]MH_I2C_Read... [18:54:18]Read from MH i2c: F0 [18:54:18]MH_I2C_Read... [18:54:18]Read from MH i2c: F0 09 00 [18:54:18]MH_I2C_Read... [18:54:18]Read from MH i2c: F0 09 00 2A 00 00 DA 80 22 67 8D 90 A3 66 2B [18:54:18]GetLastDocTimeStamp 97 [18:54:18]current date 1730314458 [18:54:18]FM_GetShiftState [18:54:18]SAM_PROTO_GetShiftState [18:54:18]wFMCommunicate request_size=4 [18:54:18]MH_SAM_APDU [18:54:18]CAPDU: 80 13 01 00 [18:54:18]Write to MH i2c: E2 08 00 2B 00 80 13 01 00 00 00 00 00 A8 [18:54:18]Write i2c OK [18:54:18]MH_I2C_Read... [18:54:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:54:18]Read from MH i2c: E2 [18:54:18]MH_I2C_Read... [18:54:18]Read from MH i2c: E2 0E 00 [18:54:18]MH_I2C_Read... [18:54:18]Read from MH i2c: E2 0E 00 2B 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 ED [18:54:18]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [18:54:18]wFMCommunicate OK [18:54:18]SAM_PROTO_GetShiftState done [18:54:18]FM_GetShiftState done [18:54:18]opened in 1730247478 [18:54:18]opened+sec_in_day 1730333878 [18:54:18]quantity*price = 66 [18:54:18]sum+1 = 68 [18:54:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.67 ИТОГО: 0.00 Внесено: 669.00 СДАЧА: 669.00 НСП 1% : 0.01 НДС 12% : 0.07 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 43 30.10.2024 18:54 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15833 ФПД: 174714110352444 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T185418&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15833&fm=174714110352444&tin=02508201610067®Number=0000000000161798&sum=0 [18:54:19]StoreToDocumentArchive [18:54:19]shift 173 fd 15833 [18:54:19]save to /storage/0173/doc_00015833 [18:54:19]save last doc name /storage/0173/doc_00015833 to /storage/kkm_last_doc_name [18:54:19]save OK [18:54:19]Clear old archive folders... [18:54:19]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:54:19]tlvbuf is 01F2BDF0 [18:54:19]SAM_PROTO_ClearQueue [18:54:19]wFMCommunicate request_size=4 [18:54:19]MH_SAM_APDU [18:54:19]CAPDU: 80 09 00 00 [18:54:19]Write to MH i2c: E2 08 00 38 00 80 09 00 00 00 00 00 00 AA [18:54:19]Write i2c OK [18:54:19]MH_I2C_Read... [18:54:19]Read from MH i2c: E2 [18:54:19]MH_I2C_Read... [18:54:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:54:19]Read from MH i2c: E2 03 00 [18:54:19]MH_I2C_Read... [18:54:19]Read from MH i2c: E2 03 00 38 00 00 90 00 AC [18:54:19]RAPDU: 90 00 [18:54:19]wFMCommunicate OK [18:54:19]SAM_PROTO_ClearQueue done [18:54:19]KKMCreateOFDPacket [18:54:19]OFDProtocolAddRootSTLVToBuf [18:54:19]FM_MakeSignedData [18:54:19]FM_MakeSignedData [18:54:19]SAM_PROTO_SignData [18:54:19]wFMCommunicate request_size=4 [18:54:19]MH_SAM_APDU [18:54:19]CAPDU: 80 0D 01 02 [18:54:19]Write to MH i2c: E2 08 00 39 00 80 0D 01 02 00 00 00 00 B2 [18:54:19]Write i2c OK [18:54:19]MH_I2C_Read... [18:54:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:54:19]Read from MH i2c: E2 [18:54:19]MH_I2C_Read... [18:54:19]Read from MH i2c: E2 03 00 [18:54:19]MH_I2C_Read... [18:54:19]Read from MH i2c: E2 03 00 39 00 00 90 00 AD [18:54:19]RAPDU: 90 00 [18:54:19]wFMCommunicate OK [18:54:19]wFMCommunicate request_size=255 [18:54:19]MH_SAM_APDU [18:54:19]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 43 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 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 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 2B 00 00 00 F4 03 04 00 DA 80 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D9 3D 00 00 35 04 06 00 9E [18:54:19]Write to MH i2c: E2 02 01 3A 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 43 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 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 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 2B 00 00 00 F4 03 04 00 DA 80 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D9 3D 00 00 35 04 06 00 9E 00 00 BF [18:54:19]Write i2c OK [18:54:19]MH_I2C_Read... [18:54:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:20]Read from MH i2c: E2 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: E2 03 00 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: E2 03 00 3A 00 00 90 00 AE [18:54:20]RAPDU: 90 00 [18:54:20]wFMCommunicate OK [18:54:20]wFMCommunicate request_size=10 [18:54:20]MH_SAM_APDU [18:54:20]CAPDU: 80 0D 02 02 05 E6 CC 7C 1C 3C [18:54:20]Write to MH i2c: E2 0D 00 3B 00 80 0D 02 02 05 00 E6 CC 7C 1C 3C 00 00 45 [18:54:20]Write i2c OK [18:54:20]MH_I2C_Read... [18:54:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:20]Read from MH i2c: E2 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: E2 03 00 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: E2 03 00 3B 00 00 90 00 AF [18:54:20]RAPDU: 90 00 [18:54:20]wFMCommunicate OK [18:54:20]wFMCommunicate request_size=4 [18:54:20]MH_SAM_APDU [18:54:20]CAPDU: 80 0D 03 02 [18:54:20]Write to MH i2c: E2 08 00 3C 00 80 0D 03 02 00 00 00 00 B7 [18:54:20]Write i2c OK [18:54:20]MH_I2C_Read... [18:54:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:54:20]Read from MH i2c: E2 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: E2 0B 00 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: E2 0B 00 3C 00 00 10 8D 2E 80 99 D1 8D 84 90 00 7E [18:54:20]RAPDU: 10 8D 2E 80 99 D1 8D 84 90 00 [18:54:20]wFMCommunicate OK [18:54:20]SAM_PROTO_SignData done [18:54:20]FM_MakeSignedData done [18:54:20]CreateOFDProtocolMessage [18:54:20]wFMCommunicate request_size=4 [18:54:20]MH_SAM_APDU [18:54:20]CAPDU: 80 11 00 00 [18:54:20]Write to MH i2c: E2 08 00 3D 00 80 11 00 00 00 00 00 00 B7 [18:54:20]Write i2c OK [18:54:20]MH_I2C_Read... [18:54:20]OFD Sender: No OFD packet to send [18:54:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:54:20]Read from MH i2c: E2 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: E2 17 00 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: E2 17 00 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 06 [18:54:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [18:54:20]wFMCommunicate OK [18:54:20]CreateOFDProtocolMessage done [18:54:20]OFDSenderStorePacket 15833 [18:54:20]StoreOFDPacket docnum=15833 [18:54:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 CC 8C 07 01 80 39 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 43 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 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 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 2B 00 00 00 F4 03 04 00 DA 80 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D9 3D 00 00 35 04 06 00 9E E6 CC 7C 1C 3C 10 8D 2E 80 99 D1 8D 84 [18:54:20]CheckFolder [18:54:20]dirname=/storage/ofd_packets [18:54:20]CheckFolder done [18:54:20]ProducePacketName [18:54:20]name=ofd_packets/00015833 [18:54:20]NVStorageSaveData ofd_packets/00015833 [18:54:20]File name is /storage/ofd_packets/00015833 [18:54:20]Write 301 bytes [18:54:20]NVStorageSaveData done [18:54:20]OFDSenderStorePacket done [18:54:20]KKMCreateOFDPacket done [18:54:20]NVStorageSaveData kkm_last_timestamp [18:54:20]File name is /storage/kkm_last_timestamp [18:54:20]Write 4 bytes [18:54:20]NVStorageSaveData done [18:54:20]ExternCall_PrintAddStr [18:54:20]wPrintStart [18:54:20]Write to MH i2c: 01 00 00 3E 00 3E [18:54:20]Write i2c OK [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: 01 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: 01 07 00 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: 01 07 00 3E 00 00 00 00 00 00 FF 0F 53 [18:54:20]RasterBufferAndPrint [18:54:20]line Счет N : (1)16383 [18:54:20]line ИНН: 02508201610067 [18:54:20]line Контрольно-Кассовый Чек [18:54:20]line ПРОДАЖА [18:54:20]line ТРК (МРК, ГНК) : 21 [18:54:20]line Товар: 2710124130 [18:54:20]line Аи-92-К-5 [18:54:20]line 0.010 * 66.90 [18:54:20]line = 0.67 [18:54:20]line НДС 12% НСП 1% [18:54:20]line > о реализуемом товаре [18:54:20]line ОКРУГЛЕНИЕ: -0.67 [18:54:20]line ИТОГО: 0.00 [18:54:20]line Внесено: 669.00 [18:54:20]line СДАЧА: 669.00 [18:54:20]line НСП 1% : 0.01 [18:54:20]line НДС 12% : 0.07 [18:54:20]line Наличными: 0.00 [18:54:20]line Безнал.: 0.00 [18:54:20]line Место: АЗС № 178 "Партнер Нефть" [18:54:20]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [18:54:20]line СНО: Общий режим [18:54:20]line Чек 43 30.10.2024 18:54 [18:54:20]line Смена: 173 ФФД: 1.0 [18:54:20]line ЗНМ: 0300000014 [18:54:20]line РНМ: 0000000000161798 [18:54:20]line Версия ККМ: v1.0 [18:54:20]line ФМ: 0000000000963325 [18:54:20]line ФД: 15833 [18:54:20]line ФПД: 174714110352444 [18:54:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T185418&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15833&fm=174714110352444&tin=02508201610067®Number=0000000000161798&sum=0 [18:54:20]written 0, free lines is 4095 [18:54:20]OFD Sender: Processing packet 15833 [packets to send 4, broken 3] [18:54:20]ProducePacketName [18:54:20]name=ofd_packets/00015833 [18:54:20]OFD Sender: To server: pG, [18:54:20]CommunicateWithHost lk.salyk.kg:30040 [18:54:20]ConnectInit lk.salyk.kg [18:54:20]Connected sock=10 [18:54:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 CC 8C 07 01 80 39 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 43 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 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 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 2B 00 00 00 F4 03 04 00 DA 80 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 D9 3D 00 00 35 04 06 00 9E E6 CC 7C 1C 3C 10 8D 2E 80 99 D1 8D 84 [18:54:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 95 CE 47 00 6C E7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 D9 3D 00 00 F4 03 04 00 C3 2B 22 67 B6 04 01 00 00 82 61 C1 C0 52 10 7F 0D [18:54:20]CommunicateWithHost err = 0 [18:54:20]CheckOFDResponse [18:54:20]1017 (14) - 77093643461234 [18:54:20]1041 (16) - 0000000000963325 [18:54:20]1040 (4) - 15833 [18:54:20]1012 (4) - 30.10.2024 12:51 [18:54:20]1206 (1) - 0 [18:54:20]OFD Sender: Remove packet 15833 [18:54:20]ProducePacketName [18:54:20]name=ofd_packets/00015833 [18:54:20]NVStorageDeleteData [18:54:20]Write to MH i2c: 01 00 00 69 00 69 [18:54:20]Write i2c OK [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: 01 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: 01 07 00 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: 01 07 00 69 00 00 00 00 00 00 FF 0C 7B [18:54:20]RasterBufferAndPrint [18:54:20]line [18:54:20]line [18:54:20]line [18:54:20]line [18:54:20]line [18:54:20]written 0, free lines is 3333 [18:54:20]MH_Cut [18:54:20]Write to MH i2c: D1 01 00 70 00 01 42 [18:54:20]Write i2c OK [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: D1 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: D1 01 00 [18:54:20]MH_I2C_Read... [18:54:20]Read from MH i2c: D1 01 00 70 00 00 41 [18:54:20]Write to MH i2c: 01 00 00 71 00 71 [18:54:20]Write i2c OK [18:54:20]MH_I2C_Read... [18:54:21]OFD Sender: No OFD packet to send [18:54:21]*** Cut start [18:54:21]*** Partial cut [18:54:21]*** CUTSNS_PIN = 1 [18:54:21]*** CUTSNS_PIN = 0 [18:54:21]*** Brake cut motor [18:54:22]Read from MH i2c: 01 [18:54:22]MH_I2C_Read... [18:54:22]*** Stop cut motor [18:54:22]*** Cut end [18:54:22]Read from MH i2c: 01 07 00 [18:54:22]MH_I2C_Read... [18:54:22]Read from MH i2c: 01 07 00 71 00 00 00 00 00 00 FF 0F 86 [18:54:22]process_action close_receipt done [18:54:22]requested_data is exist [18:54:22]produce_requested_data [18:54:22]requested_item fm.sn is exist - process it [18:54:22]wFMCommunicate request_size=4 [18:54:22]MH_SAM_APDU [18:54:22]CAPDU: 80 11 00 00 [18:54:22]Write to MH i2c: E2 08 00 72 00 80 11 00 00 00 00 00 00 EC [18:54:22]Write i2c OK [18:54:22]MH_I2C_Read... [18:54:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:54:22]Read from MH i2c: E2 [18:54:22]MH_I2C_Read... [18:54:22]Read from MH i2c: E2 17 00 [18:54:22]MH_I2C_Read... [18:54:22]Read from MH i2c: E2 17 00 72 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 3B [18:54:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [18:54:22]wFMCommunicate OK [18:54:22]requested_item fd.num is exist - process it [18:54:22]SAM_PROTO_GetFieldsCounters [18:54:22]wFMCommunicate request_size=4 [18:54:22]MH_SAM_APDU [18:54:22]CAPDU: 80 13 00 00 [18:54:22]Write to MH i2c: E2 08 00 73 00 80 13 00 00 00 00 00 00 EF [18:54:22]Write i2c OK [18:54:22]MH_I2C_Read... [18:54:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:54:22]Read from MH i2c: E2 [18:54:22]MH_I2C_Read... [18:54:22]Read from MH i2c: E2 62 00 [18:54:22]MH_I2C_Read... [18:54:22]Read from MH i2c: E2 62 00 73 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D9 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [18:54:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 D9 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:54:22]wFMCommunicate OK [18:54:22]SAM_PROTO_GetFieldsCounters done [18:54:22]requested_item shift.num is exist - process it [18:54:22]requested_item shift.opened is exist - process it [18:54:22]req_shift_opened [18:54:22]FM_GetShiftState [18:54:22]SAM_PROTO_GetShiftState [18:54:22]wFMCommunicate request_size=4 [18:54:22]MH_SAM_APDU [18:54:22]CAPDU: 80 13 01 00 [18:54:22]Write to MH i2c: E2 08 00 74 00 80 13 01 00 00 00 00 00 F1 [18:54:22]Write i2c OK [18:54:22]MH_I2C_Read... [18:54:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:54:22]Read from MH i2c: E2 [18:54:22]MH_I2C_Read... [18:54:22]Read from MH i2c: E2 0E 00 [18:54:22]MH_I2C_Read... [18:54:22]Read from MH i2c: E2 0E 00 74 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 36 [18:54:22]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [18:54:22]wFMCommunicate OK [18:54:22]SAM_PROTO_GetShiftState done [18:54:22]FM_GetShiftState done [18:54:22]req_shift_opened done [18:54:22]requested_item shift.open_date is exist - process it [18:54:22]req_shift_open_date [18:54:22]req_shift_open_date done [18:54:22]produce_requested_data done [18:54:22]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15833,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [18:54:22]process_action_free close_receipt [18:54:22]json_value_free [18:54:22]json_value_free done [18:54:22]process_json_proto returns [18:54:22]Send response to host [18:54:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15833,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [18:54:22]free response buf [18:54:22]execute_script done [18:54:22]execute_script returns [18:54:22]free content buf [18:54:22]Sock 9.Close socket [18:54:22]Sock 9.Thread stoped [18:54:26]OFD Sender: No OFD packet to send [18:54:31]OFD Sender: No OFD packet to send [18:54:36]OFD Sender: No OFD packet to send [18:54:41]OFD Sender: No OFD packet to send [18:54:46]OFD Sender: No OFD packet to send [18:54:51]OFD Sender: No OFD packet to send [18:54:56]OFD Sender: No OFD packet to send [18:55:01]OFD Sender: No OFD packet to send [18:55:06]OFD Sender: No OFD packet to send [18:55:11]OFD Sender: No OFD packet to send [18:55:12]accept exits with 7 [18:55:12]New connection [18:55:12]New thread 3067247972 created [18:55:12]Thread 3067391332 joined [18:55:12]Waiting for new connection... [18:55:12] Sock 7.Parse request [18:55:12]Sock 7.Check first char [18:55:12]Sock 7.First char is OK [18:55:12]request: POST /json_proto HTTP/1.0 [18:55:12]Method: POST [18:55:12]URL: /json_proto [18:55:12]Method is POST - this is cgi request [18:55:12]url: /json_proto [18:55:12]query_string will be loaded in cgi processing [18:55:12]execute_cgi json_proto POST (null) [18:55:12]execute_cgi path=json_proto method=POST [18:55:12]POST find Content-Length [18:55:12]Host: 172.17.54.195:8080 [18:55:12]Content-Length: 639 [18:55:12]Content-Type: application/json [18:55:12] [18:55:12]POST finish read [18:55:12]Found Content-Length = 639 [18:55:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16384", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.000, "sum" : 669.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 669.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:55:12]execute_script... [18:55:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16384", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.000, "sum" : 669.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 669.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:55:12]POST & json_proto [18:55:12]process_json_proto [18:55:12]json parsed OK: [18:55:12]protocol is kg_v1.0 [18:55:12]action value=close_receipt [18:55:12]process_action close_receipt [18:55:12]cmd_close_receipt [18:55:12]MH_GetDate [18:55:12]Write to MH i2c: F0 00 00 75 00 64 [18:55:12]Write i2c OK [18:55:12]MH_I2C_Read... [18:55:12]Read from MH i2c: F0 [18:55:12]MH_I2C_Read... [18:55:12]Read from MH i2c: F0 09 00 [18:55:12]MH_I2C_Read... [18:55:12]Read from MH i2c: F0 09 00 75 00 00 10 81 22 67 8D 90 A3 66 AD [18:55:12]GetLastDocTimeStamp 1730314458 [18:55:12]current date 1730314512 [18:55:12]FM_GetShiftState [18:55:12]SAM_PROTO_GetShiftState [18:55:12]wFMCommunicate request_size=4 [18:55:12]MH_SAM_APDU [18:55:12]CAPDU: 80 13 01 00 [18:55:12]Write to MH i2c: E2 08 00 76 00 80 13 01 00 00 00 00 00 F3 [18:55:12]Write i2c OK [18:55:12]MH_I2C_Read... [18:55:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:55:12]Read from MH i2c: E2 [18:55:12]MH_I2C_Read... [18:55:12]Read from MH i2c: E2 0E 00 [18:55:12]MH_I2C_Read... [18:55:12]Read from MH i2c: E2 0E 00 76 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 38 [18:55:12]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [18:55:12]wFMCommunicate OK [18:55:12]SAM_PROTO_GetShiftState done [18:55:12]FM_GetShiftState done [18:55:12]opened in 1730247478 [18:55:12]opened+sec_in_day 1730333878 [18:55:12]quantity*price = 66900 [18:55:12]sum+1 = 66901 [18:55:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 669.00 НСП 1% : 5.92 НДС 12% : 71.04 Наличными: 669.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 44 30.10.2024 18:55 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15834 ФПД: 33994625985176 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T185512&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15834&fm=33994625985176&tin=02508201610067®Number=0000000000161798&sum=66900 [18:55:13]StoreToDocumentArchive [18:55:13]shift 173 fd 15834 [18:55:13]save to /storage/0173/doc_00015834 [18:55:13]save last doc name /storage/0173/doc_00015834 to /storage/kkm_last_doc_name [18:55:13]save OK [18:55:13]Clear old archive folders... [18:55:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:55:13]tlvbuf is 01F3CE10 [18:55:13]SAM_PROTO_ClearQueue [18:55:13]wFMCommunicate request_size=4 [18:55:13]MH_SAM_APDU [18:55:13]CAPDU: 80 09 00 00 [18:55:13]Write to MH i2c: E2 08 00 83 00 80 09 00 00 00 00 00 00 F5 [18:55:13]Write i2c OK [18:55:13]MH_I2C_Read... [18:55:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:55:13]Read from MH i2c: E2 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 03 00 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 03 00 83 00 00 90 00 F7 [18:55:13]RAPDU: 90 00 [18:55:13]wFMCommunicate OK [18:55:13]SAM_PROTO_ClearQueue done [18:55:13]KKMCreateOFDPacket [18:55:13]OFDProtocolAddRootSTLVToBuf [18:55:13]FM_MakeSignedData [18:55:13]FM_MakeSignedData [18:55:13]SAM_PROTO_SignData [18:55:13]wFMCommunicate request_size=4 [18:55:13]MH_SAM_APDU [18:55:13]CAPDU: 80 0D 01 02 [18:55:13]Write to MH i2c: E2 08 00 84 00 80 0D 01 02 00 00 00 00 FD [18:55:13]Write i2c OK [18:55:13]MH_I2C_Read... [18:55:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:55:13]Read from MH i2c: E2 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 03 00 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 03 00 84 00 00 90 00 F8 [18:55:13]RAPDU: 90 00 [18:55:13]wFMCommunicate OK [18:55:13]wFMCommunicate request_size=255 [18:55:13]MH_SAM_APDU [18:55:13]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 54 05 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 10 81 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DA 3D 00 00 35 04 06 00 1E [18:55:13]Write to MH i2c: E2 02 01 85 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 54 05 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 10 81 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DA 3D 00 00 35 04 06 00 1E 00 00 E0 [18:55:13]Write i2c OK [18:55:13]MH_I2C_Read... [18:55:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:55:13]Read from MH i2c: E2 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 03 00 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 03 00 85 00 00 90 00 F9 [18:55:13]RAPDU: 90 00 [18:55:13]wFMCommunicate OK [18:55:13]wFMCommunicate request_size=10 [18:55:13]MH_SAM_APDU [18:55:13]CAPDU: 80 0D 02 02 05 EA FD 9B 2A 98 [18:55:13]Write to MH i2c: E2 0D 00 86 00 80 0D 02 02 05 00 EA FD 9B 2A 98 00 00 4E [18:55:13]Write i2c OK [18:55:13]MH_I2C_Read... [18:55:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:55:13]Read from MH i2c: E2 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 03 00 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 03 00 86 00 00 90 00 FA [18:55:13]RAPDU: 90 00 [18:55:13]wFMCommunicate OK [18:55:13]wFMCommunicate request_size=4 [18:55:13]MH_SAM_APDU [18:55:13]CAPDU: 80 0D 03 02 [18:55:13]Write to MH i2c: E2 08 00 87 00 80 0D 03 02 00 00 00 00 02 [18:55:13]Write i2c OK [18:55:13]MH_I2C_Read... [18:55:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:55:13]Read from MH i2c: E2 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 0B 00 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 0B 00 87 00 00 51 2D 21 04 98 3C 8D EC 90 00 F3 [18:55:13]RAPDU: 51 2D 21 04 98 3C 8D EC 90 00 [18:55:13]wFMCommunicate OK [18:55:13]SAM_PROTO_SignData done [18:55:13]FM_MakeSignedData done [18:55:13]CreateOFDProtocolMessage [18:55:13]wFMCommunicate request_size=4 [18:55:13]MH_SAM_APDU [18:55:13]CAPDU: 80 11 00 00 [18:55:13]Write to MH i2c: E2 08 00 88 00 80 11 00 00 00 00 00 00 02 [18:55:13]Write i2c OK [18:55:13]MH_I2C_Read... [18:55:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:55:13]Read from MH i2c: E2 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 17 00 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: E2 17 00 88 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 51 [18:55:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [18:55:13]wFMCommunicate OK [18:55:13]CreateOFDProtocolMessage done [18:55:13]OFDSenderStorePacket 15834 [18:55:13]StoreOFDPacket docnum=15834 [18:55:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 42 52 07 01 96 16 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 54 05 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 10 81 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DA 3D 00 00 35 04 06 00 1E EA FD 9B 2A 98 51 2D 21 04 98 3C 8D EC [18:55:13]CheckFolder [18:55:13]dirname=/storage/ofd_packets [18:55:13]CheckFolder done [18:55:13]ProducePacketName [18:55:13]name=ofd_packets/00015834 [18:55:13]NVStorageSaveData ofd_packets/00015834 [18:55:13]File name is /storage/ofd_packets/00015834 [18:55:13]Write 301 bytes [18:55:13]NVStorageSaveData done [18:55:13]OFDSenderStorePacket done [18:55:13]KKMCreateOFDPacket done [18:55:13]NVStorageSaveData kkm_last_timestamp [18:55:13]File name is /storage/kkm_last_timestamp [18:55:13]Write 4 bytes [18:55:13]NVStorageSaveData done [18:55:13]ExternCall_PrintAddStr [18:55:13]wPrintStart [18:55:13]Write to MH i2c: 01 00 00 89 00 89 [18:55:13]OFD Sender: Processing packet 15834 [packets to send 4, broken 3] [18:55:13]ProducePacketName [18:55:13]name=ofd_packets/00015834 [18:55:13]OFD Sender: To server: pG, [18:55:13]CommunicateWithHost lk.salyk.kg:30040 [18:55:13]ConnectInit lk.salyk.kg [18:55:13]Write i2c OK [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: 01 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: 01 07 00 [18:55:13]MH_I2C_Read... [18:55:13]Read from MH i2c: 01 07 00 89 00 00 00 00 00 00 FF 0F 9E [18:55:13]RasterBufferAndPrint [18:55:13]line Счет N : (1)16384 [18:55:13]line ИНН: 02508201610067 [18:55:13]line Контрольно-Кассовый Чек [18:55:13]line ПРОДАЖА [18:55:13]line ТРК (МРК, ГНК) : 21 [18:55:13]line Товар: 2710124130 [18:55:13]line Аи-92-К-5 [18:55:13]line 10.000 * 66.90 [18:55:13]line = 669.00 [18:55:13]line НДС 12% НСП 1% [18:55:13]line > о реализуемом товаре [18:55:13]line ИТОГО: 669.00 [18:55:13]line НСП 1% : 5.92 [18:55:13]line НДС 12% : 71.04 [18:55:13]line Наличными: 669.00 [18:55:13]line Безнал.: 0.00 [18:55:13]line Место: АЗС № 178 "Партнер Нефть" [18:55:13]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [18:55:13]line СНО: Общий режим [18:55:13]line Чек 44 30.10.2024 18:55 [18:55:13]line Смена: 173 ФФД: 1.0 [18:55:13]line ЗНМ: 0300000014 [18:55:13]line РНМ: 0000000000161798 [18:55:13]line Версия ККМ: v1.0 [18:55:13]line ФМ: 0000000000963325 [18:55:13]line ФД: 15834 [18:55:13]line ФПД: 33994625985176 [18:55:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T185512&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15834&fm=33994625985176&tin=02508201610067®Number=0000000000161798&sum=66900 [18:55:14]Connected sock=9 [18:55:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 42 52 07 01 96 16 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 54 05 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 10 81 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DA 3D 00 00 35 04 06 00 1E EA FD 9B 2A 98 51 2D 21 04 98 3C 8D EC [18:55:14]written 0, free lines is 4095 [18:55:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 5F 20 47 00 CC 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 DA 3D 00 00 F4 03 04 00 F8 2B 22 67 B6 04 01 00 00 11 B1 53 3D DD C6 72 3F [18:55:14]CommunicateWithHost err = 0 [18:55:14]CheckOFDResponse [18:55:14]1017 (14) - 77093643461234 [18:55:14]1041 (16) - 0000000000963325 [18:55:14]1040 (4) - 15834 [18:55:14]1012 (4) - 30.10.2024 12:52 [18:55:14]1206 (1) - 0 [18:55:14]OFD Sender: Remove packet 15834 [18:55:14]ProducePacketName [18:55:14]name=ofd_packets/00015834 [18:55:14]NVStorageDeleteData [18:55:14]Write to MH i2c: 01 00 00 B1 00 B1 [18:55:14]Write i2c OK [18:55:14]MH_I2C_Read... [18:55:14]Read from MH i2c: 01 [18:55:14]MH_I2C_Read... [18:55:14]Read from MH i2c: 01 07 00 [18:55:14]MH_I2C_Read... [18:55:14]Read from MH i2c: 01 07 00 B1 00 00 00 00 00 00 26 0D EB [18:55:14]RasterBufferAndPrint [18:55:14]line [18:55:14]line [18:55:14]line [18:55:14]line [18:55:14]line [18:55:14]written 0, free lines is 3373 [18:55:14]MH_Cut [18:55:14]Write to MH i2c: D1 01 00 B8 00 01 8A [18:55:14]Write i2c OK [18:55:14]MH_I2C_Read... [18:55:14]Read from MH i2c: D1 [18:55:14]MH_I2C_Read... [18:55:14]Read from MH i2c: D1 01 00 [18:55:14]MH_I2C_Read... [18:55:14]Read from MH i2c: D1 01 00 B8 00 00 89 [18:55:14]Write to MH i2c: 01 00 00 B9 00 B9 [18:55:14]Write i2c OK [18:55:14]MH_I2C_Read... [18:55:14]OFD Sender: No OFD packet to send [18:55:15]*** Cut start [18:55:15]*** Partial cut [18:55:15]*** CUTSNS_PIN = 1 [18:55:15]*** CUTSNS_PIN = 0 [18:55:15]*** Brake cut motor [18:55:15]Read from MH i2c: 01 [18:55:15]MH_I2C_Read... [18:55:15]*** Stop cut motor [18:55:15]*** Cut end [18:55:15]Read from MH i2c: 01 07 00 [18:55:15]MH_I2C_Read... [18:55:15]Read from MH i2c: 01 07 00 B9 00 00 00 00 00 00 FF 0F CE [18:55:15]process_action close_receipt done [18:55:15]requested_data is exist [18:55:15]produce_requested_data [18:55:15]requested_item fm.sn is exist - process it [18:55:15]wFMCommunicate request_size=4 [18:55:15]MH_SAM_APDU [18:55:15]CAPDU: 80 11 00 00 [18:55:15]Write to MH i2c: E2 08 00 BA 00 80 11 00 00 00 00 00 00 34 [18:55:15]Write i2c OK [18:55:15]MH_I2C_Read... [18:55:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:55:16]Read from MH i2c: E2 [18:55:16]MH_I2C_Read... [18:55:16]Read from MH i2c: E2 17 00 [18:55:16]MH_I2C_Read... [18:55:16]Read from MH i2c: E2 17 00 BA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 83 [18:55:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [18:55:16]wFMCommunicate OK [18:55:16]requested_item fd.num is exist - process it [18:55:16]SAM_PROTO_GetFieldsCounters [18:55:16]wFMCommunicate request_size=4 [18:55:16]MH_SAM_APDU [18:55:16]CAPDU: 80 13 00 00 [18:55:16]Write to MH i2c: E2 08 00 BB 00 80 13 00 00 00 00 00 00 37 [18:55:16]Write i2c OK [18:55:16]MH_I2C_Read... [18:55:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:55:16]Read from MH i2c: E2 [18:55:16]MH_I2C_Read... [18:55:16]Read from MH i2c: E2 62 00 [18:55:16]MH_I2C_Read... [18:55:16]Read from MH i2c: E2 62 00 BB 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DA 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [18:55:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DA 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:55:16]wFMCommunicate OK [18:55:16]SAM_PROTO_GetFieldsCounters done [18:55:16]requested_item shift.num is exist - process it [18:55:16]requested_item shift.opened is exist - process it [18:55:16]req_shift_opened [18:55:16]FM_GetShiftState [18:55:16]SAM_PROTO_GetShiftState [18:55:16]wFMCommunicate request_size=4 [18:55:16]MH_SAM_APDU [18:55:16]CAPDU: 80 13 01 00 [18:55:16]Write to MH i2c: E2 08 00 BC 00 80 13 01 00 00 00 00 00 39 [18:55:16]Write i2c OK [18:55:16]MH_I2C_Read... [18:55:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:55:16]Read from MH i2c: E2 [18:55:16]MH_I2C_Read... [18:55:16]Read from MH i2c: E2 0E 00 [18:55:16]MH_I2C_Read... [18:55:16]Read from MH i2c: E2 0E 00 BC 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 7E [18:55:16]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [18:55:16]wFMCommunicate OK [18:55:16]SAM_PROTO_GetShiftState done [18:55:16]FM_GetShiftState done [18:55:16]req_shift_opened done [18:55:16]requested_item shift.open_date is exist - process it [18:55:16]req_shift_open_date [18:55:16]req_shift_open_date done [18:55:16]produce_requested_data done [18:55:16]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15834,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [18:55:16]process_action_free close_receipt [18:55:16]json_value_free [18:55:16]json_value_free done [18:55:16]process_json_proto returns [18:55:16]Send response to host [18:55:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15834,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [18:55:16]free response buf [18:55:16]execute_script done [18:55:16]execute_script returns [18:55:16]free content buf [18:55:16]Sock 7.Close socket [18:55:16]Sock 7.Thread stoped [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:55:59]OFD Sender: No OFD packet to send [18:56:04]OFD Sender: No OFD packet to send [18:56:09]OFD Sender: No OFD packet to send [18:56:14]OFD Sender: No OFD packet to send [18:56:19]OFD Sender: No OFD packet to send [18:56:24]OFD Sender: No OFD packet to send [18:56:29]OFD Sender: No OFD packet to send [18:56:34]OFD Sender: No OFD packet to send [18:56:39]OFD Sender: No OFD packet to send [18:56:44]OFD Sender: No OFD packet to send [18:56:49]OFD Sender: No OFD packet to send [18:56:54]OFD Sender: No OFD packet to send [18:56:59]OFD Sender: No OFD packet to send [18:57:04]OFD Sender: No OFD packet to send [18:57:09]OFD Sender: No OFD packet to send [18:57:14]OFD Sender: No OFD packet to send [18:57:19]OFD Sender: No OFD packet to send [18:57:24]OFD Sender: No OFD packet to send [18:57:29]OFD Sender: No OFD packet to send [18:57:34]OFD Sender: No OFD packet to send [18:57:39]OFD Sender: No OFD packet to send [18:57:44]OFD Sender: No OFD packet to send [18:57:49]OFD Sender: No OFD packet to send [18:57:54]OFD Sender: No OFD packet to send [18:57:59]OFD Sender: No OFD packet to send [18:58:04]OFD Sender: No OFD packet to send [18:58:09]OFD Sender: No OFD packet to send [18:58:14]OFD Sender: No OFD packet to send [18:58:19]OFD Sender: No OFD packet to send [18:58:24]OFD Sender: No OFD packet to send [18:58:29]OFD Sender: No OFD packet to send [18:58:34]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:50]OFD Sender: No OFD packet to send [18:58:55]OFD Sender: No OFD packet to send [18:59:00]OFD Sender: No OFD packet to send [18:59:05]OFD Sender: No OFD packet to send [18:59:10]OFD Sender: No OFD packet to send [18:59:15]OFD Sender: No OFD packet to send [18:59:20]OFD Sender: No OFD packet to send [18:59:25]OFD Sender: No OFD packet to send [18:59:30]OFD Sender: No OFD packet to send [18:59:35]OFD Sender: No OFD packet to send [18:59:40]OFD Sender: No OFD packet to send [18:59:45]OFD Sender: No OFD packet to send [18:59:50]OFD Sender: No OFD packet to send [18:59:55]OFD Sender: No OFD packet to send [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:50]OFD Sender: No OFD packet to send [19:00:55]OFD Sender: No OFD packet to send [19:01:00]OFD Sender: No OFD packet to send [19:01:05]OFD Sender: No OFD packet to send [19:01:10]OFD Sender: No OFD packet to send [19:01:15]OFD Sender: No OFD packet to send [19:01:20]OFD Sender: No OFD packet to send [19:01:25]OFD Sender: No OFD packet to send [19:01:30]OFD Sender: No OFD packet to send [19:01:35]OFD Sender: No OFD packet to send [19:01:40]OFD Sender: No OFD packet to send [19:01:45]OFD Sender: No OFD packet to send [19:01:50]OFD Sender: No OFD packet to send [19:01:55]OFD Sender: No OFD packet to send [19:02:00]OFD Sender: No OFD packet to send [19:02:05]OFD Sender: No OFD packet to send [19:02:10]OFD Sender: No OFD packet to send [19:02:15]OFD Sender: No OFD packet to send [19:02:20]OFD Sender: No OFD packet to send [19:02:25]OFD Sender: No OFD packet to send [19:02:30]OFD Sender: No OFD packet to send [19:02:35]OFD Sender: No OFD packet to send [19:02:40]OFD Sender: No OFD packet to send [19:02:45]OFD Sender: No OFD packet to send [19:02:50]OFD Sender: No OFD packet to send [19:02:55]OFD Sender: No OFD packet to send [19:02:57]accept exits with 10 [19:02:57]New connection [19:02:57]New thread 3067391332 created [19:02:57]Thread 3067247972 joined [19:02:57]Waiting for new connection... [19:02:57] Sock 10.Parse request [19:02:57]Sock 10.Check first char [19:02:57]Sock 10.First char is OK [19:02:57]request: POST /json_proto HTTP/1.0 [19:02:57]Method: POST [19:02:57]URL: /json_proto [19:02:57]Method is POST - this is cgi request [19:02:57]url: /json_proto [19:02:57]query_string will be loaded in cgi processing [19:02:57]execute_cgi json_proto POST (null) [19:02:57]execute_cgi path=json_proto method=POST [19:02:57]POST find Content-Length [19:02:57]Host: 172.17.54.195:8080 [19:02:57]Content-Length: 628 [19:02:57]Content-Type: application/json [19:02:57] [19:02:57]POST finish read [19:02:57]Found Content-Length = 628 [19:02:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16385", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:02:57]execute_script... [19:02: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 : (1)16385", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:02:57]POST & json_proto [19:02:57]process_json_proto [19:02:57]json parsed OK: [19:02:57]protocol is kg_v1.0 [19:02:57]action value=close_receipt [19:02:57]process_action close_receipt [19:02:57]cmd_close_receipt [19:02:57]MH_GetDate [19:02:57]Write to MH i2c: F0 00 00 BD 00 AC [19:02:57]Write i2c OK [19:02:57]MH_I2C_Read... [19:02:57]Read from MH i2c: F0 [19:02:57]MH_I2C_Read... [19:02:57]Read from MH i2c: F0 09 00 [19:02:57]MH_I2C_Read... [19:02:57]Read from MH i2c: F0 09 00 BD 00 00 E1 82 22 67 8D 90 A3 66 C7 [19:02:57]GetLastDocTimeStamp 1730314512 [19:02:57]current date 1730314977 [19:02:57]FM_GetShiftState [19:02:57]SAM_PROTO_GetShiftState [19:02:57]wFMCommunicate request_size=4 [19:02:57]MH_SAM_APDU [19:02:57]CAPDU: 80 13 01 00 [19:02:57]Write to MH i2c: E2 08 00 BE 00 80 13 01 00 00 00 00 00 3B [19:02:57]Write i2c OK [19:02:57]MH_I2C_Read... [19:02:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:02:57]Read from MH i2c: E2 [19:02:57]MH_I2C_Read... [19:02:57]Read from MH i2c: E2 0E 00 [19:02:57]MH_I2C_Read... [19:02:57]Read from MH i2c: E2 0E 00 BE 00 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 80 [19:02:57]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:02:57]wFMCommunicate OK [19:02:57]SAM_PROTO_GetShiftState done [19:02:57]FM_GetShiftState done [19:02:57]opened in 1730247478 [19:02:57]opened+sec_in_day 1730333878 [19:02:57]quantity*price = 50000 [19:02:57]sum+1 = 50001 [19:02:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 45 30.10.2024 19:02 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15835 ФПД: 172737881815683 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T190257&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15835&fm=172737881815683&tin=02508201610067®Number=0000000000161798&sum=50000 [19:02:58]StoreToDocumentArchive [19:02:58]shift 173 fd 15835 [19:02:58]save to /storage/0173/doc_00015835 [19:02:58]save last doc name /storage/0173/doc_00015835 to /storage/kkm_last_doc_name [19:02:58]save OK [19:02:58]Clear old archive folders... [19:02:58]ProcessDocumentItem done err = 0, tmpTLVsize=249 [19:02:58]tlvbuf is 01F4E590 [19:02:58]SAM_PROTO_ClearQueue [19:02:58]wFMCommunicate request_size=4 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 09 00 00 [19:02:58]Write to MH i2c: E2 08 00 CB 00 80 09 00 00 00 00 00 00 3D [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 CB 00 00 90 00 3F [19:02:58]RAPDU: 90 00 [19:02:58]wFMCommunicate OK [19:02:58]SAM_PROTO_ClearQueue done [19:02:58]KKMCreateOFDPacket [19:02:58]OFDProtocolAddRootSTLVToBuf [19:02:58]FM_MakeSignedData [19:02:58]FM_MakeSignedData [19:02:58]SAM_PROTO_SignData [19:02:58]wFMCommunicate request_size=4 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 0D 01 02 [19:02:58]Write to MH i2c: E2 08 00 CC 00 80 0D 01 02 00 00 00 00 45 [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 CC 00 00 90 00 40 [19:02:58]RAPDU: 90 00 [19:02:58]wFMCommunicate OK [19:02:58]wFMCommunicate request_size=255 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 E1 82 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DB 3D 00 00 35 04 06 00 9D 1A AC [19:02:58]Write to MH i2c: E2 02 01 CD 00 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 E1 82 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DB 3D 00 00 35 04 06 00 9D 1A AC 00 00 CA [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 CD 00 00 90 00 41 [19:02:58]RAPDU: 90 00 [19:02:58]wFMCommunicate OK [19:02:58]wFMCommunicate request_size=8 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 0D 02 02 03 15 BA 83 [19:02:58]Write to MH i2c: E2 0B 00 CE 00 80 0D 02 02 03 00 15 BA 83 00 00 A0 [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:02:58]Read from MH i2c: E2 03 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 03 00 CE 00 00 90 00 42 [19:02:58]RAPDU: 90 00 [19:02:58]wFMCommunicate OK [19:02:58]wFMCommunicate request_size=4 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 0D 03 02 [19:02:58]Write to MH i2c: E2 08 00 CF 00 80 0D 03 02 00 00 00 00 4A [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 0B 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 0B 00 CF 00 00 B2 1A EC 4B 5C 05 3F FF 90 00 ED [19:02:58]RAPDU: B2 1A EC 4B 5C 05 3F FF 90 00 [19:02:58]wFMCommunicate OK [19:02:58]SAM_PROTO_SignData done [19:02:58]FM_MakeSignedData done [19:02:58]CreateOFDProtocolMessage [19:02:58]wFMCommunicate request_size=4 [19:02:58]MH_SAM_APDU [19:02:58]CAPDU: 80 11 00 00 [19:02:58]Write to MH i2c: E2 08 00 D0 00 80 11 00 00 00 00 00 00 4A [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:02:58]Read from MH i2c: E2 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 17 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: E2 17 00 D0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 99 [19:02:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:02:58]wFMCommunicate OK [19:02:58]CreateOFDProtocolMessage done [19:02:58]OFDSenderStorePacket 15835 [19:02:58]StoreOFDPacket docnum=15835 [19:02:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 44 1B 05 01 86 59 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 E1 82 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DB 3D 00 00 35 04 06 00 9D 1A AC 15 BA 83 B2 1A EC 4B 5C 05 3F FF [19:02:58]CheckFolder [19:02:58]dirname=/storage/ofd_packets [19:02:58]CheckFolder done [19:02:58]ProducePacketName [19:02:58]name=ofd_packets/00015835 [19:02:58]NVStorageSaveData ofd_packets/00015835 [19:02:58]File name is /storage/ofd_packets/00015835 [19:02:58]Write 299 bytes [19:02:58]NVStorageSaveData done [19:02:58]OFDSenderStorePacket done [19:02:58]KKMCreateOFDPacket done [19:02:58]NVStorageSaveData kkm_last_timestamp [19:02:58]File name is /storage/kkm_last_timestamp [19:02:58]Write 4 bytes [19:02:58]NVStorageSaveData done [19:02:58]ExternCall_PrintAddStr [19:02:58]wPrintStart [19:02:58]Write to MH i2c: 01 00 00 D1 00 D1 [19:02:58]Write i2c OK [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: 01 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: 01 07 00 [19:02:58]MH_I2C_Read... [19:02:58]Read from MH i2c: 01 07 00 D1 00 00 00 00 00 00 FF 0F E6 [19:02:58]RasterBufferAndPrint [19:02:58]line Счет N : (1)16385 [19:02:58]line ИНН: 02508201610067 [19:02:58]line Контрольно-Кассовый Чек [19:02:58]line ПРОДАЖА [19:02:58]line ТРК (МРК, ГНК) : 12 [19:02:58]line Товар: 50.50.0 [19:02:58]line SUPER 92-К-5 [19:02:58]line 7.310 * 68.40 [19:02:58]line = 500.00 [19:02:58]line НДС 12% НСП 1% [19:02:58]line > о реализуемом товаре [19:02:58]line ИТОГО: 500.00 [19:02:58]line НСП 1% : 4.42 [19:02:58]line НДС 12% : 53.10 [19:02:58]line Наличными: 500.00 [19:02:58]line Безнал.: 0.00 [19:02:58]line Место: АЗС № 178 "Партнер Нефть" [19:02:58]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [19:02:58]line СНО: Общий режим [19:02:58]line Чек 45 30.10.2024 19:02 [19:02:58]line Смена: 173 ФФД: 1.0 [19:02:58]line ЗНМ: 0300000014 [19:02:58]line РНМ: 0000000000161798 [19:02:58]line Версия ККМ: v1.0 [19:02:58]line ФМ: 0000000000963325 [19:02:58]line ФД: 15835 [19:02:58]line ФПД: 172737881815683 [19:02:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T190257&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15835&fm=172737881815683&tin=02508201610067®Number=0000000000161798&sum=50000 [19:02:59]OFD Sender: Processing packet 15835 [packets to send 4, broken 3] [19:02:59]ProducePacketName [19:02:59]name=ofd_packets/00015835 [19:02:59]OFD Sender: To server: pG, [19:02:59]CommunicateWithHost lk.salyk.kg:30040 [19:02:59]ConnectInit lk.salyk.kg [19:02:59]written 0, free lines is 4095 [19:02:59]Connected sock=9 [19:02:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 44 1B 05 01 86 59 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 E1 82 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DB 3D 00 00 35 04 06 00 9D 1A AC 15 BA 83 B2 1A EC 4B 5C 05 3F FF [19:02:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 4B 61 47 00 31 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DB 3D 00 00 F4 03 04 00 C9 2D 22 67 B6 04 01 00 00 79 D6 10 F7 1E AC BC 7B [19:02:59]CommunicateWithHost err = 0 [19:02:59]CheckOFDResponse [19:02:59]1017 (14) - 77093643461234 [19:02:59]1041 (16) - 0000000000963325 [19:02:59]1040 (4) - 15835 [19:02:59]1012 (4) - 30.10.2024 12:59 [19:02:59]1206 (1) - 0 [19:02:59]OFD Sender: Remove packet 15835 [19:02:59]ProducePacketName [19:02:59]name=ofd_packets/00015835 [19:02:59]NVStorageDeleteData [19:02:59]Write to MH i2c: 01 00 00 F9 00 F9 [19:02:59]Write i2c OK [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: 01 [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: 01 07 00 [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: 01 07 00 F9 00 00 00 00 00 00 22 0D 2F [19:02:59]RasterBufferAndPrint [19:02:59]line [19:02:59]line [19:02:59]line [19:02:59]line [19:02:59]line [19:02:59]written 0, free lines is 3368 [19:02:59]MH_Cut [19:02:59]Write to MH i2c: D1 01 00 00 01 01 D3 [19:02:59]Write i2c OK [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: D1 [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: D1 01 00 [19:02:59]MH_I2C_Read... [19:02:59]Read from MH i2c: D1 01 00 00 01 00 D2 [19:02:59]Write to MH i2c: 01 00 00 01 01 02 [19:02:59]Write i2c OK [19:02:59]MH_I2C_Read... [19:02:59]OFD Sender: No OFD packet to send [19:03:00]*** Cut start [19:03:00]*** Partial cut [19:03:00]*** CUTSNS_PIN = 1 [19:03:00]*** CUTSNS_PIN = 0 [19:03:00]*** Brake cut motor [19:03:00]Read from MH i2c: 01 [19:03:00]MH_I2C_Read... [19:03:00]*** Stop cut motor [19:03:00]Read from MH i2c: 01 07 00 [19:03:00]MH_I2C_Read... [19:03:00]*** Cut end [19:03:00]Read from MH i2c: 01 07 00 01 01 00 00 00 00 00 FF 0F 17 [19:03:00]process_action close_receipt done [19:03:00]requested_data is exist [19:03:00]produce_requested_data [19:03:00]requested_item fm.sn is exist - process it [19:03:00]wFMCommunicate request_size=4 [19:03:00]MH_SAM_APDU [19:03:00]CAPDU: 80 11 00 00 [19:03:00]Write to MH i2c: E2 08 00 02 01 80 11 00 00 00 00 00 00 7D [19:03:00]Write i2c OK [19:03:00]MH_I2C_Read... [19:03:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:03:00]Read from MH i2c: E2 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 17 00 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 17 00 02 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 CC [19:03:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:03:00]wFMCommunicate OK [19:03:00]requested_item fd.num is exist - process it [19:03:00]SAM_PROTO_GetFieldsCounters [19:03:00]wFMCommunicate request_size=4 [19:03:00]MH_SAM_APDU [19:03:00]CAPDU: 80 13 00 00 [19:03:00]Write to MH i2c: E2 08 00 03 01 80 13 00 00 00 00 00 00 80 [19:03:00]Write i2c OK [19:03:00]MH_I2C_Read... [19:03:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:03:00]Read from MH i2c: E2 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 62 00 [19:03:00]MH_I2C_Read... [19:03:00]Read from MH i2c: E2 62 00 03 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DB 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [19:03:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DB 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:03:00]wFMCommunicate OK [19:03:00]SAM_PROTO_GetFieldsCounters done [19:03:00]requested_item shift.num is exist - process it [19:03:00]requested_item shift.opened is exist - process it [19:03:00]req_shift_opened [19:03:00]FM_GetShiftState [19:03:00]SAM_PROTO_GetShiftState [19:03:00]wFMCommunicate request_size=4 [19:03:00]MH_SAM_APDU [19:03:00]CAPDU: 80 13 01 00 [19:03:01]Write to MH i2c: E2 08 00 04 01 80 13 01 00 00 00 00 00 82 [19:03:01]Write i2c OK [19:03:01]MH_I2C_Read... [19:03:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:03:01]Read from MH i2c: E2 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 0E 00 [19:03:01]MH_I2C_Read... [19:03:01]Read from MH i2c: E2 0E 00 04 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 C7 [19:03:01]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:03:01]wFMCommunicate OK [19:03:01]SAM_PROTO_GetShiftState done [19:03:01]FM_GetShiftState done [19:03:01]req_shift_opened done [19:03:01]requested_item shift.open_date is exist - process it [19:03:01]req_shift_open_date [19:03:01]req_shift_open_date done [19:03:01]produce_requested_data done [19:03:01]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15835,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [19:03:01]process_action_free close_receipt [19:03:01]json_value_free [19:03:01]json_value_free done [19:03:01]process_json_proto returns [19:03:01]Send response to host [19:03:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15835,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [19:03:01]free response buf [19:03:01]execute_script done [19:03:01]execute_script returns [19:03:01]free content buf [19:03:01]Sock 10.Close socket [19:03:01]Sock 10.Thread stoped [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05:29]OFD Sender: No OFD packet to send [19:05:34]OFD Sender: No OFD packet to send [19:05:39]OFD Sender: No OFD packet to send [19:05:44]OFD Sender: No OFD packet to send [19:05:49]OFD Sender: No OFD packet to send [19:05:54]OFD Sender: No OFD packet to send [19:05:59]OFD Sender: No OFD packet to send [19:06:04]OFD Sender: No OFD packet to send [19:06:09]OFD Sender: No OFD packet to send [19:06:14]OFD Sender: No OFD packet to send [19:06:19]OFD Sender: No OFD packet to send [19:06:24]OFD Sender: No OFD packet to send [19:06:29]OFD Sender: No OFD packet to send [19:06:34]OFD Sender: No OFD packet to send [19:06:39]OFD Sender: No OFD packet to send [19:06:44]OFD Sender: No OFD packet to send [19:06:49]OFD Sender: No OFD packet to send [19:06:55]OFD Sender: No OFD packet to send [19:07:00]OFD Sender: No OFD packet to send [19:07:05]OFD Sender: No OFD packet to send [19:07:10]OFD Sender: No OFD packet to send [19:07:15]OFD Sender: No OFD packet to send [19:07:20]OFD Sender: No OFD packet to send [19:07:25]OFD Sender: No OFD packet to send [19:07:30]OFD Sender: No OFD packet to send [19:07:35]OFD Sender: No OFD packet to send [19:07:40]OFD Sender: No OFD packet to send [19:07:45]OFD Sender: No OFD packet to send [19:07:50]OFD Sender: No OFD packet to send [19:07:55]OFD Sender: No OFD packet to send [19:08:00]OFD Sender: No OFD packet to send [19:08:05]OFD Sender: No OFD packet to send [19:08:10]OFD Sender: No OFD packet to send [19:08:15]OFD Sender: No OFD packet to send [19:08:20]OFD Sender: No OFD packet to send [19:08:25]OFD Sender: No OFD packet to send [19:08:30]OFD Sender: No OFD packet to send [19:08:35]OFD Sender: No OFD packet to send [19:08:40]OFD Sender: No OFD packet to send [19:08:45]OFD Sender: No OFD packet to send [19:08:50]OFD Sender: No OFD packet to send [19:08:55]OFD Sender: No OFD packet to send [19:09:00]OFD Sender: No OFD packet to send [19:09:05]OFD Sender: No OFD packet to send [19:09:10]OFD Sender: No OFD packet to send [19:09:15]OFD Sender: No OFD packet to send [19:09:20]OFD Sender: No OFD packet to send [19:09:25]OFD Sender: No OFD packet to send [19:09:30]OFD Sender: No OFD packet to send [19:09:35]OFD Sender: No OFD packet to send [19:09:40]OFD Sender: No OFD packet to send [19:09:45]OFD Sender: No OFD packet to send [19:09:50]OFD Sender: No OFD packet to send [19:09:55]OFD Sender: No OFD packet to send [19:10:00]OFD Sender: No OFD packet to send [19:10:05]OFD Sender: No OFD packet to send [19:10:10]OFD Sender: No OFD packet to send [19:10:15]OFD Sender: No OFD packet to send [19:10:18]accept exits with 7 [19:10:18]New connection [19:10:18]New thread 3067247972 created [19:10:18]Thread 3067391332 joined [19:10:18]Waiting for new connection... [19:10:18] Sock 7.Parse request [19:10:18]Sock 7.Check first char [19:10:18]Sock 7.First char is OK [19:10:18]request: POST /json_proto HTTP/1.0 [19:10:18]Method: POST [19:10:18]URL: /json_proto [19:10:18]Method is POST - this is cgi request [19:10:18]url: /json_proto [19:10:18]query_string will be loaded in cgi processing [19:10:18]execute_cgi json_proto POST (null) [19:10:18]execute_cgi path=json_proto method=POST [19:10:18]POST find Content-Length [19:10:18]Host: 172.17.54.195:8080 [19:10:18]Content-Length: 666 [19:10:18]Content-Type: application/json [19:10:18] [19:10:18]POST finish read [19:10:18]Found Content-Length = 666 [19:10:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16386", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 8.780, "sum" : 600.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:10:18]execute_script... [19:10:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16386", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 8.780, "sum" : 600.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:10:18]POST & json_proto [19:10:18]process_json_proto [19:10:18]json parsed OK: [19:10:18]protocol is kg_v1.0 [19:10:18]action value=close_receipt [19:10:18]process_action close_receipt [19:10:18]cmd_close_receipt [19:10:18]MH_GetDate [19:10:18]Write to MH i2c: F0 00 00 05 01 F5 [19:10:18]Write i2c OK [19:10:18]MH_I2C_Read... [19:10:18]Read from MH i2c: F0 [19:10:18]MH_I2C_Read... [19:10:18]Read from MH i2c: F0 09 00 [19:10:18]MH_I2C_Read... [19:10:18]Read from MH i2c: F0 09 00 05 01 00 9A 84 22 67 8D 90 A3 66 CB [19:10:18]GetLastDocTimeStamp 1730314977 [19:10:18]current date 1730315418 [19:10:18]FM_GetShiftState [19:10:18]SAM_PROTO_GetShiftState [19:10:18]wFMCommunicate request_size=4 [19:10:18]MH_SAM_APDU [19:10:18]CAPDU: 80 13 01 00 [19:10:18]Write to MH i2c: E2 08 00 06 01 80 13 01 00 00 00 00 00 84 [19:10:18]Write i2c OK [19:10:18]MH_I2C_Read... [19:10:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:10:18]Read from MH i2c: E2 [19:10:18]MH_I2C_Read... [19:10:18]Read from MH i2c: E2 0E 00 [19:10:18]MH_I2C_Read... [19:10:18]Read from MH i2c: E2 0E 00 06 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 C9 [19:10:18]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:10:18]wFMCommunicate OK [19:10:18]SAM_PROTO_GetShiftState done [19:10:18]FM_GetShiftState done [19:10:18]opened in 1730247478 [19:10:18]opened+sec_in_day 1730333878 [19:10:18]quantity*price = 60055 [19:10:18]sum+1 = 60056 [19:10:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.55 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.77 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 46 30.10.2024 19:10 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15836 ФПД: 232790214345602 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T191018&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15836&fm=232790214345602&tin=02508201610067®Number=0000000000161798&sum=60000 [19:10:19]StoreToDocumentArchive [19:10:19]shift 173 fd 15836 [19:10:19]save to /storage/0173/doc_00015836 [19:10:19]save last doc name /storage/0173/doc_00015836 to /storage/kkm_last_doc_name [19:10:19]save OK [19:10:19]Clear old archive folders... [19:10:19]ProcessDocumentItem done err = 0, tmpTLVsize=249 [19:10:19]tlvbuf is 01F4E4A0 [19:10:19]SAM_PROTO_ClearQueue [19:10:19]wFMCommunicate request_size=4 [19:10:19]MH_SAM_APDU [19:10:19]CAPDU: 80 09 00 00 [19:10:19]Write to MH i2c: E2 08 00 13 01 80 09 00 00 00 00 00 00 86 [19:10:19]Write i2c OK [19:10:19]MH_I2C_Read... [19:10:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:10:19]Read from MH i2c: E2 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 03 00 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 03 00 13 01 00 90 00 88 [19:10:19]RAPDU: 90 00 [19:10:19]wFMCommunicate OK [19:10:19]SAM_PROTO_ClearQueue done [19:10:19]KKMCreateOFDPacket [19:10:19]OFDProtocolAddRootSTLVToBuf [19:10:19]FM_MakeSignedData [19:10:19]FM_MakeSignedData [19:10:19]SAM_PROTO_SignData [19:10:19]wFMCommunicate request_size=4 [19:10:19]MH_SAM_APDU [19:10:19]CAPDU: 80 0D 01 02 [19:10:19]Write to MH i2c: E2 08 00 14 01 80 0D 01 02 00 00 00 00 8E [19:10:19]Write i2c OK [19:10:19]MH_I2C_Read... [19:10:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:10:19]Read from MH i2c: E2 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 03 00 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 03 00 14 01 00 90 00 89 [19:10:19]RAPDU: 90 00 [19:10:19]wFMCommunicate OK [19:10:19]wFMCommunicate request_size=255 [19:10:19]MH_SAM_APDU [19:10:19]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 9A 84 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DC 3D 00 00 35 04 06 00 D3 B8 B2 [19:10:19]Write to MH i2c: E2 02 01 15 01 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 9A 84 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DC 3D 00 00 35 04 06 00 D3 B8 B2 00 00 D3 [19:10:19]Write i2c OK [19:10:19]MH_I2C_Read... [19:10:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:19]Read from MH i2c: E2 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 03 00 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 03 00 15 01 00 90 00 8A [19:10:19]RAPDU: 90 00 [19:10:19]wFMCommunicate OK [19:10:19]wFMCommunicate request_size=8 [19:10:19]MH_SAM_APDU [19:10:19]CAPDU: 80 0D 02 02 03 08 83 82 [19:10:19]Write to MH i2c: E2 0B 00 16 01 80 0D 02 02 03 00 08 83 82 00 00 A4 [19:10:19]Write i2c OK [19:10:19]MH_I2C_Read... [19:10:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:19]Read from MH i2c: E2 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 03 00 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 03 00 16 01 00 90 00 8B [19:10:19]RAPDU: 90 00 [19:10:19]wFMCommunicate OK [19:10:19]wFMCommunicate request_size=4 [19:10:19]MH_SAM_APDU [19:10:19]CAPDU: 80 0D 03 02 [19:10:19]Write to MH i2c: E2 08 00 17 01 80 0D 03 02 00 00 00 00 93 [19:10:19]Write i2c OK [19:10:19]MH_I2C_Read... [19:10:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:10:19]Read from MH i2c: E2 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 0B 00 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 0B 00 17 01 00 F8 EA FA 54 4B 28 EF F8 90 00 1E [19:10:19]RAPDU: F8 EA FA 54 4B 28 EF F8 90 00 [19:10:19]wFMCommunicate OK [19:10:19]SAM_PROTO_SignData done [19:10:19]FM_MakeSignedData done [19:10:19]CreateOFDProtocolMessage [19:10:19]wFMCommunicate request_size=4 [19:10:19]MH_SAM_APDU [19:10:19]CAPDU: 80 11 00 00 [19:10:19]Write to MH i2c: E2 08 00 18 01 80 11 00 00 00 00 00 00 93 [19:10:19]Write i2c OK [19:10:19]MH_I2C_Read... [19:10:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:10:19]Read from MH i2c: E2 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 17 00 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: E2 17 00 18 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 E2 [19:10:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:10:19]wFMCommunicate OK [19:10:19]CreateOFDProtocolMessage done [19:10:19]OFDSenderStorePacket 15836 [19:10:19]StoreOFDPacket docnum=15836 [19:10:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 74 C6 05 01 7A B3 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 9A 84 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DC 3D 00 00 35 04 06 00 D3 B8 B2 08 83 82 F8 EA FA 54 4B 28 EF F8 [19:10:19]CheckFolder [19:10:19]dirname=/storage/ofd_packets [19:10:19]CheckFolder done [19:10:19]ProducePacketName [19:10:19]name=ofd_packets/00015836 [19:10:19]NVStorageSaveData ofd_packets/00015836 [19:10:19]File name is /storage/ofd_packets/00015836 [19:10:19]Write 299 bytes [19:10:19]NVStorageSaveData done [19:10:19]OFDSenderStorePacket done [19:10:19]KKMCreateOFDPacket done [19:10:19]NVStorageSaveData kkm_last_timestamp [19:10:19]File name is /storage/kkm_last_timestamp [19:10:19]Write 4 bytes [19:10:19]NVStorageSaveData done [19:10:19]ExternCall_PrintAddStr [19:10:19]wPrintStart [19:10:19]Write to MH i2c: 01 00 00 19 01 1A [19:10:19]Write i2c OK [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: 01 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: 01 07 00 [19:10:19]MH_I2C_Read... [19:10:19]Read from MH i2c: 01 07 00 19 01 00 00 00 00 00 FF 0F 2F [19:10:19]RasterBufferAndPrint [19:10:19]line Счет N : (1)16386 [19:10:19]line ИНН: 02508201610067 [19:10:19]line Контрольно-Кассовый Чек [19:10:19]line ПРОДАЖА [19:10:19]line ТРК (МРК, ГНК) : 12 [19:10:19]line Товар: 50.50.0 [19:10:19]line SUPER 92-К-5 [19:10:19]line 8.780 * 68.40 [19:10:19]line = 600.55 [19:10:19]line НДС 12% НСП 1% [19:10:19]line > о реализуемом товаре [19:10:19]line ОКРУГЛЕНИЕ: -0.55 [19:10:19]line ИТОГО: 600.00 [19:10:19]line Внесено: 600.00 [19:10:19]line СДАЧА: 0.00 [19:10:19]line НСП 1% : 5.31 [19:10:19]line НДС 12% : 63.77 [19:10:19]line Наличными: 600.00 [19:10:19]line Безнал.: 0.00 [19:10:19]line Место: АЗС № 178 "Партнер Нефть" [19:10:19]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [19:10:19]line СНО: Общий режим [19:10:19]line Чек 46 30.10.2024 19:10 [19:10:19]line Смена: 173 ФФД: 1.0 [19:10:19]line ЗНМ: 0300000014 [19:10:19]line РНМ: 0000000000161798 [19:10:19]line Версия ККМ: v1.0 [19:10:19]line ФМ: 0000000000963325 [19:10:19]line ФД: 15836 [19:10:20]line ФПД: 232790214345602 [19:10:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T191018&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15836&fm=232790214345602&tin=02508201610067®Number=0000000000161798&sum=60000 [19:10:20]OFD Sender: Processing packet 15836 [packets to send 4, broken 3] [19:10:20]ProducePacketName [19:10:20]name=ofd_packets/00015836 [19:10:20]OFD Sender: To server: pG, [19:10:20]CommunicateWithHost lk.salyk.kg:30040 [19:10:20]ConnectInit lk.salyk.kg [19:10:20]written 0, free lines is 4095 [19:10:20]Connected sock=10 [19:10:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 74 C6 05 01 7A B3 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 22 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 97 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 9A 84 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DC 3D 00 00 35 04 06 00 D3 B8 B2 08 83 82 F8 EA FA 54 4B 28 EF F8 [19:10:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 CB 63 47 00 F9 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 DC 3D 00 00 F4 03 04 00 82 2F 22 67 B6 04 01 00 00 27 F6 E6 EC 20 83 73 F8 [19:10:20]CommunicateWithHost err = 0 [19:10:20]CheckOFDResponse [19:10:20]1017 (14) - 77093643461234 [19:10:20]1041 (16) - 0000000000963325 [19:10:20]1040 (4) - 15836 [19:10:20]1012 (4) - 30.10.2024 13:07 [19:10:20]1206 (1) - 0 [19:10:20]OFD Sender: Remove packet 15836 [19:10:20]ProducePacketName [19:10:20]name=ofd_packets/00015836 [19:10:20]NVStorageDeleteData [19:10:20]Write to MH i2c: 01 00 00 44 01 45 [19:10:20]Write i2c OK [19:10:20]MH_I2C_Read... [19:10:20]Read from MH i2c: 01 [19:10:20]MH_I2C_Read... [19:10:20]Read from MH i2c: 01 07 00 [19:10:20]MH_I2C_Read... [19:10:20]Read from MH i2c: 01 07 00 44 01 00 00 00 00 00 EA 0C 42 [19:10:20]RasterBufferAndPrint [19:10:20]line [19:10:20]line [19:10:20]line [19:10:20]line [19:10:20]line [19:10:20]written 0, free lines is 3313 [19:10:20]MH_Cut [19:10:20]Write to MH i2c: D1 01 00 4B 01 01 1E [19:10:20]Write i2c OK [19:10:20]MH_I2C_Read... [19:10:20]Read from MH i2c: D1 [19:10:20]MH_I2C_Read... [19:10:20]Read from MH i2c: D1 01 00 [19:10:20]MH_I2C_Read... [19:10:20]Read from MH i2c: D1 01 00 4B 01 00 1D [19:10:20]Write to MH i2c: 01 00 00 4C 01 4D [19:10:20]Write i2c OK [19:10:20]MH_I2C_Read... [19:10:20]OFD Sender: No OFD packet to send [19:10:21]*** Cut start [19:10:21]*** Partial cut [19:10:21]*** CUTSNS_PIN = 1 [19:10:21]*** CUTSNS_PIN = 0 [19:10:21]*** Brake cut motor [19:10:21]Read from MH i2c: 01 [19:10:22]MH_I2C_Read... [19:10:22]*** Stop cut motor [19:10:22]*** Cut end [19:10:22]Read from MH i2c: 01 07 00 [19:10:22]MH_I2C_Read... [19:10:22]Read from MH i2c: 01 07 00 4C 01 00 00 00 00 00 FF 0F 62 [19:10:22]process_action close_receipt done [19:10:22]requested_data is exist [19:10:22]produce_requested_data [19:10:22]requested_item fm.sn is exist - process it [19:10:22]wFMCommunicate request_size=4 [19:10:22]MH_SAM_APDU [19:10:22]CAPDU: 80 11 00 00 [19:10:22]Write to MH i2c: E2 08 00 4D 01 80 11 00 00 00 00 00 00 C8 [19:10:22]Write i2c OK [19:10:22]MH_I2C_Read... [19:10:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:10:22]Read from MH i2c: E2 [19:10:22]MH_I2C_Read... [19:10:22]Read from MH i2c: E2 17 00 [19:10:22]MH_I2C_Read... [19:10:22]Read from MH i2c: E2 17 00 4D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 17 [19:10:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:10:22]wFMCommunicate OK [19:10:22]requested_item fd.num is exist - process it [19:10:22]SAM_PROTO_GetFieldsCounters [19:10:22]wFMCommunicate request_size=4 [19:10:22]MH_SAM_APDU [19:10:22]CAPDU: 80 13 00 00 [19:10:22]Write to MH i2c: E2 08 00 4E 01 80 13 00 00 00 00 00 00 CB [19:10:22]Write i2c OK [19:10:22]MH_I2C_Read... [19:10:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:10:22]Read from MH i2c: E2 [19:10:22]MH_I2C_Read... [19:10:22]Read from MH i2c: E2 62 00 [19:10:22]MH_I2C_Read... [19:10:22]Read from MH i2c: E2 62 00 4E 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DC 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [19:10:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DC 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:10:22]wFMCommunicate OK [19:10:22]SAM_PROTO_GetFieldsCounters done [19:10:22]requested_item shift.num is exist - process it [19:10:22]requested_item shift.opened is exist - process it [19:10:22]req_shift_opened [19:10:22]FM_GetShiftState [19:10:22]SAM_PROTO_GetShiftState [19:10:22]wFMCommunicate request_size=4 [19:10:22]MH_SAM_APDU [19:10:22]CAPDU: 80 13 01 00 [19:10:22]Write to MH i2c: E2 08 00 4F 01 80 13 01 00 00 00 00 00 CD [19:10:22]Write i2c OK [19:10:22]MH_I2C_Read... [19:10:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:10:22]Read from MH i2c: E2 [19:10:22]MH_I2C_Read... [19:10:22]Read from MH i2c: E2 0E 00 [19:10:22]MH_I2C_Read... [19:10:22]Read from MH i2c: E2 0E 00 4F 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 12 [19:10:22]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:10:22]wFMCommunicate OK [19:10:22]SAM_PROTO_GetShiftState done [19:10:22]FM_GetShiftState done [19:10:22]req_shift_opened done [19:10:22]requested_item shift.open_date is exist - process it [19:10:22]req_shift_open_date [19:10:22]req_shift_open_date done [19:10:22]produce_requested_data done [19:10:22]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15836,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [19:10:22]process_action_free close_receipt [19:10:22]json_value_free [19:10:22]json_value_free done [19:10:22]process_json_proto returns [19:10:22]Send response to host [19:10:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15836,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [19:10:22]free response buf [19:10:22]execute_script done [19:10:22]execute_script returns [19:10:22]free content buf [19:10:22]Sock 7.Close socket [19:10:22]Sock 7.Thread stoped [19:10:25]OFD Sender: No OFD packet to send [19:10:30]OFD Sender: No OFD packet to send [19:10:35]OFD Sender: No OFD packet to send [19:10:40]OFD Sender: No OFD packet to send [19:10:45]OFD Sender: No OFD packet to send [19:10:50]OFD Sender: No OFD packet to send [19:10:55]OFD Sender: No OFD packet to send [19:11:00]OFD Sender: No OFD packet to send [19:11:05]OFD Sender: No OFD packet to send [19:11:10]OFD Sender: No OFD packet to send [19:11:15]OFD Sender: No OFD packet to send [19:11:20]OFD Sender: No OFD packet to send [19:11:25]OFD Sender: No OFD packet to send [19:11:31]OFD Sender: No OFD packet to send [19:11:36]OFD Sender: No OFD packet to send [19:11:41]OFD Sender: No OFD packet to send [19:11:46]OFD Sender: No OFD packet to send [19:11:51]OFD Sender: No OFD packet to send [19:11:56]OFD Sender: No OFD packet to send [19:12:01]OFD Sender: No OFD packet to send [19:12:06]OFD Sender: No OFD packet to send [19:12:11]OFD Sender: No OFD packet to send [19:12:16]OFD Sender: No OFD packet to send [19:12:21]OFD Sender: No OFD packet to send [19:12:26]OFD Sender: No OFD packet to send [19:12:31]OFD Sender: No OFD packet to send [19:12:36]OFD Sender: No OFD packet to send [19:12:41]OFD Sender: No OFD packet to send [19:12:46]OFD Sender: No OFD packet to send [19:12:51]OFD Sender: No OFD packet to send [19:12:56]OFD Sender: No OFD packet to send [19:13:01]OFD Sender: No OFD packet to send [19:13:06]OFD Sender: No OFD packet to send [19:13:11]OFD Sender: No OFD packet to send [19:13:16]OFD Sender: No OFD packet to send [19:13:21]OFD Sender: No OFD packet to send [19:13:26]OFD Sender: No OFD packet to send [19:13:31]OFD Sender: No OFD packet to send [19:13:36]OFD Sender: No OFD packet to send [19:13:41]OFD Sender: No OFD packet to send [19:13:46]OFD Sender: No OFD packet to send [19:13:51]OFD Sender: No OFD packet to send [19:13:56]OFD Sender: No OFD packet to send [19:14:01]OFD Sender: No OFD packet to send [19:14:06]OFD Sender: No OFD packet to send [19:14:11]OFD Sender: No OFD packet to send [19:14:16]OFD Sender: No OFD packet to send [19:14:21]OFD Sender: No OFD packet to send [19:14:26]OFD Sender: No OFD packet to send [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:41]OFD Sender: No OFD packet to send [19:14:41]accept exits with 9 [19:14:41]New connection [19:14:41]New thread 3067391332 created [19:14:41]Thread 3067247972 joined [19:14:41]Waiting for new connection... [19:14:41] Sock 9.Parse request [19:14:41]Sock 9.Check first char [19:14:41]Sock 9.First char is OK [19:14:41]request: POST /json_proto HTTP/1.0 [19:14:41]Method: POST [19:14:41]URL: /json_proto [19:14:41]Method is POST - this is cgi request [19:14:41]url: /json_proto [19:14:41]query_string will be loaded in cgi processing [19:14:41]execute_cgi json_proto POST (null) [19:14:41]execute_cgi path=json_proto method=POST [19:14:41]POST find Content-Length [19:14:41]Host: 172.17.54.195:8080 [19:14:41]Content-Length: 977 [19:14:41]Content-Type: application/json [19:14:41] [19:14:41]POST finish read [19:14:41]Found Content-Length = 977 [19:14:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16387", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 53.200, "sum" : 4000.64, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 178\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 53.20 \u0441\u043E\u043C", "deposit" : 4000.00, "total" : 4000.00, "payments": [ { "type": 0, "sum" : 4000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:14:41]execute_script... [19:14:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16387", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 53.200, "sum" : 4000.64, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0414\u0422\u000A\u043D\u043E\u043C\u0435\u0440 178\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 53.20 \u0441\u043E\u043C", "deposit" : 4000.00, "total" : 4000.00, "payments": [ { "type": 0, "sum" : 4000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:14:41]POST & json_proto [19:14:41]process_json_proto [19:14:41]json parsed OK: [19:14:41]protocol is kg_v1.0 [19:14:41]action value=close_receipt [19:14:41]process_action close_receipt [19:14:41]cmd_close_receipt [19:14:41]MH_GetDate [19:14:41]Write to MH i2c: F0 00 00 50 01 40 [19:14:41]Write i2c OK [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: F0 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: F0 09 00 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: F0 09 00 50 01 00 A1 85 22 67 8D 90 A3 66 1E [19:14:41]GetLastDocTimeStamp 1730315418 [19:14:41]current date 1730315681 [19:14:41]FM_GetShiftState [19:14:41]SAM_PROTO_GetShiftState [19:14:41]wFMCommunicate request_size=4 [19:14:41]MH_SAM_APDU [19:14:41]CAPDU: 80 13 01 00 [19:14:41]Write to MH i2c: E2 08 00 51 01 80 13 01 00 00 00 00 00 CF [19:14:41]Write i2c OK [19:14:41]MH_I2C_Read... [19:14:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:14:41]Read from MH i2c: E2 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 0E 00 [19:14:41]MH_I2C_Read... [19:14:41]Read from MH i2c: E2 0E 00 51 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 14 [19:14:41]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:14:41]wFMCommunicate OK [19:14:41]SAM_PROTO_GetShiftState done [19:14:41]FM_GetShiftState done [19:14:41]opened in 1730247478 [19:14:41]opened+sec_in_day 1730333878 [19:14:41]quantity*price = 400064 [19:14:41]sum+1 = 400065 [19:14:41]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.64 ИТОГО: 4000.00 Внесено: 4000.00 СДАЧА: 0.00 НСП 1% : 35.40 НДС 12% : 424.85 Наличными: 4000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 47 30.10.2024 19:14 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Дисконтная программа ДТ номер 178 сэкономлено 53.20 сом ФМ: 0000000000963325 ФД: 15837 ФПД: 92980250106959 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T191441&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15837&fm=92980250106959&tin=02508201610067®Number=0000000000161798&sum=400000 [19:14:42]StoreToDocumentArchive [19:14:42]shift 173 fd 15837 [19:14:42]save to /storage/0173/doc_00015837 [19:14:42]save last doc name /storage/0173/doc_00015837 to /storage/kkm_last_doc_name [19:14:42]save OK [19:14:42]Clear old archive folders... [19:14:42]ProcessDocumentItem done err = 0, tmpTLVsize=248 [19:14:42]tlvbuf is 01F45A10 [19:14:42]SAM_PROTO_ClearQueue [19:14:42]wFMCommunicate request_size=4 [19:14:42]MH_SAM_APDU [19:14:42]CAPDU: 80 09 00 00 [19:14:42]Write to MH i2c: E2 08 00 5E 01 80 09 00 00 00 00 00 00 D1 [19:14:42]Write i2c OK [19:14:42]MH_I2C_Read... [19:14:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:14:42]Read from MH i2c: E2 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 03 00 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 03 00 5E 01 00 90 00 D3 [19:14:42]RAPDU: 90 00 [19:14:42]wFMCommunicate OK [19:14:42]SAM_PROTO_ClearQueue done [19:14:42]KKMCreateOFDPacket [19:14:42]OFDProtocolAddRootSTLVToBuf [19:14:42]FM_MakeSignedData [19:14:42]FM_MakeSignedData [19:14:42]SAM_PROTO_SignData [19:14:42]wFMCommunicate request_size=4 [19:14:42]MH_SAM_APDU [19:14:42]CAPDU: 80 0D 01 02 [19:14:42]Write to MH i2c: E2 08 00 5F 01 80 0D 01 02 00 00 00 00 D9 [19:14:42]Write i2c OK [19:14:42]MH_I2C_Read... [19:14:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:14:42]Read from MH i2c: E2 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 03 00 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 03 00 5F 01 00 90 00 D4 [19:14:42]RAPDU: 90 00 [19:14:42]wFMCommunicate OK [19:14:42]wFMCommunicate request_size=255 [19:14:42]MH_SAM_APDU [19:14:42]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 CF 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 C0 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 A1 85 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DD 3D 00 00 35 04 06 00 54 90 A6 C7 [19:14:42]Write to MH i2c: E2 02 01 60 01 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 CF 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 C0 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 A1 85 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DD 3D 00 00 35 04 06 00 54 90 A6 C7 00 00 E6 [19:14:42]Write i2c OK [19:14:42]MH_I2C_Read... [19:14:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:14:42]Read from MH i2c: E2 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 03 00 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 03 00 60 01 00 90 00 D5 [19:14:42]RAPDU: 90 00 [19:14:42]wFMCommunicate OK [19:14:42]wFMCommunicate request_size=7 [19:14:42]MH_SAM_APDU [19:14:42]CAPDU: 80 0D 02 02 02 5C 4F [19:14:42]Write to MH i2c: E2 0A 00 61 01 80 0D 02 02 02 00 5C 4F 00 00 8B [19:14:42]Write i2c OK [19:14:42]MH_I2C_Read... [19:14:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:14:42]Read from MH i2c: E2 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 03 00 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 03 00 61 01 00 90 00 D6 [19:14:42]RAPDU: 90 00 [19:14:42]wFMCommunicate OK [19:14:42]wFMCommunicate request_size=4 [19:14:42]MH_SAM_APDU [19:14:42]CAPDU: 80 0D 03 02 [19:14:42]Write to MH i2c: E2 08 00 62 01 80 0D 03 02 00 00 00 00 DE [19:14:42]Write i2c OK [19:14:42]MH_I2C_Read... [19:14:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:14:42]Read from MH i2c: E2 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 0B 00 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 0B 00 62 01 00 23 08 B3 2A 46 84 6C BE 90 00 DB [19:14:42]RAPDU: 23 08 B3 2A 46 84 6C BE 90 00 [19:14:42]wFMCommunicate OK [19:14:42]SAM_PROTO_SignData done [19:14:42]FM_MakeSignedData done [19:14:42]CreateOFDProtocolMessage [19:14:42]wFMCommunicate request_size=4 [19:14:42]MH_SAM_APDU [19:14:42]CAPDU: 80 11 00 00 [19:14:42]Write to MH i2c: E2 08 00 63 01 80 11 00 00 00 00 00 00 DE [19:14:42]Write i2c OK [19:14:42]MH_I2C_Read... [19:14:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:14:42]Read from MH i2c: E2 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 17 00 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: E2 17 00 63 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 2D [19:14:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:14:42]wFMCommunicate OK [19:14:42]CreateOFDProtocolMessage done [19:14:42]OFDSenderStorePacket 15837 [19:14:42]StoreOFDPacket docnum=15837 [19:14:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 DB A4 04 01 8E 1D 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 CF 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 C0 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 A1 85 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DD 3D 00 00 35 04 06 00 54 90 A6 C7 5C 4F 23 08 B3 2A 46 84 6C BE [19:14:42]CheckFolder [19:14:42]dirname=/storage/ofd_packets [19:14:42]CheckFolder done [19:14:42]ProducePacketName [19:14:42]name=ofd_packets/00015837 [19:14:42]NVStorageSaveData ofd_packets/00015837 [19:14:42]File name is /storage/ofd_packets/00015837 [19:14:42]Write 298 bytes [19:14:42]NVStorageSaveData done [19:14:42]OFDSenderStorePacket done [19:14:42]KKMCreateOFDPacket done [19:14:42]NVStorageSaveData kkm_last_timestamp [19:14:42]File name is /storage/kkm_last_timestamp [19:14:42]Write 4 bytes [19:14:42]NVStorageSaveData done [19:14:42]ExternCall_PrintAddStr [19:14:42]wPrintStart [19:14:42]Write to MH i2c: 01 00 00 64 01 65 [19:14:42]Write i2c OK [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: 01 [19:14:42]MH_I2C_Read... [19:14:42]Read from MH i2c: 01 07 00 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: 01 07 00 64 01 00 00 00 00 00 FF 0F 7A [19:14:43]RasterBufferAndPrint [19:14:43]line Счет N : (1)16387 [19:14:43]line ИНН: 02508201610067 [19:14:43]line Контрольно-Кассовый Чек [19:14:43]line ПРОДАЖА [19:14:43]line ТРК (МРК, ГНК) : 22 [19:14:43]line Товар: 2710194210 [19:14:43]line ДТ-К-5 [19:14:43]line 53.200 * 75.20 [19:14:43]line = 4000.64 [19:14:43]line НДС 12% НСП 1% [19:14:43]line > о реализуемом товаре [19:14:43]line ОКРУГЛЕНИЕ: -0.64 [19:14:43]line ИТОГО: 4000.00 [19:14:43]line Внесено: 4000.00 [19:14:43]line СДАЧА: 0.00 [19:14:43]line НСП 1% : 35.40 [19:14:43]line НДС 12% : 424.85 [19:14:43]line Наличными: 4000.00 [19:14:43]line Безнал.: 0.00 [19:14:43]line Место: АЗС № 178 "Партнер Нефть" [19:14:43]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [19:14:43]line СНО: Общий режим [19:14:43]line Чек 47 30.10.2024 19:14 [19:14:43]line Смена: 173 ФФД: 1.0 [19:14:43]line ЗНМ: 0300000014 [19:14:43]line РНМ: 0000000000161798 [19:14:43]line Версия ККМ: v1.0 [19:14:43]line [19:14:43]line Дисконтная программа [19:14:43]line ДТ [19:14:43]line номер 178 [19:14:43]line сэкономлено 53.20 сом [19:14:43]line ФМ: 0000000000963325 [19:14:43]line ФД: 15837 [19:14:43]line ФПД: 92980250106959 [19:14:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T191441&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15837&fm=92980250106959&tin=02508201610067®Number=0000000000161798&sum=400000 [19:14:43]OFD Sender: Processing packet 15837 [packets to send 4, broken 3] [19:14:43]ProducePacketName [19:14:43]name=ofd_packets/00015837 [19:14:43]OFD Sender: To server: pG, [19:14:43]CommunicateWithHost lk.salyk.kg:30040 [19:14:43]ConnectInit lk.salyk.kg [19:14:43]written 0, free lines is 4095 [19:14:43]Connected sock=10 [19:14:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 DB A4 04 01 8E 1D 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D0 CF 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 C0 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 A5 00 00 00 00 07 04 06 00 80 1A 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 A1 85 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DD 3D 00 00 35 04 06 00 54 90 A6 C7 5C 4F 23 08 B3 2A 46 84 6C BE [19:14:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 2F B1 47 00 97 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 36 33 33 32 35 10 04 04 00 DD 3D 00 00 F4 03 04 00 8A 30 22 67 B6 04 01 00 00 C5 1B 7A 02 C7 04 7E 2B [19:14:43]CommunicateWithHost err = 0 [19:14:43]CheckOFDResponse [19:14:43]1017 (14) - 77093643461234 [19:14:43]1041 (16) - 0000000000963325 [19:14:43]1040 (4) - 15837 [19:14:43]1012 (4) - 30.10.2024 13:11 [19:14:43]1206 (1) - 0 [19:14:43]OFD Sender: Remove packet 15837 [19:14:43]ProducePacketName [19:14:43]name=ofd_packets/00015837 [19:14:43]NVStorageDeleteData [19:14:43]Write to MH i2c: 01 00 00 94 01 95 [19:14:43]Write i2c OK [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: 01 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: 01 07 00 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: 01 07 00 94 01 00 00 00 00 00 97 0C 3F [19:14:43]RasterBufferAndPrint [19:14:43]line [19:14:43]line [19:14:43]line [19:14:43]line [19:14:43]line [19:14:43]written 0, free lines is 3229 [19:14:43]MH_Cut [19:14:43]Write to MH i2c: D1 01 00 9B 01 01 6E [19:14:43]Write i2c OK [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: D1 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: D1 01 00 [19:14:43]MH_I2C_Read... [19:14:43]Read from MH i2c: D1 01 00 9B 01 00 6D [19:14:43]Write to MH i2c: 01 00 00 9C 01 9D [19:14:43]Write i2c OK [19:14:43]MH_I2C_Read... [19:14:44]OFD Sender: No OFD packet to send [19:14:44]*** Cut start [19:14:44]*** Partial cut [19:14:44]*** CUTSNS_PIN = 1 [19:14:44]*** CUTSNS_PIN = 0 [19:14:44]*** Brake cut motor [19:14:45]Read from MH i2c: 01 [19:14:45]MH_I2C_Read... [19:14:45]*** Stop cut motor [19:14:45]*** Cut end [19:14:45]Read from MH i2c: 01 07 00 [19:14:45]MH_I2C_Read... [19:14:45]Read from MH i2c: 01 07 00 9C 01 00 00 00 00 00 FF 0F B2 [19:14:45]process_action close_receipt done [19:14:45]requested_data is exist [19:14:45]produce_requested_data [19:14:45]requested_item fm.sn is exist - process it [19:14:45]wFMCommunicate request_size=4 [19:14:45]MH_SAM_APDU [19:14:45]CAPDU: 80 11 00 00 [19:14:45]Write to MH i2c: E2 08 00 9D 01 80 11 00 00 00 00 00 00 18 [19:14:45]Write i2c OK [19:14:45]MH_I2C_Read... [19:14:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:14:45]Read from MH i2c: E2 [19:14:45]MH_I2C_Read... [19:14:45]Read from MH i2c: E2 17 00 [19:14:45]MH_I2C_Read... [19:14:45]Read from MH i2c: E2 17 00 9D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 67 [19:14:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:14:45]wFMCommunicate OK [19:14:45]requested_item fd.num is exist - process it [19:14:45]SAM_PROTO_GetFieldsCounters [19:14:45]wFMCommunicate request_size=4 [19:14:45]MH_SAM_APDU [19:14:45]CAPDU: 80 13 00 00 [19:14:45]Write to MH i2c: E2 08 00 9E 01 80 13 00 00 00 00 00 00 1B [19:14:45]Write i2c OK [19:14:45]MH_I2C_Read... [19:14:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:14:45]Read from MH i2c: E2 [19:14:45]MH_I2C_Read... [19:14:45]Read from MH i2c: E2 62 00 [19:14:45]MH_I2C_Read... [19:14:45]Read from MH i2c: E2 62 00 9E 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DD 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 93 [19:14:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DD 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:14:45]wFMCommunicate OK [19:14:45]SAM_PROTO_GetFieldsCounters done [19:14:45]requested_item shift.num is exist - process it [19:14:45]requested_item shift.opened is exist - process it [19:14:45]req_shift_opened [19:14:45]FM_GetShiftState [19:14:45]SAM_PROTO_GetShiftState [19:14:45]wFMCommunicate request_size=4 [19:14:45]MH_SAM_APDU [19:14:45]CAPDU: 80 13 01 00 [19:14:45]Write to MH i2c: E2 08 00 9F 01 80 13 01 00 00 00 00 00 1D [19:14:45]Write i2c OK [19:14:45]MH_I2C_Read... [19:14:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:14:45]Read from MH i2c: E2 [19:14:45]MH_I2C_Read... [19:14:45]Read from MH i2c: E2 0E 00 [19:14:45]MH_I2C_Read... [19:14:45]Read from MH i2c: E2 0E 00 9F 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 62 [19:14:45]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:14:45]wFMCommunicate OK [19:14:45]SAM_PROTO_GetShiftState done [19:14:45]FM_GetShiftState done [19:14:45]req_shift_opened done [19:14:45]requested_item shift.open_date is exist - process it [19:14:45]req_shift_open_date [19:14:45]req_shift_open_date done [19:14:45]produce_requested_data done [19:14:45]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15837,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [19:14:45]process_action_free close_receipt [19:14:45]json_value_free [19:14:45]json_value_free done [19:14:45]process_json_proto returns [19:14:45]Send response to host [19:14:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15837,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [19:14:45]free response buf [19:14:45]execute_script done [19:14:45]execute_script returns [19:14:45]free content buf [19:14:45]Sock 9.Close socket [19:14:45]Sock 9.Thread stoped [19:14:49]OFD Sender: No OFD packet to send [19:14:54]OFD Sender: No OFD packet to send [19:14:59]OFD Sender: No OFD packet to send [19:15:04]OFD Sender: No OFD packet to send [19:15:09]OFD Sender: No OFD packet to send [19:15:14]OFD Sender: No OFD packet to send [19:15:19]OFD Sender: No OFD packet to send [19:15:24]OFD Sender: No OFD packet to send [19:15:29]OFD Sender: No OFD packet to send [19:15:34]OFD Sender: No OFD packet to send [19:15:39]OFD Sender: No OFD packet to send [19:15:44]OFD Sender: No OFD packet to send [19:15:49]OFD Sender: No OFD packet to send [19:15:54]OFD Sender: No OFD packet to send [19:15:59]OFD Sender: No OFD packet to send [19:16:04]OFD Sender: No OFD packet to send [19:16:09]OFD Sender: No OFD packet to send [19:16:14]OFD Sender: No OFD packet to send [19:16:19]OFD Sender: No OFD packet to send [19:16:24]OFD Sender: No OFD packet to send [19:16:29]OFD Sender: No OFD packet to send [19:16:34]OFD Sender: No OFD packet to send [19:16:39]OFD Sender: No OFD packet to send [19:16:44]OFD Sender: No OFD packet to send [19:16:49]OFD Sender: No OFD packet to send [19:16:54]OFD Sender: No OFD packet to send [19:16:59]OFD Sender: No OFD packet to send [19:17:04]OFD Sender: No OFD packet to send [19:17:09]OFD Sender: No OFD packet to send [19:17:14]OFD Sender: No OFD packet to send [19:17:19]OFD Sender: No OFD packet to send [19:17:24]OFD Sender: No OFD packet to send [19:17:29]OFD Sender: No OFD packet to send [19:17:34]OFD Sender: No OFD packet to send [19:17:39]OFD Sender: No OFD packet to send [19:17:44]OFD Sender: No OFD packet to send [19:17:49]OFD Sender: No OFD packet to send [19:17:54]OFD Sender: No OFD packet to send [19:17:59]OFD Sender: No OFD packet to send [19:18:04]OFD Sender: No OFD packet to send [19:18:09]OFD Sender: No OFD packet to send [19:18:14]OFD Sender: No OFD packet to send [19:18:19]OFD Sender: No OFD packet to send [19:18:24]OFD Sender: No OFD packet to send [19:18:29]OFD Sender: No OFD packet to send [19:18:34]OFD Sender: No OFD packet to send [19:18:39]OFD Sender: No OFD packet to send [19:18:44]OFD Sender: No OFD packet to send [19:18:49]OFD Sender: No OFD packet to send [19:18:54]OFD Sender: No OFD packet to send [19:18:59]OFD Sender: No OFD packet to send [19:19:04]OFD Sender: No OFD packet to send [19:19:09]OFD Sender: No OFD packet to send [19:19:14]OFD Sender: No OFD packet to send [19:19:19]OFD Sender: No OFD packet to send [19:19:24]OFD Sender: No OFD packet to send [19:19:29]OFD Sender: No OFD packet to send [19:19:34]OFD Sender: No OFD packet to send [19:19:39]OFD Sender: No OFD packet to send [19:19:44]OFD Sender: No OFD packet to send [19:19:49]OFD Sender: No OFD packet to send [19:19:54]OFD Sender: No OFD packet to send [19:19:59]OFD Sender: No OFD packet to send [19:20:04]OFD Sender: No OFD packet to send [19:20:09]OFD Sender: No OFD packet to send [19:20:14]OFD Sender: No OFD packet to send [19:20:19]OFD Sender: No OFD packet to send [19:20:24]OFD Sender: No OFD packet to send [19:20:29]OFD Sender: No OFD packet to send [19:20:34]OFD Sender: No OFD packet to send [19:20:39]OFD Sender: No OFD packet to send [19:20:44]OFD Sender: No OFD packet to send [19:20:49]OFD Sender: No OFD packet to send [19:20:54]OFD Sender: No OFD packet to send [19:20:59]OFD Sender: No OFD packet to send [19:21:04]OFD Sender: No OFD packet to send [19:21:09]OFD Sender: No OFD packet to send [19:21:14]OFD Sender: No OFD packet to send [19:21:19]OFD Sender: No OFD packet to send [19:21:24]OFD Sender: No OFD packet to send [19:21:29]OFD Sender: No OFD packet to send [19:21:34]OFD Sender: No OFD packet to send [19:21:39]OFD Sender: No OFD packet to send [19:21:44]OFD Sender: No OFD packet to send [19:21:49]OFD Sender: No OFD packet to send [19:21:54]OFD Sender: No OFD packet to send [19:21:59]OFD Sender: No OFD packet to send [19:22:04]OFD Sender: No OFD packet to send [19:22:09]OFD Sender: No OFD packet to send [19:22:14]OFD Sender: No OFD packet to send [19:22:19]OFD Sender: No OFD packet to send [19:22:24]OFD Sender: No OFD packet to send [19:22:29]OFD Sender: No OFD packet to send [19:22:34]OFD Sender: No OFD packet to send [19:22:39]OFD Sender: No OFD packet to send [19:22:44]OFD Sender: No OFD packet to send [19:22:49]OFD Sender: No OFD packet to send [19:22:54]OFD Sender: No OFD packet to send [19:22:59]OFD Sender: No OFD packet to send [19:23:04]OFD Sender: No OFD packet to send [19:23:09]OFD Sender: No OFD packet to send [19:23:14]OFD Sender: No OFD packet to send [19:23:19]OFD Sender: No OFD packet to send [19:23:24]OFD Sender: No OFD packet to send [19:23:29]OFD Sender: No OFD packet to send [19:23:34]OFD Sender: No OFD packet to send [19:23:39]OFD Sender: No OFD packet to send [19:23:44]OFD Sender: No OFD packet to send [19:23:49]OFD Sender: No OFD packet to send [19:23:54]OFD Sender: No OFD packet to send [19:23:59]OFD Sender: No OFD packet to send [19:24:04]OFD Sender: No OFD packet to send [19:24:09]OFD Sender: No OFD packet to send [19:24:14]OFD Sender: No OFD packet to send [19:24:19]OFD Sender: No OFD packet to send [19:24:24]OFD Sender: No OFD packet to send [19:24:29]OFD Sender: No OFD packet to send [19:24:34]OFD Sender: No OFD packet to send [19:24:39]OFD Sender: No OFD packet to send [19:24:44]OFD Sender: No OFD packet to send [19:24:49]OFD Sender: No OFD packet to send [19:24:54]OFD Sender: No OFD packet to send [19:24:59]OFD Sender: No OFD packet to send [19:25:04]OFD Sender: No OFD packet to send [19:25:09]OFD Sender: No OFD packet to send [19:25:14]OFD Sender: No OFD packet to send [19:25:19]OFD Sender: No OFD packet to send [19:25:24]OFD Sender: No OFD packet to send [19:25:29]OFD Sender: No OFD packet to send [19:25:34]OFD Sender: No OFD packet to send [19:25:39]OFD Sender: No OFD packet to send [19:25:44]OFD Sender: No OFD packet to send [19:25:49]OFD Sender: No OFD packet to send [19:25:54]OFD Sender: No OFD packet to send [19:25:59]OFD Sender: No OFD packet to send [19:26:04]OFD Sender: No OFD packet to send [19:26:09]OFD Sender: No OFD packet to send [19:26:14]OFD Sender: No OFD packet to send [19:26:19]OFD Sender: No OFD packet to send [19:26:24]OFD Sender: No OFD packet to send [19:26:29]OFD Sender: No OFD packet to send [19:26:34]OFD Sender: No OFD packet to send [19:26:39]OFD Sender: No OFD packet to send [19:26:44]OFD Sender: No OFD packet to send [19:26:49]OFD Sender: No OFD packet to send [19:26:54]OFD Sender: No OFD packet to send [19:26:59]OFD Sender: No OFD packet to send [19:27:04]OFD Sender: No OFD packet to send [19:27:09]OFD Sender: No OFD packet to send [19:27:14]OFD Sender: No OFD packet to send [19:27:19]OFD Sender: No OFD packet to send [19:27:24]OFD Sender: No OFD packet to send [19:27:29]OFD Sender: No OFD packet to send [19:27:34]OFD Sender: No OFD packet to send [19:27:39]OFD Sender: No OFD packet to send [19:27:44]OFD Sender: No OFD packet to send [19:27:49]OFD Sender: No OFD packet to send [19:27:54]OFD Sender: No OFD packet to send [19:27:59]OFD Sender: No OFD packet to send [19:28:04]OFD Sender: No OFD packet to send [19:28:09]OFD Sender: No OFD packet to send [19:28:13]accept exits with 7 [19:28:13]New connection [19:28:13]New thread 3067247972 created [19:28:13]Thread 3067391332 joined [19:28:13]Waiting for new connection... [19:28:13] Sock 7.Parse request [19:28:13]Sock 7.Check first char [19:28:13]Sock 7.First char is OK [19:28:13]request: POST /json_proto HTTP/1.0 [19:28:13]Method: POST [19:28:13]URL: /json_proto [19:28:13]Method is POST - this is cgi request [19:28:13]url: /json_proto [19:28:13]query_string will be loaded in cgi processing [19:28:13]execute_cgi json_proto POST (null) [19:28:13]execute_cgi path=json_proto method=POST [19:28:13]POST find Content-Length [19:28:13]Host: 172.17.54.195:8080 [19:28:13]Content-Length: 678 [19:28:13]Content-Type: application/json [19:28:13] [19:28:13]POST finish read [19:28:13]Found Content-Length = 678 [19:28:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16388", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:28:13]execute_script... [19:28: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)16388", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:28:13]POST & json_proto [19:28:13]process_json_proto [19:28:13]json parsed OK: [19:28:13]protocol is kg_v1.0 [19:28:13]action value=close_receipt [19:28:13]process_action close_receipt [19:28:13]cmd_close_receipt [19:28:13]MH_GetDate [19:28:13]Write to MH i2c: F0 00 00 A0 01 90 [19:28:13]Write i2c OK [19:28:13]MH_I2C_Read... [19:28:13]Read from MH i2c: F0 [19:28:13]MH_I2C_Read... [19:28:13]Read from MH i2c: F0 09 00 [19:28:13]MH_I2C_Read... [19:28:13]Read from MH i2c: F0 09 00 A0 01 00 CD 88 22 67 8D 90 A3 66 9D [19:28:13]GetLastDocTimeStamp 1730315681 [19:28:13]current date 1730316493 [19:28:13]FM_GetShiftState [19:28:13]SAM_PROTO_GetShiftState [19:28:13]wFMCommunicate request_size=4 [19:28:13]MH_SAM_APDU [19:28:13]CAPDU: 80 13 01 00 [19:28:13]Write to MH i2c: E2 08 00 A1 01 80 13 01 00 00 00 00 00 1F [19:28:13]Write i2c OK [19:28:13]MH_I2C_Read... [19:28:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:28:13]Read from MH i2c: E2 [19:28:13]MH_I2C_Read... [19:28:13]Read from MH i2c: E2 0E 00 [19:28:13]MH_I2C_Read... [19:28:13]Read from MH i2c: E2 0E 00 A1 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 64 [19:28:13]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:28:13]wFMCommunicate OK [19:28:13]SAM_PROTO_GetShiftState done [19:28:13]FM_GetShiftState done [19:28:13]opened in 1730247478 [19:28:13]opened+sec_in_day 1730333878 [19:28:13]quantity*price = 100050 [19:28:13]sum+1 = 100052 [19:28:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 48 30.10.2024 19:28 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15838 ФПД: 166953862095400 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T192813&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15838&fm=166953862095400&tin=02508201610067®Number=0000000000161798&sum=100000 [19:28:14]StoreToDocumentArchive [19:28:14]shift 173 fd 15838 [19:28:14]save to /storage/0173/doc_00015838 [19:28:14]save last doc name /storage/0173/doc_00015838 to /storage/kkm_last_doc_name [19:28:14]save OK [19:28:14]Clear old archive folders... [19:28:14]ProcessDocumentItem done err = 0, tmpTLVsize=248 [19:28:14]tlvbuf is 01F3A330 [19:28:14]SAM_PROTO_ClearQueue [19:28:14]wFMCommunicate request_size=4 [19:28:14]MH_SAM_APDU [19:28:14]CAPDU: 80 09 00 00 [19:28:14]Write to MH i2c: E2 08 00 AE 01 80 09 00 00 00 00 00 00 21 [19:28:14]Write i2c OK [19:28:14]MH_I2C_Read... [19:28:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:28:14]Read from MH i2c: E2 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 03 00 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 03 00 AE 01 00 90 00 23 [19:28:14]RAPDU: 90 00 [19:28:14]wFMCommunicate OK [19:28:14]SAM_PROTO_ClearQueue done [19:28:14]KKMCreateOFDPacket [19:28:14]OFDProtocolAddRootSTLVToBuf [19:28:14]FM_MakeSignedData [19:28:14]FM_MakeSignedData [19:28:14]SAM_PROTO_SignData [19:28:14]wFMCommunicate request_size=4 [19:28:14]MH_SAM_APDU [19:28:14]CAPDU: 80 0D 01 02 [19:28:14]Write to MH i2c: E2 08 00 AF 01 80 0D 01 02 00 00 00 00 29 [19:28:14]Write i2c OK [19:28:14]MH_I2C_Read... [19:28:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:28:14]Read from MH i2c: E2 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 03 00 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 03 00 AF 01 00 90 00 24 [19:28:14]RAPDU: 90 00 [19:28:14]wFMCommunicate OK [19:28:14]wFMCommunicate request_size=255 [19:28:14]MH_SAM_APDU [19:28:14]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 CD 88 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DE 3D 00 00 35 04 06 00 97 D7 F9 A4 [19:28:14]Write to MH i2c: E2 02 01 B0 01 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 CD 88 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DE 3D 00 00 35 04 06 00 97 D7 F9 A4 00 00 92 [19:28:14]Write i2c OK [19:28:14]MH_I2C_Read... [19:28:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:28:14]Read from MH i2c: E2 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 03 00 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 03 00 B0 01 00 90 00 25 [19:28:14]RAPDU: 90 00 [19:28:14]wFMCommunicate OK [19:28:14]wFMCommunicate request_size=7 [19:28:14]MH_SAM_APDU [19:28:14]CAPDU: 80 0D 02 02 02 E2 28 [19:28:14]Write to MH i2c: E2 0A 00 B1 01 80 0D 02 02 02 00 E2 28 00 00 3A [19:28:14]Write i2c OK [19:28:14]MH_I2C_Read... [19:28:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:28:14]Read from MH i2c: E2 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 03 00 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 03 00 B1 01 00 90 00 26 [19:28:14]RAPDU: 90 00 [19:28:14]wFMCommunicate OK [19:28:14]wFMCommunicate request_size=4 [19:28:14]MH_SAM_APDU [19:28:14]CAPDU: 80 0D 03 02 [19:28:14]Write to MH i2c: E2 08 00 B2 01 80 0D 03 02 00 00 00 00 2E [19:28:14]Write i2c OK [19:28:14]MH_I2C_Read... [19:28:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:28:14]Read from MH i2c: E2 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 0B 00 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 0B 00 B2 01 00 B8 C8 04 70 EB CC 37 DA 90 00 EB [19:28:14]RAPDU: B8 C8 04 70 EB CC 37 DA 90 00 [19:28:14]wFMCommunicate OK [19:28:14]SAM_PROTO_SignData done [19:28:14]FM_MakeSignedData done [19:28:14]CreateOFDProtocolMessage [19:28:14]wFMCommunicate request_size=4 [19:28:14]MH_SAM_APDU [19:28:14]CAPDU: 80 11 00 00 [19:28:14]Write to MH i2c: E2 08 00 B3 01 80 11 00 00 00 00 00 00 2E [19:28:14]Write i2c OK [19:28:14]MH_I2C_Read... [19:28:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:28:14]Read from MH i2c: E2 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 17 00 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: E2 17 00 B3 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 7D [19:28:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:28:14]wFMCommunicate OK [19:28:14]CreateOFDProtocolMessage done [19:28:14]OFDSenderStorePacket 15838 [19:28:14]StoreOFDPacket docnum=15838 [19:28:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 F4 CF 04 01 E6 93 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 CD 88 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DE 3D 00 00 35 04 06 00 97 D7 F9 A4 E2 28 B8 C8 04 70 EB CC 37 DA [19:28:14]CheckFolder [19:28:14]dirname=/storage/ofd_packets [19:28:14]CheckFolder done [19:28:14]ProducePacketName [19:28:14]name=ofd_packets/00015838 [19:28:14]NVStorageSaveData ofd_packets/00015838 [19:28:14]File name is /storage/ofd_packets/00015838 [19:28:14]Write 298 bytes [19:28:14]NVStorageSaveData done [19:28:14]OFDSenderStorePacket done [19:28:14]KKMCreateOFDPacket done [19:28:14]NVStorageSaveData kkm_last_timestamp [19:28:14]File name is /storage/kkm_last_timestamp [19:28:14]Write 4 bytes [19:28:14]NVStorageSaveData done [19:28:14]ExternCall_PrintAddStr [19:28:14]wPrintStart [19:28:14]Write to MH i2c: 01 00 00 B4 01 B5 [19:28:14]Write i2c OK [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: 01 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: 01 07 00 [19:28:14]MH_I2C_Read... [19:28:14]Read from MH i2c: 01 07 00 B4 01 00 00 00 00 00 FF 0F CA [19:28:14]RasterBufferAndPrint [19:28:14]line Счет N : (1)16388 [19:28:14]line ИНН: 02508201610067 [19:28:14]line Контрольно-Кассовый Чек [19:28:14]line ПРОДАЖА [19:28:14]line ТРК (МРК, ГНК) : 31 [19:28:14]line Товар: 2710194210 [19:28:14]line ДТ-К-5 [19:28:14]line 13.130 * 76.20 [19:28:14]line = 1000.51 [19:28:14]line НДС 12% НСП 1% [19:28:14]line > о реализуемом товаре [19:28:14]line ОКРУГЛЕНИЕ: -0.51 [19:28:14]line ИТОГО: 1000.00 [19:28:14]line Внесено: 1000.00 [19:28:14]line СДАЧА: 0.00 [19:28:14]line НСП 1% : 8.85 [19:28:14]line НДС 12% : 106.25 [19:28:14]line Наличными: 1000.00 [19:28:14]line Безнал.: 0.00 [19:28:14]line Место: АЗС № 178 "Партнер Нефть" [19:28:14]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [19:28:14]line СНО: Общий режим [19:28:14]line Чек 48 30.10.2024 19:28 [19:28:14]line Смена: 173 ФФД: 1.0 [19:28:14]line ЗНМ: 0300000014 [19:28:14]line РНМ: 0000000000161798 [19:28:14]line Версия ККМ: v1.0 [19:28:14]line ФМ: 0000000000963325 [19:28:14]line ФД: 15838 [19:28:15]line ФПД: 166953862095400 [19:28:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T192813&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15838&fm=166953862095400&tin=02508201610067®Number=0000000000161798&sum=100000 [19:28:15]OFD Sender: Processing packet 15838 [packets to send 4, broken 3] [19:28:15]ProducePacketName [19:28:15]name=ofd_packets/00015838 [19:28:15]OFD Sender: To server: pG, [19:28:15]CommunicateWithHost lk.salyk.kg:30040 [19:28:15]ConnectInit lk.salyk.kg [19:28:15]written 0, free lines is 4095 [19:28:15]Connected sock=10 [19:28:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 F4 CF 04 01 E6 93 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 CD 88 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DE 3D 00 00 35 04 06 00 97 D7 F9 A4 E2 28 B8 C8 04 70 EB CC 37 DA [19:28:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 C1 14 47 00 21 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DE 3D 00 00 F4 03 04 00 B5 33 22 67 B6 04 01 00 00 AE 48 47 2A F6 D4 4B A4 [19:28:15]CommunicateWithHost err = 0 [19:28:15]CheckOFDResponse [19:28:15]1017 (14) - 77093643461234 [19:28:15]1041 (16) - 0000000000963325 [19:28:15]1040 (4) - 15838 [19:28:15]1012 (4) - 30.10.2024 13:25 [19:28:15]1206 (1) - 0 [19:28:15]OFD Sender: Remove packet 15838 [19:28:15]ProducePacketName [19:28:15]name=ofd_packets/00015838 [19:28:15]NVStorageDeleteData [19:28:15]Write to MH i2c: 01 00 00 DF 01 E0 [19:28:15]Write i2c OK [19:28:15]MH_I2C_Read... [19:28:15]Read from MH i2c: 01 [19:28:15]MH_I2C_Read... [19:28:15]Read from MH i2c: 01 07 00 [19:28:15]MH_I2C_Read... [19:28:15]Read from MH i2c: 01 07 00 DF 01 00 00 00 00 00 EE 0C E1 [19:28:15]RasterBufferAndPrint [19:28:15]line [19:28:15]line [19:28:15]line [19:28:15]line [19:28:15]line [19:28:15]written 0, free lines is 3316 [19:28:15]MH_Cut [19:28:15]Write to MH i2c: D1 01 00 E6 01 01 B9 [19:28:15]Write i2c OK [19:28:15]MH_I2C_Read... [19:28:15]Read from MH i2c: D1 [19:28:15]MH_I2C_Read... [19:28:15]Read from MH i2c: D1 01 00 [19:28:15]MH_I2C_Read... [19:28:15]Read from MH i2c: D1 01 00 E6 01 00 B8 [19:28:15]Write to MH i2c: 01 00 00 E7 01 E8 [19:28:15]Write i2c OK [19:28:15]MH_I2C_Read... [19:28:15]OFD Sender: No OFD packet to send [19:28:16]*** Cut start [19:28:16]*** Partial cut [19:28:16]*** CUTSNS_PIN = 1 [19:28:16]*** CUTSNS_PIN = 0 [19:28:16]*** Brake cut motor [19:28:16]Read from MH i2c: 01 [19:28:16]MH_I2C_Read... [19:28:16]*** Stop cut motor [19:28:16]*** Cut end [19:28:16]Read from MH i2c: 01 07 00 [19:28:16]MH_I2C_Read... [19:28:16]Read from MH i2c: 01 07 00 E7 01 00 00 00 00 00 FF 0F FD [19:28:16]process_action close_receipt done [19:28:16]requested_data is exist [19:28:16]produce_requested_data [19:28:16]requested_item fm.sn is exist - process it [19:28:16]wFMCommunicate request_size=4 [19:28:16]MH_SAM_APDU [19:28:16]CAPDU: 80 11 00 00 [19:28:16]Write to MH i2c: E2 08 00 E8 01 80 11 00 00 00 00 00 00 63 [19:28:16]Write i2c OK [19:28:16]MH_I2C_Read... [19:28:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:28:16]Read from MH i2c: E2 [19:28:16]MH_I2C_Read... [19:28:16]Read from MH i2c: E2 17 00 [19:28:16]MH_I2C_Read... [19:28:16]Read from MH i2c: E2 17 00 E8 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 B2 [19:28:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:28:16]wFMCommunicate OK [19:28:16]requested_item fd.num is exist - process it [19:28:16]SAM_PROTO_GetFieldsCounters [19:28:16]wFMCommunicate request_size=4 [19:28:16]MH_SAM_APDU [19:28:16]CAPDU: 80 13 00 00 [19:28:16]Write to MH i2c: E2 08 00 E9 01 80 13 00 00 00 00 00 00 66 [19:28:16]Write i2c OK [19:28:16]MH_I2C_Read... [19:28:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:28:17]Read from MH i2c: E2 [19:28:17]MH_I2C_Read... [19:28:17]Read from MH i2c: E2 62 00 [19:28:17]MH_I2C_Read... [19:28:17]Read from MH i2c: E2 62 00 E9 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DE 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [19:28:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DE 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:28:17]wFMCommunicate OK [19:28:17]SAM_PROTO_GetFieldsCounters done [19:28:17]requested_item shift.num is exist - process it [19:28:17]requested_item shift.opened is exist - process it [19:28:17]req_shift_opened [19:28:17]FM_GetShiftState [19:28:17]SAM_PROTO_GetShiftState [19:28:17]wFMCommunicate request_size=4 [19:28:17]MH_SAM_APDU [19:28:17]CAPDU: 80 13 01 00 [19:28:17]Write to MH i2c: E2 08 00 EA 01 80 13 01 00 00 00 00 00 68 [19:28:17]Write i2c OK [19:28:17]MH_I2C_Read... [19:28:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:28:17]Read from MH i2c: E2 [19:28:17]MH_I2C_Read... [19:28:17]Read from MH i2c: E2 0E 00 [19:28:17]MH_I2C_Read... [19:28:17]Read from MH i2c: E2 0E 00 EA 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 AD [19:28:17]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:28:17]wFMCommunicate OK [19:28:17]SAM_PROTO_GetShiftState done [19:28:17]FM_GetShiftState done [19:28:17]req_shift_opened done [19:28:17]requested_item shift.open_date is exist - process it [19:28:17]req_shift_open_date [19:28:17]req_shift_open_date done [19:28:17]produce_requested_data done [19:28:17]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15838,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [19:28:17]process_action_free close_receipt [19:28:17]json_value_free [19:28:17]json_value_free done [19:28:17]process_json_proto returns [19:28:17]Send response to host [19:28:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15838,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [19:28:17]free response buf [19:28:17]execute_script done [19:28:17]execute_script returns [19:28:17]free content buf [19:28:17]Sock 7.Close socket [19:28:17]Sock 7.Thread stoped [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:40]OFD Sender: No OFD packet to send [19:30:45]OFD Sender: No OFD packet to send [19:30:50]OFD Sender: No OFD packet to send [19:30:55]OFD Sender: No OFD packet to send [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:16]OFD Sender: No OFD packet to send [19:31:21]OFD Sender: No OFD packet to send [19:31:26]OFD Sender: No OFD packet to send [19:31:31]OFD Sender: No OFD packet to send [19:31:36]OFD Sender: No OFD packet to send [19:31:41]OFD Sender: No OFD packet to send [19:31:46]OFD Sender: No OFD packet to send [19:31:51]OFD Sender: No OFD packet to send [19:31:56]OFD Sender: No OFD packet to send [19:32:01]OFD Sender: No OFD packet to send [19:32:06]OFD Sender: No OFD packet to send [19:32:11]OFD Sender: No OFD packet to send [19:32:16]OFD Sender: No OFD packet to send [19:32:21]OFD Sender: No OFD packet to send [19:32:26]OFD Sender: No OFD packet to send [19:32:31]OFD Sender: No OFD packet to send [19:32:36]OFD Sender: No OFD packet to send [19:32:41]OFD Sender: No OFD packet to send [19:32:46]OFD Sender: No OFD packet to send [19:32:51]OFD Sender: No OFD packet to send [19:32:56]OFD Sender: No OFD packet to send [19:33:01]OFD Sender: No OFD packet to send [19:33:06]OFD Sender: No OFD packet to send [19:33:11]OFD Sender: No OFD packet to send [19:33:16]OFD Sender: No OFD packet to send [19:33:21]OFD Sender: No OFD packet to send [19:33:26]OFD Sender: No OFD packet to send [19:33:31]OFD Sender: No OFD packet to send [19:33:36]OFD Sender: No OFD packet to send [19:33:41]OFD Sender: No OFD packet to send [19:33:46]OFD Sender: No OFD packet to send [19:33:51]OFD Sender: No OFD packet to send [19:33:56]OFD Sender: No OFD packet to send [19:34:01]OFD Sender: No OFD packet to send [19:34:06]OFD Sender: No OFD packet to send [19:34:11]OFD Sender: No OFD packet to send [19:34:16]OFD Sender: No OFD packet to send [19:34:21]OFD Sender: No OFD packet to send [19:34:26]OFD Sender: No OFD packet to send [19:34:31]OFD Sender: No OFD packet to send [19:34:36]OFD Sender: No OFD packet to send [19:34:41]OFD Sender: No OFD packet to send [19:34:46]OFD Sender: No OFD packet to send [19:34:51]OFD Sender: No OFD packet to send [19:34:56]OFD Sender: No OFD packet to send [19:35:01]OFD Sender: No OFD packet to send [19:35:06]OFD Sender: No OFD packet to send [19:35:11]OFD Sender: No OFD packet to send [19:35:16]OFD Sender: No OFD packet to send [19:35:21]OFD Sender: No OFD packet to send [19:35:26]OFD Sender: No OFD packet to send [19:35:31]OFD Sender: No OFD packet to send [19:35:36]OFD Sender: No OFD packet to send [19:35:41]OFD Sender: No OFD packet to send [19:35:46]OFD Sender: No OFD packet to send [19:35:51]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:26]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:19]ConnectInit Can't connect to host [19:40:21]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:01]OFD Sender: No OFD packet to send [19:42:06]OFD Sender: No OFD packet to send [19:42:11]OFD Sender: No OFD packet to send [19:42:16]OFD Sender: No OFD packet to send [19:42:21]OFD Sender: No OFD packet to send [19:42:26]OFD Sender: No OFD packet to send [19:42:31]OFD Sender: No OFD packet to send [19:42:36]OFD Sender: No OFD packet to send [19:42:41]OFD Sender: No OFD packet to send [19:42:46]OFD Sender: No OFD packet to send [19:42:50]accept exits with 9 [19:42:50]New connection [19:42:50]New thread 3067391332 created [19:42:50]Thread 3067247972 joined [19:42:50]Waiting for new connection... [19:42:50] Sock 9.Parse request [19:42:50]Sock 9.Check first char [19:42:50]Sock 9.First char is OK [19:42:50]request: POST /json_proto HTTP/1.0 [19:42:50]Method: POST [19:42:50]URL: /json_proto [19:42:50]Method is POST - this is cgi request [19:42:50]url: /json_proto [19:42:50]query_string will be loaded in cgi processing [19:42:50]execute_cgi json_proto POST (null) [19:42:50]execute_cgi path=json_proto method=POST [19:42:50]POST find Content-Length [19:42:50]Host: 172.17.54.195:8080 [19:42:50]Content-Length: 676 [19:42:50]Content-Type: application/json [19:42:50] [19:42:50]POST finish read [19:42:50]Found Content-Length = 676 [19:42:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16389", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:50]execute_script... [19:42:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16389", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:50]POST & json_proto [19:42:50]process_json_proto [19:42:50]json parsed OK: [19:42:50]protocol is kg_v1.0 [19:42:50]action value=close_receipt [19:42:50]process_action close_receipt [19:42:50]cmd_close_receipt [19:42:50]MH_GetDate [19:42:50]Write to MH i2c: F0 00 00 EB 01 DB [19:42:50]Write i2c OK [19:42:50]MH_I2C_Read... [19:42:50]Read from MH i2c: F0 [19:42:50]MH_I2C_Read... [19:42:50]Read from MH i2c: F0 09 00 [19:42:50]MH_I2C_Read... [19:42:50]Read from MH i2c: F0 09 00 EB 01 00 3A 8C 22 67 8D 90 A3 66 59 [19:42:50]GetLastDocTimeStamp 1730316493 [19:42:50]current date 1730317370 [19:42:50]FM_GetShiftState [19:42:50]SAM_PROTO_GetShiftState [19:42:50]wFMCommunicate request_size=4 [19:42:50]MH_SAM_APDU [19:42:50]CAPDU: 80 13 01 00 [19:42:50]Write to MH i2c: E2 08 00 EC 01 80 13 01 00 00 00 00 00 6A [19:42:50]Write i2c OK [19:42:50]MH_I2C_Read... [19:42:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:50]Read from MH i2c: E2 [19:42:50]MH_I2C_Read... [19:42:50]Read from MH i2c: E2 0E 00 [19:42:50]MH_I2C_Read... [19:42:50]Read from MH i2c: E2 0E 00 EC 01 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 AF [19:42:50]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:42:50]wFMCommunicate OK [19:42:50]SAM_PROTO_GetShiftState done [19:42:50]FM_GetShiftState done [19:42:50]opened in 1730247478 [19:42:50]opened+sec_in_day 1730333878 [19:42:50]quantity*price = 50041 [19:42:50]sum+1 = 50042 [19:42:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.41 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 49 30.10.2024 19:42 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15839 ФПД: 158491506930542 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T194250&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15839&fm=158491506930542&tin=02508201610067®Number=0000000000161798&sum=50000 [19:42:51]StoreToDocumentArchive [19:42:51]shift 173 fd 15839 [19:42:51]save to /storage/0173/doc_00015839 [19:42:51]save last doc name /storage/0173/doc_00015839 to /storage/kkm_last_doc_name [19:42:51]save OK [19:42:51]Clear old archive folders... [19:42:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:42:51]tlvbuf is 01F43B20 [19:42:51]SAM_PROTO_ClearQueue [19:42:51]wFMCommunicate request_size=4 [19:42:51]MH_SAM_APDU [19:42:51]CAPDU: 80 09 00 00 [19:42:51]Write to MH i2c: E2 08 00 F9 01 80 09 00 00 00 00 00 00 6C [19:42:51]Write i2c OK [19:42:51]MH_I2C_Read... [19:42:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:42:51]Read from MH i2c: E2 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 03 00 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 03 00 F9 01 00 90 00 6E [19:42:51]RAPDU: 90 00 [19:42:51]wFMCommunicate OK [19:42:51]SAM_PROTO_ClearQueue done [19:42:51]KKMCreateOFDPacket [19:42:51]OFDProtocolAddRootSTLVToBuf [19:42:51]FM_MakeSignedData [19:42:51]FM_MakeSignedData [19:42:51]SAM_PROTO_SignData [19:42:51]wFMCommunicate request_size=4 [19:42:51]MH_SAM_APDU [19:42:51]CAPDU: 80 0D 01 02 [19:42:51]Write to MH i2c: E2 08 00 FA 01 80 0D 01 02 00 00 00 00 74 [19:42:51]Write i2c OK [19:42:51]MH_I2C_Read... [19:42:51]OFD Sender: No OFD packet to send [19:42:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:42:51]Read from MH i2c: E2 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 03 00 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 03 00 FA 01 00 90 00 6F [19:42:51]RAPDU: 90 00 [19:42:51]wFMCommunicate OK [19:42:51]wFMCommunicate request_size=255 [19:42:51]MH_SAM_APDU [19:42:51]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 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 3A 8C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DF 3D 00 00 35 04 06 00 90 [19:42:51]Write to MH i2c: E2 02 01 FB 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 3A 8C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DF 3D 00 00 35 04 06 00 90 00 00 DF [19:42:51]Write i2c OK [19:42:51]MH_I2C_Read... [19:42:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:51]Read from MH i2c: E2 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 03 00 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 03 00 FB 01 00 90 00 70 [19:42:51]RAPDU: 90 00 [19:42:51]wFMCommunicate OK [19:42:51]wFMCommunicate request_size=10 [19:42:51]MH_SAM_APDU [19:42:51]CAPDU: 80 0D 02 02 05 25 AD F8 73 6E [19:42:51]Write to MH i2c: E2 0D 00 FC 01 80 0D 02 02 05 00 25 AD F8 73 6E 00 00 2C [19:42:51]Write i2c OK [19:42:51]MH_I2C_Read... [19:42:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:51]Read from MH i2c: E2 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 03 00 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 03 00 FC 01 00 90 00 71 [19:42:51]RAPDU: 90 00 [19:42:51]wFMCommunicate OK [19:42:51]wFMCommunicate request_size=4 [19:42:51]MH_SAM_APDU [19:42:51]CAPDU: 80 0D 03 02 [19:42:51]Write to MH i2c: E2 08 00 FD 01 80 0D 03 02 00 00 00 00 79 [19:42:51]Write i2c OK [19:42:51]MH_I2C_Read... [19:42:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:51]Read from MH i2c: E2 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 0B 00 [19:42:51]MH_I2C_Read... [19:42:51]Read from MH i2c: E2 0B 00 FD 01 00 8A 25 A8 13 8B DD 02 01 90 00 4F [19:42:51]RAPDU: 8A 25 A8 13 8B DD 02 01 90 00 [19:42:52]wFMCommunicate OK [19:42:52]SAM_PROTO_SignData done [19:42:52]FM_MakeSignedData done [19:42:52]CreateOFDProtocolMessage [19:42:52]wFMCommunicate request_size=4 [19:42:52]MH_SAM_APDU [19:42:52]CAPDU: 80 11 00 00 [19:42:52]Write to MH i2c: E2 08 00 FE 01 80 11 00 00 00 00 00 00 79 [19:42:52]Write i2c OK [19:42:52]MH_I2C_Read... [19:42:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:52]Read from MH i2c: E2 [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: E2 17 00 [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: E2 17 00 FE 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 C8 [19:42:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:42:52]wFMCommunicate OK [19:42:52]CreateOFDProtocolMessage done [19:42:52]OFDSenderStorePacket 15839 [19:42:52]StoreOFDPacket docnum=15839 [19:42:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 70 E8 07 01 DA B4 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 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 3A 8C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DF 3D 00 00 35 04 06 00 90 25 AD F8 73 6E 8A 25 A8 13 8B DD 02 01 [19:42:52]CheckFolder [19:42:52]dirname=/storage/ofd_packets [19:42:52]CheckFolder done [19:42:52]ProducePacketName [19:42:52]name=ofd_packets/00015839 [19:42:52]NVStorageSaveData ofd_packets/00015839 [19:42:52]File name is /storage/ofd_packets/00015839 [19:42:52]Write 301 bytes [19:42:52]NVStorageSaveData done [19:42:52]OFDSenderStorePacket done [19:42:52]KKMCreateOFDPacket done [19:42:52]NVStorageSaveData kkm_last_timestamp [19:42:52]File name is /storage/kkm_last_timestamp [19:42:52]Write 4 bytes [19:42:52]NVStorageSaveData done [19:42:52]ExternCall_PrintAddStr [19:42:52]wPrintStart [19:42:52]Write to MH i2c: 01 00 00 FF 01 00 [19:42:52]Write i2c OK [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: 01 [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: 01 07 00 [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: 01 07 00 FF 01 00 00 00 00 00 FF 0F 15 [19:42:52]RasterBufferAndPrint [19:42:52]line Счет N : (1)16389 [19:42:52]line ИНН: 02508201610067 [19:42:52]line Контрольно-Кассовый Чек [19:42:52]line ПРОДАЖА [19:42:52]line ТРК (МРК, ГНК) : 21 [19:42:52]line Товар: 2710124130 [19:42:52]line Аи-92-К-5 [19:42:52]line 7.480 * 66.90 [19:42:52]line = 500.41 [19:42:52]line НДС 12% НСП 1% [19:42:52]line > о реализуемом товаре [19:42:52]line ОКРУГЛЕНИЕ: -0.41 [19:42:52]line ИТОГО: 500.00 [19:42:52]line Внесено: 500.00 [19:42:52]line СДАЧА: 0.00 [19:42:52]line НСП 1% : 4.43 [19:42:52]line НДС 12% : 53.14 [19:42:52]line Наличными: 500.00 [19:42:52]line Безнал.: 0.00 [19:42:52]line Место: АЗС № 178 "Партнер Нефть" [19:42:52]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [19:42:52]line СНО: Общий режим [19:42:52]line Чек 49 30.10.2024 19:42 [19:42:52]line Смена: 173 ФФД: 1.0 [19:42:52]line ЗНМ: 0300000014 [19:42:52]line РНМ: 0000000000161798 [19:42:52]line Версия ККМ: v1.0 [19:42:52]line ФМ: 0000000000963325 [19:42:52]line ФД: 15839 [19:42:52]line ФПД: 158491506930542 [19:42:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T194250&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15839&fm=158491506930542&tin=02508201610067®Number=0000000000161798&sum=50000 [19:42:52]OFD Sender: Processing packet 15839 [packets to send 4, broken 3] [19:42:52]ProducePacketName [19:42:52]name=ofd_packets/00015839 [19:42:52]OFD Sender: To server: pG, [19:42:52]CommunicateWithHost lk.salyk.kg:30040 [19:42:52]ConnectInit lk.salyk.kg [19:42:52]written 0, free lines is 4095 [19:42:52]Connected sock=11 [19:42:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 70 E8 07 01 DA B4 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 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 3A 8C 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DF 3D 00 00 35 04 06 00 90 25 AD F8 73 6E 8A 25 A8 13 8B DD 02 01 [19:42:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 FA 4C 47 00 25 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 DF 3D 00 00 F4 03 04 00 23 37 22 67 B6 04 01 00 00 90 08 C2 8B 4B 48 34 9D [19:42:52]CommunicateWithHost err = 0 [19:42:52]CheckOFDResponse [19:42:52]1017 (14) - 77093643461234 [19:42:52]1041 (16) - 0000000000963325 [19:42:52]1040 (4) - 15839 [19:42:52]1012 (4) - 30.10.2024 13:39 [19:42:52]1206 (1) - 0 [19:42:52]OFD Sender: Remove packet 15839 [19:42:52]ProducePacketName [19:42:52]name=ofd_packets/00015839 [19:42:52]NVStorageDeleteData [19:42:52]Write to MH i2c: 01 00 00 2A 02 2C [19:42:52]Write i2c OK [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: 01 [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: 01 07 00 [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: 01 07 00 2A 02 00 00 00 00 00 FB 0C 3A [19:42:52]RasterBufferAndPrint [19:42:52]line [19:42:52]line [19:42:52]line [19:42:52]line [19:42:52]line [19:42:52]written 0, free lines is 3329 [19:42:52]MH_Cut [19:42:52]Write to MH i2c: D1 01 00 31 02 01 05 [19:42:52]Write i2c OK [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: D1 [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: D1 01 00 [19:42:52]MH_I2C_Read... [19:42:52]Read from MH i2c: D1 01 00 31 02 00 04 [19:42:52]Write to MH i2c: 01 00 00 32 02 34 [19:42:52]Write i2c OK [19:42:52]MH_I2C_Read... [19:42:53]OFD Sender: No OFD packet to send [19:42:53]*** Cut start [19:42:53]*** Partial cut [19:42:53]*** CUTSNS_PIN = 1 [19:42:53]*** CUTSNS_PIN = 0 [19:42:53]*** Brake cut motor [19:42:54]Read from MH i2c: 01 [19:42:54]MH_I2C_Read... [19:42:54]*** Stop cut motor [19:42:54]*** Cut end [19:42:54]Read from MH i2c: 01 07 00 [19:42:54]MH_I2C_Read... [19:42:54]Read from MH i2c: 01 07 00 32 02 00 00 00 00 00 FF 0F 49 [19:42:54]process_action close_receipt done [19:42:54]requested_data is exist [19:42:54]produce_requested_data [19:42:54]requested_item fm.sn is exist - process it [19:42:54]wFMCommunicate request_size=4 [19:42:54]MH_SAM_APDU [19:42:54]CAPDU: 80 11 00 00 [19:42:54]Write to MH i2c: E2 08 00 33 02 80 11 00 00 00 00 00 00 AF [19:42:54]Write i2c OK [19:42:54]MH_I2C_Read... [19:42:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:54]Read from MH i2c: E2 [19:42:54]MH_I2C_Read... [19:42:54]Read from MH i2c: E2 17 00 [19:42:54]MH_I2C_Read... [19:42:54]Read from MH i2c: E2 17 00 33 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 FE [19:42:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:42:54]wFMCommunicate OK [19:42:54]requested_item fd.num is exist - process it [19:42:54]SAM_PROTO_GetFieldsCounters [19:42:54]wFMCommunicate request_size=4 [19:42:54]MH_SAM_APDU [19:42:54]CAPDU: 80 13 00 00 [19:42:54]Write to MH i2c: E2 08 00 34 02 80 13 00 00 00 00 00 00 B2 [19:42:54]Write i2c OK [19:42:54]MH_I2C_Read... [19:42:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:42:54]Read from MH i2c: E2 [19:42:54]MH_I2C_Read... [19:42:54]Read from MH i2c: E2 62 00 [19:42:54]MH_I2C_Read... [19:42:54]Read from MH i2c: E2 62 00 34 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DF 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [19:42:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 DF 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:42:54]wFMCommunicate OK [19:42:54]SAM_PROTO_GetFieldsCounters done [19:42:54]requested_item shift.num is exist - process it [19:42:54]requested_item shift.opened is exist - process it [19:42:54]req_shift_opened [19:42:54]FM_GetShiftState [19:42:54]SAM_PROTO_GetShiftState [19:42:54]wFMCommunicate request_size=4 [19:42:54]MH_SAM_APDU [19:42:54]CAPDU: 80 13 01 00 [19:42:54]Write to MH i2c: E2 08 00 35 02 80 13 01 00 00 00 00 00 B4 [19:42:54]Write i2c OK [19:42:54]MH_I2C_Read... [19:42:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:54]Read from MH i2c: E2 [19:42:54]MH_I2C_Read... [19:42:54]Read from MH i2c: E2 0E 00 [19:42:54]MH_I2C_Read... [19:42:54]Read from MH i2c: E2 0E 00 35 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 F9 [19:42:54]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:42:54]wFMCommunicate OK [19:42:54]SAM_PROTO_GetShiftState done [19:42:54]FM_GetShiftState done [19:42:54]req_shift_opened done [19:42:54]requested_item shift.open_date is exist - process it [19:42:54]req_shift_open_date [19:42:54]req_shift_open_date done [19:42:54]produce_requested_data done [19:42:54]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15839,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [19:42:54]process_action_free close_receipt [19:42:54]json_value_free [19:42:54]json_value_free done [19:42:54]process_json_proto returns [19:42:54]Send response to host [19:42:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15839,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [19:42:54]free response buf [19:42:54]execute_script done [19:42:54]execute_script returns [19:42:54]free content buf [19:42:54]Sock 9.Close socket [19:42:54]Sock 9.Thread stoped [19:42:58]OFD Sender: No OFD packet to send [19:43:03]OFD Sender: No OFD packet to send [19:43:08]OFD Sender: No OFD packet to send [19:43:13]OFD Sender: No OFD packet to send [19:43:13]ConnectInit Can't connect to host [19:43:18]OFD Sender: No OFD packet to send [19:43:23]OFD Sender: No OFD packet to send [19:43:28]OFD Sender: No OFD packet to send [19:43:33]OFD Sender: No OFD packet to send [19:43:38]OFD Sender: No OFD packet to send [19:43:43]OFD Sender: No OFD packet to send [19:43:48]OFD Sender: No OFD packet to send [19:43:53]OFD Sender: No OFD packet to send [19:43:58]OFD Sender: No OFD packet to send [19:44:03]OFD Sender: No OFD packet to send [19:44:08]OFD Sender: No OFD packet to send [19:44:13]OFD Sender: No OFD packet to send [19:44:18]OFD Sender: No OFD packet to send [19:44:23]OFD Sender: No OFD packet to send [19:44:28]OFD Sender: No OFD packet to send [19:44:33]OFD Sender: No OFD packet to send [19:44:38]OFD Sender: No OFD packet to send [19:44:43]OFD Sender: No OFD packet to send [19:44:48]OFD Sender: No OFD packet to send [19:44:53]OFD Sender: No OFD packet to send [19:44:58]OFD Sender: No OFD packet to send [19:45:03]OFD Sender: No OFD packet to send [19:45:08]OFD Sender: No OFD packet to send [19:45:13]OFD Sender: No OFD packet to send [19:45:18]OFD Sender: No OFD packet to send [19:45:23]OFD Sender: No OFD packet to send [19:45:28]OFD Sender: No OFD packet to send [19:45:33]OFD Sender: No OFD packet to send [19:45:38]OFD Sender: No OFD packet to send [19:45:43]OFD Sender: No OFD packet to send [19:45:48]OFD Sender: No OFD packet to send [19:45:53]OFD Sender: No OFD packet to send [19:45:58]OFD Sender: No OFD packet to send [19:46:03]OFD Sender: No OFD packet to send [19:46:08]OFD Sender: No OFD packet to send [19:46:13]OFD Sender: No OFD packet to send [19:46:18]OFD Sender: No OFD packet to send [19:46:23]OFD Sender: No OFD packet to send [19:46:28]OFD Sender: No OFD packet to send [19:46:33]OFD Sender: No OFD packet to send [19:46:38]OFD Sender: No OFD packet to send [19:46:43]OFD Sender: No OFD packet to send [19:46:48]OFD Sender: No OFD packet to send [19:46:53]OFD Sender: No OFD packet to send [19:46:58]OFD Sender: No OFD packet to send [19:47:03]OFD Sender: No OFD packet to send [19:47:08]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [19:47:18]OFD Sender: No OFD packet to send [19:47:23]OFD Sender: No OFD packet to send [19:47:28]OFD Sender: No OFD packet to send [19:47:33]OFD Sender: No OFD packet to send [19:47:38]OFD Sender: No OFD packet to send [19:47:43]OFD Sender: No OFD packet to send [19:47:48]OFD Sender: No OFD packet to send [19:47:53]OFD Sender: No OFD packet to send [19:47:58]OFD Sender: No OFD packet to send [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:38]OFD Sender: No OFD packet to send [19:48:43]OFD Sender: No OFD packet to send [19:48:48]OFD Sender: No OFD packet to send [19:48:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52:23]OFD Sender: No OFD packet to send [19:52:28]OFD Sender: No OFD packet to send [19:52:33]OFD Sender: No OFD packet to send [19:52:38]OFD Sender: No OFD packet to send [19:52:43]OFD Sender: No OFD packet to send [19:52:48]OFD Sender: No OFD packet to send [19:52:53]OFD Sender: No OFD packet to send [19:52:58]OFD Sender: No OFD packet to send [19:53:03]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:52]accept exits with 10 [19:55:52]New connection [19:55:52]New thread 3067247972 created [19:55:52]Thread 3067391332 joined [19:55:52]Waiting for new connection... [19:55:52] Sock 10.Parse request [19:55:52]Sock 10.Check first char [19:55:52]Sock 10.First char is OK [19:55:52]request: POST /json_proto HTTP/1.0 [19:55:52]Method: POST [19:55:52]URL: /json_proto [19:55:52]Method is POST - this is cgi request [19:55:52]url: /json_proto [19:55:52]query_string will be loaded in cgi processing [19:55:52]execute_cgi json_proto POST (null) [19:55:52]execute_cgi path=json_proto method=POST [19:55:52]POST find Content-Length [19:55:52]Host: 172.17.54.195:8080 [19:55:52]Content-Length: 676 [19:55:52]Content-Type: application/json [19:55:52] [19:55:52]POST finish read [19:55:52]Found Content-Length = 676 [19:55:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16390", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.550, "sum" : 170.60, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 170.00, "total" : 170.00, "payments": [ { "type": 0, "sum" : 170.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:52]execute_script... [19:55:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16390", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.550, "sum" : 170.60, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 170.00, "total" : 170.00, "payments": [ { "type": 0, "sum" : 170.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:52]POST & json_proto [19:55:52]process_json_proto [19:55:52]json parsed OK: [19:55:52]protocol is kg_v1.0 [19:55:52]action value=close_receipt [19:55:52]process_action close_receipt [19:55:52]cmd_close_receipt [19:55:52]MH_GetDate [19:55:52]Write to MH i2c: F0 00 00 36 02 27 [19:55:52]Write i2c OK [19:55:52]MH_I2C_Read... [19:55:52]Read from MH i2c: F0 [19:55:52]MH_I2C_Read... [19:55:52]Read from MH i2c: F0 09 00 [19:55:52]MH_I2C_Read... [19:55:52]Read from MH i2c: F0 09 00 36 02 00 49 8F 22 67 8D 90 A3 66 B7 [19:55:52]GetLastDocTimeStamp 1730317370 [19:55:52]current date 1730318153 [19:55:52]FM_GetShiftState [19:55:52]SAM_PROTO_GetShiftState [19:55:52]wFMCommunicate request_size=4 [19:55:52]MH_SAM_APDU [19:55:52]CAPDU: 80 13 01 00 [19:55:52]Write to MH i2c: E2 08 00 37 02 80 13 01 00 00 00 00 00 B6 [19:55:52]Write i2c OK [19:55:52]MH_I2C_Read... [19:55:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:55:52]Read from MH i2c: E2 [19:55:52]MH_I2C_Read... [19:55:52]Read from MH i2c: E2 0E 00 [19:55:52]MH_I2C_Read... [19:55:52]Read from MH i2c: E2 0E 00 37 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 FB [19:55:52]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:55:52]wFMCommunicate OK [19:55:52]SAM_PROTO_GetShiftState done [19:55:52]FM_GetShiftState done [19:55:52]opened in 1730247478 [19:55:52]opened+sec_in_day 1730333878 [19:55:52]quantity*price = 17059 [19:55:52]sum+1 = 17061 [19:55:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.60 ИТОГО: 170.00 Внесено: 170.00 СДАЧА: 0.00 НСП 1% : 1.51 НДС 12% : 18.12 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 50 30.10.2024 19:55 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15840 ФПД: 143380410282961 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T195553&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15840&fm=143380410282961&tin=02508201610067®Number=0000000000161798&sum=17000 [19:55:53]StoreToDocumentArchive [19:55:53]shift 173 fd 15840 [19:55:53]save to /storage/0173/doc_00015840 [19:55:53]save last doc name /storage/0173/doc_00015840 to /storage/kkm_last_doc_name [19:55:53]save OK [19:55:53]Clear old archive folders... [19:55:53]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:55:53]tlvbuf is 01F2EB00 [19:55:53]SAM_PROTO_ClearQueue [19:55:53]wFMCommunicate request_size=4 [19:55:53]MH_SAM_APDU [19:55:53]CAPDU: 80 09 00 00 [19:55:53]Write to MH i2c: E2 08 00 44 02 80 09 00 00 00 00 00 00 B8 [19:55:53]Write i2c OK [19:55:53]MH_I2C_Read... [19:55:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:55:53]Read from MH i2c: E2 [19:55:53]MH_I2C_Read... [19:55:53]Read from MH i2c: E2 03 00 [19:55:53]MH_I2C_Read... [19:55:53]Read from MH i2c: E2 03 00 44 02 00 90 00 BA [19:55:53]RAPDU: 90 00 [19:55:53]wFMCommunicate OK [19:55:53]SAM_PROTO_ClearQueue done [19:55:53]KKMCreateOFDPacket [19:55:53]OFDProtocolAddRootSTLVToBuf [19:55:53]FM_MakeSignedData [19:55:53]FM_MakeSignedData [19:55:53]SAM_PROTO_SignData [19:55:53]wFMCommunicate request_size=4 [19:55:53]MH_SAM_APDU [19:55:53]CAPDU: 80 0D 01 02 [19:55:53]Write to MH i2c: E2 08 00 45 02 80 0D 01 02 00 00 00 00 C0 [19:55:53]Write i2c OK [19:55:53]MH_I2C_Read... [19:55:53]OFD Sender: No OFD packet to send [19:55:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:55:53]Read from MH i2c: E2 [19:55:53]MH_I2C_Read... [19:55:53]Read from MH i2c: E2 03 00 [19:55:53]MH_I2C_Read... [19:55:53]Read from MH i2c: E2 03 00 45 02 00 90 00 BB [19:55:53]RAPDU: 90 00 [19:55:53]wFMCommunicate OK [19:55:53]wFMCommunicate request_size=255 [19:55:53]MH_SAM_APDU [19:55:53]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 F6 09 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A4 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 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 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 32 00 00 00 F4 03 04 00 49 8F 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E0 3D 00 00 35 04 06 00 82 [19:55:53]Write to MH i2c: E2 02 01 46 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F6 09 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A4 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 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 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 32 00 00 00 F4 03 04 00 49 8F 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E0 3D 00 00 35 04 06 00 82 00 00 D3 [19:55:53]Write i2c OK [19:55:53]MH_I2C_Read... [19:55:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:55:54]Read from MH i2c: E2 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: E2 03 00 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: E2 03 00 46 02 00 90 00 BC [19:55:54]RAPDU: 90 00 [19:55:54]wFMCommunicate OK [19:55:54]wFMCommunicate request_size=10 [19:55:54]MH_SAM_APDU [19:55:54]CAPDU: 80 0D 02 02 05 67 5A 6C 33 D1 [19:55:54]Write to MH i2c: E2 0D 00 47 02 80 0D 02 02 05 00 67 5A 6C 33 D1 00 00 FE [19:55:54]Write i2c OK [19:55:54]MH_I2C_Read... [19:55:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:55:54]Read from MH i2c: E2 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: E2 03 00 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: E2 03 00 47 02 00 90 00 BD [19:55:54]RAPDU: 90 00 [19:55:54]wFMCommunicate OK [19:55:54]wFMCommunicate request_size=4 [19:55:54]MH_SAM_APDU [19:55:54]CAPDU: 80 0D 03 02 [19:55:54]Write to MH i2c: E2 08 00 48 02 80 0D 03 02 00 00 00 00 C5 [19:55:54]Write i2c OK [19:55:54]MH_I2C_Read... [19:55:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:55:54]Read from MH i2c: E2 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: E2 0B 00 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: E2 0B 00 48 02 00 C3 06 4A BB 2E 09 35 10 90 00 10 [19:55:54]RAPDU: C3 06 4A BB 2E 09 35 10 90 00 [19:55:54]wFMCommunicate OK [19:55:54]SAM_PROTO_SignData done [19:55:54]FM_MakeSignedData done [19:55:54]CreateOFDProtocolMessage [19:55:54]wFMCommunicate request_size=4 [19:55:54]MH_SAM_APDU [19:55:54]CAPDU: 80 11 00 00 [19:55:54]Write to MH i2c: E2 08 00 49 02 80 11 00 00 00 00 00 00 C5 [19:55:54]Write i2c OK [19:55:54]MH_I2C_Read... [19:55:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:55:54]Read from MH i2c: E2 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: E2 17 00 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: E2 17 00 49 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 14 [19:55:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:55:54]wFMCommunicate OK [19:55:54]CreateOFDProtocolMessage done [19:55:54]OFDSenderStorePacket 15840 [19:55:54]StoreOFDPacket docnum=15840 [19:55:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 9D DD 07 01 EF 3F 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 F6 09 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A4 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 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 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 32 00 00 00 F4 03 04 00 49 8F 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E0 3D 00 00 35 04 06 00 82 67 5A 6C 33 D1 C3 06 4A BB 2E 09 35 10 [19:55:54]CheckFolder [19:55:54]dirname=/storage/ofd_packets [19:55:54]CheckFolder done [19:55:54]ProducePacketName [19:55:54]name=ofd_packets/00015840 [19:55:54]NVStorageSaveData ofd_packets/00015840 [19:55:54]File name is /storage/ofd_packets/00015840 [19:55:54]Write 301 bytes [19:55:54]NVStorageSaveData done [19:55:54]OFDSenderStorePacket done [19:55:54]KKMCreateOFDPacket done [19:55:54]NVStorageSaveData kkm_last_timestamp [19:55:54]File name is /storage/kkm_last_timestamp [19:55:54]Write 4 bytes [19:55:54]NVStorageSaveData done [19:55:54]ExternCall_PrintAddStr [19:55:54]wPrintStart [19:55:54]Write to MH i2c: 01 00 00 4A 02 4C [19:55:54]Write i2c OK [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: 01 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: 01 07 00 [19:55:54]MH_I2C_Read... [19:55:54]Read from MH i2c: 01 07 00 4A 02 00 00 00 00 00 FF 0F 61 [19:55:54]RasterBufferAndPrint [19:55:54]line Счет N : (1)16390 [19:55:54]line ИНН: 02508201610067 [19:55:54]line Контрольно-Кассовый Чек [19:55:54]line ПРОДАЖА [19:55:54]line ТРК (МРК, ГНК) : 21 [19:55:54]line Товар: 2710124130 [19:55:54]line Аи-92-К-5 [19:55:54]line 2.550 * 66.90 [19:55:54]line = 170.60 [19:55:54]line НДС 12% НСП 1% [19:55:54]line > о реализуемом товаре [19:55:54]line ОКРУГЛЕНИЕ: -0.60 [19:55:54]line ИТОГО: 170.00 [19:55:54]line Внесено: 170.00 [19:55:54]line СДАЧА: 0.00 [19:55:54]line НСП 1% : 1.51 [19:55:54]line НДС 12% : 18.12 [19:55:54]line Наличными: 170.00 [19:55:54]line Безнал.: 0.00 [19:55:54]line Место: АЗС № 178 "Партнер Нефть" [19:55:54]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [19:55:54]line СНО: Общий режим [19:55:54]line Чек 50 30.10.2024 19:55 [19:55:54]line Смена: 173 ФФД: 1.0 [19:55:54]line ЗНМ: 0300000014 [19:55:54]line РНМ: 0000000000161798 [19:55:54]line Версия ККМ: v1.0 [19:55:54]line ФМ: 0000000000963325 [19:55:54]line ФД: 15840 [19:55:54]line ФПД: 143380410282961 [19:55:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T195553&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15840&fm=143380410282961&tin=02508201610067®Number=0000000000161798&sum=17000 [19:55:54]OFD Sender: Processing packet 15840 [packets to send 4, broken 3] [19:55:54]ProducePacketName [19:55:54]name=ofd_packets/00015840 [19:55:54]OFD Sender: To server: pG, [19:55:54]CommunicateWithHost lk.salyk.kg:30040 [19:55:54]ConnectInit lk.salyk.kg [19:55:54]written 0, free lines is 4095 [19:55:54]Connected sock=9 [19:55:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 9D DD 07 01 EF 3F 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 F6 09 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A4 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 97 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 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 32 00 00 00 F4 03 04 00 49 8F 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E0 3D 00 00 35 04 06 00 82 67 5A 6C 33 D1 C3 06 4A BB 2E 09 35 10 [19:55:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 E6 81 47 00 98 E5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E0 3D 00 00 F4 03 04 00 31 3A 22 67 B6 04 01 00 00 19 E1 CB 6C 48 26 FA 6A [19:55:54]CommunicateWithHost err = 0 [19:55:54]CheckOFDResponse [19:55:54]1017 (14) - 77093643461234 [19:55:54]1041 (16) - 0000000000963325 [19:55:54]1040 (4) - 15840 [19:55:54]1012 (4) - 30.10.2024 13:52 [19:55:54]1206 (1) - 0 [19:55:54]OFD Sender: Remove packet 15840 [19:55:54]ProducePacketName [19:55:54]name=ofd_packets/00015840 [19:55:54]NVStorageDeleteData [19:55:55]Write to MH i2c: 01 00 00 75 02 77 [19:55:55]Write i2c OK [19:55:55]MH_I2C_Read... [19:55:55]Read from MH i2c: 01 [19:55:55]MH_I2C_Read... [19:55:55]Read from MH i2c: 01 07 00 [19:55:55]MH_I2C_Read... [19:55:55]Read from MH i2c: 01 07 00 75 02 00 00 00 00 00 FC 0C 86 [19:55:55]RasterBufferAndPrint [19:55:55]line [19:55:55]line [19:55:55]line [19:55:55]line [19:55:55]line [19:55:55]written 0, free lines is 3330 [19:55:55]MH_Cut [19:55:55]Write to MH i2c: D1 01 00 7C 02 01 50 [19:55:55]Write i2c OK [19:55:55]MH_I2C_Read... [19:55:55]Read from MH i2c: D1 [19:55:55]MH_I2C_Read... [19:55:55]Read from MH i2c: D1 01 00 [19:55:55]MH_I2C_Read... [19:55:55]Read from MH i2c: D1 01 00 7C 02 00 4F [19:55:55]Write to MH i2c: 01 00 00 7D 02 7F [19:55:55]Write i2c OK [19:55:55]MH_I2C_Read... [19:55:55]OFD Sender: No OFD packet to send [19:55:55]*** Cut start [19:55:55]*** Partial cut [19:55:55]*** CUTSNS_PIN = 1 [19:55:55]*** CUTSNS_PIN = 0 [19:55:56]*** Brake cut motor [19:55:56]Read from MH i2c: 01 [19:55:56]MH_I2C_Read... [19:55:56]*** Stop cut motor [19:55:56]*** Cut end [19:55:56]Read from MH i2c: 01 07 00 [19:55:56]MH_I2C_Read... [19:55:56]Read from MH i2c: 01 07 00 7D 02 00 00 00 00 00 FF 0F 94 [19:55:56]process_action close_receipt done [19:55:56]requested_data is exist [19:55:56]produce_requested_data [19:55:56]requested_item fm.sn is exist - process it [19:55:56]wFMCommunicate request_size=4 [19:55:56]MH_SAM_APDU [19:55:56]CAPDU: 80 11 00 00 [19:55:56]Write to MH i2c: E2 08 00 7E 02 80 11 00 00 00 00 00 00 FA [19:55:56]Write i2c OK [19:55:56]MH_I2C_Read... [19:55:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:55:56]Read from MH i2c: E2 [19:55:56]MH_I2C_Read... [19:55:56]Read from MH i2c: E2 17 00 [19:55:56]MH_I2C_Read... [19:55:56]Read from MH i2c: E2 17 00 7E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 49 [19:55:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [19:55:56]wFMCommunicate OK [19:55:56]requested_item fd.num is exist - process it [19:55:56]SAM_PROTO_GetFieldsCounters [19:55:56]wFMCommunicate request_size=4 [19:55:56]MH_SAM_APDU [19:55:56]CAPDU: 80 13 00 00 [19:55:56]Write to MH i2c: E2 08 00 7F 02 80 13 00 00 00 00 00 00 FD [19:55:56]Write i2c OK [19:55:56]MH_I2C_Read... [19:55:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:55:56]Read from MH i2c: E2 [19:55:56]MH_I2C_Read... [19:55:56]Read from MH i2c: E2 62 00 [19:55:56]MH_I2C_Read... [19:55:56]Read from MH i2c: E2 62 00 7F 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E0 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 81 [19:55:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E0 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:55:56]wFMCommunicate OK [19:55:56]SAM_PROTO_GetFieldsCounters done [19:55:56]requested_item shift.num is exist - process it [19:55:56]requested_item shift.opened is exist - process it [19:55:56]req_shift_opened [19:55:56]FM_GetShiftState [19:55:56]SAM_PROTO_GetShiftState [19:55:56]wFMCommunicate request_size=4 [19:55:56]MH_SAM_APDU [19:55:56]CAPDU: 80 13 01 00 [19:55:56]Write to MH i2c: E2 08 00 80 02 80 13 01 00 00 00 00 00 FF [19:55:56]Write i2c OK [19:55:56]MH_I2C_Read... [19:55:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:55:56]Read from MH i2c: E2 [19:55:56]MH_I2C_Read... [19:55:56]Read from MH i2c: E2 0E 00 [19:55:56]MH_I2C_Read... [19:55:56]Read from MH i2c: E2 0E 00 80 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 44 [19:55:56]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [19:55:56]wFMCommunicate OK [19:55:56]SAM_PROTO_GetShiftState done [19:55:56]FM_GetShiftState done [19:55:56]req_shift_opened done [19:55:56]requested_item shift.open_date is exist - process it [19:55:56]req_shift_open_date [19:55:56]req_shift_open_date done [19:55:56]produce_requested_data done [19:55:56]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15840,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [19:55:56]process_action_free close_receipt [19:55:56]json_value_free [19:55:56]json_value_free done [19:55:56]process_json_proto returns [19:55:56]Send response to host [19:55:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15840,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [19:55:56]free response buf [19:55:56]execute_script done [19:55:56]execute_script returns [19:55:56]free content buf [19:55:56]Sock 10.Close socket [19:55:56]Sock 10.Thread stoped [19:56:00]OFD Sender: No OFD packet to send [19:56:05]OFD Sender: No OFD packet to send [19:56:10]OFD Sender: No OFD packet to send [19:56:15]OFD Sender: No OFD packet to send [19:56:20]OFD Sender: No OFD packet to send [19:56:25]OFD Sender: No OFD packet to send [19:56:30]OFD Sender: No OFD packet to send [19:56:35]OFD Sender: No OFD packet to send [19:56:40]OFD Sender: No OFD packet to send [19:56:45]OFD Sender: No OFD packet to send [19:56:50]OFD Sender: No OFD packet to send [19:56:55]OFD Sender: No OFD packet to send [19:57:00]OFD Sender: No OFD packet to send [19:57:05]OFD Sender: No OFD packet to send [19:57:10]OFD Sender: No OFD packet to send [19:57:15]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:45]OFD Sender: No OFD packet to send [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:10]OFD Sender: No OFD packet to send [19:58:15]OFD Sender: No OFD packet to send [19:58:20]OFD Sender: No OFD packet to send [19:58:25]OFD Sender: No OFD packet to send [19:58:30]OFD Sender: No OFD packet to send [19:58:35]OFD Sender: No OFD packet to send [19:58:40]OFD Sender: No OFD packet to send [19:58:45]OFD Sender: No OFD packet to send [19:58:50]OFD Sender: No OFD packet to send [19:58:55]OFD Sender: No OFD packet to send [19:59:00]OFD Sender: No OFD packet to send [19:59:05]OFD Sender: No OFD packet to send [19:59:10]OFD Sender: No OFD packet to send [19:59:15]OFD Sender: No OFD packet to send [19:59:20]OFD Sender: No OFD packet to send [19:59:25]OFD Sender: No OFD packet to send [19:59:30]OFD Sender: No OFD packet to send [19:59:35]OFD Sender: No OFD packet to send [19:59:40]OFD Sender: No OFD packet to send [19:59:45]OFD Sender: No OFD packet to send [19:59:50]OFD Sender: No OFD packet to send [19:59:55]OFD Sender: No OFD packet to send [20:00:00]OFD Sender: No OFD packet to send [20:00:05]OFD Sender: No OFD packet to send [20:00:10]OFD Sender: No OFD packet to send [20:00:15]OFD Sender: No OFD packet to send [20:00:20]OFD Sender: No OFD packet to send [20:00:25]OFD Sender: No OFD packet to send [20:00:30]OFD Sender: No OFD packet to send [20:00:35]OFD Sender: No OFD packet to send [20:00:40]OFD Sender: No OFD packet to send [20:00:45]OFD Sender: No OFD packet to send [20:00:50]OFD Sender: No OFD packet to send [20:00:55]OFD Sender: No OFD packet to send [20:01:00]OFD Sender: No OFD packet to send [20:01:05]OFD Sender: No OFD packet to send [20:01:10]OFD Sender: No OFD packet to send [20:01:15]OFD Sender: No OFD packet to send [20:01:20]OFD Sender: No OFD packet to send [20:01:25]OFD Sender: No OFD packet to send [20:01:30]OFD Sender: No OFD packet to send [20:01:35]OFD Sender: No OFD packet to send [20:01:40]OFD Sender: No OFD packet to send [20:01:45]OFD Sender: No OFD packet to send [20:01:50]OFD Sender: No OFD packet to send [20:01:55]OFD Sender: No OFD packet to send [20:02:00]OFD Sender: No OFD packet to send [20:02:05]OFD Sender: No OFD packet to send [20:02:10]OFD Sender: No OFD packet to send [20:02:15]OFD Sender: No OFD packet to send [20:02:20]OFD Sender: No OFD packet to send [20:02:25]OFD Sender: No OFD packet to send [20:02:30]OFD Sender: No OFD packet to send [20:02:35]OFD Sender: No OFD packet to send [20:02:40]OFD Sender: No OFD packet to send [20:02:45]OFD Sender: No OFD packet to send [20:02:50]OFD Sender: No OFD packet to send [20:02:55]OFD Sender: No OFD packet to send [20:03:00]OFD Sender: No OFD packet to send [20:03:05]OFD Sender: No OFD packet to send [20:03:10]OFD Sender: No OFD packet to send [20:03:15]OFD Sender: No OFD packet to send [20:03:20]OFD Sender: No OFD packet to send [20:03:25]OFD Sender: No OFD packet to send [20:03:30]OFD Sender: No OFD packet to send [20:03:35]OFD Sender: No OFD packet to send [20:03:40]OFD Sender: No OFD packet to send [20:03:45]OFD Sender: No OFD packet to send [20:03:50]OFD Sender: No OFD packet to send [20:03:55]OFD Sender: No OFD packet to send [20:04:00]OFD Sender: No OFD packet to send [20:04:05]OFD Sender: No OFD packet to send [20:04:10]OFD Sender: No OFD packet to send [20:04:15]OFD Sender: No OFD packet to send [20:04:20]OFD Sender: No OFD packet to send [20:04:25]OFD Sender: No OFD packet to send [20:04:30]OFD Sender: No OFD packet to send [20:04:35]OFD Sender: No OFD packet to send [20:04:40]OFD Sender: No OFD packet to send [20:04:45]OFD Sender: No OFD packet to send [20:04:50]OFD Sender: No OFD packet to send [20:04:55]OFD Sender: No OFD packet to send [20:05:00]OFD Sender: No OFD packet to send [20:05:05]OFD Sender: No OFD packet to send [20:05:10]OFD Sender: No OFD packet to send [20:05:15]OFD Sender: No OFD packet to send [20:05:20]OFD Sender: No OFD packet to send [20:05:25]OFD Sender: No OFD packet to send [20:05:30]OFD Sender: No OFD packet to send [20:05:35]OFD Sender: No OFD packet to send [20:05:40]OFD Sender: No OFD packet to send [20:05:45]OFD Sender: No OFD packet to send [20:05:50]OFD Sender: No OFD packet to send [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:36]OFD Sender: No OFD packet to send [20:07:41]OFD Sender: No OFD packet to send [20:07:46]OFD Sender: No OFD packet to send [20:07:51]OFD Sender: No OFD packet to send [20:07:56]OFD Sender: No OFD packet to send [20:08:01]OFD Sender: No OFD packet to send [20:08:06]OFD Sender: No OFD packet to send [20:08:11]OFD Sender: No OFD packet to send [20:08:16]OFD Sender: No OFD packet to send [20:08:21]OFD Sender: No OFD packet to send [20:08:26]OFD Sender: No OFD packet to send [20:08:31]OFD Sender: No OFD packet to send [20:08:36]OFD Sender: No OFD packet to send [20:08:41]OFD Sender: No OFD packet to send [20:08:46]OFD Sender: No OFD packet to send [20:08:51]OFD Sender: No OFD packet to send [20:08:56]OFD Sender: No OFD packet to send [20:09:01]OFD Sender: No OFD packet to send [20:09:06]OFD Sender: No OFD packet to send [20:09:11]OFD Sender: No OFD packet to send [20:09:16]OFD Sender: No OFD packet to send [20:09:21]OFD Sender: No OFD packet to send [20:09:26]OFD Sender: No OFD packet to send [20:09:31]OFD Sender: No OFD packet to send [20:09:36]OFD Sender: No OFD packet to send [20:09:41]OFD Sender: No OFD packet to send [20:09:46]OFD Sender: No OFD packet to send [20:09:51]OFD Sender: No OFD packet to send [20:09:56]OFD Sender: No OFD packet to send [20:10:01]OFD Sender: No OFD packet to send [20:10:06]OFD Sender: No OFD packet to send [20:10:11]OFD Sender: No OFD packet to send [20:10:16]OFD Sender: No OFD packet to send [20:10:21]OFD Sender: No OFD packet to send [20:10:26]OFD Sender: No OFD packet to send [20:10:31]OFD Sender: No OFD packet to send [20:10:36]OFD Sender: No OFD packet to send [20:10:41]OFD Sender: No OFD packet to send [20:10:46]OFD Sender: No OFD packet to send [20:10:51]OFD Sender: No OFD packet to send [20:10:56]OFD Sender: No OFD packet to send [20:11:01]OFD Sender: No OFD packet to send [20:11:06]OFD Sender: No OFD packet to send [20:11:11]OFD Sender: No OFD packet to send [20:11:16]OFD Sender: No OFD packet to send [20:11:21]OFD Sender: No OFD packet to send [20:11:26]OFD Sender: No OFD packet to send [20:11:31]OFD Sender: No OFD packet to send [20:11:36]OFD Sender: No OFD packet to send [20:11:41]OFD Sender: No OFD packet to send [20:11:46]OFD Sender: No OFD packet to send [20:11:51]OFD Sender: No OFD packet to send [20:11:56]OFD Sender: No OFD packet to send [20:12:01]OFD Sender: No OFD packet to send [20:12:06]OFD Sender: No OFD packet to send [20:12:11]OFD Sender: No OFD packet to send [20:12:16]OFD Sender: No OFD packet to send [20:12:21]OFD Sender: No OFD packet to send [20:12:26]OFD Sender: No OFD packet to send [20:12:31]OFD Sender: No OFD packet to send [20:12:36]OFD Sender: No OFD packet to send [20:12:41]OFD Sender: No OFD packet to send [20:12:46]OFD Sender: No OFD packet to send [20:12:51]OFD Sender: No OFD packet to send [20:12:56]OFD Sender: No OFD packet to send [20:13:01]OFD Sender: No OFD packet to send [20:13:06]OFD Sender: No OFD packet to send [20:13:11]OFD Sender: No OFD packet to send [20:13:16]OFD Sender: No OFD packet to send [20:13:21]OFD Sender: No OFD packet to send [20:13:26]OFD Sender: No OFD packet to send [20:13:31]OFD Sender: No OFD packet to send [20:13:36]OFD Sender: No OFD packet to send [20:13:41]OFD Sender: No OFD packet to send [20:13:46]OFD Sender: No OFD packet to send [20:13:51]OFD Sender: No OFD packet to send [20:13:56]OFD Sender: No OFD packet to send [20:14:01]OFD Sender: No OFD packet to send [20:14:06]OFD Sender: No OFD packet to send [20:14:11]OFD Sender: No OFD packet to send [20:14:16]OFD Sender: No OFD packet to send [20:14:21]OFD Sender: No OFD packet to send [20:14:26]OFD Sender: No OFD packet to send [20:14:31]OFD Sender: No OFD packet to send [20:14:36]OFD Sender: No OFD packet to send [20:14:41]OFD Sender: No OFD packet to send [20:14:46]OFD Sender: No OFD packet to send [20:14:51]OFD Sender: No OFD packet to send [20:14:56]OFD Sender: No OFD packet to send [20:15:01]OFD Sender: No OFD packet to send [20:15:06]OFD Sender: No OFD packet to send [20:15:11]OFD Sender: No OFD packet to send [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:36]OFD Sender: No OFD packet to send [20:15:41]OFD Sender: No OFD packet to send [20:15:46]OFD Sender: No OFD packet to send [20:15:51]OFD Sender: No OFD packet to send [20:15:56]OFD Sender: No OFD packet to send [20:16:01]OFD Sender: No OFD packet to send [20:16:06]OFD Sender: No OFD packet to send [20:16:11]OFD Sender: No OFD packet to send [20:16:16]OFD Sender: No OFD packet to send [20:16:21]OFD Sender: No OFD packet to send [20:16:26]OFD Sender: No OFD packet to send [20:16:31]OFD Sender: No OFD packet to send [20:16:36]OFD Sender: No OFD packet to send [20:16:41]OFD Sender: No OFD packet to send [20:16:46]OFD Sender: No OFD packet to send [20:16:51]OFD Sender: No OFD packet to send [20:16:56]OFD Sender: No OFD packet to send [20:17:01]OFD Sender: No OFD packet to send [20:17:06]OFD Sender: No OFD packet to send [20:17:11]OFD Sender: No OFD packet to send [20:17:16]OFD Sender: No OFD packet to send [20:17:21]OFD Sender: No OFD packet to send [20:17:26]OFD Sender: No OFD packet to send [20:17:31]OFD Sender: No OFD packet to send [20:17:36]OFD Sender: No OFD packet to send [20:17:41]OFD Sender: No OFD packet to send [20:17:46]OFD Sender: No OFD packet to send [20:17:51]OFD Sender: No OFD packet to send [20:17:56]OFD Sender: No OFD packet to send [20:18:01]OFD Sender: No OFD packet to send [20:18:06]OFD Sender: No OFD packet to send [20:18:11]OFD Sender: No OFD packet to send [20:18:16]OFD Sender: No OFD packet to send [20:18:21]OFD Sender: No OFD packet to send [20:18:26]OFD Sender: No OFD packet to send [20:18:31]OFD Sender: No OFD packet to send [20:18:36]OFD Sender: No OFD packet to send [20:18:41]OFD Sender: No OFD packet to send [20:18:46]OFD Sender: No OFD packet to send [20:18:51]OFD Sender: No OFD packet to send [20:18:56]OFD Sender: No OFD packet to send [20:19:01]OFD Sender: No OFD packet to send [20:19:06]OFD Sender: No OFD packet to send [20:19:11]OFD Sender: No OFD packet to send [20:19:16]OFD Sender: No OFD packet to send [20:19:21]OFD Sender: No OFD packet to send [20:19:26]OFD Sender: No OFD packet to send [20:19:31]OFD Sender: No OFD packet to send [20:19:36]OFD Sender: No OFD packet to send [20:19:41]OFD Sender: No OFD packet to send [20:19:46]OFD Sender: No OFD packet to send [20:19:51]OFD Sender: No OFD packet to send [20:19:56]OFD Sender: No OFD packet to send [20:20:01]OFD Sender: No OFD packet to send [20:20:06]OFD Sender: No OFD packet to send [20:20:11]OFD Sender: No OFD packet to send [20:20:16]OFD Sender: No OFD packet to send [20:20:21]OFD Sender: No OFD packet to send [20:20:26]OFD Sender: No OFD packet to send [20:20:31]OFD Sender: No OFD packet to send [20:20:36]OFD Sender: No OFD packet to send [20:20:41]OFD Sender: No OFD packet to send [20:20:46]OFD Sender: No OFD packet to send [20:20:51]OFD Sender: No OFD packet to send [20:20:56]OFD Sender: No OFD packet to send [20:21:01]OFD Sender: No OFD packet to send [20:21:06]OFD Sender: No OFD packet to send [20:21:11]OFD Sender: No OFD packet to send [20:21:16]OFD Sender: No OFD packet to send [20:21:21]OFD Sender: No OFD packet to send [20:21:26]OFD Sender: No OFD packet to send [20:21:31]OFD Sender: No OFD packet to send [20:21:36]OFD Sender: No OFD packet to send [20:21:41]OFD Sender: No OFD packet to send [20:21:46]OFD Sender: No OFD packet to send [20:21:51]OFD Sender: No OFD packet to send [20:21:56]OFD Sender: No OFD packet to send [20:22:01]OFD Sender: No OFD packet to send [20:22:06]OFD Sender: No OFD packet to send [20:22:11]OFD Sender: No OFD packet to send [20:22:16]OFD Sender: No OFD packet to send [20:22:21]OFD Sender: No OFD packet to send [20:22:26]OFD Sender: No OFD packet to send [20:22:31]OFD Sender: No OFD packet to send [20:22:36]OFD Sender: No OFD packet to send [20:22:41]OFD Sender: No OFD packet to send [20:22:46]OFD Sender: No OFD packet to send [20:22:51]OFD Sender: No OFD packet to send [20:22:56]OFD Sender: No OFD packet to send [20:23:01]OFD Sender: No OFD packet to send [20:23:06]OFD Sender: No OFD packet to send [20:23:11]OFD Sender: No OFD packet to send [20:23:16]OFD Sender: No OFD packet to send [20:23:21]OFD Sender: No OFD packet to send [20:23:26]OFD Sender: No OFD packet to send [20:23:31]OFD Sender: No OFD packet to send [20:23:36]OFD Sender: No OFD packet to send [20:23:41]OFD Sender: No OFD packet to send [20:23:46]OFD Sender: No OFD packet to send [20:23:51]OFD Sender: No OFD packet to send [20:23:56]OFD Sender: No OFD packet to send [20:24:01]OFD Sender: No OFD packet to send [20:24:06]OFD Sender: No OFD packet to send [20:24:11]OFD Sender: No OFD packet to send [20:24:16]OFD Sender: No OFD packet to send [20:24:21]OFD Sender: No OFD packet to send [20:24:26]OFD Sender: No OFD packet to send [20:24:31]OFD Sender: No OFD packet to send [20:24:36]OFD Sender: No OFD packet to send [20:24:41]OFD Sender: No OFD packet to send [20:24:46]OFD Sender: No OFD packet to send [20:24:51]OFD Sender: No OFD packet to send [20:24:56]OFD Sender: No OFD packet to send [20:25:01]OFD Sender: No OFD packet to send [20:25:06]OFD Sender: No OFD packet to send [20:25:11]OFD Sender: No OFD packet to send [20:25:16]OFD Sender: No OFD packet to send [20:25:21]OFD Sender: No OFD packet to send [20:25:26]OFD Sender: No OFD packet to send [20:25:31]OFD Sender: No OFD packet to send [20:25:36]OFD Sender: No OFD packet to send [20:25:41]OFD Sender: No OFD packet to send [20:25:46]OFD Sender: No OFD packet to send [20:25:51]OFD Sender: No OFD packet to send [20:25:56]OFD Sender: No OFD packet to send [20:26:01]OFD Sender: No OFD packet to send [20:26:06]OFD Sender: No OFD packet to send [20:26:11]OFD Sender: No OFD packet to send [20:26:16]OFD Sender: No OFD packet to send [20:26:21]OFD Sender: No OFD packet to send [20:26:26]OFD Sender: No OFD packet to send [20:26:31]OFD Sender: No OFD packet to send [20:26:36]OFD Sender: No OFD packet to send [20:26:41]OFD Sender: No OFD packet to send [20:26:46]OFD Sender: No OFD packet to send [20:26:51]OFD Sender: No OFD packet to send [20:26:56]OFD Sender: No OFD packet to send [20:27:01]OFD Sender: No OFD packet to send [20:27:06]OFD Sender: No OFD packet to send [20:27:11]OFD Sender: No OFD packet to send [20:27:11]accept exits with 7 [20:27:11]New connection [20:27:11]New thread 3067391332 created [20:27:11]Thread 3067247972 joined [20:27:11]Waiting for new connection... [20:27:11] Sock 7.Parse request [20:27:11]Sock 7.Check first char [20:27:11]Sock 7.First char is OK [20:27:11]request: POST /json_proto HTTP/1.0 [20:27:11]Method: POST [20:27:11]URL: /json_proto [20:27:11]Method is POST - this is cgi request [20:27:11]url: /json_proto [20:27:11]query_string will be loaded in cgi processing [20:27:11]execute_cgi json_proto POST (null) [20:27:11]execute_cgi path=json_proto method=POST [20:27:11]POST find Content-Length [20:27:11]Host: 172.17.54.195:8080 [20:27:11]Content-Length: 628 [20:27:11]Content-Type: application/json [20:27:11] [20:27:11]POST finish read [20:27:11]Found Content-Length = 628 [20:27:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16392", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:27:11]execute_script... [20:27:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16392", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 7.310, "sum" : 500.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:27:11]POST & json_proto [20:27:11]process_json_proto [20:27:11]json parsed OK: [20:27:11]protocol is kg_v1.0 [20:27:11]action value=close_receipt [20:27:11]process_action close_receipt [20:27:11]cmd_close_receipt [20:27:11]MH_GetDate [20:27:11]Write to MH i2c: F0 00 00 81 02 72 [20:27:11]Write i2c OK [20:27:11]MH_I2C_Read... [20:27:11]Read from MH i2c: F0 [20:27:11]MH_I2C_Read... [20:27:11]Read from MH i2c: F0 09 00 [20:27:11]MH_I2C_Read... [20:27:11]Read from MH i2c: F0 09 00 81 02 00 A0 96 22 67 8D 90 A3 66 60 [20:27:11]GetLastDocTimeStamp 1730318153 [20:27:11]current date 1730320032 [20:27:11]FM_GetShiftState [20:27:11]SAM_PROTO_GetShiftState [20:27:11]wFMCommunicate request_size=4 [20:27:11]MH_SAM_APDU [20:27:11]CAPDU: 80 13 01 00 [20:27:11]Write to MH i2c: E2 08 00 82 02 80 13 01 00 00 00 00 00 01 [20:27:11]Write i2c OK [20:27:11]MH_I2C_Read... [20:27:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:11]Read from MH i2c: E2 [20:27:11]MH_I2C_Read... [20:27:11]Read from MH i2c: E2 0E 00 [20:27:11]MH_I2C_Read... [20:27:11]Read from MH i2c: E2 0E 00 82 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 46 [20:27:11]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [20:27:11]wFMCommunicate OK [20:27:11]SAM_PROTO_GetShiftState done [20:27:11]FM_GetShiftState done [20:27:11]opened in 1730247478 [20:27:11]opened+sec_in_day 1730333878 [20:27:11]quantity*price = 50000 [20:27:11]sum+1 = 50001 [20:27:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.00 НСП 1% : 4.42 НДС 12% : 53.10 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 51 30.10.2024 20:27 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15841 ФПД: 54432768228442 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T202712&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15841&fm=54432768228442&tin=02508201610067®Number=0000000000161798&sum=50000 [20:27:13]StoreToDocumentArchive [20:27:13]shift 173 fd 15841 [20:27:13]save to /storage/0173/doc_00015841 [20:27:13]save last doc name /storage/0173/doc_00015841 to /storage/kkm_last_doc_name [20:27:13]save OK [20:27:13]Clear old archive folders... [20:27:13]ProcessDocumentItem done err = 0, tmpTLVsize=249 [20:27:13]tlvbuf is 01F30C70 [20:27:13]SAM_PROTO_ClearQueue [20:27:13]wFMCommunicate request_size=4 [20:27:13]MH_SAM_APDU [20:27:13]CAPDU: 80 09 00 00 [20:27:13]Write to MH i2c: E2 08 00 8F 02 80 09 00 00 00 00 00 00 03 [20:27:13]Write i2c OK [20:27:13]MH_I2C_Read... [20:27:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:27:13]Read from MH i2c: E2 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 03 00 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 03 00 8F 02 00 90 00 05 [20:27:13]RAPDU: 90 00 [20:27:13]wFMCommunicate OK [20:27:13]SAM_PROTO_ClearQueue done [20:27:13]KKMCreateOFDPacket [20:27:13]OFDProtocolAddRootSTLVToBuf [20:27:13]FM_MakeSignedData [20:27:13]FM_MakeSignedData [20:27:13]SAM_PROTO_SignData [20:27:13]wFMCommunicate request_size=4 [20:27:13]MH_SAM_APDU [20:27:13]CAPDU: 80 0D 01 02 [20:27:13]Write to MH i2c: E2 08 00 90 02 80 0D 01 02 00 00 00 00 0B [20:27:13]Write i2c OK [20:27:13]MH_I2C_Read... [20:27:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:27:13]Read from MH i2c: E2 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 03 00 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 03 00 90 02 00 90 00 06 [20:27:13]RAPDU: 90 00 [20:27:13]wFMCommunicate OK [20:27:13]wFMCommunicate request_size=255 [20:27:13]MH_SAM_APDU [20:27:13]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A0 96 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E1 3D 00 00 35 04 06 00 31 81 9D [20:27:13]Write to MH i2c: E2 02 01 91 02 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A0 96 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E1 3D 00 00 35 04 06 00 31 81 9D 00 00 5B [20:27:13]Write i2c OK [20:27:13]MH_I2C_Read... [20:27:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:13]Read from MH i2c: E2 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 03 00 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 03 00 91 02 00 90 00 07 [20:27:13]RAPDU: 90 00 [20:27:13]wFMCommunicate OK [20:27:13]wFMCommunicate request_size=8 [20:27:13]MH_SAM_APDU [20:27:13]CAPDU: 80 0D 02 02 03 D0 7C 5A [20:27:13]Write to MH i2c: E2 0B 00 92 02 80 0D 02 02 03 00 D0 7C 5A 00 00 BA [20:27:13]Write i2c OK [20:27:13]MH_I2C_Read... [20:27:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:13]Read from MH i2c: E2 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 03 00 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 03 00 92 02 00 90 00 08 [20:27:13]RAPDU: 90 00 [20:27:13]wFMCommunicate OK [20:27:13]wFMCommunicate request_size=4 [20:27:13]MH_SAM_APDU [20:27:13]CAPDU: 80 0D 03 02 [20:27:13]Write to MH i2c: E2 08 00 93 02 80 0D 03 02 00 00 00 00 10 [20:27:13]Write i2c OK [20:27:13]MH_I2C_Read... [20:27:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:27:13]Read from MH i2c: E2 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 0B 00 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 0B 00 93 02 00 1F DD 45 58 71 38 BF 2D 90 00 3F [20:27:13]RAPDU: 1F DD 45 58 71 38 BF 2D 90 00 [20:27:13]wFMCommunicate OK [20:27:13]SAM_PROTO_SignData done [20:27:13]FM_MakeSignedData done [20:27:13]CreateOFDProtocolMessage [20:27:13]wFMCommunicate request_size=4 [20:27:13]MH_SAM_APDU [20:27:13]CAPDU: 80 11 00 00 [20:27:13]Write to MH i2c: E2 08 00 94 02 80 11 00 00 00 00 00 00 10 [20:27:13]Write i2c OK [20:27:13]MH_I2C_Read... [20:27:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:13]Read from MH i2c: E2 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 17 00 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: E2 17 00 94 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 5F [20:27:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [20:27:13]wFMCommunicate OK [20:27:13]CreateOFDProtocolMessage done [20:27:13]OFDSenderStorePacket 15841 [20:27:13]StoreOFDPacket docnum=15841 [20:27:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 4D 7E 05 01 C9 E5 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A0 96 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E1 3D 00 00 35 04 06 00 31 81 9D D0 7C 5A 1F DD 45 58 71 38 BF 2D [20:27:13]CheckFolder [20:27:13]dirname=/storage/ofd_packets [20:27:13]CheckFolder done [20:27:13]ProducePacketName [20:27:13]name=ofd_packets/00015841 [20:27:13]NVStorageSaveData ofd_packets/00015841 [20:27:13]File name is /storage/ofd_packets/00015841 [20:27:13]Write 299 bytes [20:27:13]NVStorageSaveData done [20:27:13]OFDSenderStorePacket done [20:27:13]KKMCreateOFDPacket done [20:27:13]NVStorageSaveData kkm_last_timestamp [20:27:13]File name is /storage/kkm_last_timestamp [20:27:13]Write 4 bytes [20:27:13]NVStorageSaveData done [20:27:13]ExternCall_PrintAddStr [20:27:13]wPrintStart [20:27:13]Write to MH i2c: 01 00 00 95 02 97 [20:27:13]Write i2c OK [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: 01 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: 01 07 00 [20:27:13]MH_I2C_Read... [20:27:13]Read from MH i2c: 01 07 00 95 02 00 00 00 00 00 FF 0F AC [20:27:13]RasterBufferAndPrint [20:27:13]line Счет N : (1)16392 [20:27:13]line ИНН: 02508201610067 [20:27:13]line Контрольно-Кассовый Чек [20:27:13]line ПРОДАЖА [20:27:13]line ТРК (МРК, ГНК) : 12 [20:27:13]line Товар: 50.50.0 [20:27:13]line SUPER 92-К-5 [20:27:13]line 7.310 * 68.40 [20:27:13]line = 500.00 [20:27:13]line НДС 12% НСП 1% [20:27:13]line > о реализуемом товаре [20:27:13]line ИТОГО: 500.00 [20:27:13]line НСП 1% : 4.42 [20:27:13]line НДС 12% : 53.10 [20:27:13]line Наличными: 500.00 [20:27:13]line Безнал.: 0.00 [20:27:13]line Место: АЗС № 178 "Партнер Нефть" [20:27:13]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [20:27:13]line СНО: Общий режим [20:27:13]line Чек 51 30.10.2024 20:27 [20:27:13]line Смена: 173 ФФД: 1.0 [20:27:13]line ЗНМ: 0300000014 [20:27:13]line РНМ: 0000000000161798 [20:27:13]line Версия ККМ: v1.0 [20:27:13]line ФМ: 0000000000963325 [20:27:13]line ФД: 15841 [20:27:13]line ФПД: 54432768228442 [20:27:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T202712&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15841&fm=54432768228442&tin=02508201610067®Number=0000000000161798&sum=50000 [20:27:13]OFD Sender: Processing packet 15841 [packets to send 4, broken 3] [20:27:13]ProducePacketName [20:27:13]name=ofd_packets/00015841 [20:27:13]OFD Sender: To server: pG, [20:27:13]CommunicateWithHost lk.salyk.kg:30040 [20:27:13]ConnectInit lk.salyk.kg [20:27:13]written 0, free lines is 4095 [20:27:14]Connected sock=10 [20:27:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 4D 7E 05 01 C9 E5 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 1C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 50 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 A0 96 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E1 3D 00 00 35 04 06 00 31 81 9D D0 7C 5A 1F DD 45 58 71 38 BF 2D [20:27:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 9C 40 47 00 AE 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 E1 3D 00 00 F4 03 04 00 88 41 22 67 B6 04 01 00 00 C2 A4 7B 90 D1 8C 61 B6 [20:27:14]CommunicateWithHost err = 0 [20:27:14]CheckOFDResponse [20:27:14]1017 (14) - 77093643461234 [20:27:14]1041 (16) - 0000000000963325 [20:27:14]1040 (4) - 15841 [20:27:14]1012 (4) - 30.10.2024 14:24 [20:27:14]1206 (1) - 0 [20:27:14]OFD Sender: Remove packet 15841 [20:27:14]ProducePacketName [20:27:14]name=ofd_packets/00015841 [20:27:14]NVStorageDeleteData [20:27:14]Write to MH i2c: 01 00 00 BD 02 BF [20:27:14]Write i2c OK [20:27:14]MH_I2C_Read... [20:27:14]Read from MH i2c: 01 [20:27:14]MH_I2C_Read... [20:27:14]Read from MH i2c: 01 07 00 [20:27:14]MH_I2C_Read... [20:27:14]Read from MH i2c: 01 07 00 BD 02 00 00 00 00 00 15 0D E8 [20:27:14]RasterBufferAndPrint [20:27:14]line [20:27:14]line [20:27:14]line [20:27:14]line [20:27:14]line [20:27:14]written 0, free lines is 3356 [20:27:14]MH_Cut [20:27:14]Write to MH i2c: D1 01 00 C4 02 01 98 [20:27:14]Write i2c OK [20:27:14]MH_I2C_Read... [20:27:14]Read from MH i2c: D1 [20:27:14]MH_I2C_Read... [20:27:14]Read from MH i2c: D1 01 00 [20:27:14]MH_I2C_Read... [20:27:14]Read from MH i2c: D1 01 00 C4 02 00 97 [20:27:14]Write to MH i2c: 01 00 00 C5 02 C7 [20:27:14]Write i2c OK [20:27:14]MH_I2C_Read... [20:27:14]OFD Sender: No OFD packet to send [20:27:15]*** Cut start [20:27:15]*** Partial cut [20:27:15]*** CUTSNS_PIN = 1 [20:27:15]*** CUTSNS_PIN = 0 [20:27:15]*** Brake cut motor [20:27:15]Read from MH i2c: 01 [20:27:15]MH_I2C_Read... [20:27:15]*** Stop cut motor [20:27:15]*** Cut end [20:27:15]Read from MH i2c: 01 07 00 [20:27:15]MH_I2C_Read... [20:27:15]Read from MH i2c: 01 07 00 C5 02 00 00 00 00 00 FF 0F DC [20:27:15]process_action close_receipt done [20:27:15]requested_data is exist [20:27:15]produce_requested_data [20:27:15]requested_item fm.sn is exist - process it [20:27:15]wFMCommunicate request_size=4 [20:27:15]MH_SAM_APDU [20:27:15]CAPDU: 80 11 00 00 [20:27:15]Write to MH i2c: E2 08 00 C6 02 80 11 00 00 00 00 00 00 42 [20:27:15]Write i2c OK [20:27:15]MH_I2C_Read... [20:27:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:15]Read from MH i2c: E2 [20:27:15]MH_I2C_Read... [20:27:15]Read from MH i2c: E2 17 00 [20:27:15]MH_I2C_Read... [20:27:15]Read from MH i2c: E2 17 00 C6 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 91 [20:27:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [20:27:15]wFMCommunicate OK [20:27:15]requested_item fd.num is exist - process it [20:27:15]SAM_PROTO_GetFieldsCounters [20:27:15]wFMCommunicate request_size=4 [20:27:15]MH_SAM_APDU [20:27:15]CAPDU: 80 13 00 00 [20:27:15]Write to MH i2c: E2 08 00 C7 02 80 13 00 00 00 00 00 00 45 [20:27:15]Write i2c OK [20:27:15]MH_I2C_Read... [20:27:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:27:15]Read from MH i2c: E2 [20:27:15]MH_I2C_Read... [20:27:15]Read from MH i2c: E2 62 00 [20:27:15]MH_I2C_Read... [20:27:15]Read from MH i2c: E2 62 00 C7 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E1 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 CD [20:27:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E1 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:27:15]wFMCommunicate OK [20:27:15]SAM_PROTO_GetFieldsCounters done [20:27:15]requested_item shift.num is exist - process it [20:27:15]requested_item shift.opened is exist - process it [20:27:15]req_shift_opened [20:27:15]FM_GetShiftState [20:27:15]SAM_PROTO_GetShiftState [20:27:15]wFMCommunicate request_size=4 [20:27:15]MH_SAM_APDU [20:27:15]CAPDU: 80 13 01 00 [20:27:15]Write to MH i2c: E2 08 00 C8 02 80 13 01 00 00 00 00 00 47 [20:27:15]Write i2c OK [20:27:15]MH_I2C_Read... [20:27:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:16]Read from MH i2c: E2 [20:27:16]MH_I2C_Read... [20:27:16]Read from MH i2c: E2 0E 00 [20:27:16]MH_I2C_Read... [20:27:16]Read from MH i2c: E2 0E 00 C8 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 8C [20:27:16]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [20:27:16]wFMCommunicate OK [20:27:16]SAM_PROTO_GetShiftState done [20:27:16]FM_GetShiftState done [20:27:16]req_shift_opened done [20:27:16]requested_item shift.open_date is exist - process it [20:27:16]req_shift_open_date [20:27:16]req_shift_open_date done [20:27:16]produce_requested_data done [20:27:16]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15841,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [20:27:16]process_action_free close_receipt [20:27:16]json_value_free [20:27:16]json_value_free done [20:27:16]process_json_proto returns [20:27:16]Send response to host [20:27:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15841,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [20:27:16]free response buf [20:27:16]execute_script done [20:27:16]execute_script returns [20:27:16]free content buf [20:27:16]Sock 7.Close socket [20:27:16]Sock 7.Thread stoped [20:27:19]OFD Sender: No OFD packet to send [20:27:24]OFD Sender: No OFD packet to send [20:27:29]OFD Sender: No OFD packet to send [20:27:34]OFD Sender: No OFD packet to send [20:27:39]OFD Sender: No OFD packet to send [20:27:44]OFD Sender: No OFD packet to send [20:27:49]OFD Sender: No OFD packet to send [20:27:54]OFD Sender: No OFD packet to send [20:27:59]OFD Sender: No OFD packet to send [20:28:04]OFD Sender: No OFD packet to send [20:28:09]OFD Sender: No OFD packet to send [20:28:14]OFD Sender: No OFD packet to send [20:28:19]OFD Sender: No OFD packet to send [20:28:24]OFD Sender: No OFD packet to send [20:28:29]OFD Sender: No OFD packet to send [20:28:34]OFD Sender: No OFD packet to send [20:28:39]OFD Sender: No OFD packet to send [20:28:44]OFD Sender: No OFD packet to send [20:28:49]OFD Sender: No OFD packet to send [20:28:54]OFD Sender: No OFD packet to send [20:28:59]OFD Sender: No OFD packet to send [20:29:04]OFD Sender: No OFD packet to send [20:29:09]OFD Sender: No OFD packet to send [20:29:14]OFD Sender: No OFD packet to send [20:29:19]OFD Sender: No OFD packet to send [20:29:24]OFD Sender: No OFD packet to send [20:29:29]OFD Sender: No OFD packet to send [20:29:34]OFD Sender: No OFD packet to send [20:29:39]OFD Sender: No OFD packet to send [20:29:44]OFD Sender: No OFD packet to send [20:29:49]OFD Sender: No OFD packet to send [20:29:54]OFD Sender: No OFD packet to send [20:29:59]OFD Sender: No OFD packet to send [20:30:04]OFD Sender: No OFD packet to send [20:30:09]OFD Sender: No OFD packet to send [20:30:14]OFD Sender: No OFD packet to send [20:30:19]OFD Sender: No OFD packet to send [20:30:24]OFD Sender: No OFD packet to send [20:30:29]OFD Sender: No OFD packet to send [20:30:34]OFD Sender: No OFD packet to send [20:30:39]OFD Sender: No OFD packet to send [20:30:44]OFD Sender: No OFD packet to send [20:30:49]OFD Sender: No OFD packet to send [20:30:54]OFD Sender: No OFD packet to send [20:30:59]OFD Sender: No OFD packet to send [20:31:04]OFD Sender: No OFD packet to send [20:31:09]OFD Sender: No OFD packet to send [20:31:14]OFD Sender: No OFD packet to send [20:31:19]OFD Sender: No OFD packet to send [20:31:24]OFD Sender: No OFD packet to send [20:31:29]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:40]OFD Sender: No OFD packet to send [20:39:45]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:55]OFD Sender: No OFD packet to send [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:45]OFD Sender: No OFD packet to send [20:41:50]OFD Sender: No OFD packet to send [20:41:55]OFD Sender: No OFD packet to send [20:42:00]OFD Sender: No OFD packet to send [20:42:05]OFD Sender: No OFD packet to send [20:42:10]OFD Sender: No OFD packet to send [20:42:15]OFD Sender: No OFD packet to send [20:42:20]OFD Sender: No OFD packet to send [20:42:25]OFD Sender: No OFD packet to send [20:42:30]OFD Sender: No OFD packet to send [20:42:35]OFD Sender: No OFD packet to send [20:42:40]OFD Sender: No OFD packet to send [20:42:45]OFD Sender: No OFD packet to send [20:42:50]OFD Sender: No OFD packet to send [20:42:55]OFD Sender: No OFD packet to send [20:43:00]OFD Sender: No OFD packet to send [20:43:05]OFD Sender: No OFD packet to send [20:43:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:40]OFD Sender: No OFD packet to send [20:43:45]OFD Sender: No OFD packet to send [20:43:50]OFD Sender: No OFD packet to send [20:43:55]OFD Sender: No OFD packet to send [20:44:00]OFD Sender: No OFD packet to send [20:44:05]OFD Sender: No OFD packet to send [20:44:10]OFD Sender: No OFD packet to send [20:44:15]OFD Sender: No OFD packet to send [20:44:20]OFD Sender: No OFD packet to send [20:44:25]OFD Sender: No OFD packet to send [20:44:30]OFD Sender: No OFD packet to send [20:44:35]OFD Sender: No OFD packet to send [20:44:40]OFD Sender: No OFD packet to send [20:44:45]OFD Sender: No OFD packet to send [20:44:50]OFD Sender: No OFD packet to send [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:40]OFD Sender: No OFD packet to send [20:46:45]OFD Sender: No OFD packet to send [20:46:50]OFD Sender: No OFD packet to send [20:46:55]OFD Sender: No OFD packet to send [20:47:00]OFD Sender: No OFD packet to send [20:47:05]OFD Sender: No OFD packet to send [20:47:10]OFD Sender: No OFD packet to send [20:47:15]OFD Sender: No OFD packet to send [20:47:20]OFD Sender: No OFD packet to send [20:47:25]OFD Sender: No OFD packet to send [20:47:30]OFD Sender: No OFD packet to send [20:47:35]OFD Sender: No OFD packet to send [20:47:40]OFD Sender: No OFD packet to send [20:47:45]OFD Sender: No OFD packet to send [20:47:50]OFD Sender: No OFD packet to send [20:47:55]OFD Sender: No OFD packet to send [20:48:00]OFD Sender: No OFD packet to send [20:48:05]OFD Sender: No OFD packet to send [20:48:10]OFD Sender: No OFD packet to send [20:48:15]OFD Sender: No OFD packet to send [20:48:20]OFD Sender: No OFD packet to send [20:48:25]OFD Sender: No OFD packet to send [20:48:30]OFD Sender: No OFD packet to send [20:48:35]OFD Sender: No OFD packet to send [20:48:40]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:45]OFD Sender: No OFD packet to send [20:50:50]OFD Sender: No OFD packet to send [20:50:55]OFD Sender: No OFD packet to send [20:51:00]OFD Sender: No OFD packet to send [20:51:05]OFD Sender: No OFD packet to send [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:20]OFD Sender: No OFD packet to send [20:51:25]OFD Sender: No OFD packet to send [20:51:30]OFD Sender: No OFD packet to send [20:51:35]OFD Sender: No OFD packet to send [20:51:40]OFD Sender: No OFD packet to send [20:51:45]OFD Sender: No OFD packet to send [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:01]OFD Sender: No OFD packet to send [20:53:06]OFD Sender: No OFD packet to send [20:53:11]OFD Sender: No OFD packet to send [20:53:16]OFD Sender: No OFD packet to send [20:53:21]OFD Sender: No OFD packet to send [20:53:26]OFD Sender: No OFD packet to send [20:53:31]OFD Sender: No OFD packet to send [20:53:36]OFD Sender: No OFD packet to send [20:53:41]OFD Sender: No OFD packet to send [20:53:46]OFD Sender: No OFD packet to send [20:53:51]OFD Sender: No OFD packet to send [20:53:56]OFD Sender: No OFD packet to send [20:54:01]OFD Sender: No OFD packet to send [20:54:06]OFD Sender: No OFD packet to send [20:54:11]OFD Sender: No OFD packet to send [20:54:16]OFD Sender: No OFD packet to send [20:54:21]OFD Sender: No OFD packet to send [20:54:26]OFD Sender: No OFD packet to send [20:54:31]OFD Sender: No OFD packet to send [20:54:36]OFD Sender: No OFD packet to send [20:54:41]OFD Sender: No OFD packet to send [20:54:46]OFD Sender: No OFD packet to send [20:54:51]OFD Sender: No OFD packet to send [20:54:56]OFD Sender: No OFD packet to send [20:55:00]accept exits with 9 [20:55:00]New connection [20:55:00]New thread 3067247972 created [20:55:00]Thread 3067391332 joined [20:55:00]Waiting for new connection... [20:55:00] Sock 9.Parse request [20:55:00]Sock 9.Check first char [20:55:00]Sock 9.First char is OK [20:55:00]request: POST /json_proto HTTP/1.0 [20:55:00]Method: POST [20:55:00]URL: /json_proto [20:55:00]Method is POST - this is cgi request [20:55:00]url: /json_proto [20:55:00]query_string will be loaded in cgi processing [20:55:00]execute_cgi json_proto POST (null) [20:55:00]execute_cgi path=json_proto method=POST [20:55:00]POST find Content-Length [20:55:00]Host: 172.17.54.195:8080 [20:55:00]Content-Length: 799 [20:55:00]Content-Type: application/json [20:55:00] [20:55:00]POST finish read [20:55:00]Found Content-Length = 799 [20:55:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16393", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 20.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\u000A3949073", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:55:00]execute_script... [20:55:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16393", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 20.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\u000A3949073", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:55:00]POST & json_proto [20:55:00]process_json_proto [20:55:00]json parsed OK: [20:55:00]protocol is kg_v1.0 [20:55:00]action value=close_receipt [20:55:00]process_action close_receipt [20:55:00]cmd_close_receipt [20:55:00]MH_GetDate [20:55:00]Write to MH i2c: F0 00 00 C9 02 BA [20:55:00]Write i2c OK [20:55:00]MH_I2C_Read... [20:55:00]Read from MH i2c: F0 [20:55:00]MH_I2C_Read... [20:55:00]Read from MH i2c: F0 09 00 [20:55:00]MH_I2C_Read... [20:55:00]Read from MH i2c: F0 09 00 C9 02 00 25 9D 22 67 8D 90 A3 66 34 [20:55:00]GetLastDocTimeStamp 1730320032 [20:55:00]current date 1730321701 [20:55:00]FM_GetShiftState [20:55:00]SAM_PROTO_GetShiftState [20:55:00]wFMCommunicate request_size=4 [20:55:00]MH_SAM_APDU [20:55:00]CAPDU: 80 13 01 00 [20:55:00]Write to MH i2c: E2 08 00 CA 02 80 13 01 00 00 00 00 00 49 [20:55:00]Write i2c OK [20:55:00]MH_I2C_Read... [20:55:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:55:00]Read from MH i2c: E2 [20:55:00]MH_I2C_Read... [20:55:00]Read from MH i2c: E2 0E 00 [20:55:00]MH_I2C_Read... [20:55:00]Read from MH i2c: E2 0E 00 CA 02 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 8E [20:55:00]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [20:55:00]wFMCommunicate OK [20:55:00]SAM_PROTO_GetShiftState done [20:55:00]FM_GetShiftState done [20:55:00]opened in 1730247478 [20:55:00]opened+sec_in_day 1730333878 [20:55:00]quantity*price = 0 [20:55:00]sum+1 = 1 [20:55:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 52 30.10.2024 20:55 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Талоны: Топливные Талоны 3949073 ФМ: 0000000000963325 ФД: 15842 ФПД: 47507571133891 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T205501&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15842&fm=47507571133891&tin=02508201610067®Number=0000000000161798&sum=0 [20:55:01]StoreToDocumentArchive [20:55:01]shift 173 fd 15842 [20:55:01]save to /storage/0173/doc_00015842 [20:55:01]save last doc name /storage/0173/doc_00015842 to /storage/kkm_last_doc_name [20:55:01]save OK [20:55:01]Clear old archive folders... [20:55:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:55:01]tlvbuf is 01F2E6C0 [20:55:01]SAM_PROTO_ClearQueue [20:55:01]wFMCommunicate request_size=4 [20:55:01]MH_SAM_APDU [20:55:01]CAPDU: 80 09 00 00 [20:55:01]Write to MH i2c: E2 08 00 D7 02 80 09 00 00 00 00 00 00 4B [20:55:01]Write i2c OK [20:55:01]MH_I2C_Read... [20:55:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:55:01]Read from MH i2c: E2 [20:55:01]MH_I2C_Read... [20:55:01]Read from MH i2c: E2 03 00 [20:55:01]MH_I2C_Read... [20:55:01]Read from MH i2c: E2 03 00 D7 02 00 90 00 4D [20:55:01]RAPDU: 90 00 [20:55:01]wFMCommunicate OK [20:55:01]SAM_PROTO_ClearQueue done [20:55:01]KKMCreateOFDPacket [20:55:01]OFDProtocolAddRootSTLVToBuf [20:55:01]FM_MakeSignedData [20:55:01]FM_MakeSignedData [20:55:01]SAM_PROTO_SignData [20:55:01]wFMCommunicate request_size=4 [20:55:01]MH_SAM_APDU [20:55:01]CAPDU: 80 0D 01 02 [20:55:01]Write to MH i2c: E2 08 00 D8 02 80 0D 01 02 00 00 00 00 53 [20:55:01]Write i2c OK [20:55:01]MH_I2C_Read... [20:55:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:55:01]Read from MH i2c: E2 [20:55:01]MH_I2C_Read... [20:55:01]Read from MH i2c: E2 03 00 [20:55:01]MH_I2C_Read... [20:55:01]Read from MH i2c: E2 03 00 D8 02 00 90 00 4E [20:55:01]RAPDU: 90 00 [20:55:01]wFMCommunicate OK [20:55:01]wFMCommunicate request_size=255 [20:55:01]MH_SAM_APDU [20:55:01]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 4E 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 34 00 00 00 F4 03 04 00 25 9D 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E2 3D 00 00 35 04 06 00 2B [20:55:01]Write to MH i2c: E2 02 01 D9 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 4E 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 34 00 00 00 F4 03 04 00 25 9D 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E2 3D 00 00 35 04 06 00 2B 00 00 44 [20:55:01]Write i2c OK [20:55:01]MH_I2C_Read... [20:55:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:55:02]Read from MH i2c: E2 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: E2 03 00 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: E2 03 00 D9 02 00 90 00 4F [20:55:02]RAPDU: 90 00 [20:55:02]wFMCommunicate OK [20:55:02]wFMCommunicate request_size=10 [20:55:02]MH_SAM_APDU [20:55:02]CAPDU: 80 0D 02 02 05 35 37 E6 CD C3 [20:55:02]Write to MH i2c: E2 0D 00 DA 02 80 0D 02 02 05 00 35 37 E6 CD C3 00 00 42 [20:55:02]Write i2c OK [20:55:02]MH_I2C_Read... [20:55:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:55:02]Read from MH i2c: E2 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: E2 03 00 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: E2 03 00 DA 02 00 90 00 50 [20:55:02]RAPDU: 90 00 [20:55:02]wFMCommunicate OK [20:55:02]wFMCommunicate request_size=4 [20:55:02]MH_SAM_APDU [20:55:02]CAPDU: 80 0D 03 02 [20:55:02]Write to MH i2c: E2 08 00 DB 02 80 0D 03 02 00 00 00 00 58 [20:55:02]Write i2c OK [20:55:02]MH_I2C_Read... [20:55:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:55:02]Read from MH i2c: E2 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: E2 0B 00 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: E2 0B 00 DB 02 00 B3 7C 9E A5 65 6D 94 4D 90 00 7E [20:55:02]RAPDU: B3 7C 9E A5 65 6D 94 4D 90 00 [20:55:02]wFMCommunicate OK [20:55:02]SAM_PROTO_SignData done [20:55:02]FM_MakeSignedData done [20:55:02]CreateOFDProtocolMessage [20:55:02]wFMCommunicate request_size=4 [20:55:02]MH_SAM_APDU [20:55:02]CAPDU: 80 11 00 00 [20:55:02]Write to MH i2c: E2 08 00 DC 02 80 11 00 00 00 00 00 00 58 [20:55:02]Write i2c OK [20:55:02]MH_I2C_Read... [20:55:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:55:02]Read from MH i2c: E2 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: E2 17 00 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: E2 17 00 DC 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 A7 [20:55:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [20:55:02]wFMCommunicate OK [20:55:02]CreateOFDProtocolMessage done [20:55:02]OFDSenderStorePacket 15842 [20:55:02]StoreOFDPacket docnum=15842 [20:55:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 45 6A 07 01 D7 D4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 4E 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 34 00 00 00 F4 03 04 00 25 9D 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E2 3D 00 00 35 04 06 00 2B 35 37 E6 CD C3 B3 7C 9E A5 65 6D 94 4D [20:55:02]CheckFolder [20:55:02]dirname=/storage/ofd_packets [20:55:02]CheckFolder done [20:55:02]ProducePacketName [20:55:02]name=ofd_packets/00015842 [20:55:02]NVStorageSaveData ofd_packets/00015842 [20:55:02]File name is /storage/ofd_packets/00015842 [20:55:02]Write 301 bytes [20:55:02]NVStorageSaveData done [20:55:02]OFDSenderStorePacket done [20:55:02]KKMCreateOFDPacket done [20:55:02]NVStorageSaveData kkm_last_timestamp [20:55:02]File name is /storage/kkm_last_timestamp [20:55:02]Write 4 bytes [20:55:02]NVStorageSaveData done [20:55:02]ExternCall_PrintAddStr [20:55:02]wPrintStart [20:55:02]Write to MH i2c: 01 00 00 DD 02 DF [20:55:02]OFD Sender: Processing packet 15842 [packets to send 4, broken 3] [20:55:02]ProducePacketName [20:55:02]name=ofd_packets/00015842 [20:55:02]OFD Sender: To server: pG, [20:55:02]CommunicateWithHost lk.salyk.kg:30040 [20:55:02]ConnectInit lk.salyk.kg [20:55:02]Write i2c OK [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: 01 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: 01 07 00 [20:55:02]MH_I2C_Read... [20:55:02]Read from MH i2c: 01 07 00 DD 02 00 00 00 00 00 FF 0F F4 [20:55:02]RasterBufferAndPrint [20:55:02]line Счет N : (1)16393 [20:55:02]line ИНН: 02508201610067 [20:55:02]line Контрольно-Кассовый Чек [20:55:02]line ПРОДАЖА [20:55:02]line ТРК (МРК, ГНК) : 21 [20:55:02]line Товар: 2710124130 [20:55:02]line Аи-92-К-5 [20:55:02]line 20.000 * 0.00 [20:55:02]line = 0.00 [20:55:02]line НДС 12% НСП 1% [20:55:02]line > о реализуемом товаре [20:55:02]line ИТОГО: 0.00 [20:55:02]line НСП 1% : 0.00 [20:55:02]line НДС 12% : 0.00 [20:55:02]line Наличными: 0.00 [20:55:02]line Безнал.: 0.00 [20:55:02]line Место: АЗС № 178 "Партнер Нефть" [20:55:02]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [20:55:02]line СНО: Общий режим [20:55:02]line Чек 52 30.10.2024 20:55 [20:55:02]line Смена: 173 ФФД: 1.0 [20:55:02]line ЗНМ: 0300000014 [20:55:02]line РНМ: 0000000000161798 [20:55:02]line Версия ККМ: v1.0 [20:55:02]line Талоны: Топливные Талоны [20:55:02]line 3949073 [20:55:02]line ФМ: 0000000000963325 [20:55:02]line ФД: 15842 [20:55:02]line ФПД: 47507571133891 [20:55:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T205501&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15842&fm=47507571133891&tin=02508201610067®Number=0000000000161798&sum=0 [20:55:02]Connected sock=10 [20:55:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 45 6A 07 01 D7 D4 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 4E 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 34 00 00 00 F4 03 04 00 25 9D 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E2 3D 00 00 35 04 06 00 2B 35 37 E6 CD C3 B3 7C 9E A5 65 6D 94 4D [20:55:02]written 0, free lines is 4095 [20:55:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 B4 80 47 00 8A 6A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E2 3D 00 00 F4 03 04 00 0D 48 22 67 B6 04 01 00 00 0E 5C DE 17 77 3D 38 3C [20:55:02]CommunicateWithHost err = 0 [20:55:02]CheckOFDResponse [20:55:02]1017 (14) - 77093643461234 [20:55:02]1041 (16) - 0000000000963325 [20:55:02]1040 (4) - 15842 [20:55:02]1012 (4) - 30.10.2024 14:51 [20:55:02]1206 (1) - 0 [20:55:02]OFD Sender: Remove packet 15842 [20:55:02]ProducePacketName [20:55:02]name=ofd_packets/00015842 [20:55:02]NVStorageDeleteData [20:55:03]Write to MH i2c: 01 00 00 07 03 0A [20:55:03]Write i2c OK [20:55:03]MH_I2C_Read... [20:55:03]Read from MH i2c: 01 [20:55:03]MH_I2C_Read... [20:55:03]Read from MH i2c: 01 07 00 [20:55:03]MH_I2C_Read... [20:55:03]Read from MH i2c: 01 07 00 07 03 00 00 00 00 00 06 0D 24 [20:55:03]RasterBufferAndPrint [20:55:03]line [20:55:03]line [20:55:03]line [20:55:03]line [20:55:03]line [20:55:03]written 0, free lines is 3340 [20:55:03]MH_Cut [20:55:03]Write to MH i2c: D1 01 00 0E 03 01 E3 [20:55:03]Write i2c OK [20:55:03]MH_I2C_Read... [20:55:03]Read from MH i2c: D1 [20:55:03]MH_I2C_Read... [20:55:03]Read from MH i2c: D1 01 00 [20:55:03]MH_I2C_Read... [20:55:03]Read from MH i2c: D1 01 00 0E 03 00 E2 [20:55:03]Write to MH i2c: 01 00 00 0F 03 12 [20:55:03]Write i2c OK [20:55:03]MH_I2C_Read... [20:55:03]OFD Sender: No OFD packet to send [20:55:03]*** Cut start [20:55:03]*** Partial cut [20:55:03]*** CUTSNS_PIN = 1 [20:55:03]*** CUTSNS_PIN = 0 [20:55:04]*** Brake cut motor [20:55:04]Read from MH i2c: 01 [20:55:04]MH_I2C_Read... [20:55:04]*** Stop cut motor [20:55:04]*** Cut end [20:55:04]Read from MH i2c: 01 07 00 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: 01 07 00 0F 03 00 00 00 00 00 FF 0F 27 [20:55:04]process_action close_receipt done [20:55:04]requested_data is exist [20:55:04]produce_requested_data [20:55:04]requested_item fm.sn is exist - process it [20:55:04]wFMCommunicate request_size=4 [20:55:04]MH_SAM_APDU [20:55:04]CAPDU: 80 11 00 00 [20:55:04]Write to MH i2c: E2 08 00 10 03 80 11 00 00 00 00 00 00 8D [20:55:04]Write i2c OK [20:55:04]MH_I2C_Read... [20:55:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:55:04]Read from MH i2c: E2 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: E2 17 00 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: E2 17 00 10 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 DC [20:55:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [20:55:04]wFMCommunicate OK [20:55:04]requested_item fd.num is exist - process it [20:55:04]SAM_PROTO_GetFieldsCounters [20:55:04]wFMCommunicate request_size=4 [20:55:04]MH_SAM_APDU [20:55:04]CAPDU: 80 13 00 00 [20:55:04]Write to MH i2c: E2 08 00 11 03 80 13 00 00 00 00 00 00 90 [20:55:04]Write i2c OK [20:55:04]MH_I2C_Read... [20:55:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:55:04]Read from MH i2c: E2 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: E2 62 00 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: E2 62 00 11 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 1C [20:55:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:55:04]wFMCommunicate OK [20:55:04]SAM_PROTO_GetFieldsCounters done [20:55:04]requested_item shift.num is exist - process it [20:55:04]requested_item shift.opened is exist - process it [20:55:04]req_shift_opened [20:55:04]FM_GetShiftState [20:55:04]SAM_PROTO_GetShiftState [20:55:04]wFMCommunicate request_size=4 [20:55:04]MH_SAM_APDU [20:55:04]CAPDU: 80 13 01 00 [20:55:04]Write to MH i2c: E2 08 00 12 03 80 13 01 00 00 00 00 00 92 [20:55:04]Write i2c OK [20:55:04]MH_I2C_Read... [20:55:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:55:04]Read from MH i2c: E2 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: E2 0E 00 [20:55:04]MH_I2C_Read... [20:55:04]Read from MH i2c: E2 0E 00 12 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 D7 [20:55:04]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [20:55:04]wFMCommunicate OK [20:55:04]SAM_PROTO_GetShiftState done [20:55:04]FM_GetShiftState done [20:55:04]req_shift_opened done [20:55:04]requested_item shift.open_date is exist - process it [20:55:04]req_shift_open_date [20:55:04]req_shift_open_date done [20:55:04]produce_requested_data done [20:55:04]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15842,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [20:55:04]process_action_free close_receipt [20:55:04]json_value_free [20:55:04]json_value_free done [20:55:04]process_json_proto returns [20:55:04]Send response to host [20:55:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15842,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [20:55:04]free response buf [20:55:04]execute_script done [20:55:04]execute_script returns [20:55:04]free content buf [20:55:04]Sock 9.Close socket [20:55:04]Sock 9.Thread stoped [20:55:08]OFD Sender: No OFD packet to send [20:55:13]OFD Sender: No OFD packet to send [20:55:18]OFD Sender: No OFD packet to send [20:55:23]OFD Sender: No OFD packet to send [20:55:28]OFD Sender: No OFD packet to send [20:55:33]OFD Sender: No OFD packet to send [20:55:38]OFD Sender: No OFD packet to send [20:55:43]OFD Sender: No OFD packet to send [20:55:48]OFD Sender: No OFD packet to send [20:55:51]accept exits with 7 [20:55:51]New connection [20:55:51]New thread 3067391332 created [20:55:51]Thread 3067247972 joined [20:55:51]Waiting for new connection... [20:55:51] Sock 7.Parse request [20:55:51]Sock 7.Check first char [20:55:51]Sock 7.First char is OK [20:55:51]request: POST /json_proto HTTP/1.0 [20:55:51]Method: POST [20:55:51]URL: /json_proto [20:55:51]Method is POST - this is cgi request [20:55:51]url: /json_proto [20:55:51]query_string will be loaded in cgi processing [20:55:51]execute_cgi json_proto POST (null) [20:55:51]execute_cgi path=json_proto method=POST [20:55:51]POST find Content-Length [20:55:51]Host: 172.17.54.195:8080 [20:55:51]Content-Length: 799 [20:55:51]Content-Type: application/json [20:55:51] [20:55:51]POST finish read [20:55:51]Found Content-Length = 799 [20:55:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16394", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 10.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\u000A4220669", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:55:51]execute_script... [20:55:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16394", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 10.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\u000A4220669", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:55:51]POST & json_proto [20:55:51]process_json_proto [20:55:51]json parsed OK: [20:55:51]protocol is kg_v1.0 [20:55:51]action value=close_receipt [20:55:51]process_action close_receipt [20:55:51]cmd_close_receipt [20:55:51]MH_GetDate [20:55:51]Write to MH i2c: F0 00 00 13 03 05 [20:55:51]Write i2c OK [20:55:51]MH_I2C_Read... [20:55:51]Read from MH i2c: F0 [20:55:51]MH_I2C_Read... [20:55:51]Read from MH i2c: F0 09 00 [20:55:51]MH_I2C_Read... [20:55:51]Read from MH i2c: F0 09 00 13 03 00 57 9D 22 67 8D 90 A3 66 B1 [20:55:51]GetLastDocTimeStamp 1730321701 [20:55:51]current date 1730321751 [20:55:51]FM_GetShiftState [20:55:51]SAM_PROTO_GetShiftState [20:55:51]wFMCommunicate request_size=4 [20:55:51]MH_SAM_APDU [20:55:51]CAPDU: 80 13 01 00 [20:55:51]Write to MH i2c: E2 08 00 14 03 80 13 01 00 00 00 00 00 94 [20:55:51]Write i2c OK [20:55:51]MH_I2C_Read... [20:55:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:55:51]Read from MH i2c: E2 [20:55:51]MH_I2C_Read... [20:55:51]Read from MH i2c: E2 0E 00 [20:55:51]MH_I2C_Read... [20:55:51]Read from MH i2c: E2 0E 00 14 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 D9 [20:55:51]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [20:55:51]wFMCommunicate OK [20:55:51]SAM_PROTO_GetShiftState done [20:55:51]FM_GetShiftState done [20:55:51]opened in 1730247478 [20:55:51]opened+sec_in_day 1730333878 [20:55:51]quantity*price = 0 [20:55:51]sum+1 = 1 [20:55:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 53 30.10.2024 20:55 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Талоны: Топливные Талоны 4220669 ФМ: 0000000000963325 ФД: 15843 ФПД: 186209784956258 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T205551&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15843&fm=186209784956258&tin=02508201610067®Number=0000000000161798&sum=0 [20:55:52]StoreToDocumentArchive [20:55:52]shift 173 fd 15843 [20:55:52]save to /storage/0173/doc_00015843 [20:55:52]save last doc name /storage/0173/doc_00015843 to /storage/kkm_last_doc_name [20:55:52]save OK [20:55:52]Clear old archive folders... [20:55:52]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:55:52]tlvbuf is 01F30240 [20:55:52]SAM_PROTO_ClearQueue [20:55:52]wFMCommunicate request_size=4 [20:55:52]MH_SAM_APDU [20:55:52]CAPDU: 80 09 00 00 [20:55:52]Write to MH i2c: E2 08 00 21 03 80 09 00 00 00 00 00 00 96 [20:55:52]Write i2c OK [20:55:52]MH_I2C_Read... [20:55:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:55:52]Read from MH i2c: E2 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 03 00 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 03 00 21 03 00 90 00 98 [20:55:52]RAPDU: 90 00 [20:55:52]wFMCommunicate OK [20:55:52]SAM_PROTO_ClearQueue done [20:55:52]KKMCreateOFDPacket [20:55:52]OFDProtocolAddRootSTLVToBuf [20:55:52]FM_MakeSignedData [20:55:52]FM_MakeSignedData [20:55:52]SAM_PROTO_SignData [20:55:52]wFMCommunicate request_size=4 [20:55:52]MH_SAM_APDU [20:55:52]CAPDU: 80 0D 01 02 [20:55:52]Write to MH i2c: E2 08 00 22 03 80 0D 01 02 00 00 00 00 9E [20:55:52]Write i2c OK [20:55:52]MH_I2C_Read... [20:55:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:55:52]Read from MH i2c: E2 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 03 00 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 03 00 22 03 00 90 00 99 [20:55:52]RAPDU: 90 00 [20:55:52]wFMCommunicate OK [20:55:52]wFMCommunicate request_size=255 [20:55:52]MH_SAM_APDU [20:55:52]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 10 27 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 35 00 00 00 F4 03 04 00 57 9D 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E3 3D 00 00 35 04 06 00 A9 [20:55:52]Write to MH i2c: E2 02 01 23 03 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 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 35 00 00 00 F4 03 04 00 57 9D 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E3 3D 00 00 35 04 06 00 A9 00 00 0A [20:55:52]Write i2c OK [20:55:52]MH_I2C_Read... [20:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:55:52]Read from MH i2c: E2 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 03 00 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 03 00 23 03 00 90 00 9A [20:55:52]RAPDU: 90 00 [20:55:52]wFMCommunicate OK [20:55:52]wFMCommunicate request_size=10 [20:55:52]MH_SAM_APDU [20:55:52]CAPDU: 80 0D 02 02 05 5B 58 16 05 62 [20:55:52]Write to MH i2c: E2 0D 00 24 03 80 0D 02 02 05 00 5B 58 16 05 62 00 00 DB [20:55:52]Write i2c OK [20:55:52]MH_I2C_Read... [20:55:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:55:52]Read from MH i2c: E2 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 03 00 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 03 00 24 03 00 90 00 9B [20:55:52]RAPDU: 90 00 [20:55:52]wFMCommunicate OK [20:55:52]wFMCommunicate request_size=4 [20:55:52]MH_SAM_APDU [20:55:52]CAPDU: 80 0D 03 02 [20:55:52]Write to MH i2c: E2 08 00 25 03 80 0D 03 02 00 00 00 00 A3 [20:55:52]Write i2c OK [20:55:52]MH_I2C_Read... [20:55:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:55:52]Read from MH i2c: E2 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 0B 00 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 0B 00 25 03 00 C2 85 AA 13 9A 07 44 A1 90 00 2E [20:55:52]RAPDU: C2 85 AA 13 9A 07 44 A1 90 00 [20:55:52]wFMCommunicate OK [20:55:52]SAM_PROTO_SignData done [20:55:52]FM_MakeSignedData done [20:55:52]CreateOFDProtocolMessage [20:55:52]wFMCommunicate request_size=4 [20:55:52]MH_SAM_APDU [20:55:52]CAPDU: 80 11 00 00 [20:55:52]Write to MH i2c: E2 08 00 26 03 80 11 00 00 00 00 00 00 A3 [20:55:52]Write i2c OK [20:55:52]MH_I2C_Read... [20:55:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:55:52]Read from MH i2c: E2 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 17 00 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: E2 17 00 26 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 F2 [20:55:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [20:55:52]wFMCommunicate OK [20:55:52]CreateOFDProtocolMessage done [20:55:52]OFDSenderStorePacket 15843 [20:55:52]StoreOFDPacket docnum=15843 [20:55:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 0D 60 07 01 A2 47 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 10 27 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 35 00 00 00 F4 03 04 00 57 9D 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E3 3D 00 00 35 04 06 00 A9 5B 58 16 05 62 C2 85 AA 13 9A 07 44 A1 [20:55:52]CheckFolder [20:55:52]dirname=/storage/ofd_packets [20:55:52]CheckFolder done [20:55:52]ProducePacketName [20:55:52]name=ofd_packets/00015843 [20:55:52]NVStorageSaveData ofd_packets/00015843 [20:55:52]File name is /storage/ofd_packets/00015843 [20:55:52]Write 301 bytes [20:55:52]NVStorageSaveData done [20:55:52]OFDSenderStorePacket done [20:55:52]KKMCreateOFDPacket done [20:55:52]NVStorageSaveData kkm_last_timestamp [20:55:52]File name is /storage/kkm_last_timestamp [20:55:52]Write 4 bytes [20:55:52]NVStorageSaveData done [20:55:52]ExternCall_PrintAddStr [20:55:52]wPrintStart [20:55:52]Write to MH i2c: 01 00 00 27 03 2A [20:55:52]Write i2c OK [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: 01 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: 01 07 00 [20:55:52]MH_I2C_Read... [20:55:52]Read from MH i2c: 01 07 00 27 03 00 00 00 00 00 FF 0F 3F [20:55:52]RasterBufferAndPrint [20:55:52]line Счет N : (1)16394 [20:55:52]line ИНН: 02508201610067 [20:55:52]line Контрольно-Кассовый Чек [20:55:52]line ПРОДАЖА [20:55:52]line ТРК (МРК, ГНК) : 21 [20:55:52]line Товар: 2710124130 [20:55:52]line Аи-92-К-5 [20:55:52]line 10.000 * 0.00 [20:55:52]line = 0.00 [20:55:52]line НДС 12% НСП 1% [20:55:52]line > о реализуемом товаре [20:55:52]line ИТОГО: 0.00 [20:55:52]line НСП 1% : 0.00 [20:55:52]line НДС 12% : 0.00 [20:55:52]line Наличными: 0.00 [20:55:52]line Безнал.: 0.00 [20:55:52]line Место: АЗС № 178 "Партнер Нефть" [20:55:52]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [20:55:52]line СНО: Общий режим [20:55:52]line Чек 53 30.10.2024 20:55 [20:55:52]line Смена: 173 ФФД: 1.0 [20:55:52]line ЗНМ: 0300000014 [20:55:52]line РНМ: 0000000000161798 [20:55:52]line Версия ККМ: v1.0 [20:55:52]line Талоны: Топливные Талоны [20:55:52]line 4220669 [20:55:52]line ФМ: 0000000000963325 [20:55:52]line ФД: 15843 [20:55:52]line ФПД: 186209784956258 [20:55:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T205551&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15843&fm=186209784956258&tin=02508201610067®Number=0000000000161798&sum=0 [20:55:53]OFD Sender: Processing packet 15843 [packets to send 4, broken 3] [20:55:53]ProducePacketName [20:55:53]name=ofd_packets/00015843 [20:55:53]OFD Sender: To server: pG, [20:55:53]CommunicateWithHost lk.salyk.kg:30040 [20:55:53]ConnectInit lk.salyk.kg [20:55:53]written 0, free lines is 4095 [20:55:53]Connected sock=10 [20:55:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 0D 60 07 01 A2 47 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 10 27 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 35 00 00 00 F4 03 04 00 57 9D 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E3 3D 00 00 35 04 06 00 A9 5B 58 16 05 62 C2 85 AA 13 9A 07 44 A1 [20:55:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 43 14 47 00 AA 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E3 3D 00 00 F4 03 04 00 40 48 22 67 B6 04 01 00 00 AC 10 54 1C 5A 7E 8F 69 [20:55:53]CommunicateWithHost err = 0 [20:55:53]CheckOFDResponse [20:55:53]1017 (14) - 77093643461234 [20:55:53]1041 (16) - 0000000000963325 [20:55:53]1040 (4) - 15843 [20:55:53]1012 (4) - 30.10.2024 14:52 [20:55:53]1206 (1) - 0 [20:55:53]OFD Sender: Remove packet 15843 [20:55:53]ProducePacketName [20:55:53]name=ofd_packets/00015843 [20:55:53]NVStorageDeleteData [20:55:53]Write to MH i2c: 01 00 00 51 03 54 [20:55:53]Write i2c OK [20:55:53]MH_I2C_Read... [20:55:53]Read from MH i2c: 01 [20:55:53]MH_I2C_Read... [20:55:53]Read from MH i2c: 01 07 00 [20:55:53]MH_I2C_Read... [20:55:53]Read from MH i2c: 01 07 00 51 03 00 00 00 00 00 0C 0D 74 [20:55:53]RasterBufferAndPrint [20:55:53]line [20:55:53]line [20:55:53]line [20:55:53]line [20:55:53]line [20:55:53]written 0, free lines is 3346 [20:55:53]MH_Cut [20:55:53]Write to MH i2c: D1 01 00 58 03 01 2D [20:55:53]Write i2c OK [20:55:53]MH_I2C_Read... [20:55:53]Read from MH i2c: D1 [20:55:53]MH_I2C_Read... [20:55:53]Read from MH i2c: D1 01 00 [20:55:53]MH_I2C_Read... [20:55:53]Read from MH i2c: D1 01 00 58 03 00 2C [20:55:53]Write to MH i2c: 01 00 00 59 03 5C [20:55:53]Write i2c OK [20:55:53]MH_I2C_Read... [20:55:54]OFD Sender: No OFD packet to send [20:55:54]*** Cut start [20:55:54]*** Partial cut [20:55:54]*** CUTSNS_PIN = 1 [20:55:54]*** CUTSNS_PIN = 0 [20:55:54]*** Brake cut motor [20:55:55]Read from MH i2c: 01 [20:55:55]MH_I2C_Read... [20:55:55]*** Stop cut motor [20:55:55]*** Cut end [20:55:55]Read from MH i2c: 01 07 00 [20:55:55]MH_I2C_Read... [20:55:55]Read from MH i2c: 01 07 00 59 03 00 00 00 00 00 FF 0F 71 [20:55:55]process_action close_receipt done [20:55:55]requested_data is exist [20:55:55]produce_requested_data [20:55:55]requested_item fm.sn is exist - process it [20:55:55]wFMCommunicate request_size=4 [20:55:55]MH_SAM_APDU [20:55:55]CAPDU: 80 11 00 00 [20:55:55]Write to MH i2c: E2 08 00 5A 03 80 11 00 00 00 00 00 00 D7 [20:55:55]Write i2c OK [20:55:55]MH_I2C_Read... [20:55:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:55:55]Read from MH i2c: E2 [20:55:55]MH_I2C_Read... [20:55:55]Read from MH i2c: E2 17 00 [20:55:55]MH_I2C_Read... [20:55:55]Read from MH i2c: E2 17 00 5A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 26 [20:55:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [20:55:55]wFMCommunicate OK [20:55:55]requested_item fd.num is exist - process it [20:55:55]SAM_PROTO_GetFieldsCounters [20:55:55]wFMCommunicate request_size=4 [20:55:55]MH_SAM_APDU [20:55:55]CAPDU: 80 13 00 00 [20:55:55]Write to MH i2c: E2 08 00 5B 03 80 13 00 00 00 00 00 00 DA [20:55:55]Write i2c OK [20:55:55]MH_I2C_Read... [20:55:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:55:55]Read from MH i2c: E2 [20:55:55]MH_I2C_Read... [20:55:55]Read from MH i2c: E2 62 00 [20:55:55]MH_I2C_Read... [20:55:55]Read from MH i2c: E2 62 00 5B 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E3 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 6A [20:55:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E3 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:55:55]wFMCommunicate OK [20:55:55]SAM_PROTO_GetFieldsCounters done [20:55:55]requested_item shift.num is exist - process it [20:55:55]requested_item shift.opened is exist - process it [20:55:55]req_shift_opened [20:55:55]FM_GetShiftState [20:55:55]SAM_PROTO_GetShiftState [20:55:55]wFMCommunicate request_size=4 [20:55:55]MH_SAM_APDU [20:55:55]CAPDU: 80 13 01 00 [20:55:55]Write to MH i2c: E2 08 00 5C 03 80 13 01 00 00 00 00 00 DC [20:55:55]Write i2c OK [20:55:55]MH_I2C_Read... [20:55:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:55:55]Read from MH i2c: E2 [20:55:55]MH_I2C_Read... [20:55:55]Read from MH i2c: E2 0E 00 [20:55:55]MH_I2C_Read... [20:55:55]Read from MH i2c: E2 0E 00 5C 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 21 [20:55:55]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [20:55:55]wFMCommunicate OK [20:55:55]SAM_PROTO_GetShiftState done [20:55:55]FM_GetShiftState done [20:55:55]req_shift_opened done [20:55:55]requested_item shift.open_date is exist - process it [20:55:55]req_shift_open_date [20:55:55]req_shift_open_date done [20:55:55]produce_requested_data done [20:55:55]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15843,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [20:55:55]process_action_free close_receipt [20:55:55]json_value_free [20:55:55]json_value_free done [20:55:55]process_json_proto returns [20:55:55]Send response to host [20:55:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15843,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [20:55:55]free response buf [20:55:55]execute_script done [20:55:55]execute_script returns [20:55:55]free content buf [20:55:55]Sock 7.Close socket [20:55:55]Sock 7.Thread stoped [20:55:59]OFD Sender: No OFD packet to send [20:56:04]OFD Sender: No OFD packet to send [20:56:09]OFD Sender: No OFD packet to send [20:56:14]OFD Sender: No OFD packet to send [20:56:19]OFD Sender: No OFD packet to send [20:56:24]OFD Sender: No OFD packet to send [20:56:29]OFD Sender: No OFD packet to send [20:56:34]OFD Sender: No OFD packet to send [20:56:39]OFD Sender: No OFD packet to send [20:56:44]OFD Sender: No OFD packet to send [20:56:49]OFD Sender: No OFD packet to send [20:56:54]OFD Sender: No OFD packet to send [20:56:59]OFD Sender: No OFD packet to send [20:57:04]OFD Sender: No OFD packet to send [20:57:09]OFD Sender: No OFD packet to send [20:57:14]OFD Sender: No OFD packet to send [20:57:19]OFD Sender: No OFD packet to send [20:57:24]OFD Sender: No OFD packet to send [20:57:29]OFD Sender: No OFD packet to send [20:57:34]OFD Sender: No OFD packet to send [20:57:39]OFD Sender: No OFD packet to send [20:57:44]OFD Sender: No OFD packet to send [20:57:49]OFD Sender: No OFD packet to send [20:57:54]OFD Sender: No OFD packet to send [20:57:59]OFD Sender: No OFD packet to send [20:58:04]OFD Sender: No OFD packet to send [20:58:09]OFD Sender: No OFD packet to send [20:58:14]OFD Sender: No OFD packet to send [20:58:19]OFD Sender: No OFD packet to send [20:58:24]OFD Sender: No OFD packet to send [20:58:29]OFD Sender: No OFD packet to send [20:58:34]OFD Sender: No OFD packet to send [20:58:39]OFD Sender: No OFD packet to send [20:58:44]OFD Sender: No OFD packet to send [20:58:49]OFD Sender: No OFD packet to send [20:58:54]OFD Sender: No OFD packet to send [20:58:59]OFD Sender: No OFD packet to send [20:59:04]OFD Sender: No OFD packet to send [20:59:09]OFD Sender: No OFD packet to send [20:59:14]OFD Sender: No OFD packet to send [20:59:19]OFD Sender: No OFD packet to send [20:59:24]OFD Sender: No OFD packet to send [20:59:29]OFD Sender: No OFD packet to send [20:59:34]OFD Sender: No OFD packet to send [20:59:39]OFD Sender: No OFD packet to send [20:59:44]OFD Sender: No OFD packet to send [20:59:49]OFD Sender: No OFD packet to send [20:59:54]OFD Sender: No OFD packet to send [20:59:59]OFD Sender: No OFD packet to send [21:00:04]OFD Sender: No OFD packet to send [21:00:09]OFD Sender: No OFD packet to send [21:00:14]OFD Sender: No OFD packet to send [21:00:19]OFD Sender: No OFD packet to send [21:00:24]OFD Sender: No OFD packet to send [21:00:29]OFD Sender: No OFD packet to send [21:00:34]OFD Sender: No OFD packet to send [21:00:39]OFD Sender: No OFD packet to send [21:00:44]OFD Sender: No OFD packet to send [21:00:49]OFD Sender: No OFD packet to send [21:00:54]OFD Sender: No OFD packet to send [21:00:59]OFD Sender: No OFD packet to send [21:01:04]OFD Sender: No OFD packet to send [21:01:09]OFD Sender: No OFD packet to send [21:01:14]OFD Sender: No OFD packet to send [21:01:19]OFD Sender: No OFD packet to send [21:01:24]OFD Sender: No OFD packet to send [21:01:29]OFD Sender: No OFD packet to send [21:01:34]OFD Sender: No OFD packet to send [21:01:39]OFD Sender: No OFD packet to send [21:01:44]OFD Sender: No OFD packet to send [21:01:49]OFD Sender: No OFD packet to send [21:01:54]OFD Sender: No OFD packet to send [21:01:59]OFD Sender: No OFD packet to send [21:02:04]OFD Sender: No OFD packet to send [21:02:09]OFD Sender: No OFD packet to send [21:02:14]OFD Sender: No OFD packet to send [21:02:19]OFD Sender: No OFD packet to send [21:02:24]OFD Sender: No OFD packet to send [21:02:29]OFD Sender: No OFD packet to send [21:02:34]OFD Sender: No OFD packet to send [21:02:39]OFD Sender: No OFD packet to send [21:02:44]OFD Sender: No OFD packet to send [21:02:49]OFD Sender: No OFD packet to send [21:02:54]OFD Sender: No OFD packet to send [21:02:59]OFD Sender: No OFD packet to send [21:03:04]OFD Sender: No OFD packet to send [21:03:09]OFD Sender: No OFD packet to send [21:03:14]OFD Sender: No OFD packet to send [21:03:19]OFD Sender: No OFD packet to send [21:03:24]OFD Sender: No OFD packet to send [21:03:29]OFD Sender: No OFD packet to send [21:03:34]OFD Sender: No OFD packet to send [21:03:39]OFD Sender: No OFD packet to send [21:03:44]OFD Sender: No OFD packet to send [21:03:49]OFD Sender: No OFD packet to send [21:03:54]OFD Sender: No OFD packet to send [21:03:59]OFD Sender: No OFD packet to send [21:04:04]OFD Sender: No OFD packet to send [21:04:09]OFD Sender: No OFD packet to send [21:04:14]OFD Sender: No OFD packet to send [21:04:19]OFD Sender: No OFD packet to send [21:04:24]OFD Sender: No OFD packet to send [21:04:29]OFD Sender: No OFD packet to send [21:04:34]OFD Sender: No OFD packet to send [21:04:39]OFD Sender: No OFD packet to send [21:04:44]OFD Sender: No OFD packet to send [21:04:49]OFD Sender: No OFD packet to send [21:04:54]OFD Sender: No OFD packet to send [21:04:59]OFD Sender: No OFD packet to send [21:05:04]OFD Sender: No OFD packet to send [21:05:09]OFD Sender: No OFD packet to send [21:05:14]OFD Sender: No OFD packet to send [21:05:19]OFD Sender: No OFD packet to send [21:05:24]OFD Sender: No OFD packet to send [21:05:29]OFD Sender: No OFD packet to send [21:05:34]OFD Sender: No OFD packet to send [21:05:39]OFD Sender: No OFD packet to send [21:05:44]OFD Sender: No OFD packet to send [21:05:48]accept exits with 9 [21:05:48]New connection [21:05:48]New thread 3067247972 created [21:05:48]Thread 3067391332 joined [21:05:48]Waiting for new connection... [21:05:48] Sock 9.Parse request [21:05:48]Sock 9.Check first char [21:05:48]Sock 9.First char is OK [21:05:48]request: POST /json_proto HTTP/1.0 [21:05:48]Method: POST [21:05:48]URL: /json_proto [21:05:48]Method is POST - this is cgi request [21:05:48]url: /json_proto [21:05:48]query_string will be loaded in cgi processing [21:05:48]execute_cgi json_proto POST (null) [21:05:48]execute_cgi path=json_proto method=POST [21:05:48]POST find Content-Length [21:05:48]Host: 172.17.54.195:8080 [21:05:48]Content-Length: 676 [21:05:48]Content-Type: application/json [21:05:48] [21:05:48]POST finish read [21:05:48]Found Content-Length = 676 [21:05:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16395", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:05:48]execute_script... [21:05:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16395", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:05:48]POST & json_proto [21:05:48]process_json_proto [21:05:48]json parsed OK: [21:05:48]protocol is kg_v1.0 [21:05:48]action value=close_receipt [21:05:48]process_action close_receipt [21:05:48]cmd_close_receipt [21:05:48]MH_GetDate [21:05:48]Write to MH i2c: F0 00 00 5D 03 4F [21:05:48]Write i2c OK [21:05:48]MH_I2C_Read... [21:05:48]Read from MH i2c: F0 [21:05:48]MH_I2C_Read... [21:05:48]Read from MH i2c: F0 09 00 [21:05:48]MH_I2C_Read... [21:05:48]Read from MH i2c: F0 09 00 5D 03 00 AC 9F 22 67 8D 90 A3 66 52 [21:05:48]GetLastDocTimeStamp 1730321751 [21:05:48]current date 1730322348 [21:05:48]FM_GetShiftState [21:05:48]SAM_PROTO_GetShiftState [21:05:48]wFMCommunicate request_size=4 [21:05:48]MH_SAM_APDU [21:05:48]CAPDU: 80 13 01 00 [21:05:48]Write to MH i2c: E2 08 00 5E 03 80 13 01 00 00 00 00 00 DE [21:05:48]Write i2c OK [21:05:48]MH_I2C_Read... [21:05:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:05:48]Read from MH i2c: E2 [21:05:48]MH_I2C_Read... [21:05:48]Read from MH i2c: E2 0E 00 [21:05:48]MH_I2C_Read... [21:05:48]Read from MH i2c: E2 0E 00 5E 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 23 [21:05:48]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:05:48]wFMCommunicate OK [21:05:48]SAM_PROTO_GetShiftState done [21:05:48]FM_GetShiftState done [21:05:48]opened in 1730247478 [21:05:48]opened+sec_in_day 1730333878 [21:05:48]quantity*price = 50010 [21:05:48]sum+1 = 50012 [21:05:48]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.11 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.11 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 54 30.10.2024 21:05 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15844 ФПД: 194474086207074 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T210548&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15844&fm=194474086207074&tin=02508201610067®Number=0000000000161798&sum=50000 [21:05:49]StoreToDocumentArchive [21:05:49]shift 173 fd 15844 [21:05:49]save to /storage/0173/doc_00015844 [21:05:49]save last doc name /storage/0173/doc_00015844 to /storage/kkm_last_doc_name [21:05:49]save OK [21:05:49]Clear old archive folders... [21:05:49]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:05:49]tlvbuf is 01F3DA10 [21:05:49]SAM_PROTO_ClearQueue [21:05:49]wFMCommunicate request_size=4 [21:05:49]MH_SAM_APDU [21:05:49]CAPDU: 80 09 00 00 [21:05:49]Write to MH i2c: E2 08 00 6B 03 80 09 00 00 00 00 00 00 E0 [21:05:49]Write i2c OK [21:05:49]MH_I2C_Read... [21:05:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:05:49]Read from MH i2c: E2 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 03 00 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 03 00 6B 03 00 90 00 E2 [21:05:49]RAPDU: 90 00 [21:05:49]wFMCommunicate OK [21:05:49]SAM_PROTO_ClearQueue done [21:05:49]KKMCreateOFDPacket [21:05:49]OFDProtocolAddRootSTLVToBuf [21:05:49]FM_MakeSignedData [21:05:49]FM_MakeSignedData [21:05:49]SAM_PROTO_SignData [21:05:49]wFMCommunicate request_size=4 [21:05:49]MH_SAM_APDU [21:05:49]CAPDU: 80 0D 01 02 [21:05:49]Write to MH i2c: E2 08 00 6C 03 80 0D 01 02 00 00 00 00 E8 [21:05:49]Write i2c OK [21:05:49]MH_I2C_Read... [21:05:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:05:49]Read from MH i2c: E2 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 03 00 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 03 00 6C 03 00 90 00 E3 [21:05:49]RAPDU: 90 00 [21:05:49]wFMCommunicate OK [21:05:49]wFMCommunicate request_size=255 [21:05:49]MH_SAM_APDU [21:05:49]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 AC 9F 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E4 3D 00 00 35 04 06 00 B0 [21:05:49]Write to MH i2c: E2 02 01 6D 03 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 AC 9F 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E4 3D 00 00 35 04 06 00 B0 00 00 DA [21:05:49]Write i2c OK [21:05:49]MH_I2C_Read... [21:05:49]OFD Sender: No OFD packet to send [21:05:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:05:49]Read from MH i2c: E2 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 03 00 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 03 00 6D 03 00 90 00 E4 [21:05:49]RAPDU: 90 00 [21:05:49]wFMCommunicate OK [21:05:49]wFMCommunicate request_size=10 [21:05:49]MH_SAM_APDU [21:05:49]CAPDU: 80 0D 02 02 05 DF 86 D3 8E 62 [21:05:49]Write to MH i2c: E2 0D 00 6E 03 80 0D 02 02 05 00 DF 86 D3 8E 62 00 00 1D [21:05:49]Write i2c OK [21:05:49]MH_I2C_Read... [21:05:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:05:49]Read from MH i2c: E2 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 03 00 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 03 00 6E 03 00 90 00 E5 [21:05:49]RAPDU: 90 00 [21:05:49]wFMCommunicate OK [21:05:49]wFMCommunicate request_size=4 [21:05:49]MH_SAM_APDU [21:05:49]CAPDU: 80 0D 03 02 [21:05:49]Write to MH i2c: E2 08 00 6F 03 80 0D 03 02 00 00 00 00 ED [21:05:49]Write i2c OK [21:05:49]MH_I2C_Read... [21:05:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:05:49]Read from MH i2c: E2 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 0B 00 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 0B 00 6F 03 00 C8 63 23 AE 51 A8 3D 67 90 00 87 [21:05:49]RAPDU: C8 63 23 AE 51 A8 3D 67 90 00 [21:05:49]wFMCommunicate OK [21:05:49]SAM_PROTO_SignData done [21:05:49]FM_MakeSignedData done [21:05:49]CreateOFDProtocolMessage [21:05:49]wFMCommunicate request_size=4 [21:05:49]MH_SAM_APDU [21:05:49]CAPDU: 80 11 00 00 [21:05:49]Write to MH i2c: E2 08 00 70 03 80 11 00 00 00 00 00 00 ED [21:05:49]Write i2c OK [21:05:49]MH_I2C_Read... [21:05:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:05:49]Read from MH i2c: E2 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 17 00 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: E2 17 00 70 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 3C [21:05:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:05:49]wFMCommunicate OK [21:05:49]CreateOFDProtocolMessage done [21:05:49]OFDSenderStorePacket 15844 [21:05:49]StoreOFDPacket docnum=15844 [21:05:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 B2 FE 07 01 AB 68 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 AC 9F 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E4 3D 00 00 35 04 06 00 B0 DF 86 D3 8E 62 C8 63 23 AE 51 A8 3D 67 [21:05:49]CheckFolder [21:05:49]dirname=/storage/ofd_packets [21:05:49]CheckFolder done [21:05:49]ProducePacketName [21:05:49]name=ofd_packets/00015844 [21:05:49]NVStorageSaveData ofd_packets/00015844 [21:05:49]File name is /storage/ofd_packets/00015844 [21:05:49]Write 301 bytes [21:05:49]NVStorageSaveData done [21:05:49]OFDSenderStorePacket done [21:05:49]KKMCreateOFDPacket done [21:05:49]NVStorageSaveData kkm_last_timestamp [21:05:49]File name is /storage/kkm_last_timestamp [21:05:49]Write 4 bytes [21:05:49]NVStorageSaveData done [21:05:49]ExternCall_PrintAddStr [21:05:49]wPrintStart [21:05:49]Write to MH i2c: 01 00 00 71 03 74 [21:05:49]Write i2c OK [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: 01 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: 01 07 00 [21:05:49]MH_I2C_Read... [21:05:49]Read from MH i2c: 01 07 00 71 03 00 00 00 00 00 FF 0F 89 [21:05:49]RasterBufferAndPrint [21:05:49]line Счет N : (1)16395 [21:05:49]line ИНН: 02508201610067 [21:05:49]line Контрольно-Кассовый Чек [21:05:49]line ПРОДАЖА [21:05:49]line ТРК (МРК, ГНК) : 11 [21:05:49]line Товар: 2710124500 [21:05:49]line Аи-95-К-5 [21:05:49]line 6.740 * 74.20 [21:05:49]line = 500.11 [21:05:49]line НДС 12% НСП 1% [21:05:49]line > о реализуемом товаре [21:05:49]line ОКРУГЛЕНИЕ: -0.11 [21:05:49]line ИТОГО: 500.00 [21:05:49]line Внесено: 500.00 [21:05:49]line СДАЧА: 0.00 [21:05:49]line НСП 1% : 4.43 [21:05:49]line НДС 12% : 53.11 [21:05:49]line Наличными: 500.00 [21:05:49]line Безнал.: 0.00 [21:05:49]line Место: АЗС № 178 "Партнер Нефть" [21:05:49]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [21:05:49]line СНО: Общий режим [21:05:49]line Чек 54 30.10.2024 21:05 [21:05:49]line Смена: 173 ФФД: 1.0 [21:05:49]line ЗНМ: 0300000014 [21:05:49]line РНМ: 0000000000161798 [21:05:49]line Версия ККМ: v1.0 [21:05:49]line ФМ: 0000000000963325 [21:05:49]line ФД: 15844 [21:05:49]line ФПД: 194474086207074 [21:05:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T210548&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15844&fm=194474086207074&tin=02508201610067®Number=0000000000161798&sum=50000 [21:05:50]OFD Sender: Processing packet 15844 [packets to send 4, broken 3] [21:05:50]ProducePacketName [21:05:50]name=ofd_packets/00015844 [21:05:50]OFD Sender: To server: pG, [21:05:50]CommunicateWithHost lk.salyk.kg:30040 [21:05:50]ConnectInit lk.salyk.kg [21:05:50]written 0, free lines is 4095 [21:05:50]Connected sock=10 [21:05:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 B2 FE 07 01 AB 68 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 AC 9F 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E4 3D 00 00 35 04 06 00 B0 DF 86 D3 8E 62 C8 63 23 AE 51 A8 3D 67 [21:05:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 1E 10 47 00 F4 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E4 3D 00 00 F4 03 04 00 95 4A 22 67 B6 04 01 00 00 2E E8 6A D8 4B DC 7F B4 [21:05:50]CommunicateWithHost err = 0 [21:05:50]CheckOFDResponse [21:05:50]1017 (14) - 77093643461234 [21:05:50]1041 (16) - 0000000000963325 [21:05:50]1040 (4) - 15844 [21:05:50]1012 (4) - 30.10.2024 15:02 [21:05:50]1206 (1) - 0 [21:05:50]OFD Sender: Remove packet 15844 [21:05:50]ProducePacketName [21:05:50]name=ofd_packets/00015844 [21:05:50]NVStorageDeleteData [21:05:50]Write to MH i2c: 01 00 00 9C 03 9F [21:05:50]Write i2c OK [21:05:50]MH_I2C_Read... [21:05:50]Read from MH i2c: 01 [21:05:50]MH_I2C_Read... [21:05:50]Read from MH i2c: 01 07 00 [21:05:50]MH_I2C_Read... [21:05:50]Read from MH i2c: 01 07 00 9C 03 00 00 00 00 00 EC 0C 9E [21:05:50]RasterBufferAndPrint [21:05:50]line [21:05:50]line [21:05:50]line [21:05:50]line [21:05:50]line [21:05:50]written 0, free lines is 3314 [21:05:50]MH_Cut [21:05:50]Write to MH i2c: D1 01 00 A3 03 01 78 [21:05:50]Write i2c OK [21:05:50]MH_I2C_Read... [21:05:50]Read from MH i2c: D1 [21:05:50]MH_I2C_Read... [21:05:50]Read from MH i2c: D1 01 00 [21:05:50]MH_I2C_Read... [21:05:50]Read from MH i2c: D1 01 00 A3 03 00 77 [21:05:50]Write to MH i2c: 01 00 00 A4 03 A7 [21:05:50]Write i2c OK [21:05:50]MH_I2C_Read... [21:05:51]OFD Sender: No OFD packet to send [21:05:51]*** Cut start [21:05:51]*** Partial cut [21:05:51]*** CUTSNS_PIN = 1 [21:05:51]*** CUTSNS_PIN = 0 [21:05:51]*** Brake cut motor [21:05:52]Read from MH i2c: 01 [21:05:52]MH_I2C_Read... [21:05:52]*** Stop cut motor [21:05:52]*** Cut end [21:05:52]Read from MH i2c: 01 07 00 [21:05:52]MH_I2C_Read... [21:05:52]Read from MH i2c: 01 07 00 A4 03 00 00 00 00 00 FF 0F BC [21:05:52]process_action close_receipt done [21:05:52]requested_data is exist [21:05:52]produce_requested_data [21:05:52]requested_item fm.sn is exist - process it [21:05:52]wFMCommunicate request_size=4 [21:05:52]MH_SAM_APDU [21:05:52]CAPDU: 80 11 00 00 [21:05:52]Write to MH i2c: E2 08 00 A5 03 80 11 00 00 00 00 00 00 22 [21:05:52]Write i2c OK [21:05:52]MH_I2C_Read... [21:05:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:05:52]Read from MH i2c: E2 [21:05:52]MH_I2C_Read... [21:05:52]Read from MH i2c: E2 17 00 [21:05:52]MH_I2C_Read... [21:05:52]Read from MH i2c: E2 17 00 A5 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 71 [21:05:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:05:52]wFMCommunicate OK [21:05:52]requested_item fd.num is exist - process it [21:05:52]SAM_PROTO_GetFieldsCounters [21:05:52]wFMCommunicate request_size=4 [21:05:52]MH_SAM_APDU [21:05:52]CAPDU: 80 13 00 00 [21:05:52]Write to MH i2c: E2 08 00 A6 03 80 13 00 00 00 00 00 00 25 [21:05:52]Write i2c OK [21:05:52]MH_I2C_Read... [21:05:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:05:52]Read from MH i2c: E2 [21:05:52]MH_I2C_Read... [21:05:52]Read from MH i2c: E2 62 00 [21:05:52]MH_I2C_Read... [21:05:52]Read from MH i2c: E2 62 00 A6 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E4 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 B9 [21:05:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E4 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:05:52]wFMCommunicate OK [21:05:52]SAM_PROTO_GetFieldsCounters done [21:05:52]requested_item shift.num is exist - process it [21:05:52]requested_item shift.opened is exist - process it [21:05:52]req_shift_opened [21:05:52]FM_GetShiftState [21:05:52]SAM_PROTO_GetShiftState [21:05:52]wFMCommunicate request_size=4 [21:05:52]MH_SAM_APDU [21:05:52]CAPDU: 80 13 01 00 [21:05:52]Write to MH i2c: E2 08 00 A7 03 80 13 01 00 00 00 00 00 27 [21:05:52]Write i2c OK [21:05:52]MH_I2C_Read... [21:05:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:05:52]Read from MH i2c: E2 [21:05:52]MH_I2C_Read... [21:05:52]Read from MH i2c: E2 0E 00 [21:05:52]MH_I2C_Read... [21:05:52]Read from MH i2c: E2 0E 00 A7 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 6C [21:05:52]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:05:52]wFMCommunicate OK [21:05:52]SAM_PROTO_GetShiftState done [21:05:52]FM_GetShiftState done [21:05:52]req_shift_opened done [21:05:52]requested_item shift.open_date is exist - process it [21:05:52]req_shift_open_date [21:05:52]req_shift_open_date done [21:05:52]produce_requested_data done [21:05:52]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15844,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [21:05:52]process_action_free close_receipt [21:05:52]json_value_free [21:05:52]json_value_free done [21:05:52]process_json_proto returns [21:05:52]Send response to host [21:05:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15844,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [21:05:52]free response buf [21:05:52]execute_script done [21:05:52]execute_script returns [21:05:52]free content buf [21:05:52]Sock 9.Close socket [21:05:52]Sock 9.Thread stoped [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:09:01]OFD Sender: No OFD packet to send [21:09:06]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:06]accept exits with 7 [21:10:06]New connection [21:10:06]New thread 3067391332 created [21:10:06]Thread 3067247972 joined [21:10:06]Waiting for new connection... [21:10:06] Sock 7.Parse request [21:10:06]Sock 7.Check first char [21:10:06]Sock 7.First char is OK [21:10:06]request: POST /json_proto HTTP/1.0 [21:10:06]Method: POST [21:10:06]URL: /json_proto [21:10:06]Method is POST - this is cgi request [21:10:06]url: /json_proto [21:10:06]query_string will be loaded in cgi processing [21:10:06]execute_cgi json_proto POST (null) [21:10:06]execute_cgi path=json_proto method=POST [21:10:06]POST find Content-Length [21:10:06]Host: 172.17.54.195:8080 [21:10:06]Content-Length: 666 [21:10:06]Content-Type: application/json [21:10:06] [21:10:06]POST finish read [21:10:06]Found Content-Length = 666 [21:10:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16397", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 9.800, "sum" : 670.32, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 670.00, "total" : 670.00, "payments": [ { "type": 0, "sum" : 670.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:10:06]execute_script... [21:10:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16397", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 9.800, "sum" : 670.32, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 670.00, "total" : 670.00, "payments": [ { "type": 0, "sum" : 670.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:10:06]POST & json_proto [21:10:06]process_json_proto [21:10:06]json parsed OK: [21:10:06]protocol is kg_v1.0 [21:10:06]action value=close_receipt [21:10:06]process_action close_receipt [21:10:06]cmd_close_receipt [21:10:06]MH_GetDate [21:10:06]Write to MH i2c: F0 00 00 A8 03 9A [21:10:06]Write i2c OK [21:10:06]MH_I2C_Read... [21:10:06]Read from MH i2c: F0 [21:10:06]MH_I2C_Read... [21:10:06]Read from MH i2c: F0 09 00 [21:10:06]MH_I2C_Read... [21:10:06]Read from MH i2c: F0 09 00 A8 03 00 AF A0 22 67 8D 90 A3 66 A1 [21:10:06]GetLastDocTimeStamp 1730322348 [21:10:06]current date 1730322607 [21:10:06]FM_GetShiftState [21:10:06]SAM_PROTO_GetShiftState [21:10:06]wFMCommunicate request_size=4 [21:10:06]MH_SAM_APDU [21:10:06]CAPDU: 80 13 01 00 [21:10:06]Write to MH i2c: E2 08 00 A9 03 80 13 01 00 00 00 00 00 29 [21:10:06]Write i2c OK [21:10:06]MH_I2C_Read... [21:10:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:10:06]Read from MH i2c: E2 [21:10:06]MH_I2C_Read... [21:10:06]Read from MH i2c: E2 0E 00 [21:10:06]MH_I2C_Read... [21:10:06]Read from MH i2c: E2 0E 00 A9 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 6E [21:10:06]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:10:06]wFMCommunicate OK [21:10:06]SAM_PROTO_GetShiftState done [21:10:06]FM_GetShiftState done [21:10:06]opened in 1730247478 [21:10:06]opened+sec_in_day 1730333878 [21:10:06]quantity*price = 67032 [21:10:06]sum+1 = 67033 [21:10:06]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.32 ИТОГО: 670.00 Внесено: 670.00 СДАЧА: 0.00 НСП 1% : 5.93 НДС 12% : 71.18 Наличными: 670.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 55 30.10.2024 21:10 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15845 ФПД: 25247608211452 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T211007&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15845&fm=25247608211452&tin=02508201610067®Number=0000000000161798&sum=67000 [21:10:08]StoreToDocumentArchive [21:10:08]shift 173 fd 15845 [21:10:08]save to /storage/0173/doc_00015845 [21:10:08]save last doc name /storage/0173/doc_00015845 to /storage/kkm_last_doc_name [21:10:08]save OK [21:10:08]Clear old archive folders... [21:10:08]ProcessDocumentItem done err = 0, tmpTLVsize=249 [21:10:08]tlvbuf is 01F3F340 [21:10:08]SAM_PROTO_ClearQueue [21:10:08]wFMCommunicate request_size=4 [21:10:08]MH_SAM_APDU [21:10:08]CAPDU: 80 09 00 00 [21:10:08]Write to MH i2c: E2 08 00 B6 03 80 09 00 00 00 00 00 00 2B [21:10:08]Write i2c OK [21:10:08]MH_I2C_Read... [21:10:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:10:08]Read from MH i2c: E2 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 03 00 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 03 00 B6 03 00 90 00 2D [21:10:08]RAPDU: 90 00 [21:10:08]wFMCommunicate OK [21:10:08]SAM_PROTO_ClearQueue done [21:10:08]KKMCreateOFDPacket [21:10:08]OFDProtocolAddRootSTLVToBuf [21:10:08]FM_MakeSignedData [21:10:08]FM_MakeSignedData [21:10:08]SAM_PROTO_SignData [21:10:08]wFMCommunicate request_size=4 [21:10:08]MH_SAM_APDU [21:10:08]CAPDU: 80 0D 01 02 [21:10:08]Write to MH i2c: E2 08 00 B7 03 80 0D 01 02 00 00 00 00 33 [21:10:08]Write i2c OK [21:10:08]MH_I2C_Read... [21:10:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:10:08]Read from MH i2c: E2 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 03 00 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 03 00 B7 03 00 90 00 2E [21:10:08]RAPDU: 90 00 [21:10:08]wFMCommunicate OK [21:10:08]wFMCommunicate request_size=255 [21:10:08]MH_SAM_APDU [21:10:08]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 26 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 D8 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 1B 00 00 00 00 07 04 06 00 B8 05 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 AF A0 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E5 3D 00 00 35 04 06 00 16 F6 6A [21:10:08]Write to MH i2c: E2 02 01 B8 03 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 26 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 D8 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 1B 00 00 00 00 07 04 06 00 B8 05 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 AF A0 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E5 3D 00 00 35 04 06 00 16 F6 6A 00 00 5F [21:10:08]Write i2c OK [21:10:08]MH_I2C_Read... [21:10:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:10:08]Read from MH i2c: E2 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 03 00 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 03 00 B8 03 00 90 00 2F [21:10:08]RAPDU: 90 00 [21:10:08]wFMCommunicate OK [21:10:08]wFMCommunicate request_size=8 [21:10:08]MH_SAM_APDU [21:10:08]CAPDU: 80 0D 02 02 03 B8 07 FC [21:10:08]Write to MH i2c: E2 0B 00 B9 03 80 0D 02 02 03 00 B8 07 FC 00 00 F7 [21:10:08]Write i2c OK [21:10:08]MH_I2C_Read... [21:10:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:10:08]Read from MH i2c: E2 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 03 00 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 03 00 B9 03 00 90 00 30 [21:10:08]RAPDU: 90 00 [21:10:08]wFMCommunicate OK [21:10:08]wFMCommunicate request_size=4 [21:10:08]MH_SAM_APDU [21:10:08]CAPDU: 80 0D 03 02 [21:10:08]Write to MH i2c: E2 08 00 BA 03 80 0D 03 02 00 00 00 00 38 [21:10:08]Write i2c OK [21:10:08]MH_I2C_Read... [21:10:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:10:08]Read from MH i2c: E2 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 0B 00 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 0B 00 BA 03 00 36 32 31 8A AB 95 5A EE 90 00 E4 [21:10:08]RAPDU: 36 32 31 8A AB 95 5A EE 90 00 [21:10:08]wFMCommunicate OK [21:10:08]SAM_PROTO_SignData done [21:10:08]FM_MakeSignedData done [21:10:08]CreateOFDProtocolMessage [21:10:08]wFMCommunicate request_size=4 [21:10:08]MH_SAM_APDU [21:10:08]CAPDU: 80 11 00 00 [21:10:08]Write to MH i2c: E2 08 00 BB 03 80 11 00 00 00 00 00 00 38 [21:10:08]Write i2c OK [21:10:08]MH_I2C_Read... [21:10:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:10:08]Read from MH i2c: E2 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 17 00 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: E2 17 00 BB 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 87 [21:10:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:10:08]wFMCommunicate OK [21:10:08]CreateOFDProtocolMessage done [21:10:08]OFDSenderStorePacket 15845 [21:10:08]StoreOFDPacket docnum=15845 [21:10:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 B2 74 05 01 6D 76 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 26 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 D8 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 1B 00 00 00 00 07 04 06 00 B8 05 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 AF A0 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E5 3D 00 00 35 04 06 00 16 F6 6A B8 07 FC 36 32 31 8A AB 95 5A EE [21:10:08]CheckFolder [21:10:08]dirname=/storage/ofd_packets [21:10:08]CheckFolder done [21:10:08]ProducePacketName [21:10:08]name=ofd_packets/00015845 [21:10:08]NVStorageSaveData ofd_packets/00015845 [21:10:08]File name is /storage/ofd_packets/00015845 [21:10:08]Write 299 bytes [21:10:08]NVStorageSaveData done [21:10:08]OFDSenderStorePacket done [21:10:08]KKMCreateOFDPacket done [21:10:08]NVStorageSaveData kkm_last_timestamp [21:10:08]File name is /storage/kkm_last_timestamp [21:10:08]Write 4 bytes [21:10:08]NVStorageSaveData done [21:10:08]ExternCall_PrintAddStr [21:10:08]wPrintStart [21:10:08]Write to MH i2c: 01 00 00 BC 03 BF [21:10:08]Write i2c OK [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: 01 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: 01 07 00 [21:10:08]MH_I2C_Read... [21:10:08]Read from MH i2c: 01 07 00 BC 03 00 00 00 00 00 FF 0F D4 [21:10:08]RasterBufferAndPrint [21:10:08]line Счет N : (1)16397 [21:10:08]line ИНН: 02508201610067 [21:10:08]line Контрольно-Кассовый Чек [21:10:08]line ПРОДАЖА [21:10:08]line ТРК (МРК, ГНК) : 12 [21:10:08]line Товар: 50.50.0 [21:10:08]line SUPER 92-К-5 [21:10:08]line 9.800 * 68.40 [21:10:08]line = 670.32 [21:10:08]line НДС 12% НСП 1% [21:10:08]line > о реализуемом товаре [21:10:08]line ОКРУГЛЕНИЕ: -0.32 [21:10:08]line ИТОГО: 670.00 [21:10:08]line Внесено: 670.00 [21:10:08]line СДАЧА: 0.00 [21:10:08]line НСП 1% : 5.93 [21:10:08]line НДС 12% : 71.18 [21:10:08]line Наличными: 670.00 [21:10:08]line Безнал.: 0.00 [21:10:08]line Место: АЗС № 178 "Партнер Нефть" [21:10:08]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [21:10:08]line СНО: Общий режим [21:10:08]line Чек 55 30.10.2024 21:10 [21:10:08]line Смена: 173 ФФД: 1.0 [21:10:08]line ЗНМ: 0300000014 [21:10:08]line РНМ: 0000000000161798 [21:10:08]line Версия ККМ: v1.0 [21:10:08]line ФМ: 0000000000963325 [21:10:08]line ФД: 15845 [21:10:08]line ФПД: 25247608211452 [21:10:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T211007&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15845&fm=25247608211452&tin=02508201610067®Number=0000000000161798&sum=67000 [21:10:08]OFD Sender: Processing packet 15845 [packets to send 4, broken 3] [21:10:08]ProducePacketName [21:10:08]name=ofd_packets/00015845 [21:10:08]OFD Sender: To server: pG, [21:10:08]CommunicateWithHost lk.salyk.kg:30040 [21:10:08]ConnectInit lk.salyk.kg [21:10:08]written 0, free lines is 4095 [21:10:08]Connected sock=10 [21:10:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 B2 74 05 01 6D 76 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 26 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 D8 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CE 1B 00 00 00 00 07 04 06 00 B8 05 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 AF A0 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E5 3D 00 00 35 04 06 00 16 F6 6A B8 07 FC 36 32 31 8A AB 95 5A EE [21:10:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 65 F7 47 00 22 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E5 3D 00 00 F4 03 04 00 97 4B 22 67 B6 04 01 00 00 82 B5 D9 98 AF 77 3D A8 [21:10:09]CommunicateWithHost err = 0 [21:10:09]CheckOFDResponse [21:10:09]1017 (14) - 77093643461234 [21:10:09]1041 (16) - 0000000000963325 [21:10:09]1040 (4) - 15845 [21:10:09]1012 (4) - 30.10.2024 15:07 [21:10:09]1206 (1) - 0 [21:10:09]OFD Sender: Remove packet 15845 [21:10:09]ProducePacketName [21:10:09]name=ofd_packets/00015845 [21:10:09]NVStorageDeleteData [21:10:09]Write to MH i2c: 01 00 00 E7 03 EA [21:10:09]Write i2c OK [21:10:09]MH_I2C_Read... [21:10:09]Read from MH i2c: 01 [21:10:09]MH_I2C_Read... [21:10:09]Read from MH i2c: 01 07 00 [21:10:09]MH_I2C_Read... [21:10:09]Read from MH i2c: 01 07 00 E7 03 00 00 00 00 00 FC 0C F9 [21:10:09]RasterBufferAndPrint [21:10:09]line [21:10:09]line [21:10:09]line [21:10:09]line [21:10:09]line [21:10:09]written 0, free lines is 3333 [21:10:09]MH_Cut [21:10:09]Write to MH i2c: D1 01 00 EE 03 01 C3 [21:10:09]Write i2c OK [21:10:09]MH_I2C_Read... [21:10:09]Read from MH i2c: D1 [21:10:09]MH_I2C_Read... [21:10:09]Read from MH i2c: D1 01 00 [21:10:09]MH_I2C_Read... [21:10:09]Read from MH i2c: D1 01 00 EE 03 00 C2 [21:10:09]Write to MH i2c: 01 00 00 EF 03 F2 [21:10:09]Write i2c OK [21:10:09]MH_I2C_Read... [21:10:09]OFD Sender: No OFD packet to send [21:10:10]*** Cut start [21:10:10]*** Partial cut [21:10:10]*** CUTSNS_PIN = 1 [21:10:10]*** CUTSNS_PIN = 0 [21:10:10]*** Brake cut motor [21:10:10]Read from MH i2c: 01 [21:10:10]MH_I2C_Read... [21:10:10]*** Stop cut motor [21:10:10]*** Cut end [21:10:10]Read from MH i2c: 01 07 00 [21:10:10]MH_I2C_Read... [21:10:10]Read from MH i2c: 01 07 00 EF 03 00 00 00 00 00 FF 0F 07 [21:10:10]process_action close_receipt done [21:10:10]requested_data is exist [21:10:10]produce_requested_data [21:10:10]requested_item fm.sn is exist - process it [21:10:10]wFMCommunicate request_size=4 [21:10:10]MH_SAM_APDU [21:10:10]CAPDU: 80 11 00 00 [21:10:10]Write to MH i2c: E2 08 00 F0 03 80 11 00 00 00 00 00 00 6D [21:10:10]Write i2c OK [21:10:10]MH_I2C_Read... [21:10:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:10:10]Read from MH i2c: E2 [21:10:10]MH_I2C_Read... [21:10:10]Read from MH i2c: E2 17 00 [21:10:10]MH_I2C_Read... [21:10:10]Read from MH i2c: E2 17 00 F0 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 BC [21:10:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:10:10]wFMCommunicate OK [21:10:10]requested_item fd.num is exist - process it [21:10:10]SAM_PROTO_GetFieldsCounters [21:10:10]wFMCommunicate request_size=4 [21:10:10]MH_SAM_APDU [21:10:10]CAPDU: 80 13 00 00 [21:10:10]Write to MH i2c: E2 08 00 F1 03 80 13 00 00 00 00 00 00 70 [21:10:10]Write i2c OK [21:10:10]MH_I2C_Read... [21:10:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:10:10]Read from MH i2c: E2 [21:10:10]MH_I2C_Read... [21:10:10]Read from MH i2c: E2 62 00 [21:10:10]MH_I2C_Read... [21:10:10]Read from MH i2c: E2 62 00 F1 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E5 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [21:10:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E5 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:10:10]wFMCommunicate OK [21:10:10]SAM_PROTO_GetFieldsCounters done [21:10:10]requested_item shift.num is exist - process it [21:10:10]requested_item shift.opened is exist - process it [21:10:10]req_shift_opened [21:10:10]FM_GetShiftState [21:10:10]SAM_PROTO_GetShiftState [21:10:10]wFMCommunicate request_size=4 [21:10:10]MH_SAM_APDU [21:10:10]CAPDU: 80 13 01 00 [21:10:10]Write to MH i2c: E2 08 00 F2 03 80 13 01 00 00 00 00 00 72 [21:10:10]Write i2c OK [21:10:10]MH_I2C_Read... [21:10:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:10:11]Read from MH i2c: E2 [21:10:11]MH_I2C_Read... [21:10:11]Read from MH i2c: E2 0E 00 [21:10:11]MH_I2C_Read... [21:10:11]Read from MH i2c: E2 0E 00 F2 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 B7 [21:10:11]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:10:11]wFMCommunicate OK [21:10:11]SAM_PROTO_GetShiftState done [21:10:11]FM_GetShiftState done [21:10:11]req_shift_opened done [21:10:11]requested_item shift.open_date is exist - process it [21:10:11]req_shift_open_date [21:10:11]req_shift_open_date done [21:10:11]produce_requested_data done [21:10:11]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15845,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [21:10:11]process_action_free close_receipt [21:10:11]json_value_free [21:10:11]json_value_free done [21:10:11]process_json_proto returns [21:10:11]Send response to host [21:10:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15845,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [21:10:11]free response buf [21:10:11]execute_script done [21:10:11]execute_script returns [21:10:11]free content buf [21:10:11]Sock 7.Close socket [21:10:11]Sock 7.Thread stoped [21:10:14]OFD Sender: No OFD packet to send [21:10:19]OFD Sender: No OFD packet to send [21:10:24]OFD Sender: No OFD packet to send [21:10:29]OFD Sender: No OFD packet to send [21:10:31]accept exits with 9 [21:10:31]New connection [21:10:31]New thread 3067247972 created [21:10:31]Thread 3067391332 joined [21:10:31]Waiting for new connection... [21:10:31] Sock 9.Parse request [21:10:31]Sock 9.Check first char [21:10:31]Sock 9.First char is OK [21:10:31]request: POST /json_proto HTTP/1.0 [21:10:31]Method: POST [21:10:31]URL: /json_proto [21:10:31]Method is POST - this is cgi request [21:10:31]url: /json_proto [21:10:31]query_string will be loaded in cgi processing [21:10:31]execute_cgi json_proto POST (null) [21:10:31]execute_cgi path=json_proto method=POST [21:10:31]POST find Content-Length [21:10:31]Host: 172.17.54.195:8080 [21:10:31]Content-Length: 678 [21:10:31]Content-Type: application/json [21:10:31] [21:10:31]POST finish read [21:10:31]Found Content-Length = 678 [21:10:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16396", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:10:31]execute_script... [21:10:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16396", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 19.690, "sum" : 1500.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:10:31]POST & json_proto [21:10:31]process_json_proto [21:10:31]json parsed OK: [21:10:31]protocol is kg_v1.0 [21:10:31]action value=close_receipt [21:10:31]process_action close_receipt [21:10:31]cmd_close_receipt [21:10:31]MH_GetDate [21:10:31]Write to MH i2c: F0 00 00 F3 03 E5 [21:10:31]Write i2c OK [21:10:31]MH_I2C_Read... [21:10:31]Read from MH i2c: F0 [21:10:31]MH_I2C_Read... [21:10:31]Read from MH i2c: F0 09 00 [21:10:31]MH_I2C_Read... [21:10:31]Read from MH i2c: F0 09 00 F3 03 00 C8 A0 22 67 8D 90 A3 66 05 [21:10:31]GetLastDocTimeStamp 1730322607 [21:10:31]current date 1730322632 [21:10:31]FM_GetShiftState [21:10:31]SAM_PROTO_GetShiftState [21:10:31]wFMCommunicate request_size=4 [21:10:31]MH_SAM_APDU [21:10:31]CAPDU: 80 13 01 00 [21:10:31]Write to MH i2c: E2 08 00 F4 03 80 13 01 00 00 00 00 00 74 [21:10:31]Write i2c OK [21:10:31]MH_I2C_Read... [21:10:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:10:31]Read from MH i2c: E2 [21:10:31]MH_I2C_Read... [21:10:31]Read from MH i2c: E2 0E 00 [21:10:31]MH_I2C_Read... [21:10:31]Read from MH i2c: E2 0E 00 F4 03 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 B9 [21:10:31]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:10:31]wFMCommunicate OK [21:10:31]SAM_PROTO_GetShiftState done [21:10:31]FM_GetShiftState done [21:10:31]opened in 1730247478 [21:10:31]opened+sec_in_day 1730333878 [21:10:31]quantity*price = 150037 [21:10:31]sum+1 = 150039 [21:10:31]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 56 30.10.2024 21:10 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15846 ФПД: 269585058987498 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T211032&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15846&fm=269585058987498&tin=02508201610067®Number=0000000000161798&sum=150000 [21:10:33]StoreToDocumentArchive [21:10:33]shift 173 fd 15846 [21:10:33]save to /storage/0173/doc_00015846 [21:10:33]save last doc name /storage/0173/doc_00015846 to /storage/kkm_last_doc_name [21:10:33]save OK [21:10:33]Clear old archive folders... [21:10:33]ProcessDocumentItem done err = 0, tmpTLVsize=248 [21:10:33]tlvbuf is 01F5CD40 [21:10:33]SAM_PROTO_ClearQueue [21:10:33]wFMCommunicate request_size=4 [21:10:33]MH_SAM_APDU [21:10:33]CAPDU: 80 09 00 00 [21:10:33]Write to MH i2c: E2 08 00 01 04 80 09 00 00 00 00 00 00 77 [21:10:33]Write i2c OK [21:10:33]MH_I2C_Read... [21:10:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:10:33]Read from MH i2c: E2 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 03 00 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 03 00 01 04 00 90 00 79 [21:10:33]RAPDU: 90 00 [21:10:33]wFMCommunicate OK [21:10:33]SAM_PROTO_ClearQueue done [21:10:33]KKMCreateOFDPacket [21:10:33]OFDProtocolAddRootSTLVToBuf [21:10:33]FM_MakeSignedData [21:10:33]FM_MakeSignedData [21:10:33]SAM_PROTO_SignData [21:10:33]wFMCommunicate request_size=4 [21:10:33]MH_SAM_APDU [21:10:33]CAPDU: 80 0D 01 02 [21:10:33]Write to MH i2c: E2 08 00 02 04 80 0D 01 02 00 00 00 00 7F [21:10:33]Write i2c OK [21:10:33]MH_I2C_Read... [21:10:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:10:33]Read from MH i2c: E2 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 03 00 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 03 00 02 04 00 90 00 7A [21:10:33]RAPDU: 90 00 [21:10:33]wFMCommunicate OK [21:10:33]wFMCommunicate request_size=255 [21:10:33]MH_SAM_APDU [21:10:33]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 C8 A0 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E6 3D 00 00 35 04 06 00 F5 2F A9 AD [21:10:33]Write to MH i2c: E2 02 01 03 04 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 C8 A0 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E6 3D 00 00 35 04 06 00 F5 2F A9 AD 00 00 F1 [21:10:33]Write i2c OK [21:10:33]MH_I2C_Read... [21:10:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:10:33]Read from MH i2c: E2 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 03 00 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 03 00 03 04 00 90 00 7B [21:10:33]RAPDU: 90 00 [21:10:33]wFMCommunicate OK [21:10:33]wFMCommunicate request_size=7 [21:10:33]MH_SAM_APDU [21:10:33]CAPDU: 80 0D 02 02 02 7D EA [21:10:33]Write to MH i2c: E2 0A 00 04 04 80 0D 02 02 02 00 7D EA 00 00 ED [21:10:33]Write i2c OK [21:10:33]MH_I2C_Read... [21:10:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:10:33]Read from MH i2c: E2 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 03 00 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 03 00 04 04 00 90 00 7C [21:10:33]RAPDU: 90 00 [21:10:33]wFMCommunicate OK [21:10:33]wFMCommunicate request_size=4 [21:10:33]MH_SAM_APDU [21:10:33]CAPDU: 80 0D 03 02 [21:10:33]Write to MH i2c: E2 08 00 05 04 80 0D 03 02 00 00 00 00 84 [21:10:33]Write i2c OK [21:10:33]MH_I2C_Read... [21:10:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:10:33]Read from MH i2c: E2 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 0B 00 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 0B 00 05 04 00 CF 6E 9C 0F BC B3 6B 85 90 00 CC [21:10:33]RAPDU: CF 6E 9C 0F BC B3 6B 85 90 00 [21:10:33]wFMCommunicate OK [21:10:33]SAM_PROTO_SignData done [21:10:33]FM_MakeSignedData done [21:10:33]CreateOFDProtocolMessage [21:10:33]wFMCommunicate request_size=4 [21:10:33]MH_SAM_APDU [21:10:33]CAPDU: 80 11 00 00 [21:10:33]Write to MH i2c: E2 08 00 06 04 80 11 00 00 00 00 00 00 84 [21:10:33]Write i2c OK [21:10:33]MH_I2C_Read... [21:10:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:10:33]Read from MH i2c: E2 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 17 00 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: E2 17 00 06 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 D3 [21:10:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:10:33]wFMCommunicate OK [21:10:33]CreateOFDProtocolMessage done [21:10:33]OFDSenderStorePacket 15846 [21:10:33]StoreOFDPacket docnum=15846 [21:10:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 E8 8A 04 01 DC 7D 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 C8 A0 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E6 3D 00 00 35 04 06 00 F5 2F A9 AD 7D EA CF 6E 9C 0F BC B3 6B 85 [21:10:33]CheckFolder [21:10:33]dirname=/storage/ofd_packets [21:10:33]CheckFolder done [21:10:33]ProducePacketName [21:10:33]name=ofd_packets/00015846 [21:10:33]NVStorageSaveData ofd_packets/00015846 [21:10:33]File name is /storage/ofd_packets/00015846 [21:10:33]Write 298 bytes [21:10:33]NVStorageSaveData done [21:10:33]OFDSenderStorePacket done [21:10:33]KKMCreateOFDPacket done [21:10:33]NVStorageSaveData kkm_last_timestamp [21:10:33]File name is /storage/kkm_last_timestamp [21:10:33]Write 4 bytes [21:10:33]NVStorageSaveData done [21:10:33]ExternCall_PrintAddStr [21:10:33]wPrintStart [21:10:33]Write to MH i2c: 01 00 00 07 04 0B [21:10:33]Write i2c OK [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: 01 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: 01 07 00 [21:10:33]MH_I2C_Read... [21:10:33]Read from MH i2c: 01 07 00 07 04 00 00 00 00 00 FF 0F 20 [21:10:33]RasterBufferAndPrint [21:10:33]line Счет N : (1)16396 [21:10:33]line ИНН: 02508201610067 [21:10:33]line Контрольно-Кассовый Чек [21:10:33]line ПРОДАЖА [21:10:33]line ТРК (МРК, ГНК) : 31 [21:10:33]line Товар: 2710194210 [21:10:33]line ДТ-К-5 [21:10:33]line 19.690 * 76.20 [21:10:33]line = 1500.38 [21:10:33]line НДС 12% НСП 1% [21:10:33]line > о реализуемом товаре [21:10:33]line ОКРУГЛЕНИЕ: -0.38 [21:10:33]line ИТОГО: 1500.00 [21:10:33]line Внесено: 1500.00 [21:10:33]line СДАЧА: 0.00 [21:10:33]line НСП 1% : 13.28 [21:10:33]line НДС 12% : 159.33 [21:10:33]line Наличными: 1500.00 [21:10:33]line Безнал.: 0.00 [21:10:33]line Место: АЗС № 178 "Партнер Нефть" [21:10:33]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [21:10:33]line СНО: Общий режим [21:10:33]line Чек 56 30.10.2024 21:10 [21:10:33]line Смена: 173 ФФД: 1.0 [21:10:33]line ЗНМ: 0300000014 [21:10:33]line РНМ: 0000000000161798 [21:10:33]line Версия ККМ: v1.0 [21:10:33]line ФМ: 0000000000963325 [21:10:33]line ФД: 15846 [21:10:33]line ФПД: 269585058987498 [21:10:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T211032&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15846&fm=269585058987498&tin=02508201610067®Number=0000000000161798&sum=150000 [21:10:33]OFD Sender: Processing packet 15846 [packets to send 4, broken 3] [21:10:33]ProducePacketName [21:10:33]name=ofd_packets/00015846 [21:10:33]OFD Sender: To server: pG, [21:10:33]CommunicateWithHost lk.salyk.kg:30040 [21:10:33]ConnectInit lk.salyk.kg [21:10:33]written 0, free lines is 4095 [21:10:34]Connected sock=10 [21:10:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 E8 8A 04 01 DC 7D 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 EA 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 16 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 C8 A0 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E6 3D 00 00 35 04 06 00 F5 2F A9 AD 7D EA CF 6E 9C 0F BC B3 6B 85 [21:10:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 16 A0 47 00 A6 41 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E6 3D 00 00 F4 03 04 00 B0 4B 22 67 B6 04 01 00 00 A1 55 8D E2 D7 6E 84 AE [21:10:34]CommunicateWithHost err = 0 [21:10:34]CheckOFDResponse [21:10:34]1017 (14) - 77093643461234 [21:10:34]1041 (16) - 0000000000963325 [21:10:34]1040 (4) - 15846 [21:10:34]1012 (4) - 30.10.2024 15:07 [21:10:34]1206 (1) - 0 [21:10:34]OFD Sender: Remove packet 15846 [21:10:34]ProducePacketName [21:10:34]name=ofd_packets/00015846 [21:10:34]NVStorageDeleteData [21:10:34]Write to MH i2c: 01 00 00 32 04 36 [21:10:34]Write i2c OK [21:10:34]MH_I2C_Read... [21:10:34]Read from MH i2c: 01 [21:10:34]MH_I2C_Read... [21:10:34]Read from MH i2c: 01 07 00 [21:10:34]MH_I2C_Read... [21:10:34]Read from MH i2c: 01 07 00 32 04 00 00 00 00 00 07 0D 51 [21:10:34]RasterBufferAndPrint [21:10:34]line [21:10:34]line [21:10:34]line [21:10:34]line [21:10:34]line [21:10:34]written 0, free lines is 3342 [21:10:34]MH_Cut [21:10:34]Write to MH i2c: D1 01 00 39 04 01 0F [21:10:34]Write i2c OK [21:10:34]MH_I2C_Read... [21:10:34]Read from MH i2c: D1 [21:10:34]MH_I2C_Read... [21:10:34]Read from MH i2c: D1 01 00 [21:10:34]MH_I2C_Read... [21:10:34]Read from MH i2c: D1 01 00 39 04 00 0E [21:10:34]Write to MH i2c: 01 00 00 3A 04 3E [21:10:34]Write i2c OK [21:10:34]MH_I2C_Read... [21:10:34]OFD Sender: No OFD packet to send [21:10:35]*** Cut start [21:10:35]*** Partial cut [21:10:35]*** CUTSNS_PIN = 1 [21:10:35]*** CUTSNS_PIN = 0 [21:10:35]*** Brake cut motor [21:10:35]Read from MH i2c: 01 [21:10:35]MH_I2C_Read... [21:10:35]*** Stop cut motor [21:10:35]*** Cut end [21:10:35]Read from MH i2c: 01 07 00 [21:10:35]MH_I2C_Read... [21:10:35]Read from MH i2c: 01 07 00 3A 04 00 00 00 00 00 FF 0F 53 [21:10:35]process_action close_receipt done [21:10:35]requested_data is exist [21:10:35]produce_requested_data [21:10:35]requested_item fm.sn is exist - process it [21:10:35]wFMCommunicate request_size=4 [21:10:35]MH_SAM_APDU [21:10:35]CAPDU: 80 11 00 00 [21:10:35]Write to MH i2c: E2 08 00 3B 04 80 11 00 00 00 00 00 00 B9 [21:10:35]Write i2c OK [21:10:35]MH_I2C_Read... [21:10:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:10:35]Read from MH i2c: E2 [21:10:35]MH_I2C_Read... [21:10:35]Read from MH i2c: E2 17 00 [21:10:35]MH_I2C_Read... [21:10:35]Read from MH i2c: E2 17 00 3B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 08 [21:10:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:10:35]wFMCommunicate OK [21:10:35]requested_item fd.num is exist - process it [21:10:35]SAM_PROTO_GetFieldsCounters [21:10:35]wFMCommunicate request_size=4 [21:10:35]MH_SAM_APDU [21:10:35]CAPDU: 80 13 00 00 [21:10:35]Write to MH i2c: E2 08 00 3C 04 80 13 00 00 00 00 00 00 BC [21:10:35]Write i2c OK [21:10:35]MH_I2C_Read... [21:10:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:10:35]Read from MH i2c: E2 [21:10:35]MH_I2C_Read... [21:10:35]Read from MH i2c: E2 62 00 [21:10:35]MH_I2C_Read... [21:10:35]Read from MH i2c: E2 62 00 3C 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E6 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [21:10:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E6 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:10:35]wFMCommunicate OK [21:10:35]SAM_PROTO_GetFieldsCounters done [21:10:35]requested_item shift.num is exist - process it [21:10:35]requested_item shift.opened is exist - process it [21:10:35]req_shift_opened [21:10:35]FM_GetShiftState [21:10:35]SAM_PROTO_GetShiftState [21:10:35]wFMCommunicate request_size=4 [21:10:35]MH_SAM_APDU [21:10:35]CAPDU: 80 13 01 00 [21:10:35]Write to MH i2c: E2 08 00 3D 04 80 13 01 00 00 00 00 00 BE [21:10:35]Write i2c OK [21:10:35]MH_I2C_Read... [21:10:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:10:36]Read from MH i2c: E2 [21:10:36]MH_I2C_Read... [21:10:36]Read from MH i2c: E2 0E 00 [21:10:36]MH_I2C_Read... [21:10:36]Read from MH i2c: E2 0E 00 3D 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 03 [21:10:36]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:10:36]wFMCommunicate OK [21:10:36]SAM_PROTO_GetShiftState done [21:10:36]FM_GetShiftState done [21:10:36]req_shift_opened done [21:10:36]requested_item shift.open_date is exist - process it [21:10:36]req_shift_open_date [21:10:36]req_shift_open_date done [21:10:36]produce_requested_data done [21:10:36]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15846,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [21:10:36]process_action_free close_receipt [21:10:36]json_value_free [21:10:36]json_value_free done [21:10:36]process_json_proto returns [21:10:36]Send response to host [21:10:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15846,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [21:10:36]free response buf [21:10:36]execute_script done [21:10:36]execute_script returns [21:10:36]free content buf [21:10:36]Sock 9.Close socket [21:10:36]Sock 9.Thread stoped [21:10:39]OFD Sender: No OFD packet to send [21:10:44]OFD Sender: No OFD packet to send [21:10:49]OFD Sender: No OFD packet to send [21:10:54]OFD Sender: No OFD packet to send [21:10:59]OFD Sender: No OFD packet to send [21:11:01]int [21:11:01]Write to MH i2c: 01 00 00 3E 04 42 [21:11:01]*** FLAG_PRN_PAP1 set [21:11:01]Write i2c OK [21:11:01]MH_I2C_Read... [21:11:01]Read from MH i2c: 01 [21:11:01]MH_I2C_Read... [21:11:01]Read from MH i2c: 01 07 00 [21:11:01]MH_I2C_Read... [21:11:01]Read from MH i2c: 01 07 00 3E 04 00 01 00 00 00 FF 0F 58 [21:11:01]state=0 [21:11:01]No paper [21:11:01]int [21:11:01]Write to MH i2c: 01 00 00 3F 04 43 [21:11:01]*** FLAG_PRN_PAP2 set [21:11:01]Write i2c OK [21:11:01]MH_I2C_Read... [21:11:01]Read from MH i2c: 01 [21:11:01]MH_I2C_Read... [21:11:01]Read from MH i2c: 01 07 00 [21:11:01]MH_I2C_Read... [21:11:01]Read from MH i2c: 01 07 00 3F 04 00 03 00 00 00 FF 0F 5B [21:11:01]state=0 [21:11:01]No paper [21:11:01]Cover opened [21:11:04]OFD Sender: No OFD packet to send [21:11:06]Write to MH i2c: 01 00 00 40 04 44 [21:11:06]Write i2c OK [21:11:06]MH_I2C_Read... [21:11:06]Read from MH i2c: 01 [21:11:06]MH_I2C_Read... [21:11:06]Read from MH i2c: 01 07 00 [21:11:06]MH_I2C_Read... [21:11:06]Read from MH i2c: 01 07 00 40 04 00 03 00 00 00 FF 0F 5C [21:11:06]state=3 [21:11:06]No paper [21:11:06]Cover opened [21:11:09]OFD Sender: No OFD packet to send [21:11:11]Write to MH i2c: 01 00 00 41 04 45 [21:11:11]Write i2c OK [21:11:11]MH_I2C_Read... [21:11:11]Read from MH i2c: 01 [21:11:11]MH_I2C_Read... [21:11:11]Read from MH i2c: 01 07 00 [21:11:11]MH_I2C_Read... [21:11:11]Read from MH i2c: 01 07 00 41 04 00 03 00 00 00 FF 0F 5D [21:11:11]state=3 [21:11:11]No paper [21:11:11]Cover opened [21:11:14]OFD Sender: No OFD packet to send [21:11:16]int [21:11:16]Write to MH i2c: 01 00 00 42 04 46 [21:11:16]Write i2c OK [21:11:16]MH_I2C_Read... [21:11:16]Read from MH i2c: 01 [21:11:16]MH_I2C_Read... [21:11:16]Read from MH i2c: 01 07 00 [21:11:16]MH_I2C_Read... [21:11:16]*** FLAG_PRN_PAP2 reset [21:11:16]*** FLAG_PRN_PAP1 reset [21:11:16]Read from MH i2c: 01 07 00 42 04 00 00 00 00 00 FF 0F 5B [21:11:16]state=3 [21:11:16]Cover closed [21:11:19]OFD Sender: No OFD packet to send [21:11:24]OFD Sender: No OFD packet to send [21:11:29]OFD Sender: No OFD packet to send [21:11:34]OFD Sender: No OFD packet to send [21:11:39]OFD Sender: No OFD packet to send [21:11:44]OFD Sender: No OFD packet to send [21:11:49]OFD Sender: No OFD packet to send [21:11:54]OFD Sender: No OFD packet to send [21:11:59]OFD Sender: No OFD packet to send [21:12:04]OFD Sender: No OFD packet to send [21:12:09]OFD Sender: No OFD packet to send [21:12:14]OFD Sender: No OFD packet to send [21:12:19]OFD Sender: No OFD packet to send [21:12:24]OFD Sender: No OFD packet to send [21:12:29]OFD Sender: No OFD packet to send [21:12:34]OFD Sender: No OFD packet to send [21:12:39]OFD Sender: No OFD packet to send [21:12:44]OFD Sender: No OFD packet to send [21:12:49]OFD Sender: No OFD packet to send [21:12:54]OFD Sender: No OFD packet to send [21:12:59]OFD Sender: No OFD packet to send [21:13:04]OFD Sender: No OFD packet to send [21:13:09]OFD Sender: No OFD packet to send [21:13:14]OFD Sender: No OFD packet to send [21:13:19]OFD Sender: No OFD packet to send [21:13:24]OFD Sender: No OFD packet to send [21:13:29]OFD Sender: No OFD packet to send [21:13:34]OFD Sender: No OFD packet to send [21:13:39]OFD Sender: No OFD packet to send [21:13:44]OFD Sender: No OFD packet to send [21:13:49]OFD Sender: No OFD packet to send [21:13:54]OFD Sender: No OFD packet to send [21:13:59]OFD Sender: No OFD packet to send [21:14:04]OFD Sender: No OFD packet to send [21:14:09]OFD Sender: No OFD packet to send [21:14:14]OFD Sender: No OFD packet to send [21:14:19]OFD Sender: No OFD packet to send [21:14:24]OFD Sender: No OFD packet to send [21:14:29]OFD Sender: No OFD packet to send [21:14:34]OFD Sender: No OFD packet to send [21:14:39]OFD Sender: No OFD packet to send [21:14:44]OFD Sender: No OFD packet to send [21:14:49]OFD Sender: No OFD packet to send [21:14:54]OFD Sender: No OFD packet to send [21:14:59]OFD Sender: No OFD packet to send [21:15:04]OFD Sender: No OFD packet to send [21:15:09]OFD Sender: No OFD packet to send [21:15:14]OFD Sender: No OFD packet to send [21:15:19]OFD Sender: No OFD packet to send [21:15:24]OFD Sender: No OFD packet to send [21:15:29]OFD Sender: No OFD packet to send [21:15:34]OFD Sender: No OFD packet to send [21:15:39]OFD Sender: No OFD packet to send [21:15:44]OFD Sender: No OFD packet to send [21:15:49]OFD Sender: No OFD packet to send [21:15:54]OFD Sender: No OFD packet to send [21:15:59]OFD Sender: No OFD packet to send [21:16:04]OFD Sender: No OFD packet to send [21:16:09]OFD Sender: No OFD packet to send [21:16:14]OFD Sender: No OFD packet to send [21:16:19]OFD Sender: No OFD packet to send [21:16:24]OFD Sender: No OFD packet to send [21:16:29]OFD Sender: No OFD packet to send [21:16:34]OFD Sender: No OFD packet to send [21:16:40]OFD Sender: No OFD packet to send [21:16:45]OFD Sender: No OFD packet to send [21:16:50]OFD Sender: No OFD packet to send [21:16:55]OFD Sender: No OFD packet to send [21:17:00]OFD Sender: No OFD packet to send [21:17:05]OFD Sender: No OFD packet to send [21:17:10]OFD Sender: No OFD packet to send [21:17:15]OFD Sender: No OFD packet to send [21:17:20]OFD Sender: No OFD packet to send [21:17:25]OFD Sender: No OFD packet to send [21:17:30]OFD Sender: No OFD packet to send [21:17:35]OFD Sender: No OFD packet to send [21:17:40]OFD Sender: No OFD packet to send [21:17:45]OFD Sender: No OFD packet to send [21:17:50]OFD Sender: No OFD packet to send [21:17:55]OFD Sender: No OFD packet to send [21:18:00]OFD Sender: No OFD packet to send [21:18:05]OFD Sender: No OFD packet to send [21:18:10]OFD Sender: No OFD packet to send [21:18:15]OFD Sender: No OFD packet to send [21:18:20]OFD Sender: No OFD packet to send [21:18:25]OFD Sender: No OFD packet to send [21:18:30]OFD Sender: No OFD packet to send [21:18:35]OFD Sender: No OFD packet to send [21:18:40]OFD Sender: No OFD packet to send [21:18:45]OFD Sender: No OFD packet to send [21:18:50]OFD Sender: No OFD packet to send [21:18:55]OFD Sender: No OFD packet to send [21:19:00]OFD Sender: No OFD packet to send [21:19:05]OFD Sender: No OFD packet to send [21:19:10]OFD Sender: No OFD packet to send [21:19:15]OFD Sender: No OFD packet to send [21:19:20]OFD Sender: No OFD packet to send [21:19:25]OFD Sender: No OFD packet to send [21:19:30]OFD Sender: No OFD packet to send [21:19:35]OFD Sender: No OFD packet to send [21:19:40]OFD Sender: No OFD packet to send [21:19:45]OFD Sender: No OFD packet to send [21:19:50]OFD Sender: No OFD packet to send [21:19:55]OFD Sender: No OFD packet to send [21:20:00]OFD Sender: No OFD packet to send [21:20:05]OFD Sender: No OFD packet to send [21:20:10]OFD Sender: No OFD packet to send [21:20:15]OFD Sender: No OFD packet to send [21:20:20]OFD Sender: No OFD packet to send [21:20:25]OFD Sender: No OFD packet to send [21:20:30]OFD Sender: No OFD packet to send [21:20:35]OFD Sender: No OFD packet to send [21:20:40]OFD Sender: No OFD packet to send [21:20:45]OFD Sender: No OFD packet to send [21:20:50]OFD Sender: No OFD packet to send [21:20:55]OFD Sender: No OFD packet to send [21:21:00]OFD Sender: No OFD packet to send [21:21:05]OFD Sender: No OFD packet to send [21:21:10]OFD Sender: No OFD packet to send [21:21:15]OFD Sender: No OFD packet to send [21:21:20]OFD Sender: No OFD packet to send [21:21:25]OFD Sender: No OFD packet to send [21:21:30]OFD Sender: No OFD packet to send [21:21:35]OFD Sender: No OFD packet to send [21:21:40]OFD Sender: No OFD packet to send [21:21:45]OFD Sender: No OFD packet to send [21:21:50]OFD Sender: No OFD packet to send [21:21:55]OFD Sender: No OFD packet to send [21:22:00]OFD Sender: No OFD packet to send [21:22:05]OFD Sender: No OFD packet to send [21:22:10]OFD Sender: No OFD packet to send [21:22:15]OFD Sender: No OFD packet to send [21:22:20]OFD Sender: No OFD packet to send [21:22:25]OFD Sender: No OFD packet to send [21:22:30]OFD Sender: No OFD packet to send [21:22:35]OFD Sender: No OFD packet to send [21:22:40]OFD Sender: No OFD packet to send [21:22:45]OFD Sender: No OFD packet to send [21:22:50]OFD Sender: No OFD packet to send [21:22:55]OFD Sender: No OFD packet to send [21:23:00]OFD Sender: No OFD packet to send [21:23:05]OFD Sender: No OFD packet to send [21:23:10]OFD Sender: No OFD packet to send [21:23:15]OFD Sender: No OFD packet to send [21:23:20]OFD Sender: No OFD packet to send [21:23:25]OFD Sender: No OFD packet to send [21:23:30]OFD Sender: No OFD packet to send [21:23:35]OFD Sender: No OFD packet to send [21:23:40]OFD Sender: No OFD packet to send [21:23:45]OFD Sender: No OFD packet to send [21:23:50]OFD Sender: No OFD packet to send [21:23:55]OFD Sender: No OFD packet to send [21:24:00]OFD Sender: No OFD packet to send [21:24:05]OFD Sender: No OFD packet to send [21:24:10]OFD Sender: No OFD packet to send [21:24:15]OFD Sender: No OFD packet to send [21:24:20]OFD Sender: No OFD packet to send [21:24:25]OFD Sender: No OFD packet to send [21:24:30]OFD Sender: No OFD packet to send [21:24:35]OFD Sender: No OFD packet to send [21:24:40]OFD Sender: No OFD packet to send [21:24:45]OFD Sender: No OFD packet to send [21:24:50]OFD Sender: No OFD packet to send [21:24:55]OFD Sender: No OFD packet to send [21:25:00]OFD Sender: No OFD packet to send [21:25:05]OFD Sender: No OFD packet to send [21:25:10]OFD Sender: No OFD packet to send [21:25:15]OFD Sender: No OFD packet to send [21:25:20]OFD Sender: No OFD packet to send [21:25:25]OFD Sender: No OFD packet to send [21:25:30]OFD Sender: No OFD packet to send [21:25:35]OFD Sender: No OFD packet to send [21:25:40]OFD Sender: No OFD packet to send [21:25:45]OFD Sender: No OFD packet to send [21:25:50]OFD Sender: No OFD packet to send [21:25:55]OFD Sender: No OFD packet to send [21:26:00]OFD Sender: No OFD packet to send [21:26:05]OFD Sender: No OFD packet to send [21:26:10]OFD Sender: No OFD packet to send [21:26:15]OFD Sender: No OFD packet to send [21:26:20]OFD Sender: No OFD packet to send [21:26:25]OFD Sender: No OFD packet to send [21:26:30]OFD Sender: No OFD packet to send [21:26:35]OFD Sender: No OFD packet to send [21:26:40]OFD Sender: No OFD packet to send [21:26:45]OFD Sender: No OFD packet to send [21:26:50]OFD Sender: No OFD packet to send [21:26:55]OFD Sender: No OFD packet to send [21:27:00]OFD Sender: No OFD packet to send [21:27:05]OFD Sender: No OFD packet to send [21:27:10]OFD Sender: No OFD packet to send [21:27:14]accept exits with 7 [21:27:14]New connection [21:27:14]New thread 3067391332 created [21:27:14]Thread 3067247972 joined [21:27:14]Waiting for new connection... [21:27:14] Sock 7.Parse request [21:27:14]Sock 7.Check first char [21:27:14]Sock 7.First char is OK [21:27:14]request: POST /json_proto HTTP/1.0 [21:27:14]Method: POST [21:27:14]URL: /json_proto [21:27:14]Method is POST - this is cgi request [21:27:14]url: /json_proto [21:27:14]query_string will be loaded in cgi processing [21:27:14]execute_cgi json_proto POST (null) [21:27:14]execute_cgi path=json_proto method=POST [21:27:14]POST find Content-Length [21:27:14]Host: 172.17.54.195:8080 [21:27:14]Content-Length: 671 [21:27:14]Content-Type: application/json [21:27:14] [21:27:14]POST finish read [21:27:14]Found Content-Length = 671 [21:27:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16399", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [21:27:14]execute_script... [21:27:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16399", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [21:27:14]POST & json_proto [21:27:14]process_json_proto [21:27:14]json parsed OK: [21:27:14]protocol is kg_v1.0 [21:27:14]action value=close_receipt [21:27:14]process_action close_receipt [21:27:14]cmd_close_receipt [21:27:14]MH_GetDate [21:27:14]Write to MH i2c: F0 00 00 43 04 36 [21:27:14]Write i2c OK [21:27:14]MH_I2C_Read... [21:27:14]Read from MH i2c: F0 [21:27:14]MH_I2C_Read... [21:27:14]Read from MH i2c: F0 09 00 [21:27:14]MH_I2C_Read... [21:27:14]Read from MH i2c: F0 09 00 43 04 00 B3 A4 22 67 8D 90 A3 66 45 [21:27:14]GetLastDocTimeStamp 1730322632 [21:27:14]current date 1730323635 [21:27:14]FM_GetShiftState [21:27:14]SAM_PROTO_GetShiftState [21:27:14]wFMCommunicate request_size=4 [21:27:14]MH_SAM_APDU [21:27:14]CAPDU: 80 13 01 00 [21:27:14]Write to MH i2c: E2 08 00 44 04 80 13 01 00 00 00 00 00 C5 [21:27:14]Write i2c OK [21:27:14]MH_I2C_Read... [21:27:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:27:15]Read from MH i2c: E2 [21:27:15]MH_I2C_Read... [21:27:15]Read from MH i2c: E2 0E 00 [21:27:15]MH_I2C_Read... [21:27:15]Read from MH i2c: E2 0E 00 44 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 0A [21:27:15]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:27:15]wFMCommunicate OK [21:27:15]SAM_PROTO_GetShiftState done [21:27:15]FM_GetShiftState done [21:27:15]opened in 1730247478 [21:27:15]opened+sec_in_day 1730333878 [21:27:15]quantity*price = 100000 [21:27:15]sum+1 = 100002 [21:27:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.01 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 57 30.10.2024 21:27 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15847 ФПД: 107577521440860 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T212715&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15847&fm=107577521440860&tin=02508201610067®Number=0000000000161798&sum=100000 [21:27:16]StoreToDocumentArchive [21:27:16]shift 173 fd 15847 [21:27:16]save to /storage/0173/doc_00015847 [21:27:16]save last doc name /storage/0173/doc_00015847 to /storage/kkm_last_doc_name [21:27:16]save OK [21:27:16]Clear old archive folders... [21:27:16]ProcessDocumentItem done err = 0, tmpTLVsize=249 [21:27:16]tlvbuf is 01F28300 [21:27:16]SAM_PROTO_ClearQueue [21:27:16]wFMCommunicate request_size=4 [21:27:16]MH_SAM_APDU [21:27:16]CAPDU: 80 09 00 00 [21:27:16]Write to MH i2c: E2 08 00 51 04 80 09 00 00 00 00 00 00 C7 [21:27:16]Write i2c OK [21:27:16]MH_I2C_Read... [21:27:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:27:16]Read from MH i2c: E2 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 03 00 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 03 00 51 04 00 90 00 C9 [21:27:16]RAPDU: 90 00 [21:27:16]wFMCommunicate OK [21:27:16]SAM_PROTO_ClearQueue done [21:27:16]KKMCreateOFDPacket [21:27:16]OFDProtocolAddRootSTLVToBuf [21:27:16]FM_MakeSignedData [21:27:16]FM_MakeSignedData [21:27:16]SAM_PROTO_SignData [21:27:16]wFMCommunicate request_size=4 [21:27:16]MH_SAM_APDU [21:27:16]CAPDU: 80 0D 01 02 [21:27:16]Write to MH i2c: E2 08 00 52 04 80 0D 01 02 00 00 00 00 CF [21:27:16]Write i2c OK [21:27:16]MH_I2C_Read... [21:27:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:27:16]Read from MH i2c: E2 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 03 00 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 03 00 52 04 00 90 00 CA [21:27:16]RAPDU: 90 00 [21:27:16]wFMCommunicate OK [21:27:16]wFMCommunicate request_size=255 [21:27:16]MH_SAM_APDU [21:27:16]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 39 00 00 00 F4 03 04 00 B3 A4 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E7 3D 00 00 35 04 06 00 61 D7 57 [21:27:16]Write to MH i2c: E2 02 01 53 04 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 39 00 00 00 F4 03 04 00 B3 A4 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E7 3D 00 00 35 04 06 00 61 D7 57 00 00 04 [21:27:16]Write i2c OK [21:27:16]MH_I2C_Read... [21:27:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:27:16]Read from MH i2c: E2 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 03 00 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 03 00 53 04 00 90 00 CB [21:27:16]RAPDU: 90 00 [21:27:16]wFMCommunicate OK [21:27:16]wFMCommunicate request_size=8 [21:27:16]MH_SAM_APDU [21:27:16]CAPDU: 80 0D 02 02 03 F3 88 5C [21:27:16]Write to MH i2c: E2 0B 00 54 04 80 0D 02 02 03 00 F3 88 5C 00 00 AF [21:27:16]Write i2c OK [21:27:16]MH_I2C_Read... [21:27:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:27:16]Read from MH i2c: E2 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 03 00 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 03 00 54 04 00 90 00 CC [21:27:16]RAPDU: 90 00 [21:27:16]wFMCommunicate OK [21:27:16]wFMCommunicate request_size=4 [21:27:16]MH_SAM_APDU [21:27:16]CAPDU: 80 0D 03 02 [21:27:16]Write to MH i2c: E2 08 00 55 04 80 0D 03 02 00 00 00 00 D4 [21:27:16]Write i2c OK [21:27:16]MH_I2C_Read... [21:27:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:27:16]Read from MH i2c: E2 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 0B 00 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 0B 00 55 04 00 13 23 B4 53 E1 71 A2 F7 90 00 FD [21:27:16]RAPDU: 13 23 B4 53 E1 71 A2 F7 90 00 [21:27:16]wFMCommunicate OK [21:27:16]SAM_PROTO_SignData done [21:27:16]FM_MakeSignedData done [21:27:16]CreateOFDProtocolMessage [21:27:16]wFMCommunicate request_size=4 [21:27:16]MH_SAM_APDU [21:27:16]CAPDU: 80 11 00 00 [21:27:16]Write to MH i2c: E2 08 00 56 04 80 11 00 00 00 00 00 00 D4 [21:27:16]Write i2c OK [21:27:16]MH_I2C_Read... [21:27:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:27:16]Read from MH i2c: E2 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 17 00 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: E2 17 00 56 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 23 [21:27:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:27:16]wFMCommunicate OK [21:27:16]CreateOFDProtocolMessage done [21:27:16]OFDSenderStorePacket 15847 [21:27:16]StoreOFDPacket docnum=15847 [21:27:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 25 D0 05 01 F7 29 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 39 00 00 00 F4 03 04 00 B3 A4 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E7 3D 00 00 35 04 06 00 61 D7 57 F3 88 5C 13 23 B4 53 E1 71 A2 F7 [21:27:16]CheckFolder [21:27:16]dirname=/storage/ofd_packets [21:27:16]CheckFolder done [21:27:16]ProducePacketName [21:27:16]name=ofd_packets/00015847 [21:27:16]NVStorageSaveData ofd_packets/00015847 [21:27:16]File name is /storage/ofd_packets/00015847 [21:27:16]Write 299 bytes [21:27:16]NVStorageSaveData done [21:27:16]OFDSenderStorePacket done [21:27:16]KKMCreateOFDPacket done [21:27:16]NVStorageSaveData kkm_last_timestamp [21:27:16]File name is /storage/kkm_last_timestamp [21:27:16]Write 4 bytes [21:27:16]NVStorageSaveData done [21:27:16]ExternCall_PrintAddStr [21:27:16]wPrintStart [21:27:16]Write to MH i2c: 01 00 00 57 04 5B [21:27:16]Write i2c OK [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: 01 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: 01 07 00 [21:27:16]MH_I2C_Read... [21:27:16]Read from MH i2c: 01 07 00 57 04 00 00 00 00 00 FF 0F 70 [21:27:16]RasterBufferAndPrint [21:27:16]line Счет N : (1)16399 [21:27:16]line ИНН: 02508201610067 [21:27:16]line Контрольно-Кассовый Чек [21:27:16]line ПРОДАЖА [21:27:16]line ТРК (МРК, ГНК) : 12 [21:27:16]line Товар: 50.50.0 [21:27:16]line SUPER 92-К-5 [21:27:16]line 14.620 * 68.40 [21:27:16]line = 1000.01 [21:27:16]line НДС 12% НСП 1% [21:27:16]line > о реализуемом товаре [21:27:16]line ОКРУГЛЕНИЕ: -0.01 [21:27:16]line ИТОГО: 1000.00 [21:27:16]line Внесено: 1000.00 [21:27:16]line СДАЧА: 0.00 [21:27:16]line НСП 1% : 8.85 [21:27:16]line НДС 12% : 106.20 [21:27:16]line Наличными: 1000.00 [21:27:16]line Безнал.: 0.00 [21:27:16]line Место: АЗС № 178 "Партнер Нефть" [21:27:16]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [21:27:16]line СНО: Общий режим [21:27:16]line Чек 57 30.10.2024 21:27 [21:27:16]line Смена: 173 ФФД: 1.0 [21:27:16]line ЗНМ: 0300000014 [21:27:16]line РНМ: 0000000000161798 [21:27:16]line Версия ККМ: v1.0 [21:27:16]line ФМ: 0000000000963325 [21:27:16]line ФД: 15847 [21:27:16]line ФПД: 107577521440860 [21:27:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T212715&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15847&fm=107577521440860&tin=02508201610067®Number=0000000000161798&sum=100000 [21:27:16]OFD Sender: Processing packet 15847 [packets to send 4, broken 3] [21:27:16]ProducePacketName [21:27:16]name=ofd_packets/00015847 [21:27:16]OFD Sender: To server: pG, [21:27:16]CommunicateWithHost lk.salyk.kg:30040 [21:27:16]ConnectInit lk.salyk.kg [21:27:16]written 0, free lines is 4095 [21:27:17]Connected sock=10 [21:27:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 25 D0 05 01 F7 29 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 39 00 00 00 F4 03 04 00 B3 A4 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E7 3D 00 00 35 04 06 00 61 D7 57 F3 88 5C 13 23 B4 53 E1 71 A2 F7 [21:27:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 53 16 47 00 D9 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 E7 3D 00 00 F4 03 04 00 9B 4F 22 67 B6 04 01 00 00 1B 6E 14 70 D3 CD 5D AD [21:27:17]CommunicateWithHost err = 0 [21:27:17]CheckOFDResponse [21:27:17]1017 (14) - 77093643461234 [21:27:17]1041 (16) - 0000000000963325 [21:27:17]1040 (4) - 15847 [21:27:17]1012 (4) - 30.10.2024 15:24 [21:27:17]1206 (1) - 0 [21:27:17]OFD Sender: Remove packet 15847 [21:27:17]ProducePacketName [21:27:17]name=ofd_packets/00015847 [21:27:17]NVStorageDeleteData [21:27:17]Write to MH i2c: 01 00 00 82 04 86 [21:27:17]Write i2c OK [21:27:17]MH_I2C_Read... [21:27:17]Read from MH i2c: 01 [21:27:17]MH_I2C_Read... [21:27:17]Read from MH i2c: 01 07 00 [21:27:17]MH_I2C_Read... [21:27:17]Read from MH i2c: 01 07 00 82 04 00 00 00 00 00 EE 0C 87 [21:27:17]RasterBufferAndPrint [21:27:17]line [21:27:17]line [21:27:17]line [21:27:17]line [21:27:17]line [21:27:17]written 0, free lines is 3316 [21:27:17]MH_Cut [21:27:17]Write to MH i2c: D1 01 00 89 04 01 5F [21:27:17]Write i2c OK [21:27:17]MH_I2C_Read... [21:27:17]Read from MH i2c: D1 [21:27:17]MH_I2C_Read... [21:27:17]Read from MH i2c: D1 01 00 [21:27:17]MH_I2C_Read... [21:27:17]Read from MH i2c: D1 01 00 89 04 00 5E [21:27:17]Write to MH i2c: 01 00 00 8A 04 8E [21:27:17]Write i2c OK [21:27:17]MH_I2C_Read... [21:27:17]OFD Sender: No OFD packet to send [21:27:18]*** Cut start [21:27:18]*** Partial cut [21:27:18]*** CUTSNS_PIN = 1 [21:27:18]*** CUTSNS_PIN = 0 [21:27:18]*** Brake cut motor [21:27:18]Read from MH i2c: 01 [21:27:18]MH_I2C_Read... [21:27:18]*** Stop cut motor [21:27:18]*** Cut end [21:27:18]Read from MH i2c: 01 07 00 [21:27:18]MH_I2C_Read... [21:27:18]Read from MH i2c: 01 07 00 8A 04 00 00 00 00 00 FF 0F A3 [21:27:18]process_action close_receipt done [21:27:18]requested_data is exist [21:27:18]produce_requested_data [21:27:18]requested_item fm.sn is exist - process it [21:27:18]wFMCommunicate request_size=4 [21:27:18]MH_SAM_APDU [21:27:18]CAPDU: 80 11 00 00 [21:27:18]Write to MH i2c: E2 08 00 8B 04 80 11 00 00 00 00 00 00 09 [21:27:18]Write i2c OK [21:27:18]MH_I2C_Read... [21:27:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:27:18]Read from MH i2c: E2 [21:27:18]MH_I2C_Read... [21:27:18]Read from MH i2c: E2 17 00 [21:27:18]MH_I2C_Read... [21:27:18]Read from MH i2c: E2 17 00 8B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 58 [21:27:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:27:18]wFMCommunicate OK [21:27:18]requested_item fd.num is exist - process it [21:27:18]SAM_PROTO_GetFieldsCounters [21:27:18]wFMCommunicate request_size=4 [21:27:18]MH_SAM_APDU [21:27:18]CAPDU: 80 13 00 00 [21:27:18]Write to MH i2c: E2 08 00 8C 04 80 13 00 00 00 00 00 00 0C [21:27:18]Write i2c OK [21:27:18]MH_I2C_Read... [21:27:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:27:19]Read from MH i2c: E2 [21:27:19]MH_I2C_Read... [21:27:19]Read from MH i2c: E2 62 00 [21:27:19]MH_I2C_Read... [21:27:19]Read from MH i2c: E2 62 00 8C 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E7 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [21:27:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E7 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:27:19]wFMCommunicate OK [21:27:19]SAM_PROTO_GetFieldsCounters done [21:27:19]requested_item shift.num is exist - process it [21:27:19]requested_item shift.opened is exist - process it [21:27:19]req_shift_opened [21:27:19]FM_GetShiftState [21:27:19]SAM_PROTO_GetShiftState [21:27:19]wFMCommunicate request_size=4 [21:27:19]MH_SAM_APDU [21:27:19]CAPDU: 80 13 01 00 [21:27:19]Write to MH i2c: E2 08 00 8D 04 80 13 01 00 00 00 00 00 0E [21:27:19]Write i2c OK [21:27:19]MH_I2C_Read... [21:27:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:27:19]Read from MH i2c: E2 [21:27:19]MH_I2C_Read... [21:27:19]Read from MH i2c: E2 0E 00 [21:27:19]MH_I2C_Read... [21:27:19]Read from MH i2c: E2 0E 00 8D 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 53 [21:27:19]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:27:19]wFMCommunicate OK [21:27:19]SAM_PROTO_GetShiftState done [21:27:19]FM_GetShiftState done [21:27:19]req_shift_opened done [21:27:19]requested_item shift.open_date is exist - process it [21:27:19]req_shift_open_date [21:27:19]req_shift_open_date done [21:27:19]produce_requested_data done [21:27:19]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15847,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [21:27:19]process_action_free close_receipt [21:27:19]json_value_free [21:27:19]json_value_free done [21:27:19]process_json_proto returns [21:27:19]Send response to host [21:27:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15847,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [21:27:19]free response buf [21:27:19]execute_script done [21:27:19]execute_script returns [21:27:19]free content buf [21:27:19]Sock 7.Close socket [21:27:19]Sock 7.Thread stoped [21:27:22]OFD Sender: No OFD packet to send [21:27:27]OFD Sender: No OFD packet to send [21:27:32]OFD Sender: No OFD packet to send [21:27:37]OFD Sender: No OFD packet to send [21:27:42]OFD Sender: No OFD packet to send [21:27:47]OFD Sender: No OFD packet to send [21:27:52]OFD Sender: No OFD packet to send [21:27:57]OFD Sender: No OFD packet to send [21:28:02]OFD Sender: No OFD packet to send [21:28:07]OFD Sender: No OFD packet to send [21:28:12]OFD Sender: No OFD packet to send [21:28:17]OFD Sender: No OFD packet to send [21:28:22]OFD Sender: No OFD packet to send [21:28:27]OFD Sender: No OFD packet to send [21:28:32]OFD Sender: No OFD packet to send [21:28:37]OFD Sender: No OFD packet to send [21:28:42]OFD Sender: No OFD packet to send [21:28:47]OFD Sender: No OFD packet to send [21:28:52]OFD Sender: No OFD packet to send [21:28:57]OFD Sender: No OFD packet to send [21:29:02]OFD Sender: No OFD packet to send [21:29:07]OFD Sender: No OFD packet to send [21:29:12]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:54]accept exits with 9 [21:29:54]New connection [21:29:54]New thread 3067247972 created [21:29:54]Thread 3067391332 joined [21:29:54]Waiting for new connection... [21:29:54] Sock 9.Parse request [21:29:54]Sock 9.Check first char [21:29:54]Sock 9.First char is OK [21:29:54]request: POST /json_proto HTTP/1.0 [21:29:54]Method: POST [21:29:54]URL: /json_proto [21:29:54]Method is POST - this is cgi request [21:29:54]url: /json_proto [21:29:54]query_string will be loaded in cgi processing [21:29:54]execute_cgi json_proto POST (null) [21:29:54]execute_cgi path=json_proto method=POST [21:29:54]POST find Content-Length [21:29:54]Host: 172.17.54.195:8080 [21:29:54]Content-Length: 684 [21:29:54]Content-Type: application/json [21:29:54] [21:29:54]POST finish read [21:29:54]Found Content-Length = 684 [21:29:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16398", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 38.360, "sum" : 1492.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1492.00, "payments": [ { "type": 0, "sum" : 1492.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:29:54]execute_script... [21:29:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16398", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 38.360, "sum" : 1492.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1492.00, "payments": [ { "type": 0, "sum" : 1492.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:29:54]POST & json_proto [21:29:54]process_json_proto [21:29:54]json parsed OK: [21:29:54]protocol is kg_v1.0 [21:29:54]action value=close_receipt [21:29:54]process_action close_receipt [21:29:54]cmd_close_receipt [21:29:54]MH_GetDate [21:29:54]Write to MH i2c: F0 00 00 8E 04 81 [21:29:54]Write i2c OK [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: F0 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: F0 09 00 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: F0 09 00 8E 04 00 53 A5 22 67 8D 90 A3 66 31 [21:29:54]GetLastDocTimeStamp 1730323635 [21:29:54]current date 1730323795 [21:29:54]FM_GetShiftState [21:29:54]SAM_PROTO_GetShiftState [21:29:54]wFMCommunicate request_size=4 [21:29:54]MH_SAM_APDU [21:29:54]CAPDU: 80 13 01 00 [21:29:54]Write to MH i2c: E2 08 00 8F 04 80 13 01 00 00 00 00 00 10 [21:29:54]Write i2c OK [21:29:54]MH_I2C_Read... [21:29:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:29:54]Read from MH i2c: E2 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 0E 00 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 0E 00 8F 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 55 [21:29:54]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:29:54]wFMCommunicate OK [21:29:54]SAM_PROTO_GetShiftState done [21:29:54]FM_GetShiftState done [21:29:54]opened in 1730247478 [21:29:54]opened+sec_in_day 1730333878 [21:29:54]quantity*price = 149220 [21:29:54]sum+1 = 149221 [21:29:54]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.20 ИТОГО: 1492.00 Внесено: 2000.00 СДАЧА: 508.00 НСП 1% : 13.20 НДС 12% : 158.46 Наличными: 1492.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 58 30.10.2024 21:29 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15848 ФПД: 227115327816396 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T212955&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15848&fm=227115327816396&tin=02508201610067®Number=0000000000161798&sum=149200 [21:29:55]StoreToDocumentArchive [21:29:55]shift 173 fd 15848 [21:29:55]save to /storage/0173/doc_00015848 [21:29:55]save last doc name /storage/0173/doc_00015848 to /storage/kkm_last_doc_name [21:29:55]save OK [21:29:55]Clear old archive folders... [21:29:55]ProcessDocumentItem done err = 0, tmpTLVsize=250 [21:29:55]tlvbuf is 01F5CD30 [21:29:55]SAM_PROTO_ClearQueue [21:29:55]wFMCommunicate request_size=4 [21:29:55]MH_SAM_APDU [21:29:55]CAPDU: 80 09 00 00 [21:29:55]Write to MH i2c: E2 08 00 9C 04 80 09 00 00 00 00 00 00 12 [21:29:55]Write i2c OK [21:29:55]MH_I2C_Read... [21:29:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:29:55]Read from MH i2c: E2 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: E2 03 00 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: E2 03 00 9C 04 00 90 00 14 [21:29:55]RAPDU: 90 00 [21:29:55]wFMCommunicate OK [21:29:55]SAM_PROTO_ClearQueue done [21:29:55]KKMCreateOFDPacket [21:29:55]OFDProtocolAddRootSTLVToBuf [21:29:55]FM_MakeSignedData [21:29:55]FM_MakeSignedData [21:29:55]SAM_PROTO_SignData [21:29:55]wFMCommunicate request_size=4 [21:29:55]MH_SAM_APDU [21:29:55]CAPDU: 80 0D 01 02 [21:29:55]Write to MH i2c: E2 08 00 9D 04 80 0D 01 02 00 00 00 00 1A [21:29:55]Write i2c OK [21:29:55]MH_I2C_Read... [21:29:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:29:55]Read from MH i2c: E2 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: E2 03 00 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: E2 03 00 9D 04 00 90 00 15 [21:29:55]RAPDU: 90 00 [21:29:55]wFMCommunicate OK [21:29:55]wFMCommunicate request_size=255 [21:29:55]MH_SAM_APDU [21:29:55]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 D8 95 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 E4 46 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 46 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 3D 00 00 00 00 07 04 06 00 D0 46 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 53 A5 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E8 3D 00 00 35 04 06 00 CE 8F [21:29:56]Write to MH i2c: E2 02 01 9E 04 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 D8 95 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 E4 46 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 46 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 3D 00 00 00 00 07 04 06 00 D0 46 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 53 A5 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E8 3D 00 00 35 04 06 00 CE 8F 00 00 12 [21:29:56]Write i2c OK [21:29:56]MH_I2C_Read... [21:29:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:29:56]Read from MH i2c: E2 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: E2 03 00 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: E2 03 00 9E 04 00 90 00 16 [21:29:56]RAPDU: 90 00 [21:29:56]wFMCommunicate OK [21:29:56]wFMCommunicate request_size=9 [21:29:56]MH_SAM_APDU [21:29:56]CAPDU: 80 0D 02 02 04 68 70 02 CC [21:29:56]Write to MH i2c: E2 0C 00 9F 04 80 0D 02 02 04 00 68 70 02 CC 00 00 CB [21:29:56]Write i2c OK [21:29:56]MH_I2C_Read... [21:29:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:29:56]Read from MH i2c: E2 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: E2 03 00 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: E2 03 00 9F 04 00 90 00 17 [21:29:56]RAPDU: 90 00 [21:29:56]wFMCommunicate OK [21:29:56]wFMCommunicate request_size=4 [21:29:56]MH_SAM_APDU [21:29:56]CAPDU: 80 0D 03 02 [21:29:56]Write to MH i2c: E2 08 00 A0 04 80 0D 03 02 00 00 00 00 1F [21:29:56]Write i2c OK [21:29:56]MH_I2C_Read... [21:29:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:29:56]Read from MH i2c: E2 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: E2 0B 00 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: E2 0B 00 A0 04 00 C0 96 B6 42 97 19 92 38 90 00 E8 [21:29:56]RAPDU: C0 96 B6 42 97 19 92 38 90 00 [21:29:56]wFMCommunicate OK [21:29:56]SAM_PROTO_SignData done [21:29:56]FM_MakeSignedData done [21:29:56]CreateOFDProtocolMessage [21:29:56]wFMCommunicate request_size=4 [21:29:56]MH_SAM_APDU [21:29:56]CAPDU: 80 11 00 00 [21:29:56]Write to MH i2c: E2 08 00 A1 04 80 11 00 00 00 00 00 00 1F [21:29:56]Write i2c OK [21:29:56]MH_I2C_Read... [21:29:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:29:56]Read from MH i2c: E2 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: E2 17 00 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: E2 17 00 A1 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 6E [21:29:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:29:56]wFMCommunicate OK [21:29:56]CreateOFDProtocolMessage done [21:29:56]OFDSenderStorePacket 15848 [21:29:56]StoreOFDPacket docnum=15848 [21:29:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 6C D8 06 01 69 27 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 D8 95 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 E4 46 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 46 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 3D 00 00 00 00 07 04 06 00 D0 46 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 53 A5 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E8 3D 00 00 35 04 06 00 CE 8F 68 70 02 CC C0 96 B6 42 97 19 92 38 [21:29:56]CheckFolder [21:29:56]dirname=/storage/ofd_packets [21:29:56]CheckFolder done [21:29:56]ProducePacketName [21:29:56]name=ofd_packets/00015848 [21:29:56]NVStorageSaveData ofd_packets/00015848 [21:29:56]File name is /storage/ofd_packets/00015848 [21:29:56]Write 300 bytes [21:29:56]NVStorageSaveData done [21:29:56]OFDSenderStorePacket done [21:29:56]KKMCreateOFDPacket done [21:29:56]NVStorageSaveData kkm_last_timestamp [21:29:56]File name is /storage/kkm_last_timestamp [21:29:56]Write 4 bytes [21:29:56]NVStorageSaveData done [21:29:56]ExternCall_PrintAddStr [21:29:56]wPrintStart [21:29:56]Write to MH i2c: 01 00 00 A2 04 A6 [21:29:56]Write i2c OK [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: 01 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: 01 07 00 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: 01 07 00 A2 04 00 00 00 00 00 FF 0F BB [21:29:56]RasterBufferAndPrint [21:29:56]line Счет N : (1)16398 [21:29:56]line ИНН: 02508201610067 [21:29:56]line Контрольно-Кассовый Чек [21:29:56]line ПРОДАЖА [21:29:56]line ТРК (МРК, ГНК) : 41 [21:29:56]line Товар: 2711190000 [21:29:56]line ГАЗ-К-5 [21:29:56]line 38.360 * 38.90 [21:29:56]line = 1492.20 [21:29:56]line НДС 12% НСП 1% [21:29:56]line > о реализуемом товаре [21:29:56]line ОКРУГЛЕНИЕ: -0.20 [21:29:56]line ИТОГО: 1492.00 [21:29:56]line Внесено: 2000.00 [21:29:56]line СДАЧА: 508.00 [21:29:56]line НСП 1% : 13.20 [21:29:56]line НДС 12% : 158.46 [21:29:56]line Наличными: 1492.00 [21:29:56]line Безнал.: 0.00 [21:29:56]line Место: АЗС № 178 "Партнер Нефть" [21:29:56]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [21:29:56]line СНО: Общий режим [21:29:56]line Чек 58 30.10.2024 21:29 [21:29:56]line Смена: 173 ФФД: 1.0 [21:29:56]line ЗНМ: 0300000014 [21:29:56]line РНМ: 0000000000161798 [21:29:56]line Версия ККМ: v1.0 [21:29:56]line ФМ: 0000000000963325 [21:29:56]line ФД: 15848 [21:29:56]line ФПД: 227115327816396 [21:29:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T212955&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15848&fm=227115327816396&tin=02508201610067®Number=0000000000161798&sum=149200 [21:29:56]OFD Sender: Processing packet 15848 [packets to send 4, broken 3] [21:29:56]ProducePacketName [21:29:56]name=ofd_packets/00015848 [21:29:56]OFD Sender: To server: pG, [21:29:56]CommunicateWithHost lk.salyk.kg:30040 [21:29:56]ConnectInit lk.salyk.kg [21:29:56]written 0, free lines is 4095 [21:29:56]Connected sock=10 [21:29:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 6C D8 06 01 69 27 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 D8 95 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 E4 46 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 46 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 3D 00 00 00 00 07 04 06 00 D0 46 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 53 A5 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E8 3D 00 00 35 04 06 00 CE 8F 68 70 02 CC C0 96 B6 42 97 19 92 38 [21:29:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 D3 96 47 00 F3 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E8 3D 00 00 F4 03 04 00 3B 50 22 67 B6 04 01 00 00 6E E2 A3 19 B1 B0 1A C1 [21:29:57]CommunicateWithHost err = 0 [21:29:57]CheckOFDResponse [21:29:57]1017 (14) - 77093643461234 [21:29:57]1041 (16) - 0000000000963325 [21:29:57]1040 (4) - 15848 [21:29:57]1012 (4) - 30.10.2024 15:26 [21:29:57]1206 (1) - 0 [21:29:57]OFD Sender: Remove packet 15848 [21:29:57]ProducePacketName [21:29:57]name=ofd_packets/00015848 [21:29:57]NVStorageDeleteData [21:29:57]Write to MH i2c: 01 00 00 CD 04 D1 [21:29:57]Write i2c OK [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: 01 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: 01 07 00 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: 01 07 00 CD 04 00 00 00 00 00 FB 0C DF [21:29:57]RasterBufferAndPrint [21:29:57]line [21:29:57]line [21:29:57]line [21:29:57]line [21:29:57]line [21:29:57]written 0, free lines is 3329 [21:29:57]MH_Cut [21:29:57]Write to MH i2c: D1 01 00 D4 04 01 AA [21:29:57]Write i2c OK [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: D1 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: D1 01 00 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: D1 01 00 D4 04 00 A9 [21:29:57]Write to MH i2c: 01 00 00 D5 04 D9 [21:29:57]Write i2c OK [21:29:57]MH_I2C_Read... [21:29:57]OFD Sender: No OFD packet to send [21:29:57]*** Cut start [21:29:57]*** Partial cut [21:29:57]*** CUTSNS_PIN = 1 [21:29:57]*** CUTSNS_PIN = 0 [21:29:58]*** Brake cut motor [21:29:58]Read from MH i2c: 01 [21:29:58]MH_I2C_Read... [21:29:58]*** Stop cut motor [21:29:58]*** Cut end [21:29:58]Read from MH i2c: 01 07 00 [21:29:58]MH_I2C_Read... [21:29:58]Read from MH i2c: 01 07 00 D5 04 00 00 00 00 00 FF 0F EE [21:29:58]process_action close_receipt done [21:29:58]requested_data is exist [21:29:58]produce_requested_data [21:29:58]requested_item fm.sn is exist - process it [21:29:58]wFMCommunicate request_size=4 [21:29:58]MH_SAM_APDU [21:29:58]CAPDU: 80 11 00 00 [21:29:58]Write to MH i2c: E2 08 00 D6 04 80 11 00 00 00 00 00 00 54 [21:29:58]Write i2c OK [21:29:58]MH_I2C_Read... [21:29:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:29:58]Read from MH i2c: E2 [21:29:58]MH_I2C_Read... [21:29:58]Read from MH i2c: E2 17 00 [21:29:58]MH_I2C_Read... [21:29:58]Read from MH i2c: E2 17 00 D6 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 A3 [21:29:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:29:58]wFMCommunicate OK [21:29:58]requested_item fd.num is exist - process it [21:29:58]SAM_PROTO_GetFieldsCounters [21:29:58]wFMCommunicate request_size=4 [21:29:58]MH_SAM_APDU [21:29:58]CAPDU: 80 13 00 00 [21:29:58]Write to MH i2c: E2 08 00 D7 04 80 13 00 00 00 00 00 00 57 [21:29:58]Write i2c OK [21:29:58]MH_I2C_Read... [21:29:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:29:58]Read from MH i2c: E2 [21:29:58]MH_I2C_Read... [21:29:58]Read from MH i2c: E2 62 00 [21:29:58]MH_I2C_Read... [21:29:58]Read from MH i2c: E2 62 00 D7 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E8 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 FB [21:29:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E8 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:29:58]wFMCommunicate OK [21:29:58]SAM_PROTO_GetFieldsCounters done [21:29:58]requested_item shift.num is exist - process it [21:29:58]requested_item shift.opened is exist - process it [21:29:58]req_shift_opened [21:29:58]FM_GetShiftState [21:29:58]SAM_PROTO_GetShiftState [21:29:58]wFMCommunicate request_size=4 [21:29:58]MH_SAM_APDU [21:29:58]CAPDU: 80 13 01 00 [21:29:58]Write to MH i2c: E2 08 00 D8 04 80 13 01 00 00 00 00 00 59 [21:29:58]Write i2c OK [21:29:58]MH_I2C_Read... [21:29:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:29:58]Read from MH i2c: E2 [21:29:58]MH_I2C_Read... [21:29:58]Read from MH i2c: E2 0E 00 [21:29:58]MH_I2C_Read... [21:29:58]Read from MH i2c: E2 0E 00 D8 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 9E [21:29:58]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:29:58]wFMCommunicate OK [21:29:58]SAM_PROTO_GetShiftState done [21:29:58]FM_GetShiftState done [21:29:58]req_shift_opened done [21:29:58]requested_item shift.open_date is exist - process it [21:29:58]req_shift_open_date [21:29:58]req_shift_open_date done [21:29:58]produce_requested_data done [21:29:58]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15848,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [21:29:58]process_action_free close_receipt [21:29:58]json_value_free [21:29:58]json_value_free done [21:29:58]process_json_proto returns [21:29:58]Send response to host [21:29:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15848,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [21:29:58]free response buf [21:29:58]execute_script done [21:29:58]execute_script returns [21:29:58]free content buf [21:29:58]Sock 9.Close socket [21:29:58]Sock 9.Thread stoped [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:27]OFD Sender: No OFD packet to send [21:30:32]OFD Sender: No OFD packet to send [21:30:37]OFD Sender: No OFD packet to send [21:30:42]OFD Sender: No OFD packet to send [21:30:47]OFD Sender: No OFD packet to send [21:30:52]OFD Sender: No OFD packet to send [21:30:57]OFD Sender: No OFD packet to send [21:31:02]OFD Sender: No OFD packet to send [21:31:07]OFD Sender: No OFD packet to send [21:31:12]OFD Sender: No OFD packet to send [21:31:17]OFD Sender: No OFD packet to send [21:31:22]OFD Sender: No OFD packet to send [21:31:27]OFD Sender: No OFD packet to send [21:31:32]OFD Sender: No OFD packet to send [21:31:37]OFD Sender: No OFD packet to send [21:31:42]OFD Sender: No OFD packet to send [21:31:47]OFD Sender: No OFD packet to send [21:31:52]OFD Sender: No OFD packet to send [21:31:57]OFD Sender: No OFD packet to send [21:32:02]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:17]OFD Sender: No OFD packet to send [21:32:22]OFD Sender: No OFD packet to send [21:32:27]OFD Sender: No OFD packet to send [21:32:32]OFD Sender: No OFD packet to send [21:32:37]OFD Sender: No OFD packet to send [21:32:42]OFD Sender: No OFD packet to send [21:32:47]OFD Sender: No OFD packet to send [21:32:52]OFD Sender: No OFD packet to send [21:32:57]OFD Sender: No OFD packet to send [21:33:02]OFD Sender: No OFD packet to send [21:33:07]OFD Sender: No OFD packet to send [21:33:12]OFD Sender: No OFD packet to send [21:33:17]OFD Sender: No OFD packet to send [21:33:22]OFD Sender: No OFD packet to send [21:33:27]OFD Sender: No OFD packet to send [21:33:32]OFD Sender: No OFD packet to send [21:33:37]OFD Sender: No OFD packet to send [21:33:42]OFD Sender: No OFD packet to send [21:33:47]OFD Sender: No OFD packet to send [21:33:52]OFD Sender: No OFD packet to send [21:33:57]OFD Sender: No OFD packet to send [21:34:02]OFD Sender: No OFD packet to send [21:34:07]OFD Sender: No OFD packet to send [21:34:12]OFD Sender: No OFD packet to send [21:34:17]OFD Sender: No OFD packet to send [21:34:22]OFD Sender: No OFD packet to send [21:34:27]OFD Sender: No OFD packet to send [21:34:32]OFD Sender: No OFD packet to send [21:34:37]OFD Sender: No OFD packet to send [21:34:42]OFD Sender: No OFD packet to send [21:34:47]OFD Sender: No OFD packet to send [21:34:52]OFD Sender: No OFD packet to send [21:34:57]OFD Sender: No OFD packet to send [21:35:02]OFD Sender: No OFD packet to send [21:35:07]OFD Sender: No OFD packet to send [21:35:12]OFD Sender: No OFD packet to send [21:35:17]OFD Sender: No OFD packet to send [21:35:22]OFD Sender: No OFD packet to send [21:35:27]OFD Sender: No OFD packet to send [21:35:32]OFD Sender: No OFD packet to send [21:35:37]OFD Sender: No OFD packet to send [21:35:42]OFD Sender: No OFD packet to send [21:35:47]OFD Sender: No OFD packet to send [21:35:52]OFD Sender: No OFD packet to send [21:35:57]OFD Sender: No OFD packet to send [21:36:02]OFD Sender: No OFD packet to send [21:36:07]OFD Sender: No OFD packet to send [21:36:12]OFD Sender: No OFD packet to send [21:36:17]OFD Sender: No OFD packet to send [21:36:22]OFD Sender: No OFD packet to send [21:36:27]OFD Sender: No OFD packet to send [21:36:32]OFD Sender: No OFD packet to send [21:36:37]OFD Sender: No OFD packet to send [21:36:42]OFD Sender: No OFD packet to send [21:36:47]OFD Sender: No OFD packet to send [21:36:52]OFD Sender: No OFD packet to send [21:36:57]OFD Sender: No OFD packet to send [21:37:02]OFD Sender: No OFD packet to send [21:37:07]OFD Sender: No OFD packet to send [21:37:12]OFD Sender: No OFD packet to send [21:37:17]OFD Sender: No OFD packet to send [21:37:22]OFD Sender: No OFD packet to send [21:37:27]OFD Sender: No OFD packet to send [21:37:32]OFD Sender: No OFD packet to send [21:37:37]OFD Sender: No OFD packet to send [21:37:42]OFD Sender: No OFD packet to send [21:37:47]OFD Sender: No OFD packet to send [21:37:52]OFD Sender: No OFD packet to send [21:37:57]OFD Sender: No OFD packet to send [21:38:02]OFD Sender: No OFD packet to send [21:38:07]OFD Sender: No OFD packet to send [21:38:12]OFD Sender: No OFD packet to send [21:38:17]OFD Sender: No OFD packet to send [21:38:22]OFD Sender: No OFD packet to send [21:38:27]OFD Sender: No OFD packet to send [21:38:32]OFD Sender: No OFD packet to send [21:38:37]OFD Sender: No OFD packet to send [21:38:42]OFD Sender: No OFD packet to send [21:38:47]OFD Sender: No OFD packet to send [21:38:52]OFD Sender: No OFD packet to send [21:38:57]OFD Sender: No OFD packet to send [21:39:03]OFD Sender: No OFD packet to send [21:39:08]OFD Sender: No OFD packet to send [21:39:13]OFD Sender: No OFD packet to send [21:39:18]OFD Sender: No OFD packet to send [21:39:23]OFD Sender: No OFD packet to send [21:39:28]OFD Sender: No OFD packet to send [21:39:33]OFD Sender: No OFD packet to send [21:39:38]OFD Sender: No OFD packet to send [21:39:43]OFD Sender: No OFD packet to send [21:39:48]OFD Sender: No OFD packet to send [21:39:53]OFD Sender: No OFD packet to send [21:39:58]OFD Sender: No OFD packet to send [21:40:03]OFD Sender: No OFD packet to send [21:40:08]OFD Sender: No OFD packet to send [21:40:13]OFD Sender: No OFD packet to send [21:40:18]OFD Sender: No OFD packet to send [21:40:23]OFD Sender: No OFD packet to send [21:40:28]OFD Sender: No OFD packet to send [21:40:33]OFD Sender: No OFD packet to send [21:40:34]accept exits with 7 [21:40:34]New connection [21:40:34]New thread 3067391332 created [21:40:34]Thread 3067247972 joined [21:40:34]Waiting for new connection... [21:40:34] Sock 7.Parse request [21:40:34]Sock 7.Check first char [21:40:34]Sock 7.First char is OK [21:40:34]request: POST /json_proto HTTP/1.0 [21:40:34]Method: POST [21:40:34]URL: /json_proto [21:40:34]Method is POST - this is cgi request [21:40:34]url: /json_proto [21:40:34]query_string will be loaded in cgi processing [21:40:34]execute_cgi json_proto POST (null) [21:40:34]execute_cgi path=json_proto method=POST [21:40:34]POST find Content-Length [21:40:34]Host: 172.17.54.195:8080 [21:40:34]Content-Length: 671 [21:40:34]Content-Type: application/json [21:40:34] [21:40:34]POST finish read [21:40:34]Found Content-Length = 671 [21:40:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16400", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [21:40:34]execute_script... [21:40:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16400", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 14.620, "sum" : 1000.01, "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" ] } } [21:40:34]POST & json_proto [21:40:34]process_json_proto [21:40:34]json parsed OK: [21:40:34]protocol is kg_v1.0 [21:40:34]action value=close_receipt [21:40:34]process_action close_receipt [21:40:34]cmd_close_receipt [21:40:34]MH_GetDate [21:40:34]Write to MH i2c: F0 00 00 D9 04 CC [21:40:34]Write i2c OK [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: F0 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: F0 09 00 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: F0 09 00 D9 04 00 D2 A7 22 67 8D 90 A3 66 FD [21:40:34]GetLastDocTimeStamp 1730323795 [21:40:34]current date 1730324434 [21:40:34]FM_GetShiftState [21:40:34]SAM_PROTO_GetShiftState [21:40:34]wFMCommunicate request_size=4 [21:40:34]MH_SAM_APDU [21:40:34]CAPDU: 80 13 01 00 [21:40:34]Write to MH i2c: E2 08 00 DA 04 80 13 01 00 00 00 00 00 5B [21:40:34]Write i2c OK [21:40:34]MH_I2C_Read... [21:40:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:40:34]Read from MH i2c: E2 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: E2 0E 00 [21:40:34]MH_I2C_Read... [21:40:34]Read from MH i2c: E2 0E 00 DA 04 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 A0 [21:40:34]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:40:34]wFMCommunicate OK [21:40:34]SAM_PROTO_GetShiftState done [21:40:34]FM_GetShiftState done [21:40:34]opened in 1730247478 [21:40:34]opened+sec_in_day 1730333878 [21:40:34]quantity*price = 100000 [21:40:34]sum+1 = 100002 [21:40:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.01 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 59 30.10.2024 21:40 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15849 ФПД: 122284445342385 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T214035&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15849&fm=122284445342385&tin=02508201610067®Number=0000000000161798&sum=100000 [21:40:35]StoreToDocumentArchive [21:40:35]shift 173 fd 15849 [21:40:35]save to /storage/0173/doc_00015849 [21:40:35]save last doc name /storage/0173/doc_00015849 to /storage/kkm_last_doc_name [21:40:35]save OK [21:40:35]Clear old archive folders... [21:40:35]ProcessDocumentItem done err = 0, tmpTLVsize=249 [21:40:35]tlvbuf is 01F3ED60 [21:40:35]SAM_PROTO_ClearQueue [21:40:35]wFMCommunicate request_size=4 [21:40:35]MH_SAM_APDU [21:40:35]CAPDU: 80 09 00 00 [21:40:35]Write to MH i2c: E2 08 00 E7 04 80 09 00 00 00 00 00 00 5D [21:40:35]Write i2c OK [21:40:35]MH_I2C_Read... [21:40:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:40:35]Read from MH i2c: E2 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 03 00 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 03 00 E7 04 00 90 00 5F [21:40:35]RAPDU: 90 00 [21:40:35]wFMCommunicate OK [21:40:35]SAM_PROTO_ClearQueue done [21:40:35]KKMCreateOFDPacket [21:40:35]OFDProtocolAddRootSTLVToBuf [21:40:35]FM_MakeSignedData [21:40:35]FM_MakeSignedData [21:40:35]SAM_PROTO_SignData [21:40:35]wFMCommunicate request_size=4 [21:40:35]MH_SAM_APDU [21:40:35]CAPDU: 80 0D 01 02 [21:40:35]Write to MH i2c: E2 08 00 E8 04 80 0D 01 02 00 00 00 00 65 [21:40:35]Write i2c OK [21:40:35]MH_I2C_Read... [21:40:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:40:35]Read from MH i2c: E2 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 03 00 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 03 00 E8 04 00 90 00 60 [21:40:35]RAPDU: 90 00 [21:40:35]wFMCommunicate OK [21:40:35]wFMCommunicate request_size=255 [21:40:35]MH_SAM_APDU [21:40:35]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 3B 00 00 00 F4 03 04 00 D3 A7 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E9 3D 00 00 35 04 06 00 6F 37 90 [21:40:35]Write to MH i2c: E2 02 01 E9 04 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 3B 00 00 00 F4 03 04 00 D3 A7 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E9 3D 00 00 35 04 06 00 6F 37 90 00 00 68 [21:40:35]Write i2c OK [21:40:35]MH_I2C_Read... [21:40:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:40:35]Read from MH i2c: E2 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 03 00 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 03 00 E9 04 00 90 00 61 [21:40:35]RAPDU: 90 00 [21:40:35]wFMCommunicate OK [21:40:35]wFMCommunicate request_size=8 [21:40:35]MH_SAM_APDU [21:40:35]CAPDU: 80 0D 02 02 03 ED 1A B1 [21:40:35]Write to MH i2c: E2 0B 00 EA 04 80 0D 02 02 03 00 ED 1A B1 00 00 26 [21:40:35]Write i2c OK [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 [21:40:35]MH_I2C_Read... [21:40:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:40:35]Read from MH i2c: E2 03 00 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 03 00 EA 04 00 90 00 62 [21:40:35]RAPDU: 90 00 [21:40:35]wFMCommunicate OK [21:40:35]wFMCommunicate request_size=4 [21:40:35]MH_SAM_APDU [21:40:35]CAPDU: 80 0D 03 02 [21:40:35]Write to MH i2c: E2 08 00 EB 04 80 0D 03 02 00 00 00 00 6A [21:40:35]Write i2c OK [21:40:35]MH_I2C_Read... [21:40:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:40:35]Read from MH i2c: E2 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 0B 00 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 0B 00 EB 04 00 8F D1 1B 47 D7 EF 01 98 90 00 8C [21:40:35]RAPDU: 8F D1 1B 47 D7 EF 01 98 90 00 [21:40:35]wFMCommunicate OK [21:40:35]SAM_PROTO_SignData done [21:40:35]FM_MakeSignedData done [21:40:35]CreateOFDProtocolMessage [21:40:35]wFMCommunicate request_size=4 [21:40:35]MH_SAM_APDU [21:40:35]CAPDU: 80 11 00 00 [21:40:35]Write to MH i2c: E2 08 00 EC 04 80 11 00 00 00 00 00 00 6A [21:40:35]Write i2c OK [21:40:35]MH_I2C_Read... [21:40:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:40:35]Read from MH i2c: E2 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 17 00 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: E2 17 00 EC 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 B9 [21:40:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:40:35]wFMCommunicate OK [21:40:35]CreateOFDProtocolMessage done [21:40:35]OFDSenderStorePacket 15849 [21:40:35]StoreOFDPacket docnum=15849 [21:40:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 17 7D 05 01 1D F6 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 3B 00 00 00 F4 03 04 00 D3 A7 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E9 3D 00 00 35 04 06 00 6F 37 90 ED 1A B1 8F D1 1B 47 D7 EF 01 98 [21:40:35]CheckFolder [21:40:35]dirname=/storage/ofd_packets [21:40:35]CheckFolder done [21:40:35]ProducePacketName [21:40:35]name=ofd_packets/00015849 [21:40:35]NVStorageSaveData ofd_packets/00015849 [21:40:35]File name is /storage/ofd_packets/00015849 [21:40:35]Write 299 bytes [21:40:35]NVStorageSaveData done [21:40:35]OFDSenderStorePacket done [21:40:35]KKMCreateOFDPacket done [21:40:35]NVStorageSaveData kkm_last_timestamp [21:40:35]File name is /storage/kkm_last_timestamp [21:40:35]Write 4 bytes [21:40:35]NVStorageSaveData done [21:40:35]ExternCall_PrintAddStr [21:40:35]wPrintStart [21:40:35]Write to MH i2c: 01 00 00 ED 04 F1 [21:40:35]Write i2c OK [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: 01 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: 01 07 00 [21:40:35]MH_I2C_Read... [21:40:35]Read from MH i2c: 01 07 00 ED 04 00 00 00 00 00 FF 0F 06 [21:40:35]RasterBufferAndPrint [21:40:35]line Счет N : (1)16400 [21:40:35]line ИНН: 02508201610067 [21:40:35]line Контрольно-Кассовый Чек [21:40:35]line ПРОДАЖА [21:40:35]line ТРК (МРК, ГНК) : 12 [21:40:35]line Товар: 50.50.0 [21:40:35]line SUPER 92-К-5 [21:40:35]line 14.620 * 68.40 [21:40:35]line = 1000.01 [21:40:35]line НДС 12% НСП 1% [21:40:35]line > о реализуемом товаре [21:40:35]line ОКРУГЛЕНИЕ: -0.01 [21:40:35]line ИТОГО: 1000.00 [21:40:35]line Внесено: 1000.00 [21:40:35]line СДАЧА: 0.00 [21:40:35]line НСП 1% : 8.85 [21:40:35]line НДС 12% : 106.20 [21:40:35]line Наличными: 1000.00 [21:40:35]line Безнал.: 0.00 [21:40:35]line Место: АЗС № 178 "Партнер Нефть" [21:40:35]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [21:40:35]line СНО: Общий режим [21:40:35]line Чек 59 30.10.2024 21:40 [21:40:35]line Смена: 173 ФФД: 1.0 [21:40:35]line ЗНМ: 0300000014 [21:40:35]line РНМ: 0000000000161798 [21:40:35]line Версия ККМ: v1.0 [21:40:35]line ФМ: 0000000000963325 [21:40:35]line ФД: 15849 [21:40:35]line ФПД: 122284445342385 [21:40:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T214035&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15849&fm=122284445342385&tin=02508201610067®Number=0000000000161798&sum=100000 [21:40:36]OFD Sender: Processing packet 15849 [packets to send 4, broken 3] [21:40:36]ProducePacketName [21:40:36]name=ofd_packets/00015849 [21:40:36]OFD Sender: To server: pG, [21:40:36]CommunicateWithHost lk.salyk.kg:30040 [21:40:36]ConnectInit lk.salyk.kg [21:40:36]written 0, free lines is 4095 [21:40:36]Connected sock=10 [21:40:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 17 7D 05 01 1D F6 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 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 3B 00 00 00 F4 03 04 00 D3 A7 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E9 3D 00 00 35 04 06 00 6F 37 90 ED 1A B1 8F D1 1B 47 D7 EF 01 98 [21:40:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 F3 3B 47 00 59 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 E9 3D 00 00 F4 03 04 00 BB 52 22 67 B6 04 01 00 00 CD C7 FD B0 B1 72 9E 5E [21:40:36]CommunicateWithHost err = 0 [21:40:36]CheckOFDResponse [21:40:36]1017 (14) - 77093643461234 [21:40:36]1041 (16) - 0000000000963325 [21:40:36]1040 (4) - 15849 [21:40:36]1012 (4) - 30.10.2024 15:37 [21:40:36]1206 (1) - 0 [21:40:36]OFD Sender: Remove packet 15849 [21:40:36]ProducePacketName [21:40:36]name=ofd_packets/00015849 [21:40:36]NVStorageDeleteData [21:40:36]Write to MH i2c: 01 00 00 18 05 1D [21:40:36]Write i2c OK [21:40:36]MH_I2C_Read... [21:40:36]Read from MH i2c: 01 [21:40:36]MH_I2C_Read... [21:40:36]Read from MH i2c: 01 07 00 [21:40:36]MH_I2C_Read... [21:40:36]Read from MH i2c: 01 07 00 18 05 00 00 00 00 00 FB 0C 2B [21:40:36]RasterBufferAndPrint [21:40:36]line [21:40:36]line [21:40:36]line [21:40:36]line [21:40:36]line [21:40:36]written 0, free lines is 3329 [21:40:36]MH_Cut [21:40:36]Write to MH i2c: D1 01 00 1F 05 01 F6 [21:40:36]Write i2c OK [21:40:36]MH_I2C_Read... [21:40:36]Read from MH i2c: D1 [21:40:36]MH_I2C_Read... [21:40:36]Read from MH i2c: D1 01 00 [21:40:36]MH_I2C_Read... [21:40:36]Read from MH i2c: D1 01 00 1F 05 00 F5 [21:40:36]Write to MH i2c: 01 00 00 20 05 25 [21:40:36]Write i2c OK [21:40:36]MH_I2C_Read... [21:40:36]OFD Sender: No OFD packet to send [21:40:37]*** Cut start [21:40:37]*** Partial cut [21:40:37]*** CUTSNS_PIN = 1 [21:40:37]*** CUTSNS_PIN = 0 [21:40:37]*** Brake cut motor [21:40:38]Read from MH i2c: 01 [21:40:38]MH_I2C_Read... [21:40:38]*** Stop cut motor [21:40:38]*** Cut end [21:40:38]Read from MH i2c: 01 07 00 [21:40:38]MH_I2C_Read... [21:40:38]Read from MH i2c: 01 07 00 20 05 00 00 00 00 00 FF 0F 3A [21:40:38]process_action close_receipt done [21:40:38]requested_data is exist [21:40:38]produce_requested_data [21:40:38]requested_item fm.sn is exist - process it [21:40:38]wFMCommunicate request_size=4 [21:40:38]MH_SAM_APDU [21:40:38]CAPDU: 80 11 00 00 [21:40:38]Write to MH i2c: E2 08 00 21 05 80 11 00 00 00 00 00 00 A0 [21:40:38]Write i2c OK [21:40:38]MH_I2C_Read... [21:40:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:40:38]Read from MH i2c: E2 [21:40:38]MH_I2C_Read... [21:40:38]Read from MH i2c: E2 17 00 [21:40:38]MH_I2C_Read... [21:40:38]Read from MH i2c: E2 17 00 21 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 EF [21:40:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:40:38]wFMCommunicate OK [21:40:38]requested_item fd.num is exist - process it [21:40:38]SAM_PROTO_GetFieldsCounters [21:40:38]wFMCommunicate request_size=4 [21:40:38]MH_SAM_APDU [21:40:38]CAPDU: 80 13 00 00 [21:40:38]Write to MH i2c: E2 08 00 22 05 80 13 00 00 00 00 00 00 A3 [21:40:38]Write i2c OK [21:40:38]MH_I2C_Read... [21:40:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:40:38]Read from MH i2c: E2 [21:40:38]MH_I2C_Read... [21:40:38]Read from MH i2c: E2 62 00 [21:40:38]MH_I2C_Read... [21:40:38]Read from MH i2c: E2 62 00 22 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E9 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 4B [21:40:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 E9 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:40:38]wFMCommunicate OK [21:40:38]SAM_PROTO_GetFieldsCounters done [21:40:38]requested_item shift.num is exist - process it [21:40:38]requested_item shift.opened is exist - process it [21:40:38]req_shift_opened [21:40:38]FM_GetShiftState [21:40:38]SAM_PROTO_GetShiftState [21:40:38]wFMCommunicate request_size=4 [21:40:38]MH_SAM_APDU [21:40:38]CAPDU: 80 13 01 00 [21:40:38]Write to MH i2c: E2 08 00 23 05 80 13 01 00 00 00 00 00 A5 [21:40:38]Write i2c OK [21:40:38]MH_I2C_Read... [21:40:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:40:38]Read from MH i2c: E2 [21:40:38]MH_I2C_Read... [21:40:38]Read from MH i2c: E2 0E 00 [21:40:38]MH_I2C_Read... [21:40:38]Read from MH i2c: E2 0E 00 23 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 EA [21:40:38]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:40:38]wFMCommunicate OK [21:40:38]SAM_PROTO_GetShiftState done [21:40:38]FM_GetShiftState done [21:40:38]req_shift_opened done [21:40:38]requested_item shift.open_date is exist - process it [21:40:38]req_shift_open_date [21:40:38]req_shift_open_date done [21:40:38]produce_requested_data done [21:40:38]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15849,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [21:40:38]process_action_free close_receipt [21:40:38]json_value_free [21:40:38]json_value_free done [21:40:38]process_json_proto returns [21:40:38]Send response to host [21:40:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15849,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [21:40:38]free response buf [21:40:38]execute_script done [21:40:38]execute_script returns [21:40:38]free content buf [21:40:38]Sock 7.Close socket [21:40:38]Sock 7.Thread stoped [21:40:42]OFD Sender: No OFD packet to send [21:40:47]OFD Sender: No OFD packet to send [21:40:52]OFD Sender: No OFD packet to send [21:40:57]OFD Sender: No OFD packet to send [21:41:02]OFD Sender: No OFD packet to send [21:41:07]OFD Sender: No OFD packet to send [21:41:12]OFD Sender: No OFD packet to send [21:41:17]OFD Sender: No OFD packet to send [21:41:22]OFD Sender: No OFD packet to send [21:41:27]OFD Sender: No OFD packet to send [21:41:32]OFD Sender: No OFD packet to send [21:41:37]OFD Sender: No OFD packet to send [21:41:42]OFD Sender: No OFD packet to send [21:41:47]OFD Sender: No OFD packet to send [21:41:52]OFD Sender: No OFD packet to send [21:41:57]OFD Sender: No OFD packet to send [21:42:02]OFD Sender: No OFD packet to send [21:42:07]OFD Sender: No OFD packet to send [21:42:12]OFD Sender: No OFD packet to send [21:42:17]OFD Sender: No OFD packet to send [21:42:22]OFD Sender: No OFD packet to send [21:42:27]OFD Sender: No OFD packet to send [21:42:32]OFD Sender: No OFD packet to send [21:42:37]OFD Sender: No OFD packet to send [21:42:42]OFD Sender: No OFD packet to send [21:42:47]OFD Sender: No OFD packet to send [21:42:52]OFD Sender: No OFD packet to send [21:42:57]OFD Sender: No OFD packet to send [21:43:02]OFD Sender: No OFD packet to send [21:43:07]OFD Sender: No OFD packet to send [21:43:12]OFD Sender: No OFD packet to send [21:43:17]OFD Sender: No OFD packet to send [21:43:22]OFD Sender: No OFD packet to send [21:43:27]OFD Sender: No OFD packet to send [21:43:32]OFD Sender: No OFD packet to send [21:43:37]OFD Sender: No OFD packet to send [21:43:42]OFD Sender: No OFD packet to send [21:43:47]OFD Sender: No OFD packet to send [21:43:52]OFD Sender: No OFD packet to send [21:43:57]OFD Sender: No OFD packet to send [21:44:02]OFD Sender: No OFD packet to send [21:44:07]OFD Sender: No OFD packet to send [21:44:12]OFD Sender: No OFD packet to send [21:44:17]OFD Sender: No OFD packet to send [21:44:22]OFD Sender: No OFD packet to send [21:44:27]OFD Sender: No OFD packet to send [21:44:32]OFD Sender: No OFD packet to send [21:44:37]OFD Sender: No OFD packet to send [21:44:42]OFD Sender: No OFD packet to send [21:44:47]OFD Sender: No OFD packet to send [21:44:52]OFD Sender: No OFD packet to send [21:44:57]OFD Sender: No OFD packet to send [21:45:02]OFD Sender: No OFD packet to send [21:45:07]OFD Sender: No OFD packet to send [21:45:12]OFD Sender: No OFD packet to send [21:45:17]OFD Sender: No OFD packet to send [21:45:22]OFD Sender: No OFD packet to send [21:45:27]OFD Sender: No OFD packet to send [21:45:32]OFD Sender: No OFD packet to send [21:45:37]OFD Sender: No OFD packet to send [21:45:42]OFD Sender: No OFD packet to send [21:45:47]OFD Sender: No OFD packet to send [21:45:52]OFD Sender: No OFD packet to send [21:45:57]OFD Sender: No OFD packet to send [21:46:02]OFD Sender: No OFD packet to send [21:46:07]OFD Sender: No OFD packet to send [21:46:12]OFD Sender: No OFD packet to send [21:46:17]OFD Sender: No OFD packet to send [21:46:22]OFD Sender: No OFD packet to send [21:46:27]OFD Sender: No OFD packet to send [21:46:32]OFD Sender: No OFD packet to send [21:46:37]OFD Sender: No OFD packet to send [21:46:42]OFD Sender: No OFD packet to send [21:46:47]OFD Sender: No OFD packet to send [21:46:52]OFD Sender: No OFD packet to send [21:46:57]OFD Sender: No OFD packet to send [21:47:02]OFD Sender: No OFD packet to send [21:47:07]OFD Sender: No OFD packet to send [21:47:12]OFD Sender: No OFD packet to send [21:47:17]OFD Sender: No OFD packet to send [21:47:22]OFD Sender: No OFD packet to send [21:47:27]OFD Sender: No OFD packet to send [21:47:32]OFD Sender: No OFD packet to send [21:47:37]OFD Sender: No OFD packet to send [21:47:42]OFD Sender: No OFD packet to send [21:47:47]OFD Sender: No OFD packet to send [21:47:52]OFD Sender: No OFD packet to send [21:47:57]OFD Sender: No OFD packet to send [21:48:02]OFD Sender: No OFD packet to send [21:48:07]OFD Sender: No OFD packet to send [21:48:12]OFD Sender: No OFD packet to send [21:48:17]OFD Sender: No OFD packet to send [21:48:22]OFD Sender: No OFD packet to send [21:48:27]OFD Sender: No OFD packet to send [21:48:32]OFD Sender: No OFD packet to send [21:48:37]OFD Sender: No OFD packet to send [21:48:42]OFD Sender: No OFD packet to send [21:48:47]OFD Sender: No OFD packet to send [21:48:52]OFD Sender: No OFD packet to send [21:48:57]OFD Sender: No OFD packet to send [21:49:02]OFD Sender: No OFD packet to send [21:49:07]OFD Sender: No OFD packet to send [21:49:12]OFD Sender: No OFD packet to send [21:49:17]OFD Sender: No OFD packet to send [21:49:22]OFD Sender: No OFD packet to send [21:49:27]OFD Sender: No OFD packet to send [21:49:32]OFD Sender: No OFD packet to send [21:49:37]OFD Sender: No OFD packet to send [21:49:42]OFD Sender: No OFD packet to send [21:49:47]OFD Sender: No OFD packet to send [21:49:52]OFD Sender: No OFD packet to send [21:49:57]OFD Sender: No OFD packet to send [21:50:02]OFD Sender: No OFD packet to send [21:50:07]OFD Sender: No OFD packet to send [21:50:12]OFD Sender: No OFD packet to send [21:50:17]OFD Sender: No OFD packet to send [21:50:22]OFD Sender: No OFD packet to send [21:50:27]OFD Sender: No OFD packet to send [21:50:32]OFD Sender: No OFD packet to send [21:50:37]OFD Sender: No OFD packet to send [21:50:42]OFD Sender: No OFD packet to send [21:50:47]OFD Sender: No OFD packet to send [21:50:52]OFD Sender: No OFD packet to send [21:50:57]OFD Sender: No OFD packet to send [21:51:02]OFD Sender: No OFD packet to send [21:51:07]OFD Sender: No OFD packet to send [21:51:12]OFD Sender: No OFD packet to send [21:51:17]OFD Sender: No OFD packet to send [21:51:22]OFD Sender: No OFD packet to send [21:51:27]OFD Sender: No OFD packet to send [21:51:32]OFD Sender: No OFD packet to send [21:51:37]OFD Sender: No OFD packet to send [21:51:42]OFD Sender: No OFD packet to send [21:51:47]OFD Sender: No OFD packet to send [21:51:52]OFD Sender: No OFD packet to send [21:51:57]OFD Sender: No OFD packet to send [21:52:02]OFD Sender: No OFD packet to send [21:52:07]OFD Sender: No OFD packet to send [21:52:12]OFD Sender: No OFD packet to send [21:52:17]OFD Sender: No OFD packet to send [21:52:22]OFD Sender: No OFD packet to send [21:52:27]OFD Sender: No OFD packet to send [21:52:32]OFD Sender: No OFD packet to send [21:52:36]accept exits with 9 [21:52:36]New connection [21:52:36]New thread 3067247972 created [21:52:36]Thread 3067391332 joined [21:52:36]Waiting for new connection... [21:52:36] Sock 9.Parse request [21:52:36]Sock 9.Check first char [21:52:36]Sock 9.First char is OK [21:52:36]request: POST /json_proto HTTP/1.0 [21:52:36]Method: POST [21:52:36]URL: /json_proto [21:52:36]Method is POST - this is cgi request [21:52:36]url: /json_proto [21:52:36]query_string will be loaded in cgi processing [21:52:36]execute_cgi json_proto POST (null) [21:52:36]execute_cgi path=json_proto method=POST [21:52:36]POST find Content-Length [21:52:36]Host: 172.17.54.195:8080 [21:52:36]Content-Length: 666 [21:52:36]Content-Type: application/json [21:52:36] [21:52:36]POST finish read [21:52:36]Found Content-Length = 666 [21:52:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16401", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 4.390, "sum" : 300.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:36]execute_script... [21:52: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 : (1)16401", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 4.390, "sum" : 300.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:36]POST & json_proto [21:52:36]process_json_proto [21:52:36]json parsed OK: [21:52:36]protocol is kg_v1.0 [21:52:36]action value=close_receipt [21:52:36]process_action close_receipt [21:52:36]cmd_close_receipt [21:52:36]MH_GetDate [21:52:36]Write to MH i2c: F0 00 00 24 05 18 [21:52:36]Write i2c OK [21:52:36]MH_I2C_Read... [21:52:36]Read from MH i2c: F0 [21:52:36]MH_I2C_Read... [21:52:36]Read from MH i2c: F0 09 00 [21:52:36]MH_I2C_Read... [21:52:36]Read from MH i2c: F0 09 00 24 05 00 A5 AA 22 67 8D 90 A3 66 1F [21:52:36]GetLastDocTimeStamp 1730324435 [21:52:36]current date 1730325157 [21:52:36]FM_GetShiftState [21:52:36]SAM_PROTO_GetShiftState [21:52:36]wFMCommunicate request_size=4 [21:52:36]MH_SAM_APDU [21:52:36]CAPDU: 80 13 01 00 [21:52:36]Write to MH i2c: E2 08 00 25 05 80 13 01 00 00 00 00 00 A7 [21:52:36]Write i2c OK [21:52:36]MH_I2C_Read... [21:52:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:52:36]Read from MH i2c: E2 [21:52:36]MH_I2C_Read... [21:52:36]Read from MH i2c: E2 0E 00 [21:52:36]MH_I2C_Read... [21:52:36]Read from MH i2c: E2 0E 00 25 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 EC [21:52:36]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:52:36]wFMCommunicate OK [21:52:36]SAM_PROTO_GetShiftState done [21:52:36]FM_GetShiftState done [21:52:36]opened in 1730247478 [21:52:36]opened+sec_in_day 1730333878 [21:52:36]quantity*price = 30027 [21:52:36]sum+1 = 30029 [21:52:36]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.28 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.89 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 60 30.10.2024 21:52 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15850 ФПД: 111781374581247 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T215237&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15850&fm=111781374581247&tin=02508201610067®Number=0000000000161798&sum=30000 [21:52:37]StoreToDocumentArchive [21:52:37]shift 173 fd 15850 [21:52:37]save to /storage/0173/doc_00015850 [21:52:37]save last doc name /storage/0173/doc_00015850 to /storage/kkm_last_doc_name [21:52:37]save OK [21:52:37]Clear old archive folders... [21:52:37]ProcessDocumentItem done err = 0, tmpTLVsize=249 [21:52:37]tlvbuf is 01F42340 [21:52:37]SAM_PROTO_ClearQueue [21:52:37]wFMCommunicate request_size=4 [21:52:37]MH_SAM_APDU [21:52:37]CAPDU: 80 09 00 00 [21:52:37]Write to MH i2c: E2 08 00 32 05 80 09 00 00 00 00 00 00 A9 [21:52:37]Write i2c OK [21:52:37]MH_I2C_Read... [21:52:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:52:37]Read from MH i2c: E2 [21:52:37]MH_I2C_Read... [21:52:37]Read from MH i2c: E2 03 00 [21:52:37]MH_I2C_Read... [21:52:37]Read from MH i2c: E2 03 00 32 05 00 90 00 AB [21:52:37]RAPDU: 90 00 [21:52:37]wFMCommunicate OK [21:52:37]SAM_PROTO_ClearQueue done [21:52:37]KKMCreateOFDPacket [21:52:37]OFDProtocolAddRootSTLVToBuf [21:52:37]FM_MakeSignedData [21:52:37]FM_MakeSignedData [21:52:37]SAM_PROTO_SignData [21:52:37]wFMCommunicate request_size=4 [21:52:37]MH_SAM_APDU [21:52:37]CAPDU: 80 0D 01 02 [21:52:37]Write to MH i2c: E2 08 00 33 05 80 0D 01 02 00 00 00 00 B1 [21:52:37]Write i2c OK [21:52:37]MH_I2C_Read... [21:52:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:52:37]Read from MH i2c: E2 [21:52:37]MH_I2C_Read... [21:52:37]Read from MH i2c: E2 03 00 [21:52:37]MH_I2C_Read... [21:52:37]Read from MH i2c: E2 03 00 33 05 00 90 00 AC [21:52:37]RAPDU: 90 00 [21:52:37]wFMCommunicate OK [21:52:37]wFMCommunicate request_size=255 [21:52:37]MH_SAM_APDU [21:52:37]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 A5 AA 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EA 3D 00 00 35 04 06 00 65 AA 21 [21:52:37]Write to MH i2c: E2 02 01 34 05 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 A5 AA 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EA 3D 00 00 35 04 06 00 65 AA 21 00 00 6B [21:52:37]Write i2c OK [21:52:37]MH_I2C_Read... [21:52:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:52:38]Read from MH i2c: E2 [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: E2 03 00 [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: E2 03 00 34 05 00 90 00 AD [21:52:38]RAPDU: 90 00 [21:52:38]wFMCommunicate OK [21:52:38]wFMCommunicate request_size=8 [21:52:38]MH_SAM_APDU [21:52:38]CAPDU: 80 0D 02 02 03 1F D9 FF [21:52:38]Write to MH i2c: E2 0B 00 35 05 80 0D 02 02 03 00 1F D9 FF 00 00 B1 [21:52:38]Write i2c OK [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: E2 [21:52:38]MH_I2C_Read... [21:52:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:52:38]Read from MH i2c: E2 03 00 [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: E2 03 00 35 05 00 90 00 AE [21:52:38]RAPDU: 90 00 [21:52:38]wFMCommunicate OK [21:52:38]wFMCommunicate request_size=4 [21:52:38]MH_SAM_APDU [21:52:38]CAPDU: 80 0D 03 02 [21:52:38]Write to MH i2c: E2 08 00 36 05 80 0D 03 02 00 00 00 00 B6 [21:52:38]Write i2c OK [21:52:38]MH_I2C_Read... [21:52:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:52:38]Read from MH i2c: E2 [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: E2 0B 00 [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: E2 0B 00 36 05 00 CB E0 7F 4B 3F 14 7A BD 90 00 B6 [21:52:38]RAPDU: CB E0 7F 4B 3F 14 7A BD 90 00 [21:52:38]wFMCommunicate OK [21:52:38]SAM_PROTO_SignData done [21:52:38]FM_MakeSignedData done [21:52:38]CreateOFDProtocolMessage [21:52:38]wFMCommunicate request_size=4 [21:52:38]MH_SAM_APDU [21:52:38]CAPDU: 80 11 00 00 [21:52:38]Write to MH i2c: E2 08 00 37 05 80 11 00 00 00 00 00 00 B6 [21:52:38]Write i2c OK [21:52:38]MH_I2C_Read... [21:52:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:52:38]Read from MH i2c: E2 [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: E2 17 00 [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: E2 17 00 37 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 05 [21:52:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:52:38]wFMCommunicate OK [21:52:38]CreateOFDProtocolMessage done [21:52:38]OFDSenderStorePacket 15850 [21:52:38]StoreOFDPacket docnum=15850 [21:52:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 B8 53 05 01 FD 48 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 A5 AA 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EA 3D 00 00 35 04 06 00 65 AA 21 1F D9 FF CB E0 7F 4B 3F 14 7A BD [21:52:38]CheckFolder [21:52:38]dirname=/storage/ofd_packets [21:52:38]CheckFolder done [21:52:38]ProducePacketName [21:52:38]name=ofd_packets/00015850 [21:52:38]NVStorageSaveData ofd_packets/00015850 [21:52:38]File name is /storage/ofd_packets/00015850 [21:52:38]Write 299 bytes [21:52:38]NVStorageSaveData done [21:52:38]OFDSenderStorePacket done [21:52:38]KKMCreateOFDPacket done [21:52:38]NVStorageSaveData kkm_last_timestamp [21:52:38]File name is /storage/kkm_last_timestamp [21:52:38]Write 4 bytes [21:52:38]NVStorageSaveData done [21:52:38]ExternCall_PrintAddStr [21:52:38]wPrintStart [21:52:38]Write to MH i2c: 01 00 00 38 05 3D [21:52:38]Write i2c OK [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: 01 [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: 01 07 00 [21:52:38]MH_I2C_Read... [21:52:38]Read from MH i2c: 01 07 00 38 05 00 00 00 00 00 FF 0F 52 [21:52:38]RasterBufferAndPrint [21:52:38]line Счет N : (1)16401 [21:52:38]line ИНН: 02508201610067 [21:52:38]line Контрольно-Кассовый Чек [21:52:38]line ПРОДАЖА [21:52:38]line ТРК (МРК, ГНК) : 12 [21:52:38]line Товар: 50.50.0 [21:52:38]line SUPER 92-К-5 [21:52:38]line 4.390 * 68.40 [21:52:38]line = 300.28 [21:52:38]line НДС 12% НСП 1% [21:52:38]line > о реализуемом товаре [21:52:38]line ОКРУГЛЕНИЕ: -0.28 [21:52:38]line ИТОГО: 300.00 [21:52:38]line Внесено: 300.00 [21:52:38]line СДАЧА: 0.00 [21:52:38]line НСП 1% : 2.66 [21:52:38]line НДС 12% : 31.89 [21:52:38]line Наличными: 300.00 [21:52:38]line Безнал.: 0.00 [21:52:38]line Место: АЗС № 178 "Партнер Нефть" [21:52:38]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [21:52:38]line СНО: Общий режим [21:52:38]line Чек 60 30.10.2024 21:52 [21:52:38]line Смена: 173 ФФД: 1.0 [21:52:38]line ЗНМ: 0300000014 [21:52:38]line РНМ: 0000000000161798 [21:52:38]line Версия ККМ: v1.0 [21:52:38]line ФМ: 0000000000963325 [21:52:38]line ФД: 15850 [21:52:38]line ФПД: 111781374581247 [21:52:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T215237&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15850&fm=111781374581247&tin=02508201610067®Number=0000000000161798&sum=30000 [21:52:38]written 0, free lines is 4095 [21:52:38]OFD Sender: Processing packet 15850 [packets to send 4, broken 3] [21:52:38]ProducePacketName [21:52:38]name=ofd_packets/00015850 [21:52:38]OFD Sender: To server: pG, [21:52:38]CommunicateWithHost lk.salyk.kg:30040 [21:52:38]ConnectInit lk.salyk.kg [21:52:38]Connected sock=11 [21:52:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 B8 53 05 01 FD 48 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 26 11 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 4C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 A5 AA 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EA 3D 00 00 35 04 06 00 65 AA 21 1F D9 FF CB E0 7F 4B 3F 14 7A BD [21:52:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 86 2E 47 00 E4 89 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 EA 3D 00 00 F4 03 04 00 8D 55 22 67 B6 04 01 00 00 86 22 17 00 55 D7 B5 1F [21:52:38]CommunicateWithHost err = 0 [21:52:38]CheckOFDResponse [21:52:38]1017 (14) - 77093643461234 [21:52:38]1041 (16) - 0000000000963325 [21:52:38]1040 (4) - 15850 [21:52:38]1012 (4) - 30.10.2024 15:49 [21:52:38]1206 (1) - 0 [21:52:38]OFD Sender: Remove packet 15850 [21:52:38]ProducePacketName [21:52:38]name=ofd_packets/00015850 [21:52:38]NVStorageDeleteData [21:52:39]Write to MH i2c: 01 00 00 63 05 68 [21:52:39]Write i2c OK [21:52:39]MH_I2C_Read... [21:52:39]Read from MH i2c: 01 [21:52:39]MH_I2C_Read... [21:52:39]Read from MH i2c: 01 07 00 [21:52:39]MH_I2C_Read... [21:52:39]Read from MH i2c: 01 07 00 63 05 00 00 00 00 00 FB 0C 76 [21:52:39]RasterBufferAndPrint [21:52:39]line [21:52:39]line [21:52:39]line [21:52:39]line [21:52:39]line [21:52:39]written 0, free lines is 3329 [21:52:39]MH_Cut [21:52:39]Write to MH i2c: D1 01 00 6A 05 01 41 [21:52:39]Write i2c OK [21:52:39]MH_I2C_Read... [21:52:39]Read from MH i2c: D1 [21:52:39]MH_I2C_Read... [21:52:39]Read from MH i2c: D1 01 00 [21:52:39]MH_I2C_Read... [21:52:39]Read from MH i2c: D1 01 00 6A 05 00 40 [21:52:39]Write to MH i2c: 01 00 00 6B 05 70 [21:52:39]Write i2c OK [21:52:39]MH_I2C_Read... [21:52:39]OFD Sender: No OFD packet to send [21:52:39]*** Cut start [21:52:39]*** Partial cut [21:52:39]*** CUTSNS_PIN = 1 [21:52:39]*** CUTSNS_PIN = 0 [21:52:40]*** Brake cut motor [21:52:40]Read from MH i2c: 01 [21:52:40]MH_I2C_Read... [21:52:40]*** Stop cut motor [21:52:40]*** Cut end [21:52:40]Read from MH i2c: 01 07 00 [21:52:40]MH_I2C_Read... [21:52:40]Read from MH i2c: 01 07 00 6B 05 00 00 00 00 00 FF 0F 85 [21:52:40]process_action close_receipt done [21:52:40]requested_data is exist [21:52:40]produce_requested_data [21:52:40]requested_item fm.sn is exist - process it [21:52:40]wFMCommunicate request_size=4 [21:52:40]MH_SAM_APDU [21:52:40]CAPDU: 80 11 00 00 [21:52:40]Write to MH i2c: E2 08 00 6C 05 80 11 00 00 00 00 00 00 EB [21:52:40]Write i2c OK [21:52:40]MH_I2C_Read... [21:52:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:52:40]Read from MH i2c: E2 [21:52:40]MH_I2C_Read... [21:52:40]Read from MH i2c: E2 17 00 [21:52:40]MH_I2C_Read... [21:52:40]Read from MH i2c: E2 17 00 6C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 3A [21:52:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [21:52:40]wFMCommunicate OK [21:52:40]requested_item fd.num is exist - process it [21:52:40]SAM_PROTO_GetFieldsCounters [21:52:40]wFMCommunicate request_size=4 [21:52:40]MH_SAM_APDU [21:52:40]CAPDU: 80 13 00 00 [21:52:40]Write to MH i2c: E2 08 00 6D 05 80 13 00 00 00 00 00 00 EE [21:52:40]Write i2c OK [21:52:40]MH_I2C_Read... [21:52:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:52:40]Read from MH i2c: E2 [21:52:40]MH_I2C_Read... [21:52:40]Read from MH i2c: E2 62 00 [21:52:40]MH_I2C_Read... [21:52:40]Read from MH i2c: E2 62 00 6D 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EA 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [21:52:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EA 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:52:40]wFMCommunicate OK [21:52:40]SAM_PROTO_GetFieldsCounters done [21:52:40]requested_item shift.num is exist - process it [21:52:40]requested_item shift.opened is exist - process it [21:52:40]req_shift_opened [21:52:40]FM_GetShiftState [21:52:40]SAM_PROTO_GetShiftState [21:52:40]wFMCommunicate request_size=4 [21:52:40]MH_SAM_APDU [21:52:40]CAPDU: 80 13 01 00 [21:52:40]Write to MH i2c: E2 08 00 6E 05 80 13 01 00 00 00 00 00 F0 [21:52:40]Write i2c OK [21:52:40]MH_I2C_Read... [21:52:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:52:40]Read from MH i2c: E2 [21:52:40]MH_I2C_Read... [21:52:40]Read from MH i2c: E2 0E 00 [21:52:40]MH_I2C_Read... [21:52:40]Read from MH i2c: E2 0E 00 6E 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 35 [21:52:40]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [21:52:40]wFMCommunicate OK [21:52:40]SAM_PROTO_GetShiftState done [21:52:40]FM_GetShiftState done [21:52:40]req_shift_opened done [21:52:40]requested_item shift.open_date is exist - process it [21:52:40]req_shift_open_date [21:52:40]req_shift_open_date done [21:52:40]produce_requested_data done [21:52:40]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15850,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [21:52:40]process_action_free close_receipt [21:52:40]json_value_free [21:52:40]json_value_free done [21:52:40]process_json_proto returns [21:52:40]Send response to host [21:52:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15850,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [21:52:40]free response buf [21:52:40]execute_script done [21:52:40]execute_script returns [21:52:40]free content buf [21:52:40]Sock 9.Close socket [21:52:40]Sock 9.Thread stoped [21:52:44]OFD Sender: No OFD packet to send [21:52:49]OFD Sender: No OFD packet to send [21:52:54]OFD Sender: No OFD packet to send [21:52:59]OFD Sender: No OFD packet to send [21:53:04]OFD Sender: No OFD packet to send [21:53:09]OFD Sender: No OFD packet to send [21:53:14]OFD Sender: No OFD packet to send [21:53:19]OFD Sender: No OFD packet to send [21:53:24]OFD Sender: No OFD packet to send [21:53:29]OFD Sender: No OFD packet to send [21:53:34]OFD Sender: No OFD packet to send [21:53:39]OFD Sender: No OFD packet to send [21:53:44]OFD Sender: No OFD packet to send [21:53:49]OFD Sender: No OFD packet to send [21:53:54]OFD Sender: No OFD packet to send [21:53:59]OFD Sender: No OFD packet to send [21:54:04]OFD Sender: No OFD packet to send [21:54:09]OFD Sender: No OFD packet to send [21:54:14]OFD Sender: No OFD packet to send [21:54:19]OFD Sender: No OFD packet to send [21:54:24]OFD Sender: No OFD packet to send [21:54:29]OFD Sender: No OFD packet to send [21:54:34]OFD Sender: No OFD packet to send [21:54:39]OFD Sender: No OFD packet to send [21:54:44]OFD Sender: No OFD packet to send [21:54:49]OFD Sender: No OFD packet to send [21:54:54]OFD Sender: No OFD packet to send [21:54:59]OFD Sender: No OFD packet to send [21:55:04]OFD Sender: No OFD packet to send [21:55:09]OFD Sender: No OFD packet to send [21:55:14]OFD Sender: No OFD packet to send [21:55:19]OFD Sender: No OFD packet to send [21:55:24]OFD Sender: No OFD packet to send [21:55:29]OFD Sender: No OFD packet to send [21:55:34]OFD Sender: No OFD packet to send [21:55:39]OFD Sender: No OFD packet to send [21:55:44]OFD Sender: No OFD packet to send [21:55:49]OFD Sender: No OFD packet to send [21:55:54]OFD Sender: No OFD packet to send [21:55:59]OFD Sender: No OFD packet to send [21:56:04]OFD Sender: No OFD packet to send [21:56:09]OFD Sender: No OFD packet to send [21:56:14]OFD Sender: No OFD packet to send [21:56:19]OFD Sender: No OFD packet to send [21:56:24]OFD Sender: No OFD packet to send [21:56:29]OFD Sender: No OFD packet to send [21:56:34]OFD Sender: No OFD packet to send [21:56:39]OFD Sender: No OFD packet to send [21:56:44]OFD Sender: No OFD packet to send [21:56:49]OFD Sender: No OFD packet to send [21:56:54]OFD Sender: No OFD packet to send [21:56:59]OFD Sender: No OFD packet to send [21:57:04]OFD Sender: No OFD packet to send [21:57:09]OFD Sender: No OFD packet to send [21:57:14]OFD Sender: No OFD packet to send [21:57:19]OFD Sender: No OFD packet to send [21:57:24]OFD Sender: No OFD packet to send [21:57:29]OFD Sender: No OFD packet to send [21:57:34]OFD Sender: No OFD packet to send [21:57:39]OFD Sender: No OFD packet to send [21:57:44]OFD Sender: No OFD packet to send [21:57:49]OFD Sender: No OFD packet to send [21:57:54]OFD Sender: No OFD packet to send [21:57:59]OFD Sender: No OFD packet to send [21:58:04]OFD Sender: No OFD packet to send [21:58:09]OFD Sender: No OFD packet to send [21:58:14]OFD Sender: No OFD packet to send [21:58:19]OFD Sender: No OFD packet to send [21:58:24]OFD Sender: No OFD packet to send [21:58:29]OFD Sender: No OFD packet to send [21:58:34]OFD Sender: No OFD packet to send [21:58:39]OFD Sender: No OFD packet to send [21:58:44]OFD Sender: No OFD packet to send [21:58:49]OFD Sender: No OFD packet to send [21:58:54]OFD Sender: No OFD packet to send [21:58:59]OFD Sender: No OFD packet to send [21:59:04]OFD Sender: No OFD packet to send [21:59:09]OFD Sender: No OFD packet to send [21:59:14]OFD Sender: No OFD packet to send [21:59:19]OFD Sender: No OFD packet to send [21:59:24]OFD Sender: No OFD packet to send [21:59:29]OFD Sender: No OFD packet to send [21:59:34]OFD Sender: No OFD packet to send [21:59:39]OFD Sender: No OFD packet to send [21:59:44]OFD Sender: No OFD packet to send [21:59:49]OFD Sender: No OFD packet to send [21:59:54]OFD Sender: No OFD packet to send [21:59:59]OFD Sender: No OFD packet to send [22:00:04]OFD Sender: No OFD packet to send [22:00:09]OFD Sender: No OFD packet to send [22:00:14]OFD Sender: No OFD packet to send [22:00:19]OFD Sender: No OFD packet to send [22:00:24]OFD Sender: No OFD packet to send [22:00:29]OFD Sender: No OFD packet to send [22:00:34]OFD Sender: No OFD packet to send [22:00:39]OFD Sender: No OFD packet to send [22:00:44]OFD Sender: No OFD packet to send [22:00:49]OFD Sender: No OFD packet to send [22:00:54]OFD Sender: No OFD packet to send [22:00:59]OFD Sender: No OFD packet to send [22:01:04]OFD Sender: No OFD packet to send [22:01:09]OFD Sender: No OFD packet to send [22:01:14]OFD Sender: No OFD packet to send [22:01:19]OFD Sender: No OFD packet to send [22:01:24]OFD Sender: No OFD packet to send [22:01:29]OFD Sender: No OFD packet to send [22:01:34]OFD Sender: No OFD packet to send [22:01:39]OFD Sender: No OFD packet to send [22:01:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:20]OFD Sender: No OFD packet to send [22:06:25]OFD Sender: No OFD packet to send [22:06:30]OFD Sender: No OFD packet to send [22:06:35]OFD Sender: No OFD packet to send [22:06:40]OFD Sender: No OFD packet to send [22:06:45]OFD Sender: No OFD packet to send [22:06:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:00]OFD Sender: No OFD packet to send [22:07:05]OFD Sender: No OFD packet to send [22:07:10]OFD Sender: No OFD packet to send [22:07:15]OFD Sender: No OFD packet to send [22:07:20]OFD Sender: No OFD packet to send [22:07:25]OFD Sender: No OFD packet to send [22:07:30]OFD Sender: No OFD packet to send [22:07:31]ConnectInit Can't connect to host [22:07:35]OFD Sender: No OFD packet to send [22:07:40]OFD Sender: No OFD packet to send [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:10]OFD Sender: No OFD packet to send [22:11:15]OFD Sender: No OFD packet to send [22:11:20]OFD Sender: No OFD packet to send [22:11:25]OFD Sender: No OFD packet to send [22:11:30]OFD Sender: No OFD packet to send [22:11:35]OFD Sender: No OFD packet to send [22:11:40]OFD Sender: No OFD packet to send [22:11:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:30]OFD Sender: No OFD packet to send [22:13:35]OFD Sender: No OFD packet to send [22:13:40]OFD Sender: No OFD packet to send [22:13:45]OFD Sender: No OFD packet to send [22:13:50]OFD Sender: No OFD packet to send [22:13:55]OFD Sender: No OFD packet to send [22:14:00]OFD Sender: No OFD packet to send [22:14:05]OFD Sender: No OFD packet to send [22:14:10]OFD Sender: No OFD packet to send [22:14:15]OFD Sender: No OFD packet to send [22:14:20]OFD Sender: No OFD packet to send [22:14:25]OFD Sender: No OFD packet to send [22:14:30]OFD Sender: No OFD packet to send [22:14:35]OFD Sender: No OFD packet to send [22:14:40]OFD Sender: No OFD packet to send [22:14:45]OFD Sender: No OFD packet to send [22:14:50]OFD Sender: No OFD packet to send [22:14:55]OFD Sender: No OFD packet to send [22:15:00]OFD Sender: No OFD packet to send [22:15:05]OFD Sender: No OFD packet to send [22:15:10]OFD Sender: No OFD packet to send [22:15:15]OFD Sender: No OFD packet to send [22:15:20]OFD Sender: No OFD packet to send [22:15:25]OFD Sender: No OFD packet to send [22:15:30]OFD Sender: No OFD packet to send [22:15:35]OFD Sender: No OFD packet to send [22:15:40]OFD Sender: No OFD packet to send [22:15:45]OFD Sender: No OFD packet to send [22:15:50]OFD Sender: No OFD packet to send [22:15:55]OFD Sender: No OFD packet to send [22:16:00]OFD Sender: No OFD packet to send [22:16:05]OFD Sender: No OFD packet to send [22:16:10]OFD Sender: No OFD packet to send [22:16:15]OFD Sender: No OFD packet to send [22:16:20]OFD Sender: No OFD packet to send [22:16:25]OFD Sender: No OFD packet to send [22:16:30]OFD Sender: No OFD packet to send [22:16:35]OFD Sender: No OFD packet to send [22:16:40]OFD Sender: No OFD packet to send [22:16:45]OFD Sender: No OFD packet to send [22:16:50]OFD Sender: No OFD packet to send [22:16:55]OFD Sender: No OFD packet to send [22:17:00]OFD Sender: No OFD packet to send [22:17:05]OFD Sender: No OFD packet to send [22:17:10]OFD Sender: No OFD packet to send [22:17:15]OFD Sender: No OFD packet to send [22:17:20]OFD Sender: No OFD packet to send [22:17:25]OFD Sender: No OFD packet to send [22:17:30]OFD Sender: No OFD packet to send [22:17:35]OFD Sender: No OFD packet to send [22:17:40]OFD Sender: No OFD packet to send [22:17:45]OFD Sender: No OFD packet to send [22:17:50]OFD Sender: No OFD packet to send [22:17:55]OFD Sender: No OFD packet to send [22:18:00]OFD Sender: No OFD packet to send [22:18:05]OFD Sender: No OFD packet to send [22:18:10]OFD Sender: No OFD packet to send [22:18:15]OFD Sender: No OFD packet to send [22:18:20]OFD Sender: No OFD packet to send [22:18:25]OFD Sender: No OFD packet to send [22:18:30]OFD Sender: No OFD packet to send [22:18:35]OFD Sender: No OFD packet to send [22:18:40]OFD Sender: No OFD packet to send [22:18:45]OFD Sender: No OFD packet to send [22:18:50]OFD Sender: No OFD packet to send [22:18:55]OFD Sender: No OFD packet to send [22:19:00]OFD Sender: No OFD packet to send [22:19:05]OFD Sender: No OFD packet to send [22:19:10]OFD Sender: No OFD packet to send [22:19:15]OFD Sender: No OFD packet to send [22:19:20]OFD Sender: No OFD packet to send [22:19:25]OFD Sender: No OFD packet to send [22:19:30]OFD Sender: No OFD packet to send [22:19:35]OFD Sender: No OFD packet to send [22:19:40]OFD Sender: No OFD packet to send [22:19:45]OFD Sender: No OFD packet to send [22:19:50]OFD Sender: No OFD packet to send [22:19:55]OFD Sender: No OFD packet to send [22:20:00]OFD Sender: No OFD packet to send [22:20:05]OFD Sender: No OFD packet to send [22:20:10]OFD Sender: No OFD packet to send [22:20:15]OFD Sender: No OFD packet to send [22:20:20]OFD Sender: No OFD packet to send [22:20:25]OFD Sender: No OFD packet to send [22:20:30]OFD Sender: No OFD packet to send [22:20:35]OFD Sender: No OFD packet to send [22:20:40]OFD Sender: No OFD packet to send [22:20:45]OFD Sender: No OFD packet to send [22:20:50]OFD Sender: No OFD packet to send [22:20:55]OFD Sender: No OFD packet to send [22:21:00]OFD Sender: No OFD packet to send [22:21:05]OFD Sender: No OFD packet to send [22:21:10]OFD Sender: No OFD packet to send [22:21:15]OFD Sender: No OFD packet to send [22:21:20]OFD Sender: No OFD packet to send [22:21:25]OFD Sender: No OFD packet to send [22:21:30]OFD Sender: No OFD packet to send [22:21:35]OFD Sender: No OFD packet to send [22:21:40]OFD Sender: No OFD packet to send [22:21:45]OFD Sender: No OFD packet to send [22:21:50]OFD Sender: No OFD packet to send [22:21:55]OFD Sender: No OFD packet to send [22:22:00]OFD Sender: No OFD packet to send [22:22:05]OFD Sender: No OFD packet to send [22:22:10]OFD Sender: No OFD packet to send [22:22:15]OFD Sender: No OFD packet to send [22:22:20]OFD Sender: No OFD packet to send [22:22:25]OFD Sender: No OFD packet to send [22:22:30]OFD Sender: No OFD packet to send [22:22:35]OFD Sender: No OFD packet to send [22:22:40]OFD Sender: No OFD packet to send [22:22:45]OFD Sender: No OFD packet to send [22:22:50]OFD Sender: No OFD packet to send [22:22:55]OFD Sender: No OFD packet to send [22:23:00]OFD Sender: No OFD packet to send [22:23:05]OFD Sender: No OFD packet to send [22:23:10]OFD Sender: No OFD packet to send [22:23:15]OFD Sender: No OFD packet to send [22:23:20]OFD Sender: No OFD packet to send [22:23:25]OFD Sender: No OFD packet to send [22:23:30]OFD Sender: No OFD packet to send [22:23:35]OFD Sender: No OFD packet to send [22:23:40]OFD Sender: No OFD packet to send [22:23:45]OFD Sender: No OFD packet to send [22:23:50]OFD Sender: No OFD packet to send [22:23:55]OFD Sender: No OFD packet to send [22:24:00]OFD Sender: No OFD packet to send [22:24:05]OFD Sender: No OFD packet to send [22:24:10]OFD Sender: No OFD packet to send [22:24:15]OFD Sender: No OFD packet to send [22:24:20]OFD Sender: No OFD packet to send [22:24:25]OFD Sender: No OFD packet to send [22:24:30]OFD Sender: No OFD packet to send [22:24:35]OFD Sender: No OFD packet to send [22:24:40]OFD Sender: No OFD packet to send [22:24:45]OFD Sender: No OFD packet to send [22:24:50]OFD Sender: No OFD packet to send [22:24:55]OFD Sender: No OFD packet to send [22:25:00]OFD Sender: No OFD packet to send [22:25:05]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34:51]OFD Sender: No OFD packet to send [22:34:56]OFD Sender: No OFD packet to send [22:35:01]OFD Sender: No OFD packet to send [22:35:06]OFD Sender: No OFD packet to send [22:35:11]OFD Sender: No OFD packet to send [22:35:16]OFD Sender: No OFD packet to send [22:35:21]OFD Sender: No OFD packet to send [22:35:26]OFD Sender: No OFD packet to send [22:35:31]OFD Sender: No OFD packet to send [22:35:36]OFD Sender: No OFD packet to send [22:35:41]OFD Sender: No OFD packet to send [22:35:46]OFD Sender: No OFD packet to send [22:35:51]OFD Sender: No OFD packet to send [22:35:56]OFD Sender: No OFD packet to send [22:36:01]OFD Sender: No OFD packet to send [22:36:06]OFD Sender: No OFD packet to send [22:36:11]OFD Sender: No OFD packet to send [22:36:16]OFD Sender: No OFD packet to send [22:36:21]OFD Sender: No OFD packet to send [22:36:26]OFD Sender: No OFD packet to send [22:36:31]OFD Sender: No OFD packet to send [22:36:36]OFD Sender: No OFD packet to send [22:36:41]OFD Sender: No OFD packet to send [22:36:46]OFD Sender: No OFD packet to send [22:36:51]OFD Sender: No OFD packet to send [22:36:56]OFD Sender: No OFD packet to send [22:37:01]OFD Sender: No OFD packet to send [22:37:06]OFD Sender: No OFD packet to send [22:37:11]OFD Sender: No OFD packet to send [22:37:16]OFD Sender: No OFD packet to send [22:37:21]OFD Sender: No OFD packet to send [22:37:26]OFD Sender: No OFD packet to send [22:37:31]OFD Sender: No OFD packet to send [22:37:36]OFD Sender: No OFD packet to send [22:37:41]OFD Sender: No OFD packet to send [22:37:46]OFD Sender: No OFD packet to send [22:37:51]OFD Sender: No OFD packet to send [22:37:56]OFD Sender: No OFD packet to send [22:38:01]OFD Sender: No OFD packet to send [22:38:06]OFD Sender: No OFD packet to send [22:38:11]OFD Sender: No OFD packet to send [22:38:16]OFD Sender: No OFD packet to send [22:38:21]OFD Sender: No OFD packet to send [22:38:26]OFD Sender: No OFD packet to send [22:38:31]OFD Sender: No OFD packet to send [22:38:36]OFD Sender: No OFD packet to send [22:38:41]OFD Sender: No OFD packet to send [22:38:46]OFD Sender: No OFD packet to send [22:38:51]OFD Sender: No OFD packet to send [22:38:56]OFD Sender: No OFD packet to send [22:39:01]OFD Sender: No OFD packet to send [22:39:06]OFD Sender: No OFD packet to send [22:39:11]OFD Sender: No OFD packet to send [22:39:16]OFD Sender: No OFD packet to send [22:39:21]OFD Sender: No OFD packet to send [22:39:26]OFD Sender: No OFD packet to send [22:39:31]OFD Sender: No OFD packet to send [22:39:36]OFD Sender: No OFD packet to send [22:39:41]OFD Sender: No OFD packet to send [22:39:46]OFD Sender: No OFD packet to send [22:39:51]OFD Sender: No OFD packet to send [22:39:56]OFD Sender: No OFD packet to send [22:40:01]OFD Sender: No OFD packet to send [22:40:06]OFD Sender: No OFD packet to send [22:40:11]OFD Sender: No OFD packet to send [22:40:16]OFD Sender: No OFD packet to send [22:40:21]OFD Sender: No OFD packet to send [22:40:26]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:06]OFD Sender: No OFD packet to send [22:41:11]OFD Sender: No OFD packet to send [22:41:16]OFD Sender: No OFD packet to send [22:41:21]OFD Sender: No OFD packet to send [22:41:26]OFD Sender: No OFD packet to send [22:41:31]OFD Sender: No OFD packet to send [22:41:36]OFD Sender: No OFD packet to send [22:41:41]OFD Sender: No OFD packet to send [22:41:46]OFD Sender: No OFD packet to send [22:41:51]OFD Sender: No OFD packet to send [22:41:56]OFD Sender: No OFD packet to send [22:42:01]OFD Sender: No OFD packet to send [22:42:06]OFD Sender: No OFD packet to send [22:42:11]OFD Sender: No OFD packet to send [22:42:16]OFD Sender: No OFD packet to send [22:42:21]OFD Sender: No OFD packet to send [22:42:26]OFD Sender: No OFD packet to send [22:42:31]OFD Sender: No OFD packet to send [22:42:36]OFD Sender: No OFD packet to send [22:42:41]OFD Sender: No OFD packet to send [22:42:46]OFD Sender: No OFD packet to send [22:42:51]OFD Sender: No OFD packet to send [22:42:56]OFD Sender: No OFD packet to send [22:43:01]OFD Sender: No OFD packet to send [22:43:06]OFD Sender: No OFD packet to send [22:43:11]OFD Sender: No OFD packet to send [22:43:16]OFD Sender: No OFD packet to send [22:43:21]OFD Sender: No OFD packet to send [22:43:26]OFD Sender: No OFD packet to send [22:43:31]OFD Sender: No OFD packet to send [22:43:36]OFD Sender: No OFD packet to send [22:43:41]OFD Sender: No OFD packet to send [22:43:46]OFD Sender: No OFD packet to send [22:43:51]OFD Sender: No OFD packet to send [22:43:56]OFD Sender: No OFD packet to send [22:44:01]OFD Sender: No OFD packet to send [22:44:06]OFD Sender: No OFD packet to send [22:44:11]OFD Sender: No OFD packet to send [22:44:16]OFD Sender: No OFD packet to send [22:44:21]OFD Sender: No OFD packet to send [22:44:26]OFD Sender: No OFD packet to send [22:44:31]OFD Sender: No OFD packet to send [22:44:36]OFD Sender: No OFD packet to send [22:44:41]OFD Sender: No OFD packet to send [22:44:46]OFD Sender: No OFD packet to send [22:44:51]OFD Sender: No OFD packet to send [22:44:56]OFD Sender: No OFD packet to send [22:45:01]OFD Sender: No OFD packet to send [22:45:06]OFD Sender: No OFD packet to send [22:45:11]OFD Sender: No OFD packet to send [22:45:16]OFD Sender: No OFD packet to send [22:45:21]OFD Sender: No OFD packet to send [22:45:26]OFD Sender: No OFD packet to send [22:45:31]OFD Sender: No OFD packet to send [22:45:36]OFD Sender: No OFD packet to send [22:45:41]OFD Sender: No OFD packet to send [22:45:46]OFD Sender: No OFD packet to send [22:45:51]OFD Sender: No OFD packet to send [22:45:56]OFD Sender: No OFD packet to send [22:46:01]OFD Sender: No OFD packet to send [22:46:06]OFD Sender: No OFD packet to send [22:46:11]OFD Sender: No OFD packet to send [22:46:16]OFD Sender: No OFD packet to send [22:46:21]OFD Sender: No OFD packet to send [22:46:26]OFD Sender: No OFD packet to send [22:46:31]OFD Sender: No OFD packet to send [22:46:36]OFD Sender: No OFD packet to send [22:46:41]OFD Sender: No OFD packet to send [22:46:46]OFD Sender: No OFD packet to send [22:46:52]OFD Sender: No OFD packet to send [22:46:57]OFD Sender: No OFD packet to send [22:47:02]OFD Sender: No OFD packet to send [22:47:07]OFD Sender: No OFD packet to send [22:47:12]OFD Sender: No OFD packet to send [22:47:17]OFD Sender: No OFD packet to send [22:47:22]OFD Sender: No OFD packet to send [22:47:27]OFD Sender: No OFD packet to send [22:47:32]OFD Sender: No OFD packet to send [22:47:37]OFD Sender: No OFD packet to send [22:47:42]OFD Sender: No OFD packet to send [22:47:47]OFD Sender: No OFD packet to send [22:47:52]OFD Sender: No OFD packet to send [22:47:57]OFD Sender: No OFD packet to send [22:48:02]OFD Sender: No OFD packet to send [22:48:07]OFD Sender: No OFD packet to send [22:48:12]OFD Sender: No OFD packet to send [22:48:17]OFD Sender: No OFD packet to send [22:48:22]OFD Sender: No OFD packet to send [22:48:27]OFD Sender: No OFD packet to send [22:48:32]OFD Sender: No OFD packet to send [22:48:37]OFD Sender: No OFD packet to send [22:48:42]OFD Sender: No OFD packet to send [22:48:47]OFD Sender: No OFD packet to send [22:48:52]OFD Sender: No OFD packet to send [22:48:57]OFD Sender: No OFD packet to send [22:49:02]OFD Sender: No OFD packet to send [22:49:07]OFD Sender: No OFD packet to send [22:49:12]OFD Sender: No OFD packet to send [22:49:17]OFD Sender: No OFD packet to send [22:49:22]OFD Sender: No OFD packet to send [22:49:27]OFD Sender: No OFD packet to send [22:49:32]OFD Sender: No OFD packet to send [22:49:37]OFD Sender: No OFD packet to send [22:49:42]OFD Sender: No OFD packet to send [22:49:47]OFD Sender: No OFD packet to send [22:49:52]OFD Sender: No OFD packet to send [22:49:57]OFD Sender: No OFD packet to send [22:50:02]OFD Sender: No OFD packet to send [22:50:07]OFD Sender: No OFD packet to send [22:50:12]OFD Sender: No OFD packet to send [22:50:17]OFD Sender: No OFD packet to send [22:50:22]OFD Sender: No OFD packet to send [22:50:27]OFD Sender: No OFD packet to send [22:50:32]OFD Sender: No OFD packet to send [22:50:37]OFD Sender: No OFD packet to send [22:50:42]OFD Sender: No OFD packet to send [22:50:47]OFD Sender: No OFD packet to send [22:50:52]OFD Sender: No OFD packet to send [22:50:57]OFD Sender: No OFD packet to send [22:51:07]OFD Sender: No OFD packet to send [22:51:12]OFD Sender: No OFD packet to send [22:51:17]OFD Sender: No OFD packet to send [22:51:22]OFD Sender: No OFD packet to send [22:51:27]OFD Sender: No OFD packet to send [22:51:32]OFD Sender: No OFD packet to send [22:51:37]OFD Sender: No OFD packet to send [22:51:42]OFD Sender: No OFD packet to send [22:51:47]OFD Sender: No OFD packet to send [22:51:52]OFD Sender: No OFD packet to send [22:51:57]OFD Sender: No OFD packet to send [22:52:02]OFD Sender: No OFD packet to send [22:52:07]OFD Sender: No OFD packet to send [22:52:12]OFD Sender: No OFD packet to send [22:52:17]OFD Sender: No OFD packet to send [22:52:22]OFD Sender: No OFD packet to send [22:52:27]OFD Sender: No OFD packet to send [22:52:32]OFD Sender: No OFD packet to send [22:52:37]OFD Sender: No OFD packet to send [22:52:42]OFD Sender: No OFD packet to send [22:52:47]OFD Sender: No OFD packet to send [22:52:52]OFD Sender: No OFD packet to send [22:52:57]OFD Sender: No OFD packet to send [22:53:02]OFD Sender: No OFD packet to send [22:53:07]OFD Sender: No OFD packet to send [22:53:12]OFD Sender: No OFD packet to send [22:53:15]ConnectInit Can't connect to host [22:53:17]OFD Sender: No OFD packet to send [22:53:22]OFD Sender: No OFD packet to send [22:53:27]OFD Sender: No OFD packet to send [22:53:32]OFD Sender: No OFD packet to send [22:53:37]OFD Sender: No OFD packet to send [22:53:42]OFD Sender: No OFD packet to send [22:53:47]OFD Sender: No OFD packet to send [22:53:52]OFD Sender: No OFD packet to send [22:53:57]OFD Sender: No OFD packet to send [22:54:02]OFD Sender: No OFD packet to send [22:54:07]OFD Sender: No OFD packet to send [22:54:12]OFD Sender: No OFD packet to send [22:54:17]OFD Sender: No OFD packet to send [22:54:22]OFD Sender: No OFD packet to send [22:54:27]OFD Sender: No OFD packet to send [22:54:32]OFD Sender: No OFD packet to send [22:54:37]OFD Sender: No OFD packet to send [22:54:42]OFD Sender: No OFD packet to send [22:54:47]OFD Sender: No OFD packet to send [22:54:52]OFD Sender: No OFD packet to send [22:54:57]OFD Sender: No OFD packet to send [22:55:02]OFD Sender: No OFD packet to send [22:55:07]OFD Sender: No OFD packet to send [22:55:12]OFD Sender: No OFD packet to send [22:55:17]OFD Sender: No OFD packet to send [22:55:22]OFD Sender: No OFD packet to send [22:55:27]OFD Sender: No OFD packet to send [22:55:32]OFD Sender: No OFD packet to send [22:55:37]OFD Sender: No OFD packet to send [22:55:42]OFD Sender: No OFD packet to send [22:55:47]OFD Sender: No OFD packet to send [22:55:52]OFD Sender: No OFD packet to send [22:55:57]OFD Sender: No OFD packet to send [22:56:02]OFD Sender: No OFD packet to send [22:56:07]OFD Sender: No OFD packet to send [22:56:12]OFD Sender: No OFD packet to send [22:56:17]OFD Sender: No OFD packet to send [22:56:22]OFD Sender: No OFD packet to send [22:56:27]OFD Sender: No OFD packet to send [22:56:32]OFD Sender: No OFD packet to send [22:56:37]OFD Sender: No OFD packet to send [22:56:42]OFD Sender: No OFD packet to send [22:56:47]OFD Sender: No OFD packet to send [22:56:52]OFD Sender: No OFD packet to send [22:56:57]OFD Sender: No OFD packet to send [22:57:02]OFD Sender: No OFD packet to send [22:57:07]OFD Sender: No OFD packet to send [22:57:12]OFD Sender: No OFD packet to send [22:57:17]OFD Sender: No OFD packet to send [22:57:22]OFD Sender: No OFD packet to send [22:57:27]OFD Sender: No OFD packet to send [22:57:32]OFD Sender: No OFD packet to send [22:57:37]OFD Sender: No OFD packet to send [22:57:42]OFD Sender: No OFD packet to send [22:57:47]OFD Sender: No OFD packet to send [22:57:52]OFD Sender: No OFD packet to send [22:57:57]OFD Sender: No OFD packet to send [22:58:02]OFD Sender: No OFD packet to send [22:58:07]OFD Sender: No OFD packet to send [22:58:12]OFD Sender: No OFD packet to send [22:58:17]OFD Sender: No OFD packet to send [22:58:22]OFD Sender: No OFD packet to send [22:58:27]OFD Sender: No OFD packet to send [22:58:32]OFD Sender: No OFD packet to send [22:58:37]OFD Sender: No OFD packet to send [22:58:42]OFD Sender: No OFD packet to send [22:58:47]OFD Sender: No OFD packet to send [22:58:52]OFD Sender: No OFD packet to send [22:58:57]OFD Sender: No OFD packet to send [22:59:02]OFD Sender: No OFD packet to send [22:59:07]OFD Sender: No OFD packet to send [22:59:12]OFD Sender: No OFD packet to send [22:59:17]OFD Sender: No OFD packet to send [22:59:22]OFD Sender: No OFD packet to send [22:59:27]OFD Sender: No OFD packet to send [22:59:32]OFD Sender: No OFD packet to send [22:59:37]OFD Sender: No OFD packet to send [22:59:42]OFD Sender: No OFD packet to send [22:59:47]OFD Sender: No OFD packet to send [22:59:52]OFD Sender: No OFD packet to send [22:59:57]OFD Sender: No OFD packet to send [23:00:02]OFD Sender: No OFD packet to send [23:00:07]OFD Sender: No OFD packet to send [23:00:12]OFD Sender: No OFD packet to send [23:00:17]OFD Sender: No OFD packet to send [23:00:22]OFD Sender: No OFD packet to send [23:00:27]OFD Sender: No OFD packet to send [23:00:32]OFD Sender: No OFD packet to send [23:00:37]OFD Sender: No OFD packet to send [23:00:42]OFD Sender: No OFD packet to send [23:00:47]OFD Sender: No OFD packet to send [23:00:52]OFD Sender: No OFD packet to send [23:00:57]OFD Sender: No OFD packet to send [23:01:02]OFD Sender: No OFD packet to send [23:01:07]OFD Sender: No OFD packet to send [23:01:12]OFD Sender: No OFD packet to send [23:01:17]OFD Sender: No OFD packet to send [23:01:22]OFD Sender: No OFD packet to send [23:01:27]OFD Sender: No OFD packet to send [23:01:32]OFD Sender: No OFD packet to send [23:01:37]OFD Sender: No OFD packet to send [23:01:42]OFD Sender: No OFD packet to send [23:01:47]OFD Sender: No OFD packet to send [23:01:52]OFD Sender: No OFD packet to send [23:01:57]OFD Sender: No OFD packet to send [23:02:02]OFD Sender: No OFD packet to send [23:02:07]OFD Sender: No OFD packet to send [23:02:12]OFD Sender: No OFD packet to send [23:02:17]OFD Sender: No OFD packet to send [23:02:22]OFD Sender: No OFD packet to send [23:02:27]OFD Sender: No OFD packet to send [23:02:32]OFD Sender: No OFD packet to send [23:02:37]OFD Sender: No OFD packet to send [23:02:42]OFD Sender: No OFD packet to send [23:02:47]OFD Sender: No OFD packet to send [23:02:52]OFD Sender: No OFD packet to send [23:02:57]OFD Sender: No OFD packet to send [23:03:02]OFD Sender: No OFD packet to send [23:03:07]OFD Sender: No OFD packet to send [23:03:12]OFD Sender: No OFD packet to send [23:03:17]OFD Sender: No OFD packet to send [23:03:22]OFD Sender: No OFD packet to send [23:03:27]OFD Sender: No OFD packet to send [23:03:32]OFD Sender: No OFD packet to send [23:03:37]OFD Sender: No OFD packet to send [23:03:42]OFD Sender: No OFD packet to send [23:03:47]OFD Sender: No OFD packet to send [23:03:52]OFD Sender: No OFD packet to send [23:03:57]OFD Sender: No OFD packet to send [23:04:02]OFD Sender: No OFD packet to send [23:04:07]OFD Sender: No OFD packet to send [23:04:12]OFD Sender: No OFD packet to send [23:04:17]OFD Sender: No OFD packet to send [23:04:22]OFD Sender: No OFD packet to send [23:04:27]OFD Sender: No OFD packet to send [23:04:32]OFD Sender: No OFD packet to send [23:04:37]OFD Sender: No OFD packet to send [23:04:42]OFD Sender: No OFD packet to send [23:04:47]OFD Sender: No OFD packet to send [23:04:52]OFD Sender: No OFD packet to send [23:04:57]OFD Sender: No OFD packet to send [23:05:02]OFD Sender: No OFD packet to send [23:05:07]OFD Sender: No OFD packet to send [23:05:12]OFD Sender: No OFD packet to send [23:05:17]OFD Sender: No OFD packet to send [23:05:22]OFD Sender: No OFD packet to send [23:05:27]OFD Sender: No OFD packet to send [23:05:32]OFD Sender: No OFD packet to send [23:05:37]OFD Sender: No OFD packet to send [23:05:42]OFD Sender: No OFD packet to send [23:05:47]OFD Sender: No OFD packet to send [23:05:52]OFD Sender: No OFD packet to send [23:05:54]accept exits with 7 [23:05:54]New connection [23:05:54]New thread 3067391332 created [23:05:54]Thread 3067247972 joined [23:05:54]Waiting for new connection... [23:05:54] Sock 7.Parse request [23:05:54]Sock 7.Check first char [23:05:54]Sock 7.First char is OK [23:05:54]request: POST /json_proto HTTP/1.0 [23:05:54]Method: POST [23:05:54]URL: /json_proto [23:05:54]Method is POST - this is cgi request [23:05:54]url: /json_proto [23:05:54]query_string will be loaded in cgi processing [23:05:54]execute_cgi json_proto POST (null) [23:05:54]execute_cgi path=json_proto method=POST [23:05:54]POST find Content-Length [23:05:54]Host: 172.17.54.195:8080 [23:05:54]Content-Length: 671 [23:05:54]Content-Type: application/json [23:05:54] [23:05:54]POST finish read [23:05:54]Found Content-Length = 671 [23:05:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16402", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 23.400, "sum" : 1600.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1600.00, "total" : 1600.00, "payments": [ { "type": 0, "sum" : 1600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:54]execute_script... [23:05:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16402", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 23.400, "sum" : 1600.56, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1600.00, "total" : 1600.00, "payments": [ { "type": 0, "sum" : 1600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:54]POST & json_proto [23:05:54]process_json_proto [23:05:54]json parsed OK: [23:05:54]protocol is kg_v1.0 [23:05:54]action value=close_receipt [23:05:54]process_action close_receipt [23:05:54]cmd_close_receipt [23:05:54]MH_GetDate [23:05:54]Write to MH i2c: F0 00 00 6F 05 63 [23:05:54]Write i2c OK [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: F0 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: F0 09 00 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: F0 09 00 6F 05 00 D4 BB 22 67 8D 90 A3 66 AA [23:05:54]GetLastDocTimeStamp 1730325157 [23:05:54]current date 1730329556 [23:05:54]FM_GetShiftState [23:05:54]SAM_PROTO_GetShiftState [23:05:54]wFMCommunicate request_size=4 [23:05:54]MH_SAM_APDU [23:05:54]CAPDU: 80 13 01 00 [23:05:54]Write to MH i2c: E2 08 00 70 05 80 13 01 00 00 00 00 00 F2 [23:05:54]Write i2c OK [23:05:54]MH_I2C_Read... [23:05:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:54]Read from MH i2c: E2 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 0E 00 [23:05:54]MH_I2C_Read... [23:05:54]Read from MH i2c: E2 0E 00 70 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 37 [23:05:54]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:05:54]wFMCommunicate OK [23:05:54]SAM_PROTO_GetShiftState done [23:05:54]FM_GetShiftState done [23:05:54]opened in 1730247478 [23:05:54]opened+sec_in_day 1730333878 [23:05:54]quantity*price = 160056 [23:05:54]sum+1 = 160057 [23:05:54]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.56 ИТОГО: 1600.00 Внесено: 1600.00 СДАЧА: 0.00 НСП 1% : 14.16 НДС 12% : 169.97 Наличными: 1600.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 61 30.10.2024 23:05 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15851 ФПД: 1992747962907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T230556&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15851&fm=1992747962907&tin=02508201610067®Number=0000000000161798&sum=160000 [23:05:56]StoreToDocumentArchive [23:05:56]shift 173 fd 15851 [23:05:56]save to /storage/0173/doc_00015851 [23:05:56]save last doc name /storage/0173/doc_00015851 to /storage/kkm_last_doc_name [23:05:56]save OK [23:05:56]Clear old archive folders... [23:05:56]ProcessDocumentItem done err = 0, tmpTLVsize=249 [23:05:56]tlvbuf is 01F5AB60 [23:05:56]SAM_PROTO_ClearQueue [23:05:56]wFMCommunicate request_size=4 [23:05:56]MH_SAM_APDU [23:05:56]CAPDU: 80 09 00 00 [23:05:56]Write to MH i2c: E2 08 00 7D 05 80 09 00 00 00 00 00 00 F4 [23:05:56]Write i2c OK [23:05:56]MH_I2C_Read... [23:05:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:05:56]Read from MH i2c: E2 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 03 00 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 03 00 7D 05 00 90 00 F6 [23:05:56]RAPDU: 90 00 [23:05:56]wFMCommunicate OK [23:05:56]SAM_PROTO_ClearQueue done [23:05:56]KKMCreateOFDPacket [23:05:56]OFDProtocolAddRootSTLVToBuf [23:05:56]FM_MakeSignedData [23:05:56]FM_MakeSignedData [23:05:56]SAM_PROTO_SignData [23:05:56]wFMCommunicate request_size=4 [23:05:56]MH_SAM_APDU [23:05:56]CAPDU: 80 0D 01 02 [23:05:56]Write to MH i2c: E2 08 00 7E 05 80 0D 01 02 00 00 00 00 FC [23:05:56]Write i2c OK [23:05:56]MH_I2C_Read... [23:05:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:05:56]Read from MH i2c: E2 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 03 00 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 03 00 7E 05 00 90 00 F7 [23:05:56]RAPDU: 90 00 [23:05:56]wFMCommunicate OK [23:05:56]wFMCommunicate request_size=255 [23:05:56]MH_SAM_APDU [23:05:56]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 5B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 38 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 42 00 00 00 00 07 04 06 00 00 71 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 D4 BB 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EB 3D 00 00 35 04 06 00 01 CF F9 [23:05:56]Write to MH i2c: E2 02 01 7F 05 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 5B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 38 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 42 00 00 00 00 07 04 06 00 00 71 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 D4 BB 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EB 3D 00 00 35 04 06 00 01 CF F9 00 00 4B [23:05:56]Write i2c OK [23:05:56]MH_I2C_Read... [23:05:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:56]Read from MH i2c: E2 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 03 00 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 03 00 7F 05 00 90 00 F8 [23:05:56]RAPDU: 90 00 [23:05:56]wFMCommunicate OK [23:05:56]wFMCommunicate request_size=8 [23:05:56]MH_SAM_APDU [23:05:56]CAPDU: 80 0D 02 02 03 08 D2 1B [23:05:56]Write to MH i2c: E2 0B 00 80 05 80 0D 02 02 03 00 08 D2 1B 00 00 FA [23:05:56]Write i2c OK [23:05:56]MH_I2C_Read... [23:05:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:56]Read from MH i2c: E2 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 03 00 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 03 00 80 05 00 90 00 F9 [23:05:56]RAPDU: 90 00 [23:05:56]wFMCommunicate OK [23:05:56]wFMCommunicate request_size=4 [23:05:56]MH_SAM_APDU [23:05:56]CAPDU: 80 0D 03 02 [23:05:56]Write to MH i2c: E2 08 00 81 05 80 0D 03 02 00 00 00 00 01 [23:05:56]Write i2c OK [23:05:56]MH_I2C_Read... [23:05:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:05:56]Read from MH i2c: E2 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 0B 00 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 0B 00 81 05 00 0D 29 19 2B 80 E6 11 48 90 00 3B [23:05:56]RAPDU: 0D 29 19 2B 80 E6 11 48 90 00 [23:05:56]wFMCommunicate OK [23:05:56]SAM_PROTO_SignData done [23:05:56]FM_MakeSignedData done [23:05:56]CreateOFDProtocolMessage [23:05:56]wFMCommunicate request_size=4 [23:05:56]MH_SAM_APDU [23:05:56]CAPDU: 80 11 00 00 [23:05:56]Write to MH i2c: E2 08 00 82 05 80 11 00 00 00 00 00 00 01 [23:05:56]Write i2c OK [23:05:56]MH_I2C_Read... [23:05:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:56]Read from MH i2c: E2 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 17 00 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: E2 17 00 82 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 50 [23:05:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:05:56]wFMCommunicate OK [23:05:56]CreateOFDProtocolMessage done [23:05:56]OFDSenderStorePacket 15851 [23:05:56]StoreOFDPacket docnum=15851 [23:05:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 86 C4 05 01 6B D7 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 5B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 38 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 42 00 00 00 00 07 04 06 00 00 71 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 D4 BB 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EB 3D 00 00 35 04 06 00 01 CF F9 08 D2 1B 0D 29 19 2B 80 E6 11 48 [23:05:56]CheckFolder [23:05:56]dirname=/storage/ofd_packets [23:05:56]CheckFolder done [23:05:56]ProducePacketName [23:05:56]name=ofd_packets/00015851 [23:05:56]NVStorageSaveData ofd_packets/00015851 [23:05:56]File name is /storage/ofd_packets/00015851 [23:05:56]Write 299 bytes [23:05:56]NVStorageSaveData done [23:05:56]OFDSenderStorePacket done [23:05:56]KKMCreateOFDPacket done [23:05:56]NVStorageSaveData kkm_last_timestamp [23:05:56]File name is /storage/kkm_last_timestamp [23:05:56]Write 4 bytes [23:05:56]NVStorageSaveData done [23:05:56]ExternCall_PrintAddStr [23:05:56]wPrintStart [23:05:56]Write to MH i2c: 01 00 00 83 05 88 [23:05:56]Write i2c OK [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: 01 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: 01 07 00 [23:05:56]MH_I2C_Read... [23:05:56]Read from MH i2c: 01 07 00 83 05 00 00 00 00 00 FF 0F 9D [23:05:56]RasterBufferAndPrint [23:05:56]line Счет N : (1)16402 [23:05:56]line ИНН: 02508201610067 [23:05:56]line Контрольно-Кассовый Чек [23:05:56]line ПРОДАЖА [23:05:56]line ТРК (МРК, ГНК) : 12 [23:05:56]line Товар: 50.50.0 [23:05:56]line SUPER 92-К-5 [23:05:56]line 23.400 * 68.40 [23:05:56]line = 1600.56 [23:05:56]line НДС 12% НСП 1% [23:05:56]line > о реализуемом товаре [23:05:56]line ОКРУГЛЕНИЕ: -0.56 [23:05:56]line ИТОГО: 1600.00 [23:05:56]line Внесено: 1600.00 [23:05:56]line СДАЧА: 0.00 [23:05:56]line НСП 1% : 14.16 [23:05:56]line НДС 12% : 169.97 [23:05:56]line Наличными: 1600.00 [23:05:56]line Безнал.: 0.00 [23:05:56]line Место: АЗС № 178 "Партнер Нефть" [23:05:56]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [23:05:56]line СНО: Общий режим [23:05:56]line Чек 61 30.10.2024 23:05 [23:05:56]line Смена: 173 ФФД: 1.0 [23:05:56]line ЗНМ: 0300000014 [23:05:56]line РНМ: 0000000000161798 [23:05:56]line Версия ККМ: v1.0 [23:05:56]line ФМ: 0000000000963325 [23:05:56]line ФД: 15851 [23:05:56]line ФПД: 1992747962907 [23:05:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T230556&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15851&fm=1992747962907&tin=02508201610067®Number=0000000000161798&sum=160000 [23:05:56]OFD Sender: Processing packet 15851 [packets to send 4, broken 3] [23:05:56]ProducePacketName [23:05:56]name=ofd_packets/00015851 [23:05:56]OFD Sender: To server: pG, [23:05:56]CommunicateWithHost lk.salyk.kg:30040 [23:05:56]ConnectInit lk.salyk.kg [23:05:56]written 0, free lines is 4095 [23:05:56]Connected sock=10 [23:05:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 86 C4 05 01 6B D7 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 5B 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 38 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 42 00 00 00 00 07 04 06 00 00 71 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 D4 BB 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EB 3D 00 00 35 04 06 00 01 CF F9 08 D2 1B 0D 29 19 2B 80 E6 11 48 [23:05:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 C7 72 47 00 1F 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EB 3D 00 00 F4 03 04 00 BB 66 22 67 B6 04 01 00 00 BA F8 24 1B 02 5B 03 A3 [23:05:57]CommunicateWithHost err = 0 [23:05:57]CheckOFDResponse [23:05:57]1017 (14) - 77093643461234 [23:05:57]1041 (16) - 0000000000963325 [23:05:57]1040 (4) - 15851 [23:05:57]1012 (4) - 30.10.2024 17:02 [23:05:57]1206 (1) - 0 [23:05:57]OFD Sender: Remove packet 15851 [23:05:57]ProducePacketName [23:05:57]name=ofd_packets/00015851 [23:05:57]NVStorageDeleteData [23:05:57]Write to MH i2c: 01 00 00 AE 05 B3 [23:05:57]Write i2c OK [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: 01 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: 01 07 00 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: 01 07 00 AE 05 00 00 00 00 00 EF 0C B5 [23:05:57]RasterBufferAndPrint [23:05:57]line [23:05:57]line [23:05:57]line [23:05:57]line [23:05:57]line [23:05:57]written 0, free lines is 3317 [23:05:57]MH_Cut [23:05:57]Write to MH i2c: D1 01 00 B5 05 01 8C [23:05:57]Write i2c OK [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: D1 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: D1 01 00 [23:05:57]MH_I2C_Read... [23:05:57]Read from MH i2c: D1 01 00 B5 05 00 8B [23:05:57]Write to MH i2c: 01 00 00 B6 05 BB [23:05:57]Write i2c OK [23:05:57]MH_I2C_Read... [23:05:57]OFD Sender: No OFD packet to send [23:05:58]*** Cut start [23:05:58]*** Partial cut [23:05:58]*** CUTSNS_PIN = 1 [23:05:58]*** CUTSNS_PIN = 0 [23:05:58]*** Brake cut motor [23:05:58]Read from MH i2c: 01 [23:05:58]MH_I2C_Read... [23:05:58]*** Stop cut motor [23:05:58]*** Cut end [23:05:58]Read from MH i2c: 01 07 00 [23:05:58]MH_I2C_Read... [23:05:58]Read from MH i2c: 01 07 00 B6 05 00 00 00 00 00 FF 0F D0 [23:05:58]process_action close_receipt done [23:05:58]requested_data is exist [23:05:58]produce_requested_data [23:05:58]requested_item fm.sn is exist - process it [23:05:58]wFMCommunicate request_size=4 [23:05:58]MH_SAM_APDU [23:05:58]CAPDU: 80 11 00 00 [23:05:58]Write to MH i2c: E2 08 00 B7 05 80 11 00 00 00 00 00 00 36 [23:05:58]Write i2c OK [23:05:58]MH_I2C_Read... [23:05:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:58]Read from MH i2c: E2 [23:05:58]MH_I2C_Read... [23:05:58]Read from MH i2c: E2 17 00 [23:05:58]MH_I2C_Read... [23:05:58]Read from MH i2c: E2 17 00 B7 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 85 [23:05:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:05:58]wFMCommunicate OK [23:05:58]requested_item fd.num is exist - process it [23:05:58]SAM_PROTO_GetFieldsCounters [23:05:58]wFMCommunicate request_size=4 [23:05:58]MH_SAM_APDU [23:05:58]CAPDU: 80 13 00 00 [23:05:58]Write to MH i2c: E2 08 00 B8 05 80 13 00 00 00 00 00 00 39 [23:05:58]Write i2c OK [23:05:58]MH_I2C_Read... [23:05:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:05:58]Read from MH i2c: E2 [23:05:58]MH_I2C_Read... [23:05:58]Read from MH i2c: E2 62 00 [23:05:58]MH_I2C_Read... [23:05:58]Read from MH i2c: E2 62 00 B8 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EB 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [23:05:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EB 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:05:58]wFMCommunicate OK [23:05:58]SAM_PROTO_GetFieldsCounters done [23:05:58]requested_item shift.num is exist - process it [23:05:58]requested_item shift.opened is exist - process it [23:05:58]req_shift_opened [23:05:58]FM_GetShiftState [23:05:58]SAM_PROTO_GetShiftState [23:05:58]wFMCommunicate request_size=4 [23:05:58]MH_SAM_APDU [23:05:58]CAPDU: 80 13 01 00 [23:05:58]Write to MH i2c: E2 08 00 B9 05 80 13 01 00 00 00 00 00 3B [23:05:58]Write i2c OK [23:05:58]MH_I2C_Read... [23:05:58]Read from MH i2c: E2 [23:05:58]MH_I2C_Read... [23:05:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:58]Read from MH i2c: E2 0E 00 [23:05:58]MH_I2C_Read... [23:05:58]Read from MH i2c: E2 0E 00 B9 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 80 [23:05:58]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:05:58]wFMCommunicate OK [23:05:58]SAM_PROTO_GetShiftState done [23:05:58]FM_GetShiftState done [23:05:58]req_shift_opened done [23:05:58]requested_item shift.open_date is exist - process it [23:05:58]req_shift_open_date [23:05:58]req_shift_open_date done [23:05:58]produce_requested_data done [23:05:58]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15851,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [23:05:58]process_action_free close_receipt [23:05:58]json_value_free [23:05:58]json_value_free done [23:05:58]process_json_proto returns [23:05:58]Send response to host [23:05:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15851,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [23:05:58]free response buf [23:05:58]execute_script done [23:05:58]execute_script returns [23:05:58]free content buf [23:05:58]Sock 7.Close socket [23:05:58]Sock 7.Thread stoped [23:06:02]OFD Sender: No OFD packet to send [23:06:07]OFD Sender: No OFD packet to send [23:06:12]OFD Sender: No OFD packet to send [23:06:17]OFD Sender: No OFD packet to send [23:06:22]OFD Sender: No OFD packet to send [23:06:27]OFD Sender: No OFD packet to send [23:06:32]OFD Sender: No OFD packet to send [23:06:37]OFD Sender: No OFD packet to send [23:06:42]OFD Sender: No OFD packet to send [23:06:47]OFD Sender: No OFD packet to send [23:06:52]OFD Sender: No OFD packet to send [23:06:57]OFD Sender: No OFD packet to send [23:07:02]OFD Sender: No OFD packet to send [23:07:07]OFD Sender: No OFD packet to send [23:07:12]OFD Sender: No OFD packet to send [23:07:17]OFD Sender: No OFD packet to send [23:07:22]OFD Sender: No OFD packet to send [23:07:27]OFD Sender: No OFD packet to send [23:07:32]OFD Sender: No OFD packet to send [23:07:37]OFD Sender: No OFD packet to send [23:07:42]OFD Sender: No OFD packet to send [23:07:47]OFD Sender: No OFD packet to send [23:07:52]OFD Sender: No OFD packet to send [23:07:57]OFD Sender: No OFD packet to send [23:08:02]OFD Sender: No OFD packet to send [23:08:07]OFD Sender: No OFD packet to send [23:08:12]OFD Sender: No OFD packet to send [23:08:17]OFD Sender: No OFD packet to send [23:08:22]OFD Sender: No OFD packet to send [23:08:27]OFD Sender: No OFD packet to send [23:08:32]OFD Sender: No OFD packet to send [23:08:37]OFD Sender: No OFD packet to send [23:08:42]OFD Sender: No OFD packet to send [23:08:47]OFD Sender: No OFD packet to send [23:08:52]OFD Sender: No OFD packet to send [23:08:57]OFD Sender: No OFD packet to send [23:09:02]OFD Sender: No OFD packet to send [23:09:07]OFD Sender: No OFD packet to send [23:09:12]OFD Sender: No OFD packet to send [23:09:17]OFD Sender: No OFD packet to send [23:09:22]OFD Sender: No OFD packet to send [23:09:27]OFD Sender: No OFD packet to send [23:09:32]OFD Sender: No OFD packet to send [23:09:37]OFD Sender: No OFD packet to send [23:09:42]OFD Sender: No OFD packet to send [23:09:47]OFD Sender: No OFD packet to send [23:09:52]OFD Sender: No OFD packet to send [23:09:57]OFD Sender: No OFD packet to send [23:10:02]OFD Sender: No OFD packet to send [23:10:07]OFD Sender: No OFD packet to send [23:10:12]OFD Sender: No OFD packet to send [23:10:17]OFD Sender: No OFD packet to send [23:10:22]OFD Sender: No OFD packet to send [23:10:27]OFD Sender: No OFD packet to send [23:10:32]OFD Sender: No OFD packet to send [23:10:37]OFD Sender: No OFD packet to send [23:10:42]OFD Sender: No OFD packet to send [23:10:47]OFD Sender: No OFD packet to send [23:10:52]OFD Sender: No OFD packet to send [23:10:57]OFD Sender: No OFD packet to send [23:11:02]OFD Sender: No OFD packet to send [23:11:07]OFD Sender: No OFD packet to send [23:11:12]OFD Sender: No OFD packet to send [23:11:17]OFD Sender: No OFD packet to send [23:11:22]OFD Sender: No OFD packet to send [23:11:27]OFD Sender: No OFD packet to send [23:11:32]OFD Sender: No OFD packet to send [23:11:37]OFD Sender: No OFD packet to send [23:11:42]OFD Sender: No OFD packet to send [23:11:47]OFD Sender: No OFD packet to send [23:11:52]OFD Sender: No OFD packet to send [23:11:57]OFD Sender: No OFD packet to send [23:12:02]OFD Sender: No OFD packet to send [23:12:07]OFD Sender: No OFD packet to send [23:12:12]OFD Sender: No OFD packet to send [23:12:17]OFD Sender: No OFD packet to send [23:12:22]OFD Sender: No OFD packet to send [23:12:27]OFD Sender: No OFD packet to send [23:12:32]OFD Sender: No OFD packet to send [23:12:37]OFD Sender: No OFD packet to send [23:12:42]OFD Sender: No OFD packet to send [23:12:47]OFD Sender: No OFD packet to send [23:12:52]OFD Sender: No OFD packet to send [23:12:57]OFD Sender: No OFD packet to send [23:13:02]OFD Sender: No OFD packet to send [23:13:07]OFD Sender: No OFD packet to send [23:13:12]OFD Sender: No OFD packet to send [23:13:17]OFD Sender: No OFD packet to send [23:13:22]OFD Sender: No OFD packet to send [23:13:27]OFD Sender: No OFD packet to send [23:13:33]OFD Sender: No OFD packet to send [23:13:38]OFD Sender: No OFD packet to send [23:13:43]OFD Sender: No OFD packet to send [23:13:48]OFD Sender: No OFD packet to send [23:13:53]OFD Sender: No OFD packet to send [23:13:58]OFD Sender: No OFD packet to send [23:14:03]OFD Sender: No OFD packet to send [23:14:08]OFD Sender: No OFD packet to send [23:14:13]OFD Sender: No OFD packet to send [23:14:18]OFD Sender: No OFD packet to send [23:14:23]OFD Sender: No OFD packet to send [23:14:28]OFD Sender: No OFD packet to send [23:14:33]OFD Sender: No OFD packet to send [23:14:38]OFD Sender: No OFD packet to send [23:14:43]OFD Sender: No OFD packet to send [23:14:48]OFD Sender: No OFD packet to send [23:14:53]OFD Sender: No OFD packet to send [23:14:58]OFD Sender: No OFD packet to send [23:15:03]OFD Sender: No OFD packet to send [23:15:08]OFD Sender: No OFD packet to send [23:15:13]OFD Sender: No OFD packet to send [23:15:18]OFD Sender: No OFD packet to send [23:15:23]OFD Sender: No OFD packet to send [23:15:28]OFD Sender: No OFD packet to send [23:15:33]OFD Sender: No OFD packet to send [23:15:38]OFD Sender: No OFD packet to send [23:15:43]OFD Sender: No OFD packet to send [23:15:48]OFD Sender: No OFD packet to send [23:15:53]OFD Sender: No OFD packet to send [23:15:58]OFD Sender: No OFD packet to send [23:16:03]OFD Sender: No OFD packet to send [23:16:08]OFD Sender: No OFD packet to send [23:16:13]OFD Sender: No OFD packet to send [23:16:18]OFD Sender: No OFD packet to send [23:16:23]OFD Sender: No OFD packet to send [23:16:28]OFD Sender: No OFD packet to send [23:16:33]OFD Sender: No OFD packet to send [23:16:38]OFD Sender: No OFD packet to send [23:16:43]OFD Sender: No OFD packet to send [23:16:48]OFD Sender: No OFD packet to send [23:16:53]OFD Sender: No OFD packet to send [23:16:58]OFD Sender: No OFD packet to send [23:17:03]OFD Sender: No OFD packet to send [23:17:08]OFD Sender: No OFD packet to send [23:17:13]OFD Sender: No OFD packet to send [23:17:18]OFD Sender: No OFD packet to send [23:17:23]OFD Sender: No OFD packet to send [23:17:28]OFD Sender: No OFD packet to send [23:17:33]OFD Sender: No OFD packet to send [23:17:38]OFD Sender: No OFD packet to send [23:17:43]OFD Sender: No OFD packet to send [23:17:48]OFD Sender: No OFD packet to send [23:17:53]OFD Sender: No OFD packet to send [23:17:58]OFD Sender: No OFD packet to send [23:18:03]OFD Sender: No OFD packet to send [23:18:08]OFD Sender: No OFD packet to send [23:18:13]OFD Sender: No OFD packet to send [23:18:18]OFD Sender: No OFD packet to send [23:18:23]OFD Sender: No OFD packet to send [23:18:28]OFD Sender: No OFD packet to send [23:18:33]OFD Sender: No OFD packet to send [23:18:38]OFD Sender: No OFD packet to send [23:18:43]OFD Sender: No OFD packet to send [23:18:48]OFD Sender: No OFD packet to send [23:18:53]OFD Sender: No OFD packet to send [23:18:58]OFD Sender: No OFD packet to send [23:19:03]OFD Sender: No OFD packet to send [23:19:08]OFD Sender: No OFD packet to send [23:19:13]OFD Sender: No OFD packet to send [23:19:18]OFD Sender: No OFD packet to send [23:19:23]OFD Sender: No OFD packet to send [23:19:28]OFD Sender: No OFD packet to send [23:19:33]OFD Sender: No OFD packet to send [23:19:38]OFD Sender: No OFD packet to send [23:19:43]OFD Sender: No OFD packet to send [23:19:48]OFD Sender: No OFD packet to send [23:19:53]OFD Sender: No OFD packet to send [23:19:58]OFD Sender: No OFD packet to send [23:20:03]OFD Sender: No OFD packet to send [23:20:08]OFD Sender: No OFD packet to send [23:20:13]OFD Sender: No OFD packet to send [23:20:18]OFD Sender: No OFD packet to send [23:20:23]OFD Sender: No OFD packet to send [23:20:28]OFD Sender: No OFD packet to send [23:20:33]OFD Sender: No OFD packet to send [23:20:38]OFD Sender: No OFD packet to send [23:20:43]OFD Sender: No OFD packet to send [23:20:48]OFD Sender: No OFD packet to send [23:20:53]OFD Sender: No OFD packet to send [23:20:58]OFD Sender: No OFD packet to send [23:21:03]OFD Sender: No OFD packet to send [23:21:08]OFD Sender: No OFD packet to send [23:21:13]OFD Sender: No OFD packet to send [23:21:18]OFD Sender: No OFD packet to send [23:21:23]OFD Sender: No OFD packet to send [23:21:28]OFD Sender: No OFD packet to send [23:21:33]OFD Sender: No OFD packet to send [23:21:38]OFD Sender: No OFD packet to send [23:21:43]OFD Sender: No OFD packet to send [23:21:48]OFD Sender: No OFD packet to send [23:21:53]OFD Sender: No OFD packet to send [23:21:58]OFD Sender: No OFD packet to send [23:22:03]OFD Sender: No OFD packet to send [23:22:08]OFD Sender: No OFD packet to send [23:22:13]OFD Sender: No OFD packet to send [23:22:18]OFD Sender: No OFD packet to send [23:22:23]OFD Sender: No OFD packet to send [23:22:28]OFD Sender: No OFD packet to send [23:22:33]OFD Sender: No OFD packet to send [23:22:38]OFD Sender: No OFD packet to send [23:22:43]OFD Sender: No OFD packet to send [23:22:48]OFD Sender: No OFD packet to send [23:22:53]OFD Sender: No OFD packet to send [23:22:58]OFD Sender: No OFD packet to send [23:23:03]OFD Sender: No OFD packet to send [23:23:08]OFD Sender: No OFD packet to send [23:23:13]OFD Sender: No OFD packet to send [23:23:18]OFD Sender: No OFD packet to send [23:23:23]OFD Sender: No OFD packet to send [23:23:28]OFD Sender: No OFD packet to send [23:23:33]OFD Sender: No OFD packet to send [23:23:38]OFD Sender: No OFD packet to send [23:23:43]OFD Sender: No OFD packet to send [23:23:48]OFD Sender: No OFD packet to send [23:23:53]OFD Sender: No OFD packet to send [23:23:58]OFD Sender: No OFD packet to send [23:24:03]OFD Sender: No OFD packet to send [23:24:08]OFD Sender: No OFD packet to send [23:24:13]OFD Sender: No OFD packet to send [23:24:18]OFD Sender: No OFD packet to send [23:24:23]OFD Sender: No OFD packet to send [23:24:28]OFD Sender: No OFD packet to send [23:24:33]OFD Sender: No OFD packet to send [23:24:38]OFD Sender: No OFD packet to send [23:24:43]OFD Sender: No OFD packet to send [23:24:48]OFD Sender: No OFD packet to send [23:24:53]OFD Sender: No OFD packet to send [23:24:58]OFD Sender: No OFD packet to send [23:25:03]OFD Sender: No OFD packet to send [23:25:08]OFD Sender: No OFD packet to send [23:25:13]OFD Sender: No OFD packet to send [23:25:18]OFD Sender: No OFD packet to send [23:25:23]OFD Sender: No OFD packet to send [23:25:28]OFD Sender: No OFD packet to send [23:25:33]OFD Sender: No OFD packet to send [23:25:38]OFD Sender: No OFD packet to send [23:25:43]OFD Sender: No OFD packet to send [23:25:48]OFD Sender: No OFD packet to send [23:25:53]OFD Sender: No OFD packet to send [23:25:58]OFD Sender: No OFD packet to send [23:26:03]OFD Sender: No OFD packet to send [23:26:08]OFD Sender: No OFD packet to send [23:26:13]OFD Sender: No OFD packet to send [23:26:18]OFD Sender: No OFD packet to send [23:26:23]OFD Sender: No OFD packet to send [23:26:28]OFD Sender: No OFD packet to send [23:26:33]OFD Sender: No OFD packet to send [23:26:38]OFD Sender: No OFD packet to send [23:26:43]OFD Sender: No OFD packet to send [23:26:48]OFD Sender: No OFD packet to send [23:26:53]OFD Sender: No OFD packet to send [23:26:58]OFD Sender: No OFD packet to send [23:27:03]OFD Sender: No OFD packet to send [23:27:08]OFD Sender: No OFD packet to send [23:27:13]OFD Sender: No OFD packet to send [23:27:18]OFD Sender: No OFD packet to send [23:27:23]OFD Sender: No OFD packet to send [23:27:28]OFD Sender: No OFD packet to send [23:27:33]OFD Sender: No OFD packet to send [23:27:38]OFD Sender: No OFD packet to send [23:27:43]OFD Sender: No OFD packet to send [23:27:48]OFD Sender: No OFD packet to send [23:27:53]OFD Sender: No OFD packet to send [23:27:58]OFD Sender: No OFD packet to send [23:28:03]OFD Sender: No OFD packet to send [23:28:08]OFD Sender: No OFD packet to send [23:28:13]OFD Sender: No OFD packet to send [23:28:18]OFD Sender: No OFD packet to send [23:28:23]OFD Sender: No OFD packet to send [23:28:28]OFD Sender: No OFD packet to send [23:28:33]OFD Sender: No OFD packet to send [23:28:38]OFD Sender: No OFD packet to send [23:28:43]OFD Sender: No OFD packet to send [23:28:48]OFD Sender: No OFD packet to send [23:28:53]OFD Sender: No OFD packet to send [23:28:58]OFD Sender: No OFD packet to send [23:29:03]OFD Sender: No OFD packet to send [23:29:08]OFD Sender: No OFD packet to send [23:29:13]OFD Sender: No OFD packet to send [23:29:18]OFD Sender: No OFD packet to send [23:29:23]OFD Sender: No OFD packet to send [23:29:28]OFD Sender: No OFD packet to send [23:29:33]OFD Sender: No OFD packet to send [23:29:38]OFD Sender: No OFD packet to send [23:29:43]OFD Sender: No OFD packet to send [23:29:48]OFD Sender: No OFD packet to send [23:29:53]OFD Sender: No OFD packet to send [23:29:58]OFD Sender: No OFD packet to send [23:30:03]OFD Sender: No OFD packet to send [23:30:08]OFD Sender: No OFD packet to send [23:30:13]OFD Sender: No OFD packet to send [23:30:14]accept exits with 9 [23:30:14]New connection [23:30:14]New thread 3067247972 created [23:30:14]Thread 3067391332 joined [23:30:14]Waiting for new connection... [23:30:14] Sock 9.Parse request [23:30:14]Sock 9.Check first char [23:30:14]Sock 9.First char is OK [23:30:14]request: POST /json_proto HTTP/1.0 [23:30:14]Method: POST [23:30:14]URL: /json_proto [23:30:14]Method is POST - this is cgi request [23:30:14]url: /json_proto [23:30:14]query_string will be loaded in cgi processing [23:30:14]execute_cgi json_proto POST (null) [23:30:14]execute_cgi path=json_proto method=POST [23:30:14]POST find Content-Length [23:30:14]Host: 172.17.54.195:8080 [23:30:14]Content-Length: 777 [23:30:14]Content-Type: application/json [23:30:14] [23:30:14]POST finish read [23:30:14]Found Content-Length = 777 [23:30:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16403", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 29.240, "sum" : 2000.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 2000.00, "payments": [ { "type": 1, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:30:14]execute_script... [23:30:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16403", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 29.240, "sum" : 2000.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 2000.00, "payments": [ { "type": 1, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:30:14]POST & json_proto [23:30:14]process_json_proto [23:30:14]json parsed OK: [23:30:14]protocol is kg_v1.0 [23:30:14]action value=close_receipt [23:30:14]process_action close_receipt [23:30:14]cmd_close_receipt [23:30:14]MH_GetDate [23:30:14]Write to MH i2c: F0 00 00 BA 05 AE [23:30:14]Write i2c OK [23:30:14]MH_I2C_Read... [23:30:14]Read from MH i2c: F0 [23:30:14]MH_I2C_Read... [23:30:14]Read from MH i2c: F0 09 00 [23:30:14]MH_I2C_Read... [23:30:14]Read from MH i2c: F0 09 00 BA 05 00 87 C1 22 67 8D 90 A3 66 AE [23:30:14]GetLastDocTimeStamp 1730329556 [23:30:14]current date 1730331015 [23:30:14]FM_GetShiftState [23:30:14]SAM_PROTO_GetShiftState [23:30:14]wFMCommunicate request_size=4 [23:30:14]MH_SAM_APDU [23:30:14]CAPDU: 80 13 01 00 [23:30:14]Write to MH i2c: E2 08 00 BB 05 80 13 01 00 00 00 00 00 3D [23:30:14]Write i2c OK [23:30:14]MH_I2C_Read... [23:30:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:30:14]Read from MH i2c: E2 [23:30:14]MH_I2C_Read... [23:30:14]Read from MH i2c: E2 0E 00 [23:30:14]MH_I2C_Read... [23:30:14]Read from MH i2c: E2 0E 00 BB 05 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 82 [23:30:14]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:30:14]wFMCommunicate OK [23:30:14]SAM_PROTO_GetShiftState done [23:30:14]FM_GetShiftState done [23:30:14]opened in 1730247478 [23:30:14]opened+sec_in_day 1730333878 [23:30:14]quantity*price = 200001 [23:30:14]sum+1 = 200003 [23:30:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 2000.00 НСП 1% : 17.70 НДС 12% : 212.39 Наличными: 0.00 Безнал.: 2000.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 62 30.10.2024 23:30 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15852 ФПД: 240128406584807 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T233015&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15852&fm=240128406584807&tin=02508201610067®Number=0000000000161798&sum=200000 [23:30:15]StoreToDocumentArchive [23:30:15]shift 173 fd 15852 [23:30:15]save to /storage/0173/doc_00015852 [23:30:15]save last doc name /storage/0173/doc_00015852 to /storage/kkm_last_doc_name [23:30:15]save OK [23:30:15]Clear old archive folders... [23:30:15]ProcessDocumentItem done err = 0, tmpTLVsize=249 [23:30:15]tlvbuf is 01F42160 [23:30:15]SAM_PROTO_ClearQueue [23:30:15]wFMCommunicate request_size=4 [23:30:15]MH_SAM_APDU [23:30:15]CAPDU: 80 09 00 00 [23:30:15]Write to MH i2c: E2 08 00 C8 05 80 09 00 00 00 00 00 00 3F [23:30:15]Write i2c OK [23:30:15]MH_I2C_Read... [23:30:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:30:15]Read from MH i2c: E2 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 03 00 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 03 00 C8 05 00 90 00 41 [23:30:15]RAPDU: 90 00 [23:30:15]wFMCommunicate OK [23:30:15]SAM_PROTO_ClearQueue done [23:30:15]KKMCreateOFDPacket [23:30:15]OFDProtocolAddRootSTLVToBuf [23:30:15]FM_MakeSignedData [23:30:15]FM_MakeSignedData [23:30:15]SAM_PROTO_SignData [23:30:15]wFMCommunicate request_size=4 [23:30:15]MH_SAM_APDU [23:30:15]CAPDU: 80 0D 01 02 [23:30:15]Write to MH i2c: E2 08 00 C9 05 80 0D 01 02 00 00 00 00 47 [23:30:15]Write i2c OK [23:30:15]MH_I2C_Read... [23:30:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:30:15]Read from MH i2c: E2 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 03 00 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 03 00 C9 05 00 90 00 42 [23:30:15]RAPDU: 90 00 [23:30:15]wFMCommunicate OK [23:30:15]wFMCommunicate request_size=255 [23:30:15]MH_SAM_APDU [23:30:15]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 72 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 42 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 87 C1 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EC 3D 00 00 35 04 06 00 DA 65 40 [23:30:15]Write to MH i2c: E2 02 01 CA 05 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 72 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 42 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 87 C1 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EC 3D 00 00 35 04 06 00 DA 65 40 00 00 54 [23:30:15]Write i2c OK [23:30:15]MH_I2C_Read... [23:30:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:30:15]Read from MH i2c: E2 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 03 00 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 03 00 CA 05 00 90 00 43 [23:30:15]RAPDU: 90 00 [23:30:15]wFMCommunicate OK [23:30:15]wFMCommunicate request_size=8 [23:30:15]MH_SAM_APDU [23:30:15]CAPDU: 80 0D 02 02 03 5F FD E7 [23:30:15]Write to MH i2c: E2 0B 00 CB 05 80 0D 02 02 03 00 5F FD E7 00 00 93 [23:30:15]Write i2c OK [23:30:15]MH_I2C_Read... [23:30:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:30:15]Read from MH i2c: E2 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 03 00 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 03 00 CB 05 00 90 00 44 [23:30:15]RAPDU: 90 00 [23:30:15]wFMCommunicate OK [23:30:15]wFMCommunicate request_size=4 [23:30:15]MH_SAM_APDU [23:30:15]CAPDU: 80 0D 03 02 [23:30:15]Write to MH i2c: E2 08 00 CC 05 80 0D 03 02 00 00 00 00 4C [23:30:15]Write i2c OK [23:30:15]MH_I2C_Read... [23:30:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:30:15]Read from MH i2c: E2 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 0B 00 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 0B 00 CC 05 00 5F E3 E6 3D 59 DA C7 71 90 00 1D [23:30:15]RAPDU: 5F E3 E6 3D 59 DA C7 71 90 00 [23:30:15]wFMCommunicate OK [23:30:15]SAM_PROTO_SignData done [23:30:15]FM_MakeSignedData done [23:30:15]CreateOFDProtocolMessage [23:30:15]wFMCommunicate request_size=4 [23:30:15]MH_SAM_APDU [23:30:15]CAPDU: 80 11 00 00 [23:30:15]Write to MH i2c: E2 08 00 CD 05 80 11 00 00 00 00 00 00 4C [23:30:15]Write i2c OK [23:30:15]MH_I2C_Read... [23:30:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:30:15]Read from MH i2c: E2 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 17 00 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: E2 17 00 CD 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 9B [23:30:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:30:15]wFMCommunicate OK [23:30:15]CreateOFDProtocolMessage done [23:30:15]OFDSenderStorePacket 15852 [23:30:15]StoreOFDPacket docnum=15852 [23:30:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 A8 51 05 01 0B 72 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 72 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 42 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 87 C1 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EC 3D 00 00 35 04 06 00 DA 65 40 5F FD E7 5F E3 E6 3D 59 DA C7 71 [23:30:15]CheckFolder [23:30:15]dirname=/storage/ofd_packets [23:30:15]CheckFolder done [23:30:15]ProducePacketName [23:30:15]name=ofd_packets/00015852 [23:30:15]NVStorageSaveData ofd_packets/00015852 [23:30:15]File name is /storage/ofd_packets/00015852 [23:30:15]Write 299 bytes [23:30:15]NVStorageSaveData done [23:30:15]OFDSenderStorePacket done [23:30:15]KKMCreateOFDPacket done [23:30:15]NVStorageSaveData kkm_last_timestamp [23:30:15]File name is /storage/kkm_last_timestamp [23:30:15]Write 4 bytes [23:30:15]NVStorageSaveData done [23:30:15]ExternCall_PrintAddStr [23:30:15]wPrintStart [23:30:15]Write to MH i2c: 01 00 00 CE 05 D3 [23:30:15]Write i2c OK [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: 01 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: 01 07 00 [23:30:15]MH_I2C_Read... [23:30:15]Read from MH i2c: 01 07 00 CE 05 00 00 00 00 00 FF 0F E8 [23:30:15]RasterBufferAndPrint [23:30:15]line Счет N : (1)16403 [23:30:15]line ИНН: 02508201610067 [23:30:15]line Контрольно-Кассовый Чек [23:30:15]line ПРОДАЖА [23:30:15]line ТРК (МРК, ГНК) : 12 [23:30:15]line Товар: 50.50.0 [23:30:15]line SUPER 92-К-5 [23:30:15]line 29.240 * 68.40 [23:30:15]line = 2000.02 [23:30:15]line НДС 12% НСП 1% [23:30:15]line > о реализуемом товаре [23:30:15]line ОКРУГЛЕНИЕ: -0.02 [23:30:15]line ИТОГО: 2000.00 [23:30:15]line НСП 1% : 17.70 [23:30:15]line НДС 12% : 212.39 [23:30:15]line Наличными: 0.00 [23:30:15]line Безнал.: 2000.00 [23:30:15]line Место: АЗС № 178 "Партнер Нефть" [23:30:15]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [23:30:15]line СНО: Общий режим [23:30:15]line Чек 62 30.10.2024 23:30 [23:30:15]line Смена: 173 ФФД: 1.0 [23:30:15]line ЗНМ: 0300000014 [23:30:15]line РНМ: 0000000000161798 [23:30:15]line Версия ККМ: v1.0 [23:30:15]line Платежная система: Mbank [23:30:15]line ФМ: 0000000000963325 [23:30:15]line ФД: 15852 [23:30:15]line ФПД: 240128406584807 [23:30:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T233015&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15852&fm=240128406584807&tin=02508201610067®Number=0000000000161798&sum=200000 [23:30:16]OFD Sender: Processing packet 15852 [packets to send 4, broken 3] [23:30:16]ProducePacketName [23:30:16]name=ofd_packets/00015852 [23:30:16]OFD Sender: To server: pG, [23:30:16]CommunicateWithHost lk.salyk.kg:30040 [23:30:16]ConnectInit lk.salyk.kg [23:30:16]written 0, free lines is 4095 [23:30:16]Connected sock=10 [23:30:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 A8 51 05 01 0B 72 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 72 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 42 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 87 C1 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EC 3D 00 00 35 04 06 00 DA 65 40 5F FD E7 5F E3 E6 3D 59 DA C7 71 [23:30:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 B4 01 47 00 BF 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EC 3D 00 00 F4 03 04 00 6F 6C 22 67 B6 04 01 00 00 0D 79 36 FA B6 9D 71 C9 [23:30:16]CommunicateWithHost err = 0 [23:30:16]CheckOFDResponse [23:30:16]1017 (14) - 77093643461234 [23:30:16]1041 (16) - 0000000000963325 [23:30:16]1040 (4) - 15852 [23:30:16]1012 (4) - 30.10.2024 17:27 [23:30:16]1206 (1) - 0 [23:30:16]OFD Sender: Remove packet 15852 [23:30:16]ProducePacketName [23:30:16]name=ofd_packets/00015852 [23:30:16]NVStorageDeleteData [23:30:16]Write to MH i2c: 01 00 00 F8 05 FD [23:30:16]Write i2c OK [23:30:16]MH_I2C_Read... [23:30:16]Read from MH i2c: 01 [23:30:16]MH_I2C_Read... [23:30:16]Read from MH i2c: 01 07 00 [23:30:16]MH_I2C_Read... [23:30:16]Read from MH i2c: 01 07 00 F8 05 00 00 00 00 00 08 0D 19 [23:30:16]RasterBufferAndPrint [23:30:16]line [23:30:16]line [23:30:16]line [23:30:16]line [23:30:16]line [23:30:16]written 0, free lines is 3342 [23:30:16]MH_Cut [23:30:16]Write to MH i2c: D1 01 00 FF 05 01 D6 [23:30:16]Write i2c OK [23:30:16]MH_I2C_Read... [23:30:16]Read from MH i2c: D1 [23:30:16]MH_I2C_Read... [23:30:16]Read from MH i2c: D1 01 00 [23:30:16]MH_I2C_Read... [23:30:16]Read from MH i2c: D1 01 00 FF 05 00 D5 [23:30:16]Write to MH i2c: 01 00 00 00 06 06 [23:30:16]Write i2c OK [23:30:16]MH_I2C_Read... [23:30:17]OFD Sender: No OFD packet to send [23:30:17]*** Cut start [23:30:17]*** Partial cut [23:30:17]*** CUTSNS_PIN = 1 [23:30:17]*** CUTSNS_PIN = 0 [23:30:17]*** Brake cut motor [23:30:18]Read from MH i2c: 01 [23:30:18]MH_I2C_Read... [23:30:18]*** Stop cut motor [23:30:18]*** Cut end [23:30:18]Read from MH i2c: 01 07 00 [23:30:18]MH_I2C_Read... [23:30:18]Read from MH i2c: 01 07 00 00 06 00 00 00 00 00 FF 0F 1B [23:30:18]process_action close_receipt done [23:30:18]requested_data is exist [23:30:18]produce_requested_data [23:30:18]requested_item fm.sn is exist - process it [23:30:18]wFMCommunicate request_size=4 [23:30:18]MH_SAM_APDU [23:30:18]CAPDU: 80 11 00 00 [23:30:18]Write to MH i2c: E2 08 00 01 06 80 11 00 00 00 00 00 00 81 [23:30:18]Write i2c OK [23:30:18]MH_I2C_Read... [23:30:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:30:18]Read from MH i2c: E2 [23:30:18]MH_I2C_Read... [23:30:18]Read from MH i2c: E2 17 00 [23:30:18]MH_I2C_Read... [23:30:18]Read from MH i2c: E2 17 00 01 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 D0 [23:30:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:30:18]wFMCommunicate OK [23:30:18]requested_item fd.num is exist - process it [23:30:18]SAM_PROTO_GetFieldsCounters [23:30:18]wFMCommunicate request_size=4 [23:30:18]MH_SAM_APDU [23:30:18]CAPDU: 80 13 00 00 [23:30:18]Write to MH i2c: E2 08 00 02 06 80 13 00 00 00 00 00 00 84 [23:30:18]Write i2c OK [23:30:18]MH_I2C_Read... [23:30:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:30:18]Read from MH i2c: E2 [23:30:18]MH_I2C_Read... [23:30:18]Read from MH i2c: E2 62 00 [23:30:18]MH_I2C_Read... [23:30:18]Read from MH i2c: E2 62 00 02 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EC 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 38 [23:30:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EC 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:30:18]wFMCommunicate OK [23:30:18]SAM_PROTO_GetFieldsCounters done [23:30:18]requested_item shift.num is exist - process it [23:30:18]requested_item shift.opened is exist - process it [23:30:18]req_shift_opened [23:30:18]FM_GetShiftState [23:30:18]SAM_PROTO_GetShiftState [23:30:18]wFMCommunicate request_size=4 [23:30:18]MH_SAM_APDU [23:30:18]CAPDU: 80 13 01 00 [23:30:18]Write to MH i2c: E2 08 00 03 06 80 13 01 00 00 00 00 00 86 [23:30:18]Write i2c OK [23:30:18]MH_I2C_Read... [23:30:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:30:18]Read from MH i2c: E2 [23:30:18]MH_I2C_Read... [23:30:18]Read from MH i2c: E2 0E 00 [23:30:18]MH_I2C_Read... [23:30:18]Read from MH i2c: E2 0E 00 03 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 CB [23:30:18]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:30:18]wFMCommunicate OK [23:30:18]SAM_PROTO_GetShiftState done [23:30:18]FM_GetShiftState done [23:30:18]req_shift_opened done [23:30:18]requested_item shift.open_date is exist - process it [23:30:18]req_shift_open_date [23:30:18]req_shift_open_date done [23:30:18]produce_requested_data done [23:30:18]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15852,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [23:30:18]process_action_free close_receipt [23:30:18]json_value_free [23:30:18]json_value_free done [23:30:18]process_json_proto returns [23:30:18]Send response to host [23:30:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15852,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [23:30:18]free response buf [23:30:18]execute_script done [23:30:18]execute_script returns [23:30:18]free content buf [23:30:18]Sock 9.Close socket [23:30:18]Sock 9.Thread stoped [23:30:22]OFD Sender: No OFD packet to send [23:30:27]OFD Sender: No OFD packet to send [23:30:32]OFD Sender: No OFD packet to send [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:52]OFD Sender: No OFD packet to send [23:30:57]OFD Sender: No OFD packet to send [23:31:02]OFD Sender: No OFD packet to send [23:31:07]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:22]OFD Sender: No OFD packet to send [23:31:27]OFD Sender: No OFD packet to send [23:31:32]OFD Sender: No OFD packet to send [23:31:37]OFD Sender: No OFD packet to send [23:31:42]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:12]OFD Sender: No OFD packet to send [23:32:17]OFD Sender: No OFD packet to send [23:32:22]OFD Sender: No OFD packet to send [23:32:27]OFD Sender: No OFD packet to send [23:32:32]OFD Sender: No OFD packet to send [23:32:37]OFD Sender: No OFD packet to send [23:32:42]OFD Sender: No OFD packet to send [23:32:47]OFD Sender: No OFD packet to send [23:32:52]OFD Sender: No OFD packet to send [23:32:57]OFD Sender: No OFD packet to send [23:33:02]OFD Sender: No OFD packet to send [23:33:07]OFD Sender: No OFD packet to send [23:33:12]OFD Sender: No OFD packet to send [23:33:17]OFD Sender: No OFD packet to send [23:33:22]OFD Sender: No OFD packet to send [23:33:27]OFD Sender: No OFD packet to send [23:33:32]OFD Sender: No OFD packet to send [23:33:37]OFD Sender: No OFD packet to send [23:33:42]OFD Sender: No OFD packet to send [23:33:47]OFD Sender: No OFD packet to send [23:33:52]OFD Sender: No OFD packet to send [23:33:57]OFD Sender: No OFD packet to send [23:34:02]OFD Sender: No OFD packet to send [23:34:07]OFD Sender: No OFD packet to send [23:34:12]OFD Sender: No OFD packet to send [23:34:17]OFD Sender: No OFD packet to send [23:34:22]OFD Sender: No OFD packet to send [23:34:27]OFD Sender: No OFD packet to send [23:34:32]OFD Sender: No OFD packet to send [23:34:37]OFD Sender: No OFD packet to send [23:34:42]OFD Sender: No OFD packet to send [23:34:47]OFD Sender: No OFD packet to send [23:34:52]OFD Sender: No OFD packet to send [23:34:57]OFD Sender: No OFD packet to send [23:35:01]accept exits with 7 [23:35:01]New connection [23:35:01]New thread 3067391332 created [23:35:01]Thread 3067247972 joined [23:35:01]Waiting for new connection... [23:35:01] Sock 7.Parse request [23:35:01]Sock 7.Check first char [23:35:01]Sock 7.First char is OK [23:35:01]request: POST /json_proto HTTP/1.0 [23:35:01]Method: POST [23:35:01]URL: /json_proto [23:35:01]Method is POST - this is cgi request [23:35:01]url: /json_proto [23:35:01]query_string will be loaded in cgi processing [23:35:01]execute_cgi json_proto POST (null) [23:35:01]execute_cgi path=json_proto method=POST [23:35:01]POST find Content-Length [23:35:01]Host: 172.17.54.195:8080 [23:35:01]Content-Length: 684 [23:35:01]Content-Type: application/json [23:35:01] [23:35:01]POST finish read [23:35:01]Found Content-Length = 684 [23:35:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16404", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 33.340, "sum" : 1296.93, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 1296.00, "payments": [ { "type": 0, "sum" : 1296.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:35:01]execute_script... [23:35:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16404", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 33.340, "sum" : 1296.93, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 1296.00, "payments": [ { "type": 0, "sum" : 1296.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:35:01]POST & json_proto [23:35:01]process_json_proto [23:35:01]json parsed OK: [23:35:01]protocol is kg_v1.0 [23:35:01]action value=close_receipt [23:35:01]process_action close_receipt [23:35:01]cmd_close_receipt [23:35:01]MH_GetDate [23:35:01]Write to MH i2c: F0 00 00 04 06 F9 [23:35:01]Write i2c OK [23:35:01]MH_I2C_Read... [23:35:01]Read from MH i2c: F0 [23:35:01]MH_I2C_Read... [23:35:01]Read from MH i2c: F0 09 00 [23:35:01]MH_I2C_Read... [23:35:01]Read from MH i2c: F0 09 00 04 06 00 A7 C2 22 67 8D 90 A3 66 1A [23:35:01]GetLastDocTimeStamp 1730331015 [23:35:01]current date 1730331303 [23:35:01]FM_GetShiftState [23:35:01]SAM_PROTO_GetShiftState [23:35:01]wFMCommunicate request_size=4 [23:35:01]MH_SAM_APDU [23:35:01]CAPDU: 80 13 01 00 [23:35:01]Write to MH i2c: E2 08 00 05 06 80 13 01 00 00 00 00 00 88 [23:35:01]Write i2c OK [23:35:01]MH_I2C_Read... [23:35:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:35:01]Read from MH i2c: E2 [23:35:01]MH_I2C_Read... [23:35:01]Read from MH i2c: E2 0E 00 [23:35:01]MH_I2C_Read... [23:35:01]Read from MH i2c: E2 0E 00 05 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 CD [23:35:01]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:35:01]wFMCommunicate OK [23:35:01]SAM_PROTO_GetShiftState done [23:35:01]FM_GetShiftState done [23:35:01]opened in 1730247478 [23:35:01]opened+sec_in_day 1730333878 [23:35:01]quantity*price = 129692 [23:35:01]sum+1 = 129694 [23:35:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.93 ИТОГО: 1296.00 Внесено: 3000.00 СДАЧА: 1704.00 НСП 1% : 11.48 НДС 12% : 137.73 Наличными: 1296.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 63 30.10.2024 23:35 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15853 ФПД: 106974238040971 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T233503&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15853&fm=106974238040971&tin=02508201610067®Number=0000000000161798&sum=129600 [23:35:03]StoreToDocumentArchive [23:35:03]shift 173 fd 15853 [23:35:03]save to /storage/0173/doc_00015853 [23:35:03]save last doc name /storage/0173/doc_00015853 to /storage/kkm_last_doc_name [23:35:03]save OK [23:35:03]Clear old archive folders... [23:35:03]ProcessDocumentItem done err = 0, tmpTLVsize=250 [23:35:03]tlvbuf is 01F49350 [23:35:03]SAM_PROTO_ClearQueue [23:35:03]wFMCommunicate request_size=4 [23:35:03]MH_SAM_APDU [23:35:03]CAPDU: 80 09 00 00 [23:35:03]Write to MH i2c: E2 08 00 12 06 80 09 00 00 00 00 00 00 8A [23:35:03]Write i2c OK [23:35:03]MH_I2C_Read... [23:35:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:35:03]Read from MH i2c: E2 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 03 00 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 03 00 12 06 00 90 00 8C [23:35:03]RAPDU: 90 00 [23:35:03]wFMCommunicate OK [23:35:03]SAM_PROTO_ClearQueue done [23:35:03]KKMCreateOFDPacket [23:35:03]OFDProtocolAddRootSTLVToBuf [23:35:03]FM_MakeSignedData [23:35:03]FM_MakeSignedData [23:35:03]SAM_PROTO_SignData [23:35:03]wFMCommunicate request_size=4 [23:35:03]MH_SAM_APDU [23:35:03]CAPDU: 80 0D 01 02 [23:35:03]Write to MH i2c: E2 08 00 13 06 80 0D 01 02 00 00 00 00 92 [23:35:03]Write i2c OK [23:35:03]MH_I2C_Read... [23:35:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:35:03]Read from MH i2c: E2 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 03 00 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 03 00 13 06 00 90 00 8D [23:35:03]RAPDU: 90 00 [23:35:03]wFMCommunicate OK [23:35:03]wFMCommunicate request_size=255 [23:35:03]MH_SAM_APDU [23:35:03]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 3C 82 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 9D FA 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 FA 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 35 00 00 00 00 07 04 06 00 40 FA 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 A7 C2 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 ED 3D 00 00 35 04 06 00 61 4A [23:35:03]Write to MH i2c: E2 02 01 14 06 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 3C 82 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 9D FA 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 FA 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 35 00 00 00 00 07 04 06 00 40 FA 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 A7 C2 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 ED 3D 00 00 35 04 06 00 61 4A 00 00 88 [23:35:03]Write i2c OK [23:35:03]MH_I2C_Read... [23:35:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:35:03]Read from MH i2c: E2 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 03 00 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 03 00 14 06 00 90 00 8E [23:35:03]RAPDU: 90 00 [23:35:03]wFMCommunicate OK [23:35:03]wFMCommunicate request_size=9 [23:35:03]MH_SAM_APDU [23:35:03]CAPDU: 80 0D 02 02 04 E1 75 63 8B [23:35:03]Write to MH i2c: E2 0C 00 15 06 80 0D 02 02 04 00 E1 75 63 8B 00 00 E1 [23:35:03]Write i2c OK [23:35:03]MH_I2C_Read... [23:35:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:35:03]Read from MH i2c: E2 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 03 00 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 03 00 15 06 00 90 00 8F [23:35:03]RAPDU: 90 00 [23:35:03]wFMCommunicate OK [23:35:03]wFMCommunicate request_size=4 [23:35:03]MH_SAM_APDU [23:35:03]CAPDU: 80 0D 03 02 [23:35:03]Write to MH i2c: E2 08 00 16 06 80 0D 03 02 00 00 00 00 97 [23:35:03]Write i2c OK [23:35:03]MH_I2C_Read... [23:35:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:35:03]Read from MH i2c: E2 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 0B 00 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 0B 00 16 06 00 FD CA BD 78 04 AA 7E 0C 90 00 CC [23:35:03]RAPDU: FD CA BD 78 04 AA 7E 0C 90 00 [23:35:03]wFMCommunicate OK [23:35:03]SAM_PROTO_SignData done [23:35:03]FM_MakeSignedData done [23:35:03]CreateOFDProtocolMessage [23:35:03]wFMCommunicate request_size=4 [23:35:03]MH_SAM_APDU [23:35:03]CAPDU: 80 11 00 00 [23:35:03]Write to MH i2c: E2 08 00 17 06 80 11 00 00 00 00 00 00 97 [23:35:03]Write i2c OK [23:35:03]MH_I2C_Read... [23:35:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:35:03]Read from MH i2c: E2 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 17 00 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: E2 17 00 17 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 E6 [23:35:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:35:03]wFMCommunicate OK [23:35:03]CreateOFDProtocolMessage done [23:35:03]OFDSenderStorePacket 15853 [23:35:03]StoreOFDPacket docnum=15853 [23:35:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 DB 33 06 01 E1 AA 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 3C 82 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 9D FA 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 FA 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 35 00 00 00 00 07 04 06 00 40 FA 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 A7 C2 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 ED 3D 00 00 35 04 06 00 61 4A E1 75 63 8B FD CA BD 78 04 AA 7E 0C [23:35:03]CheckFolder [23:35:03]dirname=/storage/ofd_packets [23:35:03]CheckFolder done [23:35:03]ProducePacketName [23:35:03]name=ofd_packets/00015853 [23:35:03]NVStorageSaveData ofd_packets/00015853 [23:35:03]File name is /storage/ofd_packets/00015853 [23:35:03]Write 300 bytes [23:35:03]NVStorageSaveData done [23:35:03]OFDSenderStorePacket done [23:35:03]KKMCreateOFDPacket done [23:35:03]NVStorageSaveData kkm_last_timestamp [23:35:03]File name is /storage/kkm_last_timestamp [23:35:03]Write 4 bytes [23:35:03]NVStorageSaveData done [23:35:03]ExternCall_PrintAddStr [23:35:03]wPrintStart [23:35:03]Write to MH i2c: 01 00 00 18 06 1E [23:35:03]Write i2c OK [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: 01 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: 01 07 00 [23:35:03]MH_I2C_Read... [23:35:03]Read from MH i2c: 01 07 00 18 06 00 00 00 00 00 FF 0F 33 [23:35:03]RasterBufferAndPrint [23:35:03]line Счет N : (1)16404 [23:35:03]line ИНН: 02508201610067 [23:35:03]line Контрольно-Кассовый Чек [23:35:03]line ПРОДАЖА [23:35:03]line ТРК (МРК, ГНК) : 41 [23:35:03]line Товар: 2711190000 [23:35:03]line ГАЗ-К-5 [23:35:03]line 33.340 * 38.90 [23:35:03]line = 1296.93 [23:35:03]line НДС 12% НСП 1% [23:35:03]line > о реализуемом товаре [23:35:03]line ОКРУГЛЕНИЕ: -0.93 [23:35:03]line ИТОГО: 1296.00 [23:35:03]line Внесено: 3000.00 [23:35:03]line СДАЧА: 1704.00 [23:35:03]line НСП 1% : 11.48 [23:35:03]line НДС 12% : 137.73 [23:35:03]line Наличными: 1296.00 [23:35:03]line Безнал.: 0.00 [23:35:03]line Место: АЗС № 178 "Партнер Нефть" [23:35:03]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [23:35:03]line СНО: Общий режим [23:35:03]line Чек 63 30.10.2024 23:35 [23:35:03]line Смена: 173 ФФД: 1.0 [23:35:03]line ЗНМ: 0300000014 [23:35:03]line РНМ: 0000000000161798 [23:35:03]line Версия ККМ: v1.0 [23:35:03]line ФМ: 0000000000963325 [23:35:03]line ФД: 15853 [23:35:03]line ФПД: 106974238040971 [23:35:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T233503&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15853&fm=106974238040971&tin=02508201610067®Number=0000000000161798&sum=129600 [23:35:03]OFD Sender: Processing packet 15853 [packets to send 4, broken 3] [23:35:03]ProducePacketName [23:35:03]name=ofd_packets/00015853 [23:35:03]OFD Sender: To server: pG, [23:35:03]CommunicateWithHost lk.salyk.kg:30040 [23:35:03]ConnectInit lk.salyk.kg [23:35:03]written 0, free lines is 4095 [23:35:04]Connected sock=9 [23:35:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 DB 33 06 01 E1 AA 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 3C 82 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 9D FA 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 FA 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 35 00 00 00 00 07 04 06 00 40 FA 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 A7 C2 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 ED 3D 00 00 35 04 06 00 61 4A E1 75 63 8B FD CA BD 78 04 AA 7E 0C [23:35:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 35 51 47 00 41 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 ED 3D 00 00 F4 03 04 00 8F 6D 22 67 B6 04 01 00 00 5D 67 5B 14 CE 5C 11 F9 [23:35:04]CommunicateWithHost err = 0 [23:35:04]CheckOFDResponse [23:35:04]1017 (14) - 77093643461234 [23:35:04]1041 (16) - 0000000000963325 [23:35:04]1040 (4) - 15853 [23:35:04]1012 (4) - 30.10.2024 17:31 [23:35:04]1206 (1) - 0 [23:35:04]OFD Sender: Remove packet 15853 [23:35:04]ProducePacketName [23:35:04]name=ofd_packets/00015853 [23:35:04]NVStorageDeleteData [23:35:04]Write to MH i2c: 01 00 00 43 06 49 [23:35:04]Write i2c OK [23:35:04]MH_I2C_Read... [23:35:04]Read from MH i2c: 01 [23:35:04]MH_I2C_Read... [23:35:04]Read from MH i2c: 01 07 00 [23:35:04]MH_I2C_Read... [23:35:04]Read from MH i2c: 01 07 00 43 06 00 00 00 00 00 F6 0C 52 [23:35:04]RasterBufferAndPrint [23:35:04]line [23:35:04]line [23:35:04]line [23:35:04]line [23:35:04]line [23:35:04]written 0, free lines is 3324 [23:35:04]MH_Cut [23:35:04]Write to MH i2c: D1 01 00 4A 06 01 22 [23:35:04]Write i2c OK [23:35:04]MH_I2C_Read... [23:35:04]Read from MH i2c: D1 [23:35:04]MH_I2C_Read... [23:35:04]Read from MH i2c: D1 01 00 [23:35:04]MH_I2C_Read... [23:35:04]Read from MH i2c: D1 01 00 4A 06 00 21 [23:35:04]Write to MH i2c: 01 00 00 4B 06 51 [23:35:04]Write i2c OK [23:35:04]MH_I2C_Read... [23:35:04]OFD Sender: No OFD packet to send [23:35:05]*** Cut start [23:35:05]*** Partial cut [23:35:05]*** CUTSNS_PIN = 1 [23:35:05]*** CUTSNS_PIN = 0 [23:35:05]*** Brake cut motor [23:35:05]Read from MH i2c: 01 [23:35:05]MH_I2C_Read... [23:35:05]*** Stop cut motor [23:35:05]*** Cut end [23:35:05]Read from MH i2c: 01 07 00 [23:35:05]MH_I2C_Read... [23:35:05]Read from MH i2c: 01 07 00 4B 06 00 00 00 00 00 FF 0F 66 [23:35:05]process_action close_receipt done [23:35:05]requested_data is exist [23:35:05]produce_requested_data [23:35:05]requested_item fm.sn is exist - process it [23:35:05]wFMCommunicate request_size=4 [23:35:05]MH_SAM_APDU [23:35:05]CAPDU: 80 11 00 00 [23:35:05]Write to MH i2c: E2 08 00 4C 06 80 11 00 00 00 00 00 00 CC [23:35:05]Write i2c OK [23:35:05]MH_I2C_Read... [23:35:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:35:05]Read from MH i2c: E2 [23:35:05]MH_I2C_Read... [23:35:05]Read from MH i2c: E2 17 00 [23:35:05]MH_I2C_Read... [23:35:05]Read from MH i2c: E2 17 00 4C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 1B [23:35:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:35:05]wFMCommunicate OK [23:35:05]requested_item fd.num is exist - process it [23:35:05]SAM_PROTO_GetFieldsCounters [23:35:05]wFMCommunicate request_size=4 [23:35:05]MH_SAM_APDU [23:35:05]CAPDU: 80 13 00 00 [23:35:05]Write to MH i2c: E2 08 00 4D 06 80 13 00 00 00 00 00 00 CF [23:35:05]Write i2c OK [23:35:05]MH_I2C_Read... [23:35:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:35:05]Read from MH i2c: E2 [23:35:05]MH_I2C_Read... [23:35:05]Read from MH i2c: E2 62 00 [23:35:05]MH_I2C_Read... [23:35:05]Read from MH i2c: E2 62 00 4D 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 ED 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [23:35:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 ED 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:35:05]wFMCommunicate OK [23:35:05]SAM_PROTO_GetFieldsCounters done [23:35:05]requested_item shift.num is exist - process it [23:35:05]requested_item shift.opened is exist - process it [23:35:05]req_shift_opened [23:35:05]FM_GetShiftState [23:35:05]SAM_PROTO_GetShiftState [23:35:05]wFMCommunicate request_size=4 [23:35:05]MH_SAM_APDU [23:35:05]CAPDU: 80 13 01 00 [23:35:05]Write to MH i2c: E2 08 00 4E 06 80 13 01 00 00 00 00 00 D1 [23:35:05]Write i2c OK [23:35:05]MH_I2C_Read... [23:35:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:35:05]Read from MH i2c: E2 [23:35:05]MH_I2C_Read... [23:35:05]Read from MH i2c: E2 0E 00 [23:35:05]MH_I2C_Read... [23:35:05]Read from MH i2c: E2 0E 00 4E 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 16 [23:35:05]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:35:06]wFMCommunicate OK [23:35:06]SAM_PROTO_GetShiftState done [23:35:06]FM_GetShiftState done [23:35:06]req_shift_opened done [23:35:06]requested_item shift.open_date is exist - process it [23:35:06]req_shift_open_date [23:35:06]req_shift_open_date done [23:35:06]produce_requested_data done [23:35:06]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15853,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [23:35:06]process_action_free close_receipt [23:35:06]json_value_free [23:35:06]json_value_free done [23:35:06]process_json_proto returns [23:35:06]Send response to host [23:35:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15853,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [23:35:06]free response buf [23:35:06]execute_script done [23:35:06]execute_script returns [23:35:06]free content buf [23:35:06]Sock 7.Close socket [23:35:06]Sock 7.Thread stoped [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:15]accept exits with 10 [23:35:15]New connection [23:35:15]New thread 3067247972 created [23:35:15]Thread 3067391332 joined [23:35:15]Waiting for new connection... [23:35:15] Sock 10.Parse request [23:35:15]Sock 10.Check first char [23:35:15]Sock 10.First char is OK [23:35:15]request: POST /json_proto HTTP/1.0 [23:35:15]Method: POST [23:35:15]URL: /json_proto [23:35:15]Method is POST - this is cgi request [23:35:15]url: /json_proto [23:35:15]query_string will be loaded in cgi processing [23:35:15]execute_cgi json_proto POST (null) [23:35:15]execute_cgi path=json_proto method=POST [23:35:15]POST find Content-Length [23:35:15]Host: 172.17.54.195:8080 [23:35:15]Content-Length: 681 [23:35:15]Content-Type: application/json [23:35:15] [23:35:15]POST finish read [23:35:15]Found Content-Length = 681 [23:35:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16405", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 56.600, "sum" : 4199.72, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 4199.00, "payments": [ { "type": 0, "sum" : 4199.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:35:15]execute_script... [23:35:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16405", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 56.600, "sum" : 4199.72, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 4199.00, "payments": [ { "type": 0, "sum" : 4199.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:35:15]POST & json_proto [23:35:15]process_json_proto [23:35:15]json parsed OK: [23:35:15]protocol is kg_v1.0 [23:35:15]action value=close_receipt [23:35:15]process_action close_receipt [23:35:15]cmd_close_receipt [23:35:15]MH_GetDate [23:35:15]Write to MH i2c: F0 00 00 4F 06 44 [23:35:15]Write i2c OK [23:35:15]MH_I2C_Read... [23:35:15]Read from MH i2c: F0 [23:35:15]MH_I2C_Read... [23:35:15]Read from MH i2c: F0 09 00 [23:35:15]MH_I2C_Read... [23:35:15]Read from MH i2c: F0 09 00 4F 06 00 B4 C2 22 67 8D 90 A3 66 72 [23:35:15]GetLastDocTimeStamp 1730331303 [23:35:15]current date 1730331316 [23:35:15]FM_GetShiftState [23:35:15]SAM_PROTO_GetShiftState [23:35:15]wFMCommunicate request_size=4 [23:35:15]MH_SAM_APDU [23:35:15]CAPDU: 80 13 01 00 [23:35:15]Write to MH i2c: E2 08 00 50 06 80 13 01 00 00 00 00 00 D3 [23:35:15]Write i2c OK [23:35:15]MH_I2C_Read... [23:35:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:35:15]Read from MH i2c: E2 [23:35:15]MH_I2C_Read... [23:35:15]Read from MH i2c: E2 0E 00 [23:35:15]MH_I2C_Read... [23:35:15]Read from MH i2c: E2 0E 00 50 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 18 [23:35:15]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:35:15]wFMCommunicate OK [23:35:15]SAM_PROTO_GetShiftState done [23:35:15]FM_GetShiftState done [23:35:15]opened in 1730247478 [23:35:15]opened+sec_in_day 1730333878 [23:35:15]quantity*price = 419972 [23:35:15]sum+1 = 419973 [23:35:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.72 ИТОГО: 4199.00 Внесено: 5000.00 СДАЧА: 801.00 НСП 1% : 37.17 НДС 12% : 445.99 Наличными: 4199.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 64 30.10.2024 23:35 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15854 ФПД: 156602355100683 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T233516&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15854&fm=156602355100683&tin=02508201610067®Number=0000000000161798&sum=419900 [23:35:16]StoreToDocumentArchive [23:35:16]shift 173 fd 15854 [23:35:16]save to /storage/0173/doc_00015854 [23:35:16]save last doc name /storage/0173/doc_00015854 to /storage/kkm_last_doc_name [23:35:16]save OK [23:35:16]Clear old archive folders... [23:35:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:35:16]tlvbuf is 01F66BF0 [23:35:16]SAM_PROTO_ClearQueue [23:35:16]wFMCommunicate request_size=4 [23:35:16]MH_SAM_APDU [23:35:16]CAPDU: 80 09 00 00 [23:35:16]Write to MH i2c: E2 08 00 5D 06 80 09 00 00 00 00 00 00 D5 [23:35:16]Write i2c OK [23:35:16]MH_I2C_Read... [23:35:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:35:16]Read from MH i2c: E2 [23:35:16]MH_I2C_Read... [23:35:16]Read from MH i2c: E2 03 00 [23:35:16]MH_I2C_Read... [23:35:16]Read from MH i2c: E2 03 00 5D 06 00 90 00 D7 [23:35:16]RAPDU: 90 00 [23:35:16]wFMCommunicate OK [23:35:16]SAM_PROTO_ClearQueue done [23:35:16]KKMCreateOFDPacket [23:35:16]OFDProtocolAddRootSTLVToBuf [23:35:16]FM_MakeSignedData [23:35:16]FM_MakeSignedData [23:35:16]SAM_PROTO_SignData [23:35:16]wFMCommunicate request_size=4 [23:35:16]MH_SAM_APDU [23:35:16]CAPDU: 80 0D 01 02 [23:35:16]Write to MH i2c: E2 08 00 5E 06 80 0D 01 02 00 00 00 00 DD [23:35:16]Write i2c OK [23:35:16]MH_I2C_Read... [23:35:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:35:16]Read from MH i2c: E2 [23:35:16]MH_I2C_Read... [23:35:16]Read from MH i2c: E2 03 00 [23:35:16]MH_I2C_Read... [23:35:16]Read from MH i2c: E2 03 00 5E 06 00 90 00 D8 [23:35:16]RAPDU: 90 00 [23:35:16]wFMCommunicate OK [23:35:16]wFMCommunicate request_size=255 [23:35:16]MH_SAM_APDU [23:35:16]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 18 DD 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 68 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 68 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 AE 00 00 00 00 07 04 06 00 3C 68 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 B4 C2 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EE 3D 00 00 35 04 06 00 8E [23:35:16]Write to MH i2c: E2 02 01 5F 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 18 DD 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 68 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 68 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 AE 00 00 00 00 07 04 06 00 3C 68 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 B4 C2 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EE 3D 00 00 35 04 06 00 8E 00 00 5E [23:35:16]Write i2c OK [23:35:16]MH_I2C_Read... [23:35:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:35:17]Read from MH i2c: E2 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 03 00 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 03 00 5F 06 00 90 00 D9 [23:35:17]RAPDU: 90 00 [23:35:17]wFMCommunicate OK [23:35:17]wFMCommunicate request_size=10 [23:35:17]MH_SAM_APDU [23:35:17]CAPDU: 80 0D 02 02 05 6D D3 BF 2C 0B [23:35:17]Write to MH i2c: E2 0D 00 60 06 80 0D 02 02 05 00 6D D3 BF 2C 0B 00 00 20 [23:35:17]Write i2c OK [23:35:17]MH_I2C_Read... [23:35:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:35:17]Read from MH i2c: E2 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 03 00 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 03 00 60 06 00 90 00 DA [23:35:17]RAPDU: 90 00 [23:35:17]wFMCommunicate OK [23:35:17]wFMCommunicate request_size=4 [23:35:17]MH_SAM_APDU [23:35:17]CAPDU: 80 0D 03 02 [23:35:17]Write to MH i2c: E2 08 00 61 06 80 0D 03 02 00 00 00 00 E2 [23:35:17]Write i2c OK [23:35:17]MH_I2C_Read... [23:35:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:35:17]Read from MH i2c: E2 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 0B 00 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 0B 00 61 06 00 3E 27 91 29 E9 D4 01 38 90 00 F8 [23:35:17]RAPDU: 3E 27 91 29 E9 D4 01 38 90 00 [23:35:17]wFMCommunicate OK [23:35:17]SAM_PROTO_SignData done [23:35:17]FM_MakeSignedData done [23:35:17]CreateOFDProtocolMessage [23:35:17]wFMCommunicate request_size=4 [23:35:17]MH_SAM_APDU [23:35:17]CAPDU: 80 11 00 00 [23:35:17]Write to MH i2c: E2 08 00 62 06 80 11 00 00 00 00 00 00 E2 [23:35:17]Write i2c OK [23:35:17]MH_I2C_Read... [23:35:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:35:17]Read from MH i2c: E2 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 17 00 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 17 00 62 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 31 [23:35:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:35:17]wFMCommunicate OK [23:35:17]CreateOFDProtocolMessage done [23:35:17]OFDSenderStorePacket 15854 [23:35:17]StoreOFDPacket docnum=15854 [23:35:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 AE BD 07 01 1A 28 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 18 DD 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 68 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 68 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 AE 00 00 00 00 07 04 06 00 3C 68 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 B4 C2 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EE 3D 00 00 35 04 06 00 8E 6D D3 BF 2C 0B 3E 27 91 29 E9 D4 01 38 [23:35:17]CheckFolder [23:35:17]dirname=/storage/ofd_packets [23:35:17]CheckFolder done [23:35:17]ProducePacketName [23:35:17]name=ofd_packets/00015854 [23:35:17]NVStorageSaveData ofd_packets/00015854 [23:35:17]File name is /storage/ofd_packets/00015854 [23:35:17]Write 301 bytes [23:35:17]NVStorageSaveData done [23:35:17]OFDSenderStorePacket done [23:35:17]KKMCreateOFDPacket done [23:35:17]NVStorageSaveData kkm_last_timestamp [23:35:17]File name is /storage/kkm_last_timestamp [23:35:17]Write 4 bytes [23:35:17]NVStorageSaveData done [23:35:17]ExternCall_PrintAddStr [23:35:17]wPrintStart [23:35:17]Write to MH i2c: 01 00 00 63 06 69 [23:35:17]Write i2c OK [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: 01 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: 01 07 00 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: 01 07 00 63 06 00 00 00 00 00 FF 0F 7E [23:35:17]RasterBufferAndPrint [23:35:17]line Счет N : (1)16405 [23:35:17]line ИНН: 02508201610067 [23:35:17]line Контрольно-Кассовый Чек [23:35:17]line ПРОДАЖА [23:35:17]line ТРК (МРК, ГНК) : 11 [23:35:17]line Товар: 2710124500 [23:35:17]line Аи-95-К-5 [23:35:17]line 56.600 * 74.20 [23:35:17]line = 4199.72 [23:35:17]line НДС 12% НСП 1% [23:35:17]line > о реализуемом товаре [23:35:17]line ОКРУГЛЕНИЕ: -0.72 [23:35:17]line ИТОГО: 4199.00 [23:35:17]line Внесено: 5000.00 [23:35:17]line СДАЧА: 801.00 [23:35:17]line НСП 1% : 37.17 [23:35:17]line НДС 12% : 445.99 [23:35:17]line Наличными: 4199.00 [23:35:17]line Безнал.: 0.00 [23:35:17]line Место: АЗС № 178 "Партнер Нефть" [23:35:17]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [23:35:17]line СНО: Общий режим [23:35:17]line Чек 64 30.10.2024 23:35 [23:35:17]line Смена: 173 ФФД: 1.0 [23:35:17]line ЗНМ: 0300000014 [23:35:17]line РНМ: 0000000000161798 [23:35:17]line Версия ККМ: v1.0 [23:35:17]line ФМ: 0000000000963325 [23:35:17]line ФД: 15854 [23:35:17]line ФПД: 156602355100683 [23:35:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T233516&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15854&fm=156602355100683&tin=02508201610067®Number=0000000000161798&sum=419900 [23:35:17]OFD Sender: Processing packet 15854 [packets to send 4, broken 3] [23:35:17]ProducePacketName [23:35:17]name=ofd_packets/00015854 [23:35:17]OFD Sender: To server: pG, [23:35:17]CommunicateWithHost lk.salyk.kg:30040 [23:35:17]ConnectInit lk.salyk.kg [23:35:17]written 0, free lines is 4095 [23:35:17]Connected sock=11 [23:35:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 AE BD 07 01 1A 28 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 18 DD 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 84 68 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 68 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 AE 00 00 00 00 07 04 06 00 3C 68 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 B4 C2 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EE 3D 00 00 35 04 06 00 8E 6D D3 BF 2C 0B 3E 27 91 29 E9 D4 01 38 [23:35:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 A8 4E 47 00 85 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EE 3D 00 00 F4 03 04 00 9C 6D 22 67 B6 04 01 00 00 1A 70 DB F8 E1 18 4A 54 [23:35:17]CommunicateWithHost err = 0 [23:35:17]CheckOFDResponse [23:35:17]1017 (14) - 77093643461234 [23:35:17]1041 (16) - 0000000000963325 [23:35:17]1040 (4) - 15854 [23:35:17]1012 (4) - 30.10.2024 17:32 [23:35:17]1206 (1) - 0 [23:35:17]OFD Sender: Remove packet 15854 [23:35:17]ProducePacketName [23:35:17]name=ofd_packets/00015854 [23:35:17]NVStorageDeleteData [23:35:18]Write to MH i2c: 01 00 00 8E 06 94 [23:35:18]Write i2c OK [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: 01 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: 01 07 00 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: 01 07 00 8E 06 00 00 00 00 00 F6 0C 9D [23:35:18]RasterBufferAndPrint [23:35:18]line [23:35:18]line [23:35:18]line [23:35:18]line [23:35:18]line [23:35:18]written 0, free lines is 3326 [23:35:18]MH_Cut [23:35:18]Write to MH i2c: D1 01 00 95 06 01 6D [23:35:18]Write i2c OK [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: D1 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: D1 01 00 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: D1 01 00 95 06 00 6C [23:35:18]Write to MH i2c: 01 00 00 96 06 9C [23:35:18]Write i2c OK [23:35:18]MH_I2C_Read... [23:35:18]OFD Sender: No OFD packet to send [23:35:18]*** Cut start [23:35:18]*** Partial cut [23:35:18]*** CUTSNS_PIN = 1 [23:35:18]*** CUTSNS_PIN = 0 [23:35:19]*** Brake cut motor [23:35:19]Read from MH i2c: 01 [23:35:19]MH_I2C_Read... [23:35:19]*** Stop cut motor [23:35:19]*** Cut end [23:35:19]Read from MH i2c: 01 07 00 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: 01 07 00 96 06 00 00 00 00 00 FF 0F B1 [23:35:19]process_action close_receipt done [23:35:19]requested_data is exist [23:35:19]produce_requested_data [23:35:19]requested_item fm.sn is exist - process it [23:35:19]wFMCommunicate request_size=4 [23:35:19]MH_SAM_APDU [23:35:19]CAPDU: 80 11 00 00 [23:35:19]Write to MH i2c: E2 08 00 97 06 80 11 00 00 00 00 00 00 17 [23:35:19]Write i2c OK [23:35:19]MH_I2C_Read... [23:35:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:35:19]Read from MH i2c: E2 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 17 00 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 17 00 97 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 66 [23:35:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:35:19]wFMCommunicate OK [23:35:19]requested_item fd.num is exist - process it [23:35:19]SAM_PROTO_GetFieldsCounters [23:35:19]wFMCommunicate request_size=4 [23:35:19]MH_SAM_APDU [23:35:19]CAPDU: 80 13 00 00 [23:35:19]Write to MH i2c: E2 08 00 98 06 80 13 00 00 00 00 00 00 1A [23:35:19]Write i2c OK [23:35:19]MH_I2C_Read... [23:35:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:35:19]Read from MH i2c: E2 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 62 00 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 62 00 98 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EE 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [23:35:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EE 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:35:19]wFMCommunicate OK [23:35:19]SAM_PROTO_GetFieldsCounters done [23:35:19]requested_item shift.num is exist - process it [23:35:19]requested_item shift.opened is exist - process it [23:35:19]req_shift_opened [23:35:19]FM_GetShiftState [23:35:19]SAM_PROTO_GetShiftState [23:35:19]wFMCommunicate request_size=4 [23:35:19]MH_SAM_APDU [23:35:19]CAPDU: 80 13 01 00 [23:35:19]Write to MH i2c: E2 08 00 99 06 80 13 01 00 00 00 00 00 1C [23:35:19]Write i2c OK [23:35:19]MH_I2C_Read... [23:35:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:35:19]Read from MH i2c: E2 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 0E 00 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 0E 00 99 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 61 [23:35:19]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:35:19]wFMCommunicate OK [23:35:19]SAM_PROTO_GetShiftState done [23:35:19]FM_GetShiftState done [23:35:19]req_shift_opened done [23:35:19]requested_item shift.open_date is exist - process it [23:35:19]req_shift_open_date [23:35:19]req_shift_open_date done [23:35:19]produce_requested_data done [23:35:19]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15854,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [23:35:19]process_action_free close_receipt [23:35:19]json_value_free [23:35:19]json_value_free done [23:35:19]process_json_proto returns [23:35:19]Send response to host [23:35:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15854,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [23:35:19]free response buf [23:35:19]execute_script done [23:35:19]execute_script returns [23:35:19]free content buf [23:35:19]Sock 10.Close socket [23:35:19]Sock 10.Thread stoped [23:35:23]OFD Sender: No OFD packet to send [23:35:28]OFD Sender: No OFD packet to send [23:35:33]OFD Sender: No OFD packet to send [23:35:38]OFD Sender: No OFD packet to send [23:35:43]OFD Sender: No OFD packet to send [23:35:48]OFD Sender: No OFD packet to send [23:35:53]OFD Sender: No OFD packet to send [23:35:58]OFD Sender: No OFD packet to send [23:36:03]OFD Sender: No OFD packet to send [23:36:08]OFD Sender: No OFD packet to send [23:36:13]OFD Sender: No OFD packet to send [23:36:18]OFD Sender: No OFD packet to send [23:36:23]OFD Sender: No OFD packet to send [23:36:28]OFD Sender: No OFD packet to send [23:36:33]OFD Sender: No OFD packet to send [23:36:38]OFD Sender: No OFD packet to send [23:36:43]OFD Sender: No OFD packet to send [23:36:48]OFD Sender: No OFD packet to send [23:36:53]OFD Sender: No OFD packet to send [23:36:58]OFD Sender: No OFD packet to send [23:37:03]OFD Sender: No OFD packet to send [23:37:08]OFD Sender: No OFD packet to send [23:37:13]OFD Sender: No OFD packet to send [23:37:18]OFD Sender: No OFD packet to send [23:37:23]OFD Sender: No OFD packet to send [23:37:28]OFD Sender: No OFD packet to send [23:37:33]OFD Sender: No OFD packet to send [23:37:38]OFD Sender: No OFD packet to send [23:37:43]OFD Sender: No OFD packet to send [23:37:48]OFD Sender: No OFD packet to send [23:37:53]OFD Sender: No OFD packet to send [23:37:58]OFD Sender: No OFD packet to send [23:38:03]OFD Sender: No OFD packet to send [23:38:08]OFD Sender: No OFD packet to send [23:38:13]OFD Sender: No OFD packet to send [23:38:18]OFD Sender: No OFD packet to send [23:38:23]OFD Sender: No OFD packet to send [23:38:28]OFD Sender: No OFD packet to send [23:38:33]OFD Sender: No OFD packet to send [23:38:38]OFD Sender: No OFD packet to send [23:38:43]OFD Sender: No OFD packet to send [23:38:48]OFD Sender: No OFD packet to send [23:38:53]OFD Sender: No OFD packet to send [23:38:58]OFD Sender: No OFD packet to send [23:39:03]OFD Sender: No OFD packet to send [23:39:08]OFD Sender: No OFD packet to send [23:39:13]OFD Sender: No OFD packet to send [23:39:18]OFD Sender: No OFD packet to send [23:39:23]OFD Sender: No OFD packet to send [23:39:28]OFD Sender: No OFD packet to send [23:39:33]OFD Sender: No OFD packet to send [23:39:38]OFD Sender: No OFD packet to send [23:39:43]OFD Sender: No OFD packet to send [23:39:48]OFD Sender: No OFD packet to send [23:39:53]OFD Sender: No OFD packet to send [23:39:58]OFD Sender: No OFD packet to send [23:40:03]OFD Sender: No OFD packet to send [23:40:08]OFD Sender: No OFD packet to send [23:40:13]OFD Sender: No OFD packet to send [23:40:18]OFD Sender: No OFD packet to send [23:40:23]OFD Sender: No OFD packet to send [23:40:28]OFD Sender: No OFD packet to send [23:40:33]OFD Sender: No OFD packet to send [23:40:38]OFD Sender: No OFD packet to send [23:40:43]OFD Sender: No OFD packet to send [23:40:48]OFD Sender: No OFD packet to send [23:40:53]OFD Sender: No OFD packet to send [23:40:58]OFD Sender: No OFD packet to send [23:41:03]OFD Sender: No OFD packet to send [23:41:08]OFD Sender: No OFD packet to send [23:41:13]OFD Sender: No OFD packet to send [23:41:18]OFD Sender: No OFD packet to send [23:41:23]OFD Sender: No OFD packet to send [23:41:28]OFD Sender: No OFD packet to send [23:41:33]OFD Sender: No OFD packet to send [23:41:38]OFD Sender: No OFD packet to send [23:41:43]OFD Sender: No OFD packet to send [23:41:48]OFD Sender: No OFD packet to send [23:41:53]OFD Sender: No OFD packet to send [23:41:58]OFD Sender: No OFD packet to send [23:42:03]OFD Sender: No OFD packet to send [23:42:08]OFD Sender: No OFD packet to send [23:42:13]OFD Sender: No OFD packet to send [23:42:18]OFD Sender: No OFD packet to send [23:42:23]OFD Sender: No OFD packet to send [23:42:28]OFD Sender: No OFD packet to send [23:42:33]OFD Sender: No OFD packet to send [23:42:38]OFD Sender: No OFD packet to send [23:42:43]OFD Sender: No OFD packet to send [23:42:48]OFD Sender: No OFD packet to send [23:42:53]OFD Sender: No OFD packet to send [23:42:58]OFD Sender: No OFD packet to send [23:43:03]OFD Sender: No OFD packet to send [23:43:08]OFD Sender: No OFD packet to send [23:43:13]OFD Sender: No OFD packet to send [23:43:18]OFD Sender: No OFD packet to send [23:43:23]OFD Sender: No OFD packet to send [23:43:28]OFD Sender: No OFD packet to send [23:43:33]OFD Sender: No OFD packet to send [23:43:38]OFD Sender: No OFD packet to send [23:43:43]OFD Sender: No OFD packet to send [23:43:48]OFD Sender: No OFD packet to send [23:43:53]OFD Sender: No OFD packet to send [23:43:58]OFD Sender: No OFD packet to send [23:44:03]OFD Sender: No OFD packet to send [23:44:08]OFD Sender: No OFD packet to send [23:44:13]OFD Sender: No OFD packet to send [23:44:18]OFD Sender: No OFD packet to send [23:44:23]OFD Sender: No OFD packet to send [23:44:28]OFD Sender: No OFD packet to send [23:44:33]OFD Sender: No OFD packet to send [23:44:38]OFD Sender: No OFD packet to send [23:44:43]OFD Sender: No OFD packet to send [23:44:48]OFD Sender: No OFD packet to send [23:44:53]OFD Sender: No OFD packet to send [23:44:58]OFD Sender: No OFD packet to send [23:45:03]OFD Sender: No OFD packet to send [23:45:08]OFD Sender: No OFD packet to send [23:45:13]OFD Sender: No OFD packet to send [23:45:18]OFD Sender: No OFD packet to send [23:45:23]OFD Sender: No OFD packet to send [23:45:28]OFD Sender: No OFD packet to send [23:45:33]OFD Sender: No OFD packet to send [23:45:38]OFD Sender: No OFD packet to send [23:45:43]OFD Sender: No OFD packet to send [23:45:48]OFD Sender: No OFD packet to send [23:45:53]OFD Sender: No OFD packet to send [23:45:58]OFD Sender: No OFD packet to send [23:46:03]OFD Sender: No OFD packet to send [23:46:08]OFD Sender: No OFD packet to send [23:46:13]OFD Sender: No OFD packet to send [23:46:18]OFD Sender: No OFD packet to send [23:46:23]OFD Sender: No OFD packet to send [23:46:28]OFD Sender: No OFD packet to send [23:46:33]OFD Sender: No OFD packet to send [23:46:38]OFD Sender: No OFD packet to send [23:46:43]OFD Sender: No OFD packet to send [23:46:48]OFD Sender: No OFD packet to send [23:46:53]OFD Sender: No OFD packet to send [23:46:58]OFD Sender: No OFD packet to send [23:47:03]OFD Sender: No OFD packet to send [23:47:08]OFD Sender: No OFD packet to send [23:47:13]OFD Sender: No OFD packet to send [23:47:15]accept exits with 7 [23:47:15]New connection [23:47:15]New thread 3067391332 created [23:47:15]Thread 3067247972 joined [23:47:15]Waiting for new connection... [23:47:15] Sock 7.Parse request [23:47:15]Sock 7.Check first char [23:47:15]Sock 7.First char is OK [23:47:15]request: POST /json_proto HTTP/1.0 [23:47:15]Method: POST [23:47:15]URL: /json_proto [23:47:15]Method is POST - this is cgi request [23:47:15]url: /json_proto [23:47:15]query_string will be loaded in cgi processing [23:47:15]execute_cgi json_proto POST (null) [23:47:15]execute_cgi path=json_proto method=POST [23:47:15]POST find Content-Length [23:47:15]Host: 172.17.54.195:8080 [23:47:15]Content-Length: 667 [23:47:15]Content-Type: application/json [23:47:15] [23:47:15]POST finish read [23:47:15]Found Content-Length = 667 [23:47:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16406", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 11.700, "sum" : 800.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:15]execute_script... [23:47:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16406", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 11.700, "sum" : 800.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:47:15]POST & json_proto [23:47:15]process_json_proto [23:47:15]json parsed OK: [23:47:15]protocol is kg_v1.0 [23:47:15]action value=close_receipt [23:47:15]process_action close_receipt [23:47:15]cmd_close_receipt [23:47:15]MH_GetDate [23:47:15]Write to MH i2c: F0 00 00 9A 06 8F [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: F0 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: F0 09 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: F0 09 00 9A 06 00 84 C5 22 67 8D 90 A3 66 90 [23:47:15]GetLastDocTimeStamp 1730331316 [23:47:15]current date 1730332036 [23:47:15]FM_GetShiftState [23:47:15]SAM_PROTO_GetShiftState [23:47:15]wFMCommunicate request_size=4 [23:47:15]MH_SAM_APDU [23:47:15]CAPDU: 80 13 01 00 [23:47:15]Write to MH i2c: E2 08 00 9B 06 80 13 01 00 00 00 00 00 1E [23:47:15]Write i2c OK [23:47:15]MH_I2C_Read... [23:47:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:15]Read from MH i2c: E2 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 0E 00 [23:47:15]MH_I2C_Read... [23:47:15]Read from MH i2c: E2 0E 00 9B 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 63 [23:47:15]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:47:15]wFMCommunicate OK [23:47:15]SAM_PROTO_GetShiftState done [23:47:15]FM_GetShiftState done [23:47:15]opened in 1730247478 [23:47:15]opened+sec_in_day 1730333878 [23:47:15]quantity*price = 80028 [23:47:15]sum+1 = 80029 [23:47:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.28 ИТОГО: 800.00 Внесено: 800.00 СДАЧА: 0.00 НСП 1% : 7.08 НДС 12% : 84.98 Наличными: 800.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 65 30.10.2024 23:47 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15855 ФПД: 221506019662274 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T234716&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15855&fm=221506019662274&tin=02508201610067®Number=0000000000161798&sum=80000 [23:47:16]StoreToDocumentArchive [23:47:16]shift 173 fd 15855 [23:47:16]save to /storage/0173/doc_00015855 [23:47:16]save last doc name /storage/0173/doc_00015855 to /storage/kkm_last_doc_name [23:47:16]save OK [23:47:16]Clear old archive folders... [23:47:16]ProcessDocumentItem done err = 0, tmpTLVsize=249 [23:47:16]tlvbuf is 01F3A8B0 [23:47:16]SAM_PROTO_ClearQueue [23:47:16]wFMCommunicate request_size=4 [23:47:16]MH_SAM_APDU [23:47:16]CAPDU: 80 09 00 00 [23:47:16]Write to MH i2c: E2 08 00 A8 06 80 09 00 00 00 00 00 00 20 [23:47:16]Write i2c OK [23:47:16]MH_I2C_Read... [23:47:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:47:16]Read from MH i2c: E2 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 03 00 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 03 00 A8 06 00 90 00 22 [23:47:16]RAPDU: 90 00 [23:47:16]wFMCommunicate OK [23:47:16]SAM_PROTO_ClearQueue done [23:47:16]KKMCreateOFDPacket [23:47:16]OFDProtocolAddRootSTLVToBuf [23:47:16]FM_MakeSignedData [23:47:16]FM_MakeSignedData [23:47:16]SAM_PROTO_SignData [23:47:16]wFMCommunicate request_size=4 [23:47:16]MH_SAM_APDU [23:47:16]CAPDU: 80 0D 01 02 [23:47:16]Write to MH i2c: E2 08 00 A9 06 80 0D 01 02 00 00 00 00 28 [23:47:16]Write i2c OK [23:47:16]MH_I2C_Read... [23:47:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:47:16]Read from MH i2c: E2 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 03 00 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 03 00 A9 06 00 90 00 23 [23:47:16]RAPDU: 90 00 [23:47:16]wFMCommunicate OK [23:47:16]wFMCommunicate request_size=255 [23:47:16]MH_SAM_APDU [23:47:16]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B4 2D 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9C 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 80 38 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 84 C5 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EF 3D 00 00 35 04 06 00 C9 75 63 [23:47:16]Write to MH i2c: E2 02 01 AA 06 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B4 2D 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9C 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 80 38 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 84 C5 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EF 3D 00 00 35 04 06 00 C9 75 63 00 00 CA [23:47:16]Write i2c OK [23:47:16]MH_I2C_Read... [23:47:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:16]Read from MH i2c: E2 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 03 00 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 03 00 AA 06 00 90 00 24 [23:47:16]RAPDU: 90 00 [23:47:16]wFMCommunicate OK [23:47:16]wFMCommunicate request_size=8 [23:47:16]MH_SAM_APDU [23:47:16]CAPDU: 80 0D 02 02 03 9E 19 C2 [23:47:16]Write to MH i2c: E2 0B 00 AB 06 80 0D 02 02 03 00 9E 19 C2 00 00 AA [23:47:16]Write i2c OK [23:47:16]MH_I2C_Read... [23:47:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:47:16]Read from MH i2c: E2 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 03 00 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 03 00 AB 06 00 90 00 25 [23:47:16]RAPDU: 90 00 [23:47:16]wFMCommunicate OK [23:47:16]wFMCommunicate request_size=4 [23:47:16]MH_SAM_APDU [23:47:16]CAPDU: 80 0D 03 02 [23:47:16]Write to MH i2c: E2 08 00 AC 06 80 0D 03 02 00 00 00 00 2D [23:47:16]Write i2c OK [23:47:16]MH_I2C_Read... [23:47:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:47:16]Read from MH i2c: E2 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 0B 00 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 0B 00 AC 06 00 BA 2C 07 35 68 BD 33 CC 90 00 74 [23:47:16]RAPDU: BA 2C 07 35 68 BD 33 CC 90 00 [23:47:16]wFMCommunicate OK [23:47:16]SAM_PROTO_SignData done [23:47:16]FM_MakeSignedData done [23:47:16]CreateOFDProtocolMessage [23:47:16]wFMCommunicate request_size=4 [23:47:16]MH_SAM_APDU [23:47:16]CAPDU: 80 11 00 00 [23:47:16]Write to MH i2c: E2 08 00 AD 06 80 11 00 00 00 00 00 00 2D [23:47:16]Write i2c OK [23:47:16]MH_I2C_Read... [23:47:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:16]Read from MH i2c: E2 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 17 00 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: E2 17 00 AD 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 7C [23:47:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:47:16]wFMCommunicate OK [23:47:16]CreateOFDProtocolMessage done [23:47:16]OFDSenderStorePacket 15855 [23:47:16]StoreOFDPacket docnum=15855 [23:47:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 F7 9B 05 01 D9 42 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B4 2D 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9C 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 80 38 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 84 C5 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EF 3D 00 00 35 04 06 00 C9 75 63 9E 19 C2 BA 2C 07 35 68 BD 33 CC [23:47:16]CheckFolder [23:47:16]dirname=/storage/ofd_packets [23:47:16]CheckFolder done [23:47:16]ProducePacketName [23:47:16]name=ofd_packets/00015855 [23:47:16]NVStorageSaveData ofd_packets/00015855 [23:47:16]File name is /storage/ofd_packets/00015855 [23:47:16]Write 299 bytes [23:47:16]NVStorageSaveData done [23:47:16]OFDSenderStorePacket done [23:47:16]KKMCreateOFDPacket done [23:47:16]NVStorageSaveData kkm_last_timestamp [23:47:16]File name is /storage/kkm_last_timestamp [23:47:16]Write 4 bytes [23:47:16]NVStorageSaveData done [23:47:16]ExternCall_PrintAddStr [23:47:16]wPrintStart [23:47:16]Write to MH i2c: 01 00 00 AE 06 B4 [23:47:16]Write i2c OK [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: 01 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: 01 07 00 [23:47:16]MH_I2C_Read... [23:47:16]Read from MH i2c: 01 07 00 AE 06 00 00 00 00 00 FF 0F C9 [23:47:16]RasterBufferAndPrint [23:47:16]line Счет N : (1)16406 [23:47:16]line ИНН: 02508201610067 [23:47:16]line Контрольно-Кассовый Чек [23:47:16]line ПРОДАЖА [23:47:16]line ТРК (МРК, ГНК) : 12 [23:47:16]line Товар: 50.50.0 [23:47:16]line SUPER 92-К-5 [23:47:16]line 11.700 * 68.40 [23:47:16]line = 800.28 [23:47:16]line НДС 12% НСП 1% [23:47:16]line > о реализуемом товаре [23:47:16]line ОКРУГЛЕНИЕ: -0.28 [23:47:16]line ИТОГО: 800.00 [23:47:16]line Внесено: 800.00 [23:47:16]line СДАЧА: 0.00 [23:47:16]line НСП 1% : 7.08 [23:47:16]line НДС 12% : 84.98 [23:47:16]line Наличными: 800.00 [23:47:16]line Безнал.: 0.00 [23:47:16]line Место: АЗС № 178 "Партнер Нефть" [23:47:16]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [23:47:16]line СНО: Общий режим [23:47:16]line Чек 65 30.10.2024 23:47 [23:47:16]line Смена: 173 ФФД: 1.0 [23:47:16]line ЗНМ: 0300000014 [23:47:16]line РНМ: 0000000000161798 [23:47:16]line Версия ККМ: v1.0 [23:47:16]line ФМ: 0000000000963325 [23:47:16]line ФД: 15855 [23:47:17]line ФПД: 221506019662274 [23:47:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T234716&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15855&fm=221506019662274&tin=02508201610067®Number=0000000000161798&sum=80000 [23:47:17]OFD Sender: Processing packet 15855 [packets to send 4, broken 3] [23:47:17]ProducePacketName [23:47:17]name=ofd_packets/00015855 [23:47:17]OFD Sender: To server: pG, [23:47:17]CommunicateWithHost lk.salyk.kg:30040 [23:47:17]ConnectInit lk.salyk.kg [23:47:17]written 0, free lines is 4095 [23:47:17]Connected sock=10 [23:47:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 F7 9B 05 01 D9 42 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 B4 2D 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9C 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 32 21 00 00 00 00 07 04 06 00 80 38 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 84 C5 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EF 3D 00 00 35 04 06 00 C9 75 63 9E 19 C2 BA 2C 07 35 68 BD 33 CC [23:47:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 ED 3E 47 00 C7 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 EF 3D 00 00 F4 03 04 00 6C 70 22 67 B6 04 01 00 00 F3 AA EE 01 BF 79 44 12 [23:47:17]CommunicateWithHost err = 0 [23:47:17]CheckOFDResponse [23:47:17]1017 (14) - 77093643461234 [23:47:17]1041 (16) - 0000000000963325 [23:47:17]1040 (4) - 15855 [23:47:17]1012 (4) - 30.10.2024 17:44 [23:47:17]1206 (1) - 0 [23:47:17]OFD Sender: Remove packet 15855 [23:47:17]ProducePacketName [23:47:17]name=ofd_packets/00015855 [23:47:17]NVStorageDeleteData [23:47:17]Write to MH i2c: 01 00 00 D9 06 DF [23:47:17]Write i2c OK [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: 01 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: 01 07 00 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: 01 07 00 D9 06 00 00 00 00 00 F6 0C E8 [23:47:17]RasterBufferAndPrint [23:47:17]line [23:47:17]line [23:47:17]line [23:47:17]line [23:47:17]line [23:47:17]written 0, free lines is 3325 [23:47:17]MH_Cut [23:47:17]Write to MH i2c: D1 01 00 E0 06 01 B8 [23:47:17]Write i2c OK [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: D1 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: D1 01 00 [23:47:17]MH_I2C_Read... [23:47:17]Read from MH i2c: D1 01 00 E0 06 00 B7 [23:47:17]Write to MH i2c: 01 00 00 E1 06 E7 [23:47:17]Write i2c OK [23:47:17]MH_I2C_Read... [23:47:17]OFD Sender: No OFD packet to send [23:47:18]*** Cut start [23:47:18]*** Partial cut [23:47:18]*** CUTSNS_PIN = 1 [23:47:18]*** CUTSNS_PIN = 0 [23:47:18]*** Brake cut motor [23:47:18]Read from MH i2c: 01 [23:47:18]MH_I2C_Read... [23:47:18]*** Stop cut motor [23:47:18]*** Cut end [23:47:18]Read from MH i2c: 01 07 00 [23:47:18]MH_I2C_Read... [23:47:18]Read from MH i2c: 01 07 00 E1 06 00 00 00 00 00 FF 0F FC [23:47:18]process_action close_receipt done [23:47:18]requested_data is exist [23:47:18]produce_requested_data [23:47:18]requested_item fm.sn is exist - process it [23:47:18]wFMCommunicate request_size=4 [23:47:18]MH_SAM_APDU [23:47:18]CAPDU: 80 11 00 00 [23:47:18]Write to MH i2c: E2 08 00 E2 06 80 11 00 00 00 00 00 00 62 [23:47:18]Write i2c OK [23:47:18]MH_I2C_Read... [23:47:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:47:19]Read from MH i2c: E2 [23:47:19]MH_I2C_Read... [23:47:19]Read from MH i2c: E2 17 00 [23:47:19]MH_I2C_Read... [23:47:19]Read from MH i2c: E2 17 00 E2 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 B1 [23:47:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:47:19]wFMCommunicate OK [23:47:19]requested_item fd.num is exist - process it [23:47:19]SAM_PROTO_GetFieldsCounters [23:47:19]wFMCommunicate request_size=4 [23:47:19]MH_SAM_APDU [23:47:19]CAPDU: 80 13 00 00 [23:47:19]Write to MH i2c: E2 08 00 E3 06 80 13 00 00 00 00 00 00 65 [23:47:19]Write i2c OK [23:47:19]MH_I2C_Read... [23:47:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:47:19]Read from MH i2c: E2 [23:47:19]MH_I2C_Read... [23:47:19]Read from MH i2c: E2 62 00 [23:47:19]MH_I2C_Read... [23:47:19]Read from MH i2c: E2 62 00 E3 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EF 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 25 [23:47:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 EF 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:47:19]wFMCommunicate OK [23:47:19]SAM_PROTO_GetFieldsCounters done [23:47:19]requested_item shift.num is exist - process it [23:47:19]requested_item shift.opened is exist - process it [23:47:19]req_shift_opened [23:47:19]FM_GetShiftState [23:47:19]SAM_PROTO_GetShiftState [23:47:19]wFMCommunicate request_size=4 [23:47:19]MH_SAM_APDU [23:47:19]CAPDU: 80 13 01 00 [23:47:19]Write to MH i2c: E2 08 00 E4 06 80 13 01 00 00 00 00 00 67 [23:47:19]Write i2c OK [23:47:19]MH_I2C_Read... [23:47:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:47:19]Read from MH i2c: E2 [23:47:19]MH_I2C_Read... [23:47:19]Read from MH i2c: E2 0E 00 [23:47:19]MH_I2C_Read... [23:47:19]Read from MH i2c: E2 0E 00 E4 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 AC [23:47:19]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:47:19]wFMCommunicate OK [23:47:19]SAM_PROTO_GetShiftState done [23:47:19]FM_GetShiftState done [23:47:19]req_shift_opened done [23:47:19]requested_item shift.open_date is exist - process it [23:47:19]req_shift_open_date [23:47:19]req_shift_open_date done [23:47:19]produce_requested_data done [23:47:19]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15855,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [23:47:19]process_action_free close_receipt [23:47:19]json_value_free [23:47:19]json_value_free done [23:47:19]process_json_proto returns [23:47:19]Send response to host [23:47:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15855,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [23:47:19]free response buf [23:47:19]execute_script done [23:47:19]execute_script returns [23:47:19]free content buf [23:47:19]Sock 7.Close socket [23:47:19]Sock 7.Thread stoped [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:18]OFD Sender: No OFD packet to send [23:49:23]OFD Sender: No OFD packet to send [23:49:28]OFD Sender: No OFD packet to send [23:49:33]OFD Sender: No OFD packet to send [23:49:38]OFD Sender: No OFD packet to send [23:49:43]OFD Sender: No OFD packet to send [23:49:48]OFD Sender: No OFD packet to send [23:49:53]OFD Sender: No OFD packet to send [23:49:58]OFD Sender: No OFD packet to send [23:50:00]accept exits with 9 [23:50:00]New connection [23:50:00]New thread 3067247972 created [23:50:00]Thread 3067391332 joined [23:50:00]Waiting for new connection... [23:50:00] Sock 9.Parse request [23:50:00]Sock 9.Check first char [23:50:00]Sock 9.First char is OK [23:50:00]request: POST /json_proto HTTP/1.0 [23:50:00]Method: POST [23:50:00]URL: /json_proto [23:50:00]Method is POST - this is cgi request [23:50:00]url: /json_proto [23:50:00]query_string will be loaded in cgi processing [23:50:00]execute_cgi json_proto POST (null) [23:50:00]execute_cgi path=json_proto method=POST [23:50:00]POST find Content-Length [23:50:00]Host: 172.17.54.195:8080 [23:50:00]Content-Length: 684 [23:50:00]Content-Type: application/json [23:50:00] [23:50:00]POST finish read [23:50:00]Found Content-Length = 684 [23:50:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16407", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 25.710, "sum" : 1000.12, "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" ] } } [23:50:00]execute_script... [23:50:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16407", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 25.710, "sum" : 1000.12, "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" ] } } [23:50:00]POST & json_proto [23:50:00]process_json_proto [23:50:00]json parsed OK: [23:50:00]protocol is kg_v1.0 [23:50:00]action value=close_receipt [23:50:00]process_action close_receipt [23:50:00]cmd_close_receipt [23:50:00]MH_GetDate [23:50:00]Write to MH i2c: F0 00 00 E5 06 DA [23:50:00]Write i2c OK [23:50:00]MH_I2C_Read... [23:50:00]Read from MH i2c: F0 [23:50:00]MH_I2C_Read... [23:50:00]Read from MH i2c: F0 09 00 [23:50:00]MH_I2C_Read... [23:50:00]Read from MH i2c: F0 09 00 E5 06 00 2A C6 22 67 8D 90 A3 66 82 [23:50:00]GetLastDocTimeStamp 1730332036 [23:50:00]current date 1730332202 [23:50:00]FM_GetShiftState [23:50:00]SAM_PROTO_GetShiftState [23:50:00]wFMCommunicate request_size=4 [23:50:00]MH_SAM_APDU [23:50:00]CAPDU: 80 13 01 00 [23:50:00]Write to MH i2c: E2 08 00 E6 06 80 13 01 00 00 00 00 00 69 [23:50:01]Write i2c OK [23:50:01]MH_I2C_Read... [23:50:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:50:01]Read from MH i2c: E2 [23:50:01]MH_I2C_Read... [23:50:01]Read from MH i2c: E2 0E 00 [23:50:01]MH_I2C_Read... [23:50:01]Read from MH i2c: E2 0E 00 E6 06 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 AE [23:50:01]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:50:01]wFMCommunicate OK [23:50:01]SAM_PROTO_GetShiftState done [23:50:01]FM_GetShiftState done [23:50:01]opened in 1730247478 [23:50:01]opened+sec_in_day 1730333878 [23:50:01]quantity*price = 100011 [23:50:01]sum+1 = 100013 [23:50:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.12 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 66 30.10.2024 23:50 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15856 ФПД: 121199349058209 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T235002&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15856&fm=121199349058209&tin=02508201610067®Number=0000000000161798&sum=100000 [23:50:02]StoreToDocumentArchive [23:50:02]shift 173 fd 15856 [23:50:02]save to /storage/0173/doc_00015856 [23:50:02]save last doc name /storage/0173/doc_00015856 to /storage/kkm_last_doc_name [23:50:02]save OK [23:50:02]Clear old archive folders... [23:50:02]ProcessDocumentItem done err = 0, tmpTLVsize=250 [23:50:02]tlvbuf is 01F4A4A0 [23:50:02]SAM_PROTO_ClearQueue [23:50:02]wFMCommunicate request_size=4 [23:50:02]MH_SAM_APDU [23:50:02]CAPDU: 80 09 00 00 [23:50:02]Write to MH i2c: E2 08 00 F3 06 80 09 00 00 00 00 00 00 6B [23:50:02]Write i2c OK [23:50:02]MH_I2C_Read... [23:50:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:50:02]Read from MH i2c: E2 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 03 00 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 03 00 F3 06 00 90 00 6D [23:50:02]RAPDU: 90 00 [23:50:02]wFMCommunicate OK [23:50:02]SAM_PROTO_ClearQueue done [23:50:02]KKMCreateOFDPacket [23:50:02]OFDProtocolAddRootSTLVToBuf [23:50:02]FM_MakeSignedData [23:50:02]FM_MakeSignedData [23:50:02]SAM_PROTO_SignData [23:50:02]wFMCommunicate request_size=4 [23:50:02]MH_SAM_APDU [23:50:02]CAPDU: 80 0D 01 02 [23:50:02]Write to MH i2c: E2 08 00 F4 06 80 0D 01 02 00 00 00 00 73 [23:50:02]Write i2c OK [23:50:02]MH_I2C_Read... [23:50:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:50:02]Read from MH i2c: E2 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 03 00 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 03 00 F4 06 00 90 00 6E [23:50:02]RAPDU: 90 00 [23:50:02]wFMCommunicate OK [23:50:02]wFMCommunicate request_size=255 [23:50:02]MH_SAM_APDU [23:50:02]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 6E 64 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 AC 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 7D 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 42 00 00 00 F4 03 04 00 2A C6 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F0 3D 00 00 35 04 06 00 6E 3A [23:50:02]Write to MH i2c: E2 02 01 F5 06 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 6E 64 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 AC 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 7D 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 42 00 00 00 F4 03 04 00 2A C6 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F0 3D 00 00 35 04 06 00 6E 3A 00 00 16 [23:50:02]Write i2c OK [23:50:02]MH_I2C_Read... [23:50:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:50:02]Read from MH i2c: E2 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 03 00 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 03 00 F5 06 00 90 00 6F [23:50:02]RAPDU: 90 00 [23:50:02]wFMCommunicate OK [23:50:02]wFMCommunicate request_size=9 [23:50:02]MH_SAM_APDU [23:50:02]CAPDU: 80 0D 02 02 04 EC 25 CA A1 [23:50:02]Write to MH i2c: E2 0C 00 F6 06 80 0D 02 02 04 00 EC 25 CA A1 00 00 FA [23:50:02]Write i2c OK [23:50:02]MH_I2C_Read... [23:50:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:50:02]Read from MH i2c: E2 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 03 00 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 03 00 F6 06 00 90 00 70 [23:50:02]RAPDU: 90 00 [23:50:02]wFMCommunicate OK [23:50:02]wFMCommunicate request_size=4 [23:50:02]MH_SAM_APDU [23:50:02]CAPDU: 80 0D 03 02 [23:50:02]Write to MH i2c: E2 08 00 F7 06 80 0D 03 02 00 00 00 00 78 [23:50:02]Write i2c OK [23:50:02]MH_I2C_Read... [23:50:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:50:02]Read from MH i2c: E2 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 0B 00 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 0B 00 F7 06 00 BF 89 0C D7 E0 1F 4A D2 90 00 BF [23:50:02]RAPDU: BF 89 0C D7 E0 1F 4A D2 90 00 [23:50:02]wFMCommunicate OK [23:50:02]SAM_PROTO_SignData done [23:50:02]FM_MakeSignedData done [23:50:02]CreateOFDProtocolMessage [23:50:02]wFMCommunicate request_size=4 [23:50:02]MH_SAM_APDU [23:50:02]CAPDU: 80 11 00 00 [23:50:02]Write to MH i2c: E2 08 00 F8 06 80 11 00 00 00 00 00 00 78 [23:50:02]Write i2c OK [23:50:02]MH_I2C_Read... [23:50:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:50:02]Read from MH i2c: E2 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 17 00 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: E2 17 00 F8 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 C7 [23:50:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:50:02]wFMCommunicate OK [23:50:02]CreateOFDProtocolMessage done [23:50:02]OFDSenderStorePacket 15856 [23:50:02]StoreOFDPacket docnum=15856 [23:50:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 67 52 06 01 8F BF 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 6E 64 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 AC 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 7D 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 42 00 00 00 F4 03 04 00 2A C6 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F0 3D 00 00 35 04 06 00 6E 3A EC 25 CA A1 BF 89 0C D7 E0 1F 4A D2 [23:50:02]CheckFolder [23:50:02]dirname=/storage/ofd_packets [23:50:02]CheckFolder done [23:50:02]ProducePacketName [23:50:02]name=ofd_packets/00015856 [23:50:02]NVStorageSaveData ofd_packets/00015856 [23:50:02]File name is /storage/ofd_packets/00015856 [23:50:02]Write 300 bytes [23:50:02]NVStorageSaveData done [23:50:02]OFDSenderStorePacket done [23:50:02]KKMCreateOFDPacket done [23:50:02]NVStorageSaveData kkm_last_timestamp [23:50:02]File name is /storage/kkm_last_timestamp [23:50:02]Write 4 bytes [23:50:02]NVStorageSaveData done [23:50:02]ExternCall_PrintAddStr [23:50:02]wPrintStart [23:50:02]Write to MH i2c: 01 00 00 F9 06 FF [23:50:02]Write i2c OK [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: 01 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: 01 07 00 [23:50:02]MH_I2C_Read... [23:50:02]Read from MH i2c: 01 07 00 F9 06 00 00 00 00 00 FF 0F 14 [23:50:02]RasterBufferAndPrint [23:50:02]line Счет N : (1)16407 [23:50:02]line ИНН: 02508201610067 [23:50:02]line Контрольно-Кассовый Чек [23:50:02]line ПРОДАЖА [23:50:02]line ТРК (МРК, ГНК) : 41 [23:50:02]line Товар: 2711190000 [23:50:02]line ГАЗ-К-5 [23:50:02]line 25.710 * 38.90 [23:50:02]line = 1000.12 [23:50:02]line НДС 12% НСП 1% [23:50:02]line > о реализуемом товаре [23:50:02]line ОКРУГЛЕНИЕ: -0.12 [23:50:02]line ИТОГО: 1000.00 [23:50:02]line Внесено: 1000.00 [23:50:02]line СДАЧА: 0.00 [23:50:02]line НСП 1% : 8.85 [23:50:02]line НДС 12% : 106.21 [23:50:02]line Наличными: 1000.00 [23:50:02]line Безнал.: 0.00 [23:50:02]line Место: АЗС № 178 "Партнер Нефть" [23:50:02]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [23:50:02]line СНО: Общий режим [23:50:02]line Чек 66 30.10.2024 23:50 [23:50:02]line Смена: 173 ФФД: 1.0 [23:50:02]line ЗНМ: 0300000014 [23:50:02]line РНМ: 0000000000161798 [23:50:02]line Версия ККМ: v1.0 [23:50:02]line ФМ: 0000000000963325 [23:50:02]line ФД: 15856 [23:50:02]line ФПД: 121199349058209 [23:50:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T235002&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15856&fm=121199349058209&tin=02508201610067®Number=0000000000161798&sum=100000 [23:50:02]OFD Sender: Processing packet 15856 [packets to send 4, broken 3] [23:50:02]ProducePacketName [23:50:02]name=ofd_packets/00015856 [23:50:02]OFD Sender: To server: pG, [23:50:02]CommunicateWithHost lk.salyk.kg:30040 [23:50:02]ConnectInit lk.salyk.kg [23:50:02]written 0, free lines is 4095 [23:50:03]Connected sock=10 [23:50:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 67 52 06 01 8F BF 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 6E 64 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 AC 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 7D 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 42 00 00 00 F4 03 04 00 2A C6 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F0 3D 00 00 35 04 06 00 6E 3A EC 25 CA A1 BF 89 0C D7 E0 1F 4A D2 [23:50:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 B3 65 47 00 66 E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F0 3D 00 00 F4 03 04 00 12 71 22 67 B6 04 01 00 00 25 0D 1A A3 B7 40 58 DD [23:50:03]CommunicateWithHost err = 0 [23:50:03]CheckOFDResponse [23:50:03]1017 (14) - 77093643461234 [23:50:03]1041 (16) - 0000000000963325 [23:50:03]1040 (4) - 15856 [23:50:03]1012 (4) - 30.10.2024 17:46 [23:50:03]1206 (1) - 0 [23:50:03]OFD Sender: Remove packet 15856 [23:50:03]ProducePacketName [23:50:03]name=ofd_packets/00015856 [23:50:03]NVStorageDeleteData [23:50:03]Write to MH i2c: 01 00 00 24 07 2B [23:50:03]Write i2c OK [23:50:03]MH_I2C_Read... [23:50:03]Read from MH i2c: 01 [23:50:03]MH_I2C_Read... [23:50:03]Read from MH i2c: 01 07 00 [23:50:03]MH_I2C_Read... [23:50:03]Read from MH i2c: 01 07 00 24 07 00 00 00 00 00 EB 0C 29 [23:50:03]RasterBufferAndPrint [23:50:03]line [23:50:03]line [23:50:03]line [23:50:03]line [23:50:03]line [23:50:03]written 0, free lines is 3313 [23:50:03]MH_Cut [23:50:03]Write to MH i2c: D1 01 00 2B 07 01 04 [23:50:03]Write i2c OK [23:50:03]MH_I2C_Read... [23:50:03]Read from MH i2c: D1 [23:50:03]MH_I2C_Read... [23:50:03]Read from MH i2c: D1 01 00 [23:50:03]MH_I2C_Read... [23:50:03]Read from MH i2c: D1 01 00 2B 07 00 03 [23:50:03]Write to MH i2c: 01 00 00 2C 07 33 [23:50:03]Write i2c OK [23:50:03]MH_I2C_Read... [23:50:03]OFD Sender: No OFD packet to send [23:50:04]*** Cut start [23:50:04]*** Partial cut [23:50:04]*** CUTSNS_PIN = 1 [23:50:04]*** CUTSNS_PIN = 0 [23:50:04]*** Brake cut motor [23:50:04]Read from MH i2c: 01 [23:50:04]MH_I2C_Read... [23:50:04]*** Stop cut motor [23:50:04]*** Cut end [23:50:04]Read from MH i2c: 01 07 00 [23:50:04]MH_I2C_Read... [23:50:04]Read from MH i2c: 01 07 00 2C 07 00 00 00 00 00 FF 0F 48 [23:50:04]process_action close_receipt done [23:50:04]requested_data is exist [23:50:04]produce_requested_data [23:50:04]requested_item fm.sn is exist - process it [23:50:04]wFMCommunicate request_size=4 [23:50:04]MH_SAM_APDU [23:50:04]CAPDU: 80 11 00 00 [23:50:04]Write to MH i2c: E2 08 00 2D 07 80 11 00 00 00 00 00 00 AE [23:50:04]Write i2c OK [23:50:04]MH_I2C_Read... [23:50:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:50:04]Read from MH i2c: E2 [23:50:04]MH_I2C_Read... [23:50:04]Read from MH i2c: E2 17 00 [23:50:04]MH_I2C_Read... [23:50:04]Read from MH i2c: E2 17 00 2D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 FD [23:50:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:50:04]wFMCommunicate OK [23:50:04]requested_item fd.num is exist - process it [23:50:04]SAM_PROTO_GetFieldsCounters [23:50:04]wFMCommunicate request_size=4 [23:50:04]MH_SAM_APDU [23:50:04]CAPDU: 80 13 00 00 [23:50:04]Write to MH i2c: E2 08 00 2E 07 80 13 00 00 00 00 00 00 B1 [23:50:04]Write i2c OK [23:50:04]MH_I2C_Read... [23:50:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:50:05]Read from MH i2c: E2 [23:50:05]MH_I2C_Read... [23:50:05]Read from MH i2c: E2 62 00 [23:50:05]MH_I2C_Read... [23:50:05]Read from MH i2c: E2 62 00 2E 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F0 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [23:50:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F0 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:50:05]wFMCommunicate OK [23:50:05]SAM_PROTO_GetFieldsCounters done [23:50:05]requested_item shift.num is exist - process it [23:50:05]requested_item shift.opened is exist - process it [23:50:05]req_shift_opened [23:50:05]FM_GetShiftState [23:50:05]SAM_PROTO_GetShiftState [23:50:05]wFMCommunicate request_size=4 [23:50:05]MH_SAM_APDU [23:50:05]CAPDU: 80 13 01 00 [23:50:05]Write to MH i2c: E2 08 00 2F 07 80 13 01 00 00 00 00 00 B3 [23:50:05]Write i2c OK [23:50:05]MH_I2C_Read... [23:50:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:50:05]Read from MH i2c: E2 [23:50:05]MH_I2C_Read... [23:50:05]Read from MH i2c: E2 0E 00 [23:50:05]MH_I2C_Read... [23:50:05]Read from MH i2c: E2 0E 00 2F 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 F8 [23:50:05]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:50:05]wFMCommunicate OK [23:50:05]SAM_PROTO_GetShiftState done [23:50:05]FM_GetShiftState done [23:50:05]req_shift_opened done [23:50:05]requested_item shift.open_date is exist - process it [23:50:05]req_shift_open_date [23:50:05]req_shift_open_date done [23:50:05]produce_requested_data done [23:50:05]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15856,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [23:50:05]process_action_free close_receipt [23:50:05]json_value_free [23:50:05]json_value_free done [23:50:05]process_json_proto returns [23:50:05]Send response to host [23:50:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15856,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [23:50:05]free response buf [23:50:05]execute_script done [23:50:05]execute_script returns [23:50:05]free content buf [23:50:05]Sock 9.Close socket [23:50:05]Sock 9.Thread stoped [23:50:08]OFD Sender: No OFD packet to send [23:50:13]OFD Sender: No OFD packet to send [23:50:18]OFD Sender: No OFD packet to send [23:50:23]OFD Sender: No OFD packet to send [23:50:28]OFD Sender: No OFD packet to send [23:50:33]OFD Sender: No OFD packet to send [23:50:38]OFD Sender: No OFD packet to send [23:50:43]OFD Sender: No OFD packet to send [23:50:48]OFD Sender: No OFD packet to send [23:50:53]OFD Sender: No OFD packet to send [23:50:58]OFD Sender: No OFD packet to send [23:51:03]OFD Sender: No OFD packet to send [23:51:08]OFD Sender: No OFD packet to send [23:51:13]OFD Sender: No OFD packet to send [23:51:18]OFD Sender: No OFD packet to send [23:51:23]OFD Sender: No OFD packet to send [23:51:28]OFD Sender: No OFD packet to send [23:51:33]OFD Sender: No OFD packet to send [23:51:38]OFD Sender: No OFD packet to send [23:51:43]OFD Sender: No OFD packet to send [23:51:48]OFD Sender: No OFD packet to send [23:51:53]OFD Sender: No OFD packet to send [23:51:58]OFD Sender: No OFD packet to send [23:52:03]OFD Sender: No OFD packet to send [23:52:08]OFD Sender: No OFD packet to send [23:52:13]OFD Sender: No OFD packet to send [23:52:18]OFD Sender: No OFD packet to send [23:52:23]OFD Sender: No OFD packet to send [23:52:28]OFD Sender: No OFD packet to send [23:52:33]OFD Sender: No OFD packet to send [23:52:38]OFD Sender: No OFD packet to send [23:52:43]OFD Sender: No OFD packet to send [23:52:48]OFD Sender: No OFD packet to send [23:52:53]OFD Sender: No OFD packet to send [23:52:58]OFD Sender: No OFD packet to send [23:53:03]OFD Sender: No OFD packet to send [23:53:08]OFD Sender: No OFD packet to send [23:53:13]OFD Sender: No OFD packet to send [23:53:18]OFD Sender: No OFD packet to send [23:53:23]OFD Sender: No OFD packet to send [23:53:28]OFD Sender: No OFD packet to send [23:53:33]OFD Sender: No OFD packet to send [23:53:38]OFD Sender: No OFD packet to send [23:53:43]OFD Sender: No OFD packet to send [23:53:48]OFD Sender: No OFD packet to send [23:53:53]OFD Sender: No OFD packet to send [23:53:58]OFD Sender: No OFD packet to send [23:54:03]OFD Sender: No OFD packet to send [23:54:08]OFD Sender: No OFD packet to send [23:54:13]OFD Sender: No OFD packet to send [23:54:18]OFD Sender: No OFD packet to send [23:54:23]OFD Sender: No OFD packet to send [23:54:28]OFD Sender: No OFD packet to send [23:54:33]OFD Sender: No OFD packet to send [23:54:38]OFD Sender: No OFD packet to send [23:54:43]OFD Sender: No OFD packet to send [23:54:48]OFD Sender: No OFD packet to send [23:54:53]OFD Sender: No OFD packet to send [23:54:58]OFD Sender: No OFD packet to send [23:55:04]OFD Sender: No OFD packet to send [23:55:09]OFD Sender: No OFD packet to send [23:55:14]OFD Sender: No OFD packet to send [23:55:19]OFD Sender: No OFD packet to send [23:55:24]OFD Sender: No OFD packet to send [23:55:29]OFD Sender: No OFD packet to send [23:55:34]OFD Sender: No OFD packet to send [23:55:39]OFD Sender: No OFD packet to send [23:55:44]OFD Sender: No OFD packet to send [23:55:49]OFD Sender: No OFD packet to send [23:55:54]OFD Sender: No OFD packet to send [23:55:59]OFD Sender: No OFD packet to send [23:56:04]OFD Sender: No OFD packet to send [23:56:09]OFD Sender: No OFD packet to send [23:56:14]OFD Sender: No OFD packet to send [23:56:19]OFD Sender: No OFD packet to send [23:56:24]OFD Sender: No OFD packet to send [23:56:29]OFD Sender: No OFD packet to send [23:56:34]OFD Sender: No OFD packet to send [23:56:39]OFD Sender: No OFD packet to send [23:56:44]OFD Sender: No OFD packet to send [23:56:49]OFD Sender: No OFD packet to send [23:56:54]OFD Sender: No OFD packet to send [23:56:59]OFD Sender: No OFD packet to send [23:57:04]OFD Sender: No OFD packet to send [23:57:09]OFD Sender: No OFD packet to send [23:57:14]OFD Sender: No OFD packet to send [23:57:19]OFD Sender: No OFD packet to send [23:57:24]OFD Sender: No OFD packet to send [23:57:29]OFD Sender: No OFD packet to send [23:57:34]OFD Sender: No OFD packet to send [23:57:39]OFD Sender: No OFD packet to send [23:57:44]OFD Sender: No OFD packet to send [23:57:49]OFD Sender: No OFD packet to send [23:57:54]OFD Sender: No OFD packet to send [23:57:59]OFD Sender: No OFD packet to send [23:58:04]OFD Sender: No OFD packet to send [23:58:04]accept exits with 7 [23:58:04]New connection [23:58:04]New thread 3067391332 created [23:58:04]Thread 3067247972 joined [23:58:04]Waiting for new connection... [23:58:04] Sock 7.Parse request [23:58:04]Sock 7.Check first char [23:58:04]Sock 7.First char is OK [23:58:04]request: POST /json_proto HTTP/1.0 [23:58:04]Method: POST [23:58:04]URL: /json_proto [23:58:04]Method is POST - this is cgi request [23:58:04]url: /json_proto [23:58:04]query_string will be loaded in cgi processing [23:58:04]execute_cgi json_proto POST (null) [23:58:04]execute_cgi path=json_proto method=POST [23:58:04]POST find Content-Length [23:58:04]Host: 172.17.54.195:8080 [23:58:04]Content-Length: 681 [23:58:04]Content-Type: application/json [23:58:04] [23:58:04]POST finish read [23:58:04]Found Content-Length = 681 [23:58:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16408", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 17.530, "sum" : 1300.73, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1300.00, "total" : 1300.00, "payments": [ { "type": 0, "sum" : 1300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:04]execute_script... [23:58:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16408", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 17.530, "sum" : 1300.73, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1300.00, "total" : 1300.00, "payments": [ { "type": 0, "sum" : 1300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:04]POST & json_proto [23:58:04]process_json_proto [23:58:04]json parsed OK: [23:58:04]protocol is kg_v1.0 [23:58:04]action value=close_receipt [23:58:04]process_action close_receipt [23:58:04]cmd_close_receipt [23:58:04]MH_GetDate [23:58:04]Write to MH i2c: F0 00 00 30 07 26 [23:58:04]Write i2c OK [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: F0 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: F0 09 00 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: F0 09 00 30 07 00 0E C8 22 67 8D 90 A3 66 B4 [23:58:04]GetLastDocTimeStamp 1730332202 [23:58:04]current date 1730332686 [23:58:04]FM_GetShiftState [23:58:04]SAM_PROTO_GetShiftState [23:58:04]wFMCommunicate request_size=4 [23:58:04]MH_SAM_APDU [23:58:04]CAPDU: 80 13 01 00 [23:58:04]Write to MH i2c: E2 08 00 31 07 80 13 01 00 00 00 00 00 B5 [23:58:04]Write i2c OK [23:58:04]MH_I2C_Read... [23:58:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:04]Read from MH i2c: E2 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: E2 0E 00 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: E2 0E 00 31 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 FA [23:58:04]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:58:04]wFMCommunicate OK [23:58:04]SAM_PROTO_GetShiftState done [23:58:04]FM_GetShiftState done [23:58:04]opened in 1730247478 [23:58:04]opened+sec_in_day 1730333878 [23:58:04]quantity*price = 130072 [23:58:04]sum+1 = 130074 [23:58:04]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.73 ИТОГО: 1300.00 Внесено: 1300.00 СДАЧА: 0.00 НСП 1% : 11.51 НДС 12% : 138.13 Наличными: 1300.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 67 30.10.2024 23:58 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15857 ФПД: 91894303796497 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T235806&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15857&fm=91894303796497&tin=02508201610067®Number=0000000000161798&sum=130000 [23:58:05]StoreToDocumentArchive [23:58:05]shift 173 fd 15857 [23:58:05]save to /storage/0173/doc_00015857 [23:58:05]save last doc name /storage/0173/doc_00015857 to /storage/kkm_last_doc_name [23:58:05]save OK [23:58:05]Clear old archive folders... [23:58:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:58:05]tlvbuf is B6FC3520 [23:58:05]SAM_PROTO_ClearQueue [23:58:05]wFMCommunicate request_size=4 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 09 00 00 [23:58:05]Write to MH i2c: E2 08 00 3E 07 80 09 00 00 00 00 00 00 B7 [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 03 00 3E 07 00 90 00 B9 [23:58:05]RAPDU: 90 00 [23:58:05]wFMCommunicate OK [23:58:05]SAM_PROTO_ClearQueue done [23:58:05]KKMCreateOFDPacket [23:58:05]OFDProtocolAddRootSTLVToBuf [23:58:05]FM_MakeSignedData [23:58:05]FM_MakeSignedData [23:58:05]SAM_PROTO_SignData [23:58:05]wFMCommunicate request_size=4 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 0D 01 02 [23:58:05]Write to MH i2c: E2 08 00 3F 07 80 0D 01 02 00 00 00 00 BF [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 03 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 03 00 3F 07 00 90 00 BA [23:58:06]RAPDU: 90 00 [23:58:06]wFMCommunicate OK [23:58:06]wFMCommunicate request_size=255 [23:58:06]MH_SAM_APDU [23:58:06]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 7A 44 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 FB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 D0 FB 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 0E C8 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F1 3D 00 00 35 04 06 00 53 [23:58:06]Write to MH i2c: E2 02 01 40 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 7A 44 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 FB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 D0 FB 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 0E C8 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F1 3D 00 00 35 04 06 00 53 00 00 D1 [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 03 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 03 00 40 07 00 90 00 BB [23:58:06]RAPDU: 90 00 [23:58:06]wFMCommunicate OK [23:58:06]wFMCommunicate request_size=10 [23:58:06]MH_SAM_APDU [23:58:06]CAPDU: 80 0D 02 02 05 93 CF 55 AD 11 [23:58:06]Write to MH i2c: E2 0D 00 41 07 80 0D 02 02 05 00 93 CF 55 AD 11 00 00 41 [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 03 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 03 00 41 07 00 90 00 BC [23:58:06]RAPDU: 90 00 [23:58:06]wFMCommunicate OK [23:58:06]wFMCommunicate request_size=4 [23:58:06]MH_SAM_APDU [23:58:06]CAPDU: 80 0D 03 02 [23:58:06]Write to MH i2c: E2 08 00 42 07 80 0D 03 02 00 00 00 00 C4 [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 0B 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 0B 00 42 07 00 C6 2A EC 9F A5 43 3A 87 90 00 E9 [23:58:06]RAPDU: C6 2A EC 9F A5 43 3A 87 90 00 [23:58:06]wFMCommunicate OK [23:58:06]SAM_PROTO_SignData done [23:58:06]FM_MakeSignedData done [23:58:06]CreateOFDProtocolMessage [23:58:06]wFMCommunicate request_size=4 [23:58:06]MH_SAM_APDU [23:58:06]CAPDU: 80 11 00 00 [23:58:06]Write to MH i2c: E2 08 00 43 07 80 11 00 00 00 00 00 00 C4 [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 17 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 17 00 43 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 13 [23:58:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:58:06]wFMCommunicate OK [23:58:06]CreateOFDProtocolMessage done [23:58:06]OFDSenderStorePacket 15857 [23:58:06]StoreOFDPacket docnum=15857 [23:58:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 8C 30 07 01 2D A6 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 7A 44 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 FB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 D0 FB 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 0E C8 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F1 3D 00 00 35 04 06 00 53 93 CF 55 AD 11 C6 2A EC 9F A5 43 3A 87 [23:58:06]CheckFolder [23:58:06]dirname=/storage/ofd_packets [23:58:06]CheckFolder done [23:58:06]ProducePacketName [23:58:06]name=ofd_packets/00015857 [23:58:06]NVStorageSaveData ofd_packets/00015857 [23:58:06]File name is /storage/ofd_packets/00015857 [23:58:06]Write 301 bytes [23:58:06]NVStorageSaveData done [23:58:06]OFDSenderStorePacket done [23:58:06]KKMCreateOFDPacket done [23:58:06]NVStorageSaveData kkm_last_timestamp [23:58:06]File name is /storage/kkm_last_timestamp [23:58:06]Write 4 bytes [23:58:06]NVStorageSaveData done [23:58:06]ExternCall_PrintAddStr [23:58:06]wPrintStart [23:58:06]Write to MH i2c: 01 00 00 44 07 4B [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: 01 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: 01 07 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: 01 07 00 44 07 00 00 00 00 00 FF 0F 60 [23:58:06]RasterBufferAndPrint [23:58:06]line Счет N : (1)16408 [23:58:06]line ИНН: 02508201610067 [23:58:06]line Контрольно-Кассовый Чек [23:58:06]line ПРОДАЖА [23:58:06]line ТРК (МРК, ГНК) : 11 [23:58:06]line Товар: 2710124500 [23:58:06]line Аи-95-К-5 [23:58:06]line 17.530 * 74.20 [23:58:06]line = 1300.73 [23:58:06]line НДС 12% НСП 1% [23:58:06]line > о реализуемом товаре [23:58:06]line ОКРУГЛЕНИЕ: -0.73 [23:58:06]line ИТОГО: 1300.00 [23:58:06]line Внесено: 1300.00 [23:58:06]line СДАЧА: 0.00 [23:58:06]line НСП 1% : 11.51 [23:58:06]line НДС 12% : 138.13 [23:58:06]line Наличными: 1300.00 [23:58:06]line Безнал.: 0.00 [23:58:06]line Место: АЗС № 178 "Партнер Нефть" [23:58:06]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [23:58:06]line СНО: Общий режим [23:58:06]line Чек 67 30.10.2024 23:58 [23:58:06]line Смена: 173 ФФД: 1.0 [23:58:06]line ЗНМ: 0300000014 [23:58:06]line РНМ: 0000000000161798 [23:58:06]line Версия ККМ: v1.0 [23:58:06]line ФМ: 0000000000963325 [23:58:06]line ФД: 15857 [23:58:06]line ФПД: 91894303796497 [23:58:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T235806&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15857&fm=91894303796497&tin=02508201610067®Number=0000000000161798&sum=130000 [23:58:06]OFD Sender: Processing packet 15857 [packets to send 4, broken 3] [23:58:06]ProducePacketName [23:58:06]name=ofd_packets/00015857 [23:58:06]OFD Sender: To server: pG, [23:58:06]CommunicateWithHost lk.salyk.kg:30040 [23:58:06]ConnectInit lk.salyk.kg [23:58:06]written 0, free lines is 4095 [23:58:06]Connected sock=10 [23:58:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 8C 30 07 01 2D A6 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 7A 44 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 FB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 D0 FB 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 0E C8 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F1 3D 00 00 35 04 06 00 53 93 CF 55 AD 11 C6 2A EC 9F A5 43 3A 87 [23:58:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 22 67 47 00 5F A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F1 3D 00 00 F4 03 04 00 F5 72 22 67 B6 04 01 00 00 F1 1D 86 DC 2C DF 34 37 [23:58:07]CommunicateWithHost err = 0 [23:58:07]CheckOFDResponse [23:58:07]1017 (14) - 77093643461234 [23:58:07]1041 (16) - 0000000000963325 [23:58:07]1040 (4) - 15857 [23:58:07]1012 (4) - 30.10.2024 17:55 [23:58:07]1206 (1) - 0 [23:58:07]OFD Sender: Remove packet 15857 [23:58:07]ProducePacketName [23:58:07]name=ofd_packets/00015857 [23:58:07]NVStorageDeleteData [23:58:07]Write to MH i2c: 01 00 00 6F 07 76 [23:58:07]Write i2c OK [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: 01 [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: 01 07 00 [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: 01 07 00 6F 07 00 00 00 00 00 E9 0C 72 [23:58:07]RasterBufferAndPrint [23:58:07]line [23:58:07]line [23:58:07]line [23:58:07]line [23:58:07]line [23:58:07]written 0, free lines is 3311 [23:58:07]MH_Cut [23:58:07]Write to MH i2c: D1 01 00 76 07 01 4F [23:58:07]Write i2c OK [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: D1 [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: D1 01 00 [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: D1 01 00 76 07 00 4E [23:58:07]Write to MH i2c: 01 00 00 77 07 7E [23:58:07]Write i2c OK [23:58:07]MH_I2C_Read... [23:58:07]OFD Sender: No OFD packet to send [23:58:07]*** Cut start [23:58:07]*** Partial cut [23:58:07]*** CUTSNS_PIN = 1 [23:58:07]*** CUTSNS_PIN = 0 [23:58:08]*** Brake cut motor [23:58:08]Read from MH i2c: 01 [23:58:08]MH_I2C_Read... [23:58:08]*** Stop cut motor [23:58:08]*** Cut end [23:58:08]Read from MH i2c: 01 07 00 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: 01 07 00 77 07 00 00 00 00 00 FF 0F 93 [23:58:08]process_action close_receipt done [23:58:08]requested_data is exist [23:58:08]produce_requested_data [23:58:08]requested_item fm.sn is exist - process it [23:58:08]wFMCommunicate request_size=4 [23:58:08]MH_SAM_APDU [23:58:08]CAPDU: 80 11 00 00 [23:58:08]Write to MH i2c: E2 08 00 78 07 80 11 00 00 00 00 00 00 F9 [23:58:08]Write i2c OK [23:58:08]MH_I2C_Read... [23:58:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:08]Read from MH i2c: E2 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 17 00 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 17 00 78 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 48 [23:58:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:58:08]wFMCommunicate OK [23:58:08]requested_item fd.num is exist - process it [23:58:08]SAM_PROTO_GetFieldsCounters [23:58:08]wFMCommunicate request_size=4 [23:58:08]MH_SAM_APDU [23:58:08]CAPDU: 80 13 00 00 [23:58:08]Write to MH i2c: E2 08 00 79 07 80 13 00 00 00 00 00 00 FC [23:58:08]Write i2c OK [23:58:08]MH_I2C_Read... [23:58:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:08]Read from MH i2c: E2 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 62 00 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 62 00 79 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F1 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 C4 [23:58:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F1 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:08]wFMCommunicate OK [23:58:08]SAM_PROTO_GetFieldsCounters done [23:58:08]requested_item shift.num is exist - process it [23:58:08]requested_item shift.opened is exist - process it [23:58:08]req_shift_opened [23:58:08]FM_GetShiftState [23:58:08]SAM_PROTO_GetShiftState [23:58:08]wFMCommunicate request_size=4 [23:58:08]MH_SAM_APDU [23:58:08]CAPDU: 80 13 01 00 [23:58:08]Write to MH i2c: E2 08 00 7A 07 80 13 01 00 00 00 00 00 FE [23:58:08]Write i2c OK [23:58:08]MH_I2C_Read... [23:58:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:08]Read from MH i2c: E2 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 0E 00 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 0E 00 7A 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 43 [23:58:08]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:58:08]wFMCommunicate OK [23:58:08]SAM_PROTO_GetShiftState done [23:58:08]FM_GetShiftState done [23:58:08]req_shift_opened done [23:58:08]requested_item shift.open_date is exist - process it [23:58:08]req_shift_open_date [23:58:08]req_shift_open_date done [23:58:08]produce_requested_data done [23:58:08]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15857,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [23:58:08]process_action_free close_receipt [23:58:08]json_value_free [23:58:08]json_value_free done [23:58:08]process_json_proto returns [23:58:08]Send response to host [23:58:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15857,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [23:58:08]free response buf [23:58:08]execute_script done [23:58:08]execute_script returns [23:58:08]free content buf [23:58:08]Sock 7.Close socket [23:58:08]Sock 7.Thread stoped [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:47]OFD Sender: No OFD packet to send [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:58:58]accept exits with 9 [23:58:58]New connection [23:58:58]New thread 3067247972 created [23:58:58]Thread 3067391332 joined [23:58:58]Waiting for new connection... [23:58:58] Sock 9.Parse request [23:58:58]Sock 9.Check first char [23:58:58]Sock 9.First char is OK [23:58:58]request: POST /json_proto HTTP/1.0 [23:58:58]Method: POST [23:58:58]URL: /json_proto [23:58:58]Method is POST - this is cgi request [23:58:58]url: /json_proto [23:58:58]query_string will be loaded in cgi processing [23:58:58]execute_cgi json_proto POST (null) [23:58:58]execute_cgi path=json_proto method=POST [23:58:58]POST find Content-Length [23:58:58]Host: 172.17.54.195:8080 [23:58:58]Content-Length: 766 [23:58:58]Content-Type: application/json [23:58:58] [23:58:58]POST finish read [23:58:58]Found Content-Length = 766 [23:58:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16409", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.000, "sum" : 669.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 669.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:58]execute_script... [23:58:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16409", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.000, "sum" : 669.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 669.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:58]POST & json_proto [23:58:58]process_json_proto [23:58:58]json parsed OK: [23:58:58]protocol is kg_v1.0 [23:58:58]action value=close_receipt [23:58:58]process_action close_receipt [23:58:58]cmd_close_receipt [23:58:58]MH_GetDate [23:58:58]Write to MH i2c: F0 00 00 7B 07 71 [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: F0 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: F0 09 00 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: F0 09 00 7B 07 00 44 C8 22 67 8D 90 A3 66 35 [23:58:58]GetLastDocTimeStamp 1730332686 [23:58:58]current date 1730332740 [23:58:58]FM_GetShiftState [23:58:58]SAM_PROTO_GetShiftState [23:58:58]wFMCommunicate request_size=4 [23:58:58]MH_SAM_APDU [23:58:58]CAPDU: 80 13 01 00 [23:58:58]Write to MH i2c: E2 08 00 7C 07 80 13 01 00 00 00 00 00 00 [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:59]Read from MH i2c: E2 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: E2 0E 00 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: E2 0E 00 7C 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 45 [23:58:59]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:58:59]wFMCommunicate OK [23:58:59]SAM_PROTO_GetShiftState done [23:58:59]FM_GetShiftState done [23:58:59]opened in 1730247478 [23:58:59]opened+sec_in_day 1730333878 [23:58:59]quantity*price = 66900 [23:58:59]sum+1 = 66901 [23:58:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 669.00 НСП 1% : 5.92 НДС 12% : 71.04 Наличными: 0.00 Безнал.: 669.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 68 30.10.2024 23:59 Смена: 173 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15858 ФПД: 112348838361570 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T235900&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15858&fm=112348838361570&tin=02508201610067®Number=0000000000161798&sum=66900 [23:59:00]StoreToDocumentArchive [23:59:00]shift 173 fd 15858 [23:59:00]save to /storage/0173/doc_00015858 [23:59:00]save last doc name /storage/0173/doc_00015858 to /storage/kkm_last_doc_name [23:59:00]save OK [23:59:00]Clear old archive folders... [23:59:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:59:00]tlvbuf is 01F4A970 [23:59:00]SAM_PROTO_ClearQueue [23:59:00]wFMCommunicate request_size=4 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 09 00 00 [23:59:00]Write to MH i2c: E2 08 00 89 07 80 09 00 00 00 00 00 00 02 [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 03 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 03 00 89 07 00 90 00 04 [23:59:00]RAPDU: 90 00 [23:59:00]wFMCommunicate OK [23:59:00]SAM_PROTO_ClearQueue done [23:59:00]KKMCreateOFDPacket [23:59:00]OFDProtocolAddRootSTLVToBuf [23:59:00]FM_MakeSignedData [23:59:00]FM_MakeSignedData [23:59:00]SAM_PROTO_SignData [23:59:00]wFMCommunicate request_size=4 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 0D 01 02 [23:59:00]Write to MH i2c: E2 08 00 8A 07 80 0D 01 02 00 00 00 00 0A [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 03 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 03 00 8A 07 00 90 00 05 [23:59:00]RAPDU: 90 00 [23:59:00]wFMCommunicate OK [23:59:00]wFMCommunicate request_size=255 [23:59:00]MH_SAM_APDU [23:59:00]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 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 05 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 44 C8 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F2 3D 00 00 35 04 06 00 66 [23:59:00]Write to MH i2c: E2 02 01 8B 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 05 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 44 C8 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F2 3D 00 00 35 04 06 00 66 00 00 E0 [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 03 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 03 00 8B 07 00 90 00 06 [23:59:00]RAPDU: 90 00 [23:59:00]wFMCommunicate OK [23:59:00]wFMCommunicate request_size=10 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 0D 02 02 05 2E 40 99 F9 E2 [23:59:00]Write to MH i2c: E2 0D 00 8C 07 80 0D 02 02 05 00 2E 40 99 F9 E2 00 00 F9 [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 03 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 03 00 8C 07 00 90 00 07 [23:59:00]RAPDU: 90 00 [23:59:00]wFMCommunicate OK [23:59:00]wFMCommunicate request_size=4 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 0D 03 02 [23:59:00]Write to MH i2c: E2 08 00 8D 07 80 0D 03 02 00 00 00 00 0F [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 0B 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 0B 00 8D 07 00 40 6F 8A 2E 05 0F 68 BA 90 00 AD [23:59:00]RAPDU: 40 6F 8A 2E 05 0F 68 BA 90 00 [23:59:00]wFMCommunicate OK [23:59:00]SAM_PROTO_SignData done [23:59:00]FM_MakeSignedData done [23:59:00]CreateOFDProtocolMessage [23:59:00]wFMCommunicate request_size=4 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 11 00 00 [23:59:00]Write to MH i2c: E2 08 00 8E 07 80 11 00 00 00 00 00 00 0F [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 17 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 17 00 8E 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 5E [23:59:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:59:00]wFMCommunicate OK [23:59:00]CreateOFDProtocolMessage done [23:59:00]OFDSenderStorePacket 15858 [23:59:00]StoreOFDPacket docnum=15858 [23:59:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 D9 95 07 01 99 C5 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 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 05 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 44 C8 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F2 3D 00 00 35 04 06 00 66 2E 40 99 F9 E2 40 6F 8A 2E 05 0F 68 BA [23:59:00]CheckFolder [23:59:00]dirname=/storage/ofd_packets [23:59:00]CheckFolder done [23:59:00]ProducePacketName [23:59:00]name=ofd_packets/00015858 [23:59:00]NVStorageSaveData ofd_packets/00015858 [23:59:00]File name is /storage/ofd_packets/00015858 [23:59:00]Write 301 bytes [23:59:00]NVStorageSaveData done [23:59:00]OFDSenderStorePacket done [23:59:00]KKMCreateOFDPacket done [23:59:00]NVStorageSaveData kkm_last_timestamp [23:59:00]File name is /storage/kkm_last_timestamp [23:59:00]Write 4 bytes [23:59:00]NVStorageSaveData done [23:59:00]ExternCall_PrintAddStr [23:59:00]wPrintStart [23:59:00]Write to MH i2c: 01 00 00 8F 07 96 [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: 01 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: 01 07 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: 01 07 00 8F 07 00 00 00 00 00 FF 0F AB [23:59:00]RasterBufferAndPrint [23:59:00]line Счет N : (1)16409 [23:59:00]line ИНН: 02508201610067 [23:59:00]line Контрольно-Кассовый Чек [23:59:00]line ПРОДАЖА [23:59:00]line ТРК (МРК, ГНК) : 21 [23:59:00]line Товар: 2710124130 [23:59:00]line Аи-92-К-5 [23:59:00]line 10.000 * 66.90 [23:59:00]line = 669.00 [23:59:00]line НДС 12% НСП 1% [23:59:00]line > о реализуемом товаре [23:59:00]line ИТОГО: 669.00 [23:59:00]line НСП 1% : 5.92 [23:59:00]line НДС 12% : 71.04 [23:59:00]line Наличными: 0.00 [23:59:00]line Безнал.: 669.00 [23:59:00]line Место: АЗС № 178 "Партнер Нефть" [23:59:00]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [23:59:00]line СНО: Общий режим [23:59:00]line Чек 68 30.10.2024 23:59 [23:59:00]line Смена: 173 ФФД: 1.0 [23:59:00]line ЗНМ: 0300000014 [23:59:00]line РНМ: 0000000000161798 [23:59:00]line Версия ККМ: v1.0 [23:59:00]line Платежная система: Mbank [23:59:00]line ФМ: 0000000000963325 [23:59:00]line ФД: 15858 [23:59:00]line ФПД: 112348838361570 [23:59:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T235900&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15858&fm=112348838361570&tin=02508201610067®Number=0000000000161798&sum=66900 [23:59:01]OFD Sender: Processing packet 15858 [packets to send 4, broken 3] [23:59:01]ProducePacketName [23:59:01]name=ofd_packets/00015858 [23:59:01]OFD Sender: To server: pG, [23:59:01]CommunicateWithHost lk.salyk.kg:30040 [23:59:01]ConnectInit lk.salyk.kg [23:59:01]written 0, free lines is 4095 [23:59:01]Connected sock=10 [23:59:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 D9 95 07 01 99 C5 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 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 05 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 44 C8 22 67 0E 04 04 00 AD 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F2 3D 00 00 35 04 06 00 66 2E 40 99 F9 E2 40 6F 8A 2E 05 0F 68 BA [23:59:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 47 AD 47 00 4D 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F2 3D 00 00 F4 03 04 00 2C 73 22 67 B6 04 01 00 00 AF 39 B3 76 7C CE FC F9 [23:59:01]CommunicateWithHost err = 0 [23:59:01]CheckOFDResponse [23:59:01]1017 (14) - 77093643461234 [23:59:01]1041 (16) - 0000000000963325 [23:59:01]1040 (4) - 15858 [23:59:01]1012 (4) - 30.10.2024 17:55 [23:59:01]1206 (1) - 0 [23:59:01]OFD Sender: Remove packet 15858 [23:59:01]ProducePacketName [23:59:01]name=ofd_packets/00015858 [23:59:01]NVStorageDeleteData [23:59:01]Write to MH i2c: 01 00 00 B8 07 BF [23:59:01]Write i2c OK [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: 01 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: 01 07 00 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: 01 07 00 B8 07 00 00 00 00 00 13 0D E6 [23:59:01]RasterBufferAndPrint [23:59:01]line [23:59:01]line [23:59:01]line [23:59:01]line [23:59:01]line [23:59:01]written 0, free lines is 3353 [23:59:01]MH_Cut [23:59:01]Write to MH i2c: D1 01 00 BF 07 01 98 [23:59:01]Write i2c OK [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: D1 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: D1 01 00 [23:59:01]MH_I2C_Read... [23:59:01]Read from MH i2c: D1 01 00 BF 07 00 97 [23:59:01]Write to MH i2c: 01 00 00 C0 07 C7 [23:59:01]Write i2c OK [23:59:01]MH_I2C_Read... [23:59:01]OFD Sender: No OFD packet to send [23:59:02]*** Cut start [23:59:02]*** Partial cut [23:59:02]*** CUTSNS_PIN = 1 [23:59:02]*** CUTSNS_PIN = 0 [23:59:02]*** Brake cut motor [23:59:02]Read from MH i2c: 01 [23:59:02]MH_I2C_Read... [23:59:02]*** Stop cut motor [23:59:02]*** Cut end [23:59:02]Read from MH i2c: 01 07 00 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: 01 07 00 C0 07 00 00 00 00 00 FF 0F DC [23:59:02]process_action close_receipt done [23:59:02]requested_data is exist [23:59:02]produce_requested_data [23:59:02]requested_item fm.sn is exist - process it [23:59:02]wFMCommunicate request_size=4 [23:59:02]MH_SAM_APDU [23:59:02]CAPDU: 80 11 00 00 [23:59:02]Write to MH i2c: E2 08 00 C1 07 80 11 00 00 00 00 00 00 42 [23:59:02]Write i2c OK [23:59:02]MH_I2C_Read... [23:59:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:02]Read from MH i2c: E2 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: E2 17 00 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: E2 17 00 C1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 91 [23:59:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [23:59:02]wFMCommunicate OK [23:59:02]requested_item fd.num is exist - process it [23:59:02]SAM_PROTO_GetFieldsCounters [23:59:02]wFMCommunicate request_size=4 [23:59:02]MH_SAM_APDU [23:59:02]CAPDU: 80 13 00 00 [23:59:02]Write to MH i2c: E2 08 00 C2 07 80 13 00 00 00 00 00 00 45 [23:59:02]Write i2c OK [23:59:02]MH_I2C_Read... [23:59:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:02]Read from MH i2c: E2 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: E2 62 00 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: E2 62 00 C2 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 11 [23:59:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:02]wFMCommunicate OK [23:59:02]SAM_PROTO_GetFieldsCounters done [23:59:02]requested_item shift.num is exist - process it [23:59:02]requested_item shift.opened is exist - process it [23:59:02]req_shift_opened [23:59:02]FM_GetShiftState [23:59:02]SAM_PROTO_GetShiftState [23:59:02]wFMCommunicate request_size=4 [23:59:02]MH_SAM_APDU [23:59:02]CAPDU: 80 13 01 00 [23:59:02]Write to MH i2c: E2 08 00 C3 07 80 13 01 00 00 00 00 00 47 [23:59:02]Write i2c OK [23:59:02]MH_I2C_Read... [23:59:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:03]Read from MH i2c: E2 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: E2 0E 00 [23:59:03]MH_I2C_Read... [23:59:03]Read from MH i2c: E2 0E 00 C3 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 8C [23:59:03]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [23:59:03]wFMCommunicate OK [23:59:03]SAM_PROTO_GetShiftState done [23:59:03]FM_GetShiftState done [23:59:03]req_shift_opened done [23:59:03]requested_item shift.open_date is exist - process it [23:59:03]req_shift_open_date [23:59:03]req_shift_open_date done [23:59:03]produce_requested_data done [23:59:03]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15858,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [23:59:03]process_action_free close_receipt [23:59:03]json_value_free [23:59:03]json_value_free done [23:59:03]process_json_proto returns [23:59:03]Send response to host [23:59:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15858,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [23:59:03]free response buf [23:59:03]execute_script done [23:59:03]execute_script returns [23:59:03]free content buf [23:59:03]Sock 9.Close socket [23:59:03]Sock 9.Thread stoped [23:59:06]OFD Sender: No OFD packet to send [23:59:11]OFD Sender: No OFD packet to send [23:59:16]OFD Sender: No OFD packet to send [23:59:21]OFD Sender: No OFD packet to send [23:59:26]OFD Sender: No OFD packet to send [23:59:31]OFD Sender: No OFD packet to send [23:59:36]OFD Sender: No OFD packet to send [23:59:41]OFD Sender: No OFD packet to send [23:59:46]OFD Sender: No OFD packet to send [23:59:51]OFD Sender: No OFD packet to send [23:59:56]OFD Sender: No OFD packet to send [00:00:01]OFD Sender: No OFD packet to send [00:00:06]OFD Sender: No OFD packet to send [00:00:11]OFD Sender: No OFD packet to send [00:00:16]OFD Sender: No OFD packet to send [00:00:21]OFD Sender: No OFD packet to send [00:00:26]OFD Sender: No OFD packet to send [00:00:31]OFD Sender: No OFD packet to send [00:00:36]OFD Sender: No OFD packet to send [00:00:41]OFD Sender: No OFD packet to send [00:00:46]OFD Sender: No OFD packet to send [00:00:51]OFD Sender: No OFD packet to send [00:00:56]OFD Sender: No OFD packet to send [00:01:01]OFD Sender: No OFD packet to send [00:01:06]OFD Sender: No OFD packet to send [00:01:11]OFD Sender: No OFD packet to send [00:01:16]OFD Sender: No OFD packet to send [00:01:21]OFD Sender: No OFD packet to send [00:01:26]OFD Sender: No OFD packet to send [00:01:31]OFD Sender: No OFD packet to send [00:01:36]OFD Sender: No OFD packet to send [00:01:41]OFD Sender: No OFD packet to send [00:01:46]OFD Sender: No OFD packet to send [00:01:51]OFD Sender: No OFD packet to send [00:01:56]OFD Sender: No OFD packet to send [00:02:01]OFD Sender: No OFD packet to send [00:02:06]OFD Sender: No OFD packet to send [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:31]OFD Sender: No OFD packet to send [00:02:36]OFD Sender: No OFD packet to send [00:02:41]OFD Sender: No OFD packet to send [00:02:46]OFD Sender: No OFD packet to send [00:02:51]OFD Sender: No OFD packet to send [00:02:56]OFD Sender: No OFD packet to send [00:03:01]OFD Sender: No OFD packet to send [00:03:06]OFD Sender: No OFD packet to send [00:03:11]OFD Sender: No OFD packet to send [00:03:16]OFD Sender: No OFD packet to send [00:03:21]OFD Sender: No OFD packet to send [00:03:26]OFD Sender: No OFD packet to send [00:03:31]OFD Sender: No OFD packet to send [00:03:36]OFD Sender: No OFD packet to send [00:03:41]OFD Sender: No OFD packet to send [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:57]OFD Sender: No OFD packet to send [00:04:02]OFD Sender: No OFD packet to send [00:04:07]OFD Sender: No OFD packet to send [00:04:12]OFD Sender: No OFD packet to send [00:04:17]OFD Sender: No OFD packet to send [00:04:22]OFD Sender: No OFD packet to send [00:04:27]OFD Sender: No OFD packet to send [00:04:32]OFD Sender: No OFD packet to send [00:04:37]OFD Sender: No OFD packet to send [00:04:42]OFD Sender: No OFD packet to send [00:04:47]OFD Sender: No OFD packet to send [00:04:52]OFD Sender: No OFD packet to send [00:04:57]OFD Sender: No OFD packet to send [00:05:02]OFD Sender: No OFD packet to send [00:05:07]OFD Sender: No OFD packet to send [00:05:12]OFD Sender: No OFD packet to send [00:05:17]OFD Sender: No OFD packet to send [00:05:22]OFD Sender: No OFD packet to send [00:05:27]OFD Sender: No OFD packet to send [00:05:32]OFD Sender: No OFD packet to send [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:17]OFD Sender: No OFD packet to send [00:06:22]OFD Sender: No OFD packet to send [00:06:27]OFD Sender: No OFD packet to send [00:06:32]OFD Sender: No OFD packet to send [00:06:37]OFD Sender: No OFD packet to send [00:06:42]OFD Sender: No OFD packet to send [00:06:47]OFD Sender: No OFD packet to send [00:06:52]OFD Sender: No OFD packet to send [00:06:57]OFD Sender: No OFD packet to send [00:07:02]OFD Sender: No OFD packet to send [00:07:07]OFD Sender: No OFD packet to send [00:07:12]OFD Sender: No OFD packet to send [00:07:17]OFD Sender: No OFD packet to send [00:07:22]OFD Sender: No OFD packet to send [00:07:27]OFD Sender: No OFD packet to send [00:07:32]OFD Sender: No OFD packet to send [00:07:37]OFD Sender: No OFD packet to send [00:07:42]OFD Sender: No OFD packet to send [00:07:47]OFD Sender: No OFD packet to send [00:07:52]OFD Sender: No OFD packet to send [00:07:57]OFD Sender: No OFD packet to send [00:08:02]OFD Sender: No OFD packet to send [00:08:07]OFD Sender: No OFD packet to send [00:08:12]OFD Sender: No OFD packet to send [00:08:17]OFD Sender: No OFD packet to send [00:08:22]OFD Sender: No OFD packet to send [00:08:27]OFD Sender: No OFD packet to send [00:08:32]OFD Sender: No OFD packet to send [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:07]OFD Sender: No OFD packet to send [00:09:12]OFD Sender: No OFD packet to send [00:09:17]OFD Sender: No OFD packet to send [00:09:22]OFD Sender: No OFD packet to send [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:17]accept exits with 7 [00:10:17]New connection [00:10:17]New thread 3067391332 created [00:10:17]Thread 3067247972 joined [00:10:17]Waiting for new connection... [00:10:17] Sock 7.Parse request [00:10:17]Sock 7.Check first char [00:10:17]Sock 7.First char is OK [00:10:17]request: POST /json_proto HTTP/1.0 [00:10:17]Method: POST [00:10:17]URL: /json_proto [00:10:17]Method is POST - this is cgi request [00:10:17]url: /json_proto [00:10:17]query_string will be loaded in cgi processing [00:10:17]execute_cgi json_proto POST (null) [00:10:17]execute_cgi path=json_proto method=POST [00:10:17]POST find Content-Length [00:10:17]Host: 172.17.54.195:8080 [00:10:17]Content-Length: 215 [00:10:17]Content-Type: application/json [00:10:17] [00:10:17]POST finish read [00:10:17]Found Content-Length = 215 [00:10:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:17]execute_script... [00:10:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:17]POST & json_proto [00:10:17]process_json_proto [00:10:17]json parsed OK: [00:10:17]protocol is kg_v1.0 [00:10:17]action value=get_value [00:10:17]process_action get_value [00:10:17]cmd_get_value [00:10:17]process_action get_value done [00:10:17]requested_data is exist [00:10:17]produce_requested_data [00:10:17]requested_item kkm.sn is exist - process it [00:10:17]requested_item kkm.ver is exist - process it [00:10:17]requested_item fm.sn is exist - process it [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 11 00 00 [00:10:17]Write to MH i2c: E2 08 00 C4 07 80 11 00 00 00 00 00 00 45 [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 17 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 17 00 C4 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 94 [00:10:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:10:17]wFMCommunicate OK [00:10:17]requested_item fd.num is exist - process it [00:10:17]SAM_PROTO_GetFieldsCounters [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 13 00 00 [00:10:17]Write to MH i2c: E2 08 00 C5 07 80 13 00 00 00 00 00 00 48 [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 62 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 62 00 C5 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 14 [00:10:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:17]wFMCommunicate OK [00:10:17]SAM_PROTO_GetFieldsCounters done [00:10:17]requested_item shift.num is exist - process it [00:10:17]requested_item shift.opened is exist - process it [00:10:17]req_shift_opened [00:10:17]FM_GetShiftState [00:10:17]SAM_PROTO_GetShiftState [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 13 01 00 [00:10:17]Write to MH i2c: E2 08 00 C6 07 80 13 01 00 00 00 00 00 4A [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 0E 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 0E 00 C6 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 8F [00:10:17]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [00:10:17]wFMCommunicate OK [00:10:17]SAM_PROTO_GetShiftState done [00:10:17]FM_GetShiftState done [00:10:17]req_shift_opened done [00:10:17]requested_item shift.open_date is exist - process it [00:10:17]req_shift_open_date [00:10:17]req_shift_open_date done [00:10:17]produce_requested_data done [00:10:17]produce_requested_data return {"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15858,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [00:10:17]process_action_free get_value [00:10:17]json_value_free [00:10:17]json_value_free done [00:10:17]process_json_proto returns [00:10:17]Send response to host [00:10:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15858,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [00:10:17]free response buf [00:10:17]execute_script done [00:10:17]execute_script returns [00:10:17]free content buf [00:10:17]Sock 7.Close socket [00:10:17]Sock 7.Thread stoped [00:10:17]accept exits with 10 [00:10:17]New connection [00:10:17]New thread 3067247972 created [00:10:17]Thread 3067391332 joined [00:10:17]Waiting for new connection... [00:10:17] Sock 10.Parse request [00:10:17]Sock 10.Check first char [00:10:17]Sock 10.First char is OK [00:10:17]request: POST /json_proto HTTP/1.0 [00:10:17]Method: POST [00:10:17]URL: /json_proto [00:10:17]Method is POST - this is cgi request [00:10:17]url: /json_proto [00:10:17]query_string will be loaded in cgi processing [00:10:17]execute_cgi json_proto POST (null) [00:10:17]execute_cgi path=json_proto method=POST [00:10:17]POST find Content-Length [00:10:17]Host: 172.17.54.195:8080 [00:10:17]Content-Length: 331 [00:10:17]Content-Type: application/json [00:10:17] [00:10:17]POST finish read [00:10:17]Found Content-Length = 331 [00:10:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:17]execute_script... [00:10:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:17]POST & json_proto [00:10:17]process_json_proto [00:10:17]json parsed OK: [00:10:17]protocol is kg_v1.0 [00:10:17]action value=get_value [00:10:17]process_action get_value [00:10:17]cmd_get_value [00:10:17]process_action get_value done [00:10:17]requested_data is exist [00:10:17]produce_requested_data [00:10:17]requested_item fm.sale.total is exist - process it [00:10:17]SAM_PROTO_GetFMData [00:10:17]wFMCommunicate request_size=4 [00:10:17]MH_SAM_APDU [00:10:17]CAPDU: 80 13 03 00 [00:10:17]Write to MH i2c: E2 08 00 C7 07 80 13 03 00 00 00 00 00 4D [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 C7 07 00 BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 E9 [00:10:18]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [00:10:18]wFMCommunicate OK [00:10:18]wFMCommunicate request_size=4 [00:10:18]MH_SAM_APDU [00:10:18]CAPDU: 80 17 00 00 [00:10:18]Write to MH i2c: E2 08 00 C8 07 80 17 00 00 00 00 00 00 4F [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 C8 07 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 B8 [00:10:18]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:10:18]wFMCommunicate OK [00:10:18]wFMCommunicate request_size=4 [00:10:18]MH_SAM_APDU [00:10:18]CAPDU: 80 17 00 00 [00:10:18]Write to MH i2c: E2 08 00 C9 07 80 17 00 00 00 00 00 00 50 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:18]Read from MH i2c: E2 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 [00:10:18]MH_I2C_Read... [00:10:18]Read from MH i2c: E2 FD 00 C9 07 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 F4 [00:10:18]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:10:18]wFMCommunicate OK [00:10:18]wFMCommunicate request_size=4 [00:10:18]MH_SAM_APDU [00:10:18]CAPDU: 80 17 00 00 [00:10:18]Write to MH i2c: E2 08 00 CA 07 80 17 00 00 00 00 00 00 51 [00:10:18]Write i2c OK [00:10:18]MH_I2C_Read... [00:10:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:19]Read from MH i2c: E2 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 FD 00 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 FD 00 CA 07 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 CB [00:10:19]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:10:19]wFMCommunicate OK [00:10:19]wFMCommunicate request_size=4 [00:10:19]MH_SAM_APDU [00:10:19]CAPDU: 80 17 00 00 [00:10:19]Write to MH i2c: E2 08 00 CB 07 80 17 00 00 00 00 00 00 52 [00:10:19]Write i2c OK [00:10:19]MH_I2C_Read... [00:10:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:10:19]Read from MH i2c: E2 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 DC 00 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 DC 00 CB 07 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 36 [00:10:19]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:19]wFMCommunicate OK [00:10:19]SAM_PROTO_GetFMData done [00:10:19]requested_item fm.sale_refund.total is exist - process it [00:10:19]requested_item fm.buy.total is exist - process it [00:10:19]requested_item shift.sale.total is exist - process it [00:10:19]SAM_PROTO_GetShiftData [00:10:19]wFMCommunicate request_size=4 [00:10:19]MH_SAM_APDU [00:10:19]CAPDU: 80 13 02 00 [00:10:19]Write to MH i2c: E2 08 00 CC 07 80 13 02 00 00 00 00 00 51 [00:10:19]Write i2c OK [00:10:19]MH_I2C_Read... [00:10:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:19]Read from MH i2c: E2 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 FD 00 [00:10:19]MH_I2C_Read... [00:10:19]Read from MH i2c: E2 FD 00 CC 07 00 AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 41 [00:10:19]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:10:19]wFMCommunicate OK [00:10:19]wFMCommunicate request_size=4 [00:10:19]MH_SAM_APDU [00:10:19]CAPDU: 80 17 00 00 [00:10:19]Write to MH i2c: E2 08 00 CD 07 80 17 00 00 00 00 00 00 54 [00:10:19]Write i2c OK [00:10:19]MH_I2C_Read... [00:10:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:20]Read from MH i2c: E2 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 FD 00 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 FD 00 CD 07 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 76 [00:10:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:10:20]wFMCommunicate OK [00:10:20]wFMCommunicate request_size=4 [00:10:20]MH_SAM_APDU [00:10:20]CAPDU: 80 17 00 00 [00:10:20]Write to MH i2c: E2 08 00 CE 07 80 17 00 00 00 00 00 00 55 [00:10:20]Write i2c OK [00:10:20]MH_I2C_Read... [00:10:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:20]Read from MH i2c: E2 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 FD 00 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 FD 00 CE 07 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 0C [00:10:20]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:10:20]wFMCommunicate OK [00:10:20]wFMCommunicate request_size=4 [00:10:20]MH_SAM_APDU [00:10:20]CAPDU: 80 17 00 00 [00:10:20]Write to MH i2c: E2 08 00 CF 07 80 17 00 00 00 00 00 00 56 [00:10:20]Write i2c OK [00:10:20]MH_I2C_Read... [00:10:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:20]Read from MH i2c: E2 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 FD 00 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 FD 00 CF 07 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C8 [00:10:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:10:20]wFMCommunicate OK [00:10:20]wFMCommunicate request_size=4 [00:10:20]MH_SAM_APDU [00:10:20]CAPDU: 80 17 00 00 [00:10:20]Write to MH i2c: E2 08 00 D0 07 80 17 00 00 00 00 00 00 57 [00:10:20]Write i2c OK [00:10:20]MH_I2C_Read... [00:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:10:21]Read from MH i2c: E2 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 CB 00 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 CB 00 D0 07 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 40 [00:10:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:21]wFMCommunicate OK [00:10:21]SAM_PROTO_GetShiftData done [00:10:21]requested_item shift.sale.total_cash is exist - process it [00:10:21]requested_item shift.sale_refund.total is exist - process it [00:10:21]requested_item shift.sale_refund.total_cash is exist - process it [00:10:21]requested_item shift.buy.total is exist - process it [00:10:21]requested_item shift.buy.total_cash is exist - process it [00:10:21]produce_requested_data done [00:10:21]produce_requested_data return {"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:10:21]process_action_free get_value [00:10:21]json_value_free [00:10:21]json_value_free done [00:10:21]process_json_proto returns [00:10:21]Send response to host [00:10:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:10:21]free response buf [00:10:21]execute_script done [00:10:21]execute_script returns [00:10:21]free content buf [00:10:21]Sock 10.Close socket [00:10:21]Sock 10.Thread stoped [00:10:21]accept exits with 7 [00:10:21]New connection [00:10:21]New thread 3067391332 created [00:10:21]Thread 3067247972 joined [00:10:21]Waiting for new connection... [00:10:21] Sock 7.Parse request [00:10:21]Sock 7.Check first char [00:10:21]Sock 7.First char is OK [00:10:21]request: POST /json_proto HTTP/1.0 [00:10:21]Method: POST [00:10:21]URL: /json_proto [00:10:21]Method is POST - this is cgi request [00:10:21]url: /json_proto [00:10:21]query_string will be loaded in cgi processing [00:10:21]execute_cgi json_proto POST (null) [00:10:21]execute_cgi path=json_proto method=POST [00:10:21]POST find Content-Length [00:10:21]Host: 172.17.54.195:8080 [00:10:21]Content-Length: 331 [00:10:21]Content-Type: application/json [00:10:21] [00:10:21]POST finish read [00:10:21]Found Content-Length = 331 [00:10:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:21]execute_script... [00:10:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:21]POST & json_proto [00:10:21]process_json_proto [00:10:21]json parsed OK: [00:10:21]protocol is kg_v1.0 [00:10:21]action value=get_value [00:10:21]process_action get_value [00:10:21]cmd_get_value [00:10:21]process_action get_value done [00:10:21]requested_data is exist [00:10:21]produce_requested_data [00:10:21]requested_item fm.sale.total is exist - process it [00:10:21]SAM_PROTO_GetFMData [00:10:21]wFMCommunicate request_size=4 [00:10:21]MH_SAM_APDU [00:10:21]CAPDU: 80 13 03 00 [00:10:21]Write to MH i2c: E2 08 00 D1 07 80 13 03 00 00 00 00 00 57 [00:10:21]Write i2c OK [00:10:21]MH_I2C_Read... [00:10:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:21]Read from MH i2c: E2 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 D1 07 00 BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 F3 [00:10:21]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [00:10:21]wFMCommunicate OK [00:10:21]wFMCommunicate request_size=4 [00:10:21]MH_SAM_APDU [00:10:21]CAPDU: 80 17 00 00 [00:10:21]Write to MH i2c: E2 08 00 D2 07 80 17 00 00 00 00 00 00 59 [00:10:21]Write i2c OK [00:10:21]MH_I2C_Read... [00:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:21]Read from MH i2c: E2 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 [00:10:21]MH_I2C_Read... [00:10:21]Read from MH i2c: E2 FD 00 D2 07 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 C2 [00:10:22]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:10:22]wFMCommunicate OK [00:10:22]wFMCommunicate request_size=4 [00:10:22]MH_SAM_APDU [00:10:22]CAPDU: 80 17 00 00 [00:10:22]Write to MH i2c: E2 08 00 D3 07 80 17 00 00 00 00 00 00 5A [00:10:22]Write i2c OK [00:10:22]MH_I2C_Read... [00:10:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:22]Read from MH i2c: E2 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 D3 07 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 FE [00:10:22]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:10:22]wFMCommunicate OK [00:10:22]wFMCommunicate request_size=4 [00:10:22]MH_SAM_APDU [00:10:22]CAPDU: 80 17 00 00 [00:10:22]Write to MH i2c: E2 08 00 D4 07 80 17 00 00 00 00 00 00 5B [00:10:22]OFD Sender: No OFD packet to send [00:10:22]Write i2c OK [00:10:22]MH_I2C_Read... [00:10:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:22]Read from MH i2c: E2 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 [00:10:22]MH_I2C_Read... [00:10:22]Read from MH i2c: E2 FD 00 D4 07 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 D5 [00:10:22]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:10:22]wFMCommunicate OK [00:10:22]wFMCommunicate request_size=4 [00:10:22]MH_SAM_APDU [00:10:22]CAPDU: 80 17 00 00 [00:10:22]Write to MH i2c: E2 08 00 D5 07 80 17 00 00 00 00 00 00 5C [00:10:22]Write i2c OK [00:10:22]MH_I2C_Read... [00:10:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:10:23]Read from MH i2c: E2 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 DC 00 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 DC 00 D5 07 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 40 [00:10:23]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:23]wFMCommunicate OK [00:10:23]SAM_PROTO_GetFMData done [00:10:23]requested_item fm.sale_refund.total is exist - process it [00:10:23]requested_item fm.buy.total is exist - process it [00:10:23]requested_item shift.sale.total is exist - process it [00:10:23]SAM_PROTO_GetShiftData [00:10:23]wFMCommunicate request_size=4 [00:10:23]MH_SAM_APDU [00:10:23]CAPDU: 80 13 02 00 [00:10:23]Write to MH i2c: E2 08 00 D6 07 80 13 02 00 00 00 00 00 5B [00:10:23]Write i2c OK [00:10:23]MH_I2C_Read... [00:10:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:23]Read from MH i2c: E2 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 FD 00 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 FD 00 D6 07 00 AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 4B [00:10:23]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:10:23]wFMCommunicate OK [00:10:23]wFMCommunicate request_size=4 [00:10:23]MH_SAM_APDU [00:10:23]CAPDU: 80 17 00 00 [00:10:23]Write to MH i2c: E2 08 00 D7 07 80 17 00 00 00 00 00 00 5E [00:10:23]Write i2c OK [00:10:23]MH_I2C_Read... [00:10:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 FD 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 FD 00 D7 07 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 80 [00:10:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:10:24]wFMCommunicate OK [00:10:24]wFMCommunicate request_size=4 [00:10:24]MH_SAM_APDU [00:10:24]CAPDU: 80 17 00 00 [00:10:24]Write to MH i2c: E2 08 00 D8 07 80 17 00 00 00 00 00 00 5F [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 FD 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 FD 00 D8 07 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 16 [00:10:24]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:10:24]wFMCommunicate OK [00:10:24]wFMCommunicate request_size=4 [00:10:24]MH_SAM_APDU [00:10:24]CAPDU: 80 17 00 00 [00:10:24]Write to MH i2c: E2 08 00 D9 07 80 17 00 00 00 00 00 00 60 [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 FD 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 FD 00 D9 07 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 D2 [00:10:25]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:10:25]wFMCommunicate OK [00:10:25]wFMCommunicate request_size=4 [00:10:25]MH_SAM_APDU [00:10:25]CAPDU: 80 17 00 00 [00:10:25]Write to MH i2c: E2 08 00 DA 07 80 17 00 00 00 00 00 00 61 [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:10:25]Read from MH i2c: E2 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 CB 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 CB 00 DA 07 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4A [00:10:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:25]wFMCommunicate OK [00:10:25]SAM_PROTO_GetShiftData done [00:10:25]requested_item shift.sale.total_cash is exist - process it [00:10:25]requested_item shift.sale_refund.total is exist - process it [00:10:25]requested_item shift.sale_refund.total_cash is exist - process it [00:10:25]requested_item shift.buy.total is exist - process it [00:10:25]requested_item shift.buy.total_cash is exist - process it [00:10:25]produce_requested_data done [00:10:25]produce_requested_data return {"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:10:25]process_action_free get_value [00:10:25]json_value_free [00:10:25]json_value_free done [00:10:25]process_json_proto returns [00:10:25]Send response to host [00:10:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:10:25]free response buf [00:10:25]execute_script done [00:10:25]execute_script returns [00:10:25]free content buf [00:10:25]Sock 7.Close socket [00:10:25]Sock 7.Thread stoped [00:10:25]accept exits with 9 [00:10:25]New connection [00:10:25]New thread 3067247972 created [00:10:25]Thread 3067391332 joined [00:10:25]Waiting for new connection... [00:10:25] Sock 9.Parse request [00:10:25]Sock 9.Check first char [00:10:25]Sock 9.First char is OK [00:10:25]request: POST /json_proto HTTP/1.0 [00:10:25]Method: POST [00:10:25]URL: /json_proto [00:10:25]Method is POST - this is cgi request [00:10:25]url: /json_proto [00:10:25]query_string will be loaded in cgi processing [00:10:25]execute_cgi json_proto POST (null) [00:10:25]execute_cgi path=json_proto method=POST [00:10:25]POST find Content-Length [00:10:25]Host: 172.17.54.195:8080 [00:10:25]Content-Length: 281 [00:10:25]Content-Type: application/json [00:10:25] [00:10:25]POST finish read [00:10:25]Found Content-Length = 281 [00:10:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0428\u0430\u0440\u0448\u0435\u043D\u043A\u0443\u043B\u043E\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:25]execute_script... [00:10:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0428\u0430\u0440\u0448\u0435\u043D\u043A\u0443\u043B\u043E\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:25]POST & json_proto [00:10:25]process_json_proto [00:10:25]json parsed OK: [00:10:25]protocol is kg_v1.0 [00:10:25]action value=x_report [00:10:25]process_action x_report [00:10:25]cmd_x_report [00:10:25]MH_GetDate [00:10:25]Write to MH i2c: F0 00 00 DB 07 D1 [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: F0 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: F0 09 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: F0 09 00 DB 07 00 F2 CA 22 67 8D 90 A3 66 45 [00:10:25]GetLastDocTimeStamp 1730332740 [00:10:25]current date 1730333426 [00:10:25]FM_GetShiftState [00:10:25]SAM_PROTO_GetShiftState [00:10:25]wFMCommunicate request_size=4 [00:10:25]MH_SAM_APDU [00:10:25]CAPDU: 80 13 01 00 [00:10:25]Write to MH i2c: E2 08 00 DC 07 80 13 01 00 00 00 00 00 60 [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:25]Read from MH i2c: E2 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 0E 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 0E 00 DC 07 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 A5 [00:10:25]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [00:10:25]wFMCommunicate OK [00:10:25]SAM_PROTO_GetShiftState done [00:10:25]FM_GetShiftState done [00:10:25]KKMCreateXReportDocument [00:10:25]Load OK [00:10:25]Malloc new data [00:10:25]MH_GetDate [00:10:25]Write to MH i2c: F0 00 00 DD 07 D3 [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: F0 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: F0 09 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: F0 09 00 DD 07 00 F3 CA 22 67 8D 90 A3 66 48 [00:10:25]Malloc new data [00:10:25]Malloc new data [00:10:25]wFMCommunicate request_size=4 [00:10:25]MH_SAM_APDU [00:10:25]CAPDU: 80 11 00 00 [00:10:25]Write to MH i2c: E2 08 00 DE 07 80 11 00 00 00 00 00 00 5F [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:25]Read from MH i2c: E2 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 17 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 17 00 DE 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 AE [00:10:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:10:25]wFMCommunicate OK [00:10:25]SAM_PROTO_GetFieldsCounters [00:10:25]wFMCommunicate request_size=4 [00:10:25]MH_SAM_APDU [00:10:25]CAPDU: 80 13 00 00 [00:10:25]Write to MH i2c: E2 08 00 DF 07 80 13 00 00 00 00 00 00 62 [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:25]Read from MH i2c: E2 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 62 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 62 00 DF 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 2E [00:10:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:25]wFMCommunicate OK [00:10:25]SAM_PROTO_GetFieldsCounters done [00:10:25]Malloc new data [00:10:25]Malloc new data [00:10:25]Malloc new data [00:10:25]KKMCreateXReportDocument OK [00:10:25]KKMSetXReportData OK [00:10:25]KKMPrepareXReportFMData [00:10:25]SAM_PROTO_GetShiftData [00:10:25]wFMCommunicate request_size=4 [00:10:25]MH_SAM_APDU [00:10:25]CAPDU: 80 13 02 00 [00:10:25]Write to MH i2c: E2 08 00 E0 07 80 13 02 00 00 00 00 00 65 [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:26]Read from MH i2c: E2 [00:10:26]MH_I2C_Read... [00:10:26]Read from MH i2c: E2 FD 00 [00:10:26]MH_I2C_Read... [00:10:26]Read from MH i2c: E2 FD 00 E0 07 00 AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 55 [00:10:26]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:10:26]wFMCommunicate OK [00:10:26]wFMCommunicate request_size=4 [00:10:26]MH_SAM_APDU [00:10:26]CAPDU: 80 17 00 00 [00:10:26]Write to MH i2c: E2 08 00 E1 07 80 17 00 00 00 00 00 00 68 [00:10:26]Write i2c OK [00:10:26]MH_I2C_Read... [00:10:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:26]Read from MH i2c: E2 [00:10:26]MH_I2C_Read... [00:10:26]Read from MH i2c: E2 FD 00 [00:10:26]MH_I2C_Read... [00:10:26]Read from MH i2c: E2 FD 00 E1 07 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 8A [00:10:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:10:27]wFMCommunicate OK [00:10:27]wFMCommunicate request_size=4 [00:10:27]MH_SAM_APDU [00:10:27]CAPDU: 80 17 00 00 [00:10:27]Write to MH i2c: E2 08 00 E2 07 80 17 00 00 00 00 00 00 69 [00:10:27]Write i2c OK [00:10:27]MH_I2C_Read... [00:10:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:27]Read from MH i2c: E2 [00:10:27]MH_I2C_Read... [00:10:27]Read from MH i2c: E2 FD 00 [00:10:27]MH_I2C_Read... [00:10:27]Read from MH i2c: E2 FD 00 E2 07 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 20 [00:10:27]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:10:27]wFMCommunicate OK [00:10:27]wFMCommunicate request_size=4 [00:10:27]MH_SAM_APDU [00:10:27]CAPDU: 80 17 00 00 [00:10:27]Write to MH i2c: E2 08 00 E3 07 80 17 00 00 00 00 00 00 6A [00:10:27]Write i2c OK [00:10:27]MH_I2C_Read... [00:10:27]OFD Sender: No OFD packet to send [00:10:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:27]Read from MH i2c: E2 [00:10:27]MH_I2C_Read... [00:10:27]Read from MH i2c: E2 FD 00 [00:10:27]MH_I2C_Read... [00:10:27]Read from MH i2c: E2 FD 00 E3 07 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 DC [00:10:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:10:28]wFMCommunicate OK [00:10:28]wFMCommunicate request_size=4 [00:10:28]MH_SAM_APDU [00:10:28]CAPDU: 80 17 00 00 [00:10:28]Write to MH i2c: E2 08 00 E4 07 80 17 00 00 00 00 00 00 6B [00:10:28]Write i2c OK [00:10:28]MH_I2C_Read... [00:10:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:10:28]Read from MH i2c: E2 [00:10:28]MH_I2C_Read... [00:10:28]Read from MH i2c: E2 CB 00 [00:10:28]MH_I2C_Read... [00:10:28]Read from MH i2c: E2 CB 00 E4 07 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 54 [00:10:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:28]wFMCommunicate OK [00:10:28]SAM_PROTO_GetShiftData done [00:10:28]1194 (1194) - счетчики итогов смены [00:10:28] 1134 (4) - 68 - количество чеков со всеми признаками расчетов [00:10:28] 1129 (155) - счетчики операций «приход» [00:10:28] 1135 (4) - 68 - количество чеков по признаку расчетов [00:10:28] 1201 (3) - 73783.00 - общая итоговая сумма в чеках [00:10:28] 1136 (3) - 55307.00 - итоговая сумма в чеках наличными [00:10:28] 1138 (3) - 18476.00 - итоговая сумма в чеках безналичными [00:10:28] 1024 (122) - суммы налогов [00:10:28] 1006 (9) - суммы НДС [00:10:28] 1010 (1) - 0% - код ставки НДС [00:10:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:28] 1006 (12) - суммы НДС [00:10:28] 1010 (1) - 12% - код ставки НДС [00:10:28] 1011 (3) - 7837.56 - сумма НДС по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 0% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (11) - суммы НСП [00:10:28] 1014 (1) - 1% - код ставки НСП [00:10:28] 1015 (2) - 653.06 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 2% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 3% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 5% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 0,50% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 1,50% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1130 (141) - счетчики операций «возврат прихода» [00:10:28] 1135 (4) - 0 - количество чеков по признаку расчетов [00:10:28] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:10:28] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:10:28] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:10:28] 1024 (117) - суммы налогов [00:10:28] 1006 (9) - суммы НДС [00:10:28] 1010 (1) - 0% - код ставки НДС [00:10:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:28] 1006 (9) - суммы НДС [00:10:28] 1010 (1) - 12% - код ставки НДС [00:10:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 0% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 1% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 2% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 3% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 5% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 0,50% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 1,50% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1131 (141) - счетчики операций «расход» [00:10:28] 1135 (4) - 0 - количество чеков по признаку расчетов [00:10:28] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:10:28] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:10:28] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:10:28] 1024 (117) - суммы налогов [00:10:28] 1006 (9) - суммы НДС [00:10:28] 1010 (1) - 0% - код ставки НДС [00:10:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:28] 1006 (9) - суммы НДС [00:10:28] 1010 (1) - 12% - код ставки НДС [00:10:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 0% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 1% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 2% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 3% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 5% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 0,50% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 1,50% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1132 (141) - счетчики операций «возврат расхода» [00:10:28] 1135 (4) - 0 - количество чеков по признаку расчетов [00:10:28] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:10:28] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:10:28] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:10:28] 1024 (117) - суммы налогов [00:10:28] 1006 (9) - суммы НДС [00:10:28] 1010 (1) - 0% - код ставки НДС [00:10:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:28] 1006 (9) - суммы НДС [00:10:28] 1010 (1) - 12% - код ставки НДС [00:10:28] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 0% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 1% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 2% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 3% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 5% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 0,50% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 1,50% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1133 (588) - - счетчики коррекции - не используются [00:10:28]SetTLVBufToDocument [00:10:28]Processing tag 1194 (04AA) [00:10:28]Load OK [00:10:28]SetTLVBufToDocument [00:10:28]Processing tag 1134 (046E) [00:10:28]Malloc new data [00:10:28]Processing tag 1129 (0469) [00:10:28]Load OK [00:10:28]SetTLVBufToDocument [00:10:28]Processing tag 1135 (046F) [00:10:28]Malloc new data [00:10:29]Processing tag 1201 (04B1) [00:10:29]Malloc new data [00:10:29]Processing tag 1136 (0470) [00:10:29]Malloc new data [00:10:29]Processing tag 1138 (0472) [00:10:29]Malloc new data [00:10:29]Processing tag 1024 (0400) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1006 (03EE) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1010 (03F2) [00:10:29]Malloc new data [00:10:29]Processing tag 1011 (03F3) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1006 (03EE) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1010 (03F2) [00:10:29]Malloc new data [00:10:29]Processing tag 1011 (03F3) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]SetTLVBufToDocument err=0 [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1130 (046A) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1135 (046F) [00:10:29]Malloc new data [00:10:29]Processing tag 1201 (04B1) [00:10:29]Malloc new data [00:10:29]Processing tag 1136 (0470) [00:10:29]Malloc new data [00:10:29]Processing tag 1138 (0472) [00:10:29]Malloc new data [00:10:29]Processing tag 1024 (0400) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1006 (03EE) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1010 (03F2) [00:10:29]Malloc new data [00:10:29]Processing tag 1011 (03F3) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1006 (03EE) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1010 (03F2) [00:10:29]Malloc new data [00:10:29]Processing tag 1011 (03F3) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]SetTLVBufToDocument err=0 [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1131 (046B) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1135 (046F) [00:10:29]Malloc new data [00:10:29]Processing tag 1201 (04B1) [00:10:29]Malloc new data [00:10:29]Processing tag 1136 (0470) [00:10:29]Malloc new data [00:10:29]Processing tag 1138 (0472) [00:10:29]Malloc new data [00:10:29]Processing tag 1024 (0400) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1006 (03EE) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1010 (03F2) [00:10:29]Malloc new data [00:10:29]Processing tag 1011 (03F3) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1006 (03EE) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1010 (03F2) [00:10:29]Malloc new data [00:10:29]Processing tag 1011 (03F3) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]SetTLVBufToDocument err=0 [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1132 (046C) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1135 (046F) [00:10:29]Malloc new data [00:10:29]Processing tag 1201 (04B1) [00:10:29]Malloc new data [00:10:29]Processing tag 1136 (0470) [00:10:29]Malloc new data [00:10:29]Processing tag 1138 (0472) [00:10:29]Malloc new data [00:10:29]Processing tag 1024 (0400) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1006 (03EE) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1010 (03F2) [00:10:29]Malloc new data [00:10:29]Processing tag 1011 (03F3) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1006 (03EE) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1010 (03F2) [00:10:29]Malloc new data [00:10:29]Processing tag 1011 (03F3) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1007 (03EF) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1014 (03F6) [00:10:29]Malloc new data [00:10:29]Processing tag 1015 (03F7) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]SetTLVBufToDocument err=0 [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Processing tag 1133 (046D) [00:10:29]Malloc new data [00:10:29]SetTLVBufToDocument err=0 [00:10:29]SetTLVBufToDocument err=0 [00:10:29]Malloc new data [00:10:29]SAM_PROTO_GetFMData [00:10:29]wFMCommunicate request_size=4 [00:10:29]MH_SAM_APDU [00:10:29]CAPDU: 80 13 03 00 [00:10:29]Write to MH i2c: E2 08 00 E5 07 80 13 03 00 00 00 00 00 6B [00:10:29]Write i2c OK [00:10:29]MH_I2C_Read... [00:10:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:30]Read from MH i2c: E2 [00:10:30]MH_I2C_Read... [00:10:30]Read from MH i2c: E2 FD 00 [00:10:30]MH_I2C_Read... [00:10:30]Read from MH i2c: E2 FD 00 E5 07 00 BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 07 [00:10:30]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [00:10:30]wFMCommunicate OK [00:10:30]wFMCommunicate request_size=4 [00:10:30]MH_SAM_APDU [00:10:30]CAPDU: 80 17 00 00 [00:10:30]Write to MH i2c: E2 08 00 E6 07 80 17 00 00 00 00 00 00 6D [00:10:30]Write i2c OK [00:10:30]MH_I2C_Read... [00:10:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:30]Read from MH i2c: E2 [00:10:30]MH_I2C_Read... [00:10:30]Read from MH i2c: E2 FD 00 [00:10:30]MH_I2C_Read... [00:10:30]Read from MH i2c: E2 FD 00 E6 07 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 D6 [00:10:30]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:10:30]wFMCommunicate OK [00:10:30]wFMCommunicate request_size=4 [00:10:30]MH_SAM_APDU [00:10:30]CAPDU: 80 17 00 00 [00:10:30]Write to MH i2c: E2 08 00 E7 07 80 17 00 00 00 00 00 00 6E [00:10:30]Write i2c OK [00:10:30]MH_I2C_Read... [00:10:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:31]Read from MH i2c: E2 [00:10:31]MH_I2C_Read... [00:10:31]Read from MH i2c: E2 FD 00 [00:10:31]MH_I2C_Read... [00:10:31]Read from MH i2c: E2 FD 00 E7 07 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 12 [00:10:31]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:10:31]wFMCommunicate OK [00:10:31]wFMCommunicate request_size=4 [00:10:31]MH_SAM_APDU [00:10:31]CAPDU: 80 17 00 00 [00:10:31]Write to MH i2c: E2 08 00 E8 07 80 17 00 00 00 00 00 00 6F [00:10:31]Write i2c OK [00:10:31]MH_I2C_Read... [00:10:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:31]Read from MH i2c: E2 [00:10:31]MH_I2C_Read... [00:10:31]Read from MH i2c: E2 FD 00 [00:10:31]MH_I2C_Read... [00:10:31]Read from MH i2c: E2 FD 00 E8 07 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 E9 [00:10:31]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:10:31]wFMCommunicate OK [00:10:31]wFMCommunicate request_size=4 [00:10:31]MH_SAM_APDU [00:10:31]CAPDU: 80 17 00 00 [00:10:31]Write to MH i2c: E2 08 00 E9 07 80 17 00 00 00 00 00 00 70 [00:10:32]Write i2c OK [00:10:32]MH_I2C_Read... [00:10:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:10:32]Read from MH i2c: E2 [00:10:32]MH_I2C_Read... [00:10:32]Read from MH i2c: E2 DC 00 [00:10:32]MH_I2C_Read... [00:10:32]Read from MH i2c: E2 DC 00 E9 07 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 54 [00:10:32]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:32]wFMCommunicate OK [00:10:32]SAM_PROTO_GetFMData done [00:10:32]FM_GetFMData:85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 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 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 OFD Sender: No OFD packet to send [00:10:32]00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:33]oper:6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:33]total:A0 B7 FC 5F [00:10:33]Malloc new data [00:10:33]oper:6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 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 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:33]total:70 45 9F [00:10:33]Malloc new data [00:10:33]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:33]total: [00:10:33]Malloc new data [00:10:33]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:33]total: [00:10:33]Malloc new data [00:10:33]KKMPrepareXReportFMData err=0 [00:10:33]Х отчет ИНН: 02508201610067 Кассир: Шаршенкулова Н. 31.10.2024 00:10 Смена: 10 РНМ: 0000000000161798 ЗНМ: 0300000014 СНО: Общий режим Всего чеков: 68 ИТОГИ ПРИХОД Чеков: 68 Общий итог: 73783.00 Итого наличными: 55307.00 Итого безнал.: 18476.00 НДС 0% : 0.00 НДС 12% : 7837.56 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 653.06 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 55307.00 НС Приход: 16103976.00 НС Возвр.Прихода: 104380.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000963325 [00:10:33]StoreToDocumentArchive [00:10:33]MH_GetDate [00:10:33]Write to MH i2c: F0 00 00 EA 07 E0 [00:10:33]Write i2c OK [00:10:33]MH_I2C_Read... [00:10:33]Read from MH i2c: F0 [00:10:33]MH_I2C_Read... [00:10:33]Read from MH i2c: F0 09 00 [00:10:33]MH_I2C_Read... [00:10:33]Read from MH i2c: F0 09 00 EA 07 00 FB CA 22 67 8D 90 A3 66 5D [00:10:33]shift 10 fd 1730333435 [00:10:33]Create dir for shift 0010 [00:10:33]save to /storage/0010/doc_1730333435 [00:10:33]save last doc name /storage/0010/doc_1730333435 to /storage/kkm_last_doc_name [00:10:33]save OK [00:10:33]Clear old archive folders... [00:10:33]NVStorageSaveData kkm_last_timestamp [00:10:33]File name is /storage/kkm_last_timestamp [00:10:33]Write 4 bytes [00:10:33]NVStorageSaveData done [00:10:33]ExternCall_PrintAddStr [00:10:33]wPrintStart [00:10:33]Write to MH i2c: 01 00 00 EB 07 F2 [00:10:33]Write i2c OK [00:10:33]MH_I2C_Read... [00:10:33]Read from MH i2c: 01 [00:10:33]MH_I2C_Read... [00:10:33]Read from MH i2c: 01 07 00 [00:10:33]MH_I2C_Read... [00:10:33]Read from MH i2c: 01 07 00 EB 07 00 00 00 00 00 FF 0F 07 [00:10:33]RasterBufferAndPrint [00:10:33]line Х отчет [00:10:33]line ИНН: 02508201610067 [00:10:33]line Кассир: Шаршенкулова Н. [00:10:33]line 31.10.2024 00:10 [00:10:33]line Смена: 10 [00:10:33]line РНМ: 0000000000161798 [00:10:33]line ЗНМ: 0300000014 [00:10:33]line СНО: Общий режим [00:10:33]line Всего чеков: 68 [00:10:33]line ИТОГИ ПРИХОД [00:10:33]line Чеков: 68 [00:10:33]line Общий итог: 73783.00 [00:10:33]line Итого наличными: 55307.00 [00:10:33]line Итого безнал.: 18476.00 [00:10:33]line НДС 0% : 0.00 [00:10:33]line НДС 12% : 7837.56 [00:10:33]line НСП 0% : 0.00 [00:10:33]line НСП 1,50% : 0.00 [00:10:33]line НСП 0,50% : 0.00 [00:10:33]line НСП 5% : 0.00 [00:10:33]line НСП 3% : 0.00 [00:10:33]line НСП 2% : 0.00 [00:10:33]line НСП 1% : 653.06 [00:10:33]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:10:33]line Чеков: 0 [00:10:33]line Общий итог: 0.00 [00:10:33]line Итого наличными: 0.00 [00:10:33]line Итого безнал.: 0.00 [00:10:33]line НДС 0% : 0.00 [00:10:33]line НДС 12% : 0.00 [00:10:33]line НСП 0% : 0.00 [00:10:33]line НСП 1,50% : 0.00 [00:10:33]line НСП 0,50% : 0.00 [00:10:33]line НСП 5% : 0.00 [00:10:33]line НСП 3% : 0.00 [00:10:33]line НСП 2% : 0.00 [00:10:33]line НСП 1% : 0.00 [00:10:33]line ИТОГИ РАСХОД [00:10:33]line Чеков: 0 [00:10:33]line Общий итог: 0.00 [00:10:33]line Итого наличными: 0.00 [00:10:33]line Итого безнал.: 0.00 [00:10:33]line НДС 0% : 0.00 [00:10:33]line НДС 12% : 0.00 [00:10:33]line НСП 0% : 0.00 [00:10:33]line НСП 1,50% : 0.00 [00:10:33]line НСП 0,50% : 0.00 [00:10:33]line НСП 5% : 0.00 [00:10:33]line НСП 3% : 0.00 [00:10:33]line НСП 2% : 0.00 [00:10:33]line НСП 1% : 0.00 [00:10:33]line ИТОГИ ВОЗВРАТ РАСХОДА [00:10:33]line Чеков: 0 [00:10:33]line Общий итог: 0.00 [00:10:33]line Итого наличными: 0.00 [00:10:33]line Итого безнал.: 0.00 [00:10:33]line НДС 0% : 0.00 [00:10:33]line НДС 12% : 0.00 [00:10:33]line НСП 0% : 0.00 [00:10:33]line НСП 1,50% : 0.00 [00:10:33]line НСП 0,50% : 0.00 [00:10:33]line НСП 5% : 0.00 [00:10:33]line НСП 3% : 0.00 [00:10:33]line НСП 2% : 0.00 [00:10:33]line НСП 1% : 0.00 [00:10:33]line Сумма внесений: 0.00 [00:10:33]line Сумма выплат: 0.00 [00:10:33]line Нал. в кассе: 55307.00 [00:10:33]line НС Приход: 16103976.00 [00:10:33]line НС Возвр.Прихода: 104380.00 [00:10:33]line НС Расход: 0.00 [00:10:33]line НС Возвр.Расхода: 0.00 [00:10:33]line ФМ: 0000000000963325 [00:10:33]written 0, free lines is 4095 [00:10:34]Write to MH i2c: 01 00 00 36 08 3E [00:10:34]Write i2c OK [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: 01 [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: 01 07 00 [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: 01 07 00 36 08 00 00 00 00 00 1B 0B 6B [00:10:34]RasterBufferAndPrint [00:10:34]line [00:10:34]line [00:10:34]line [00:10:34]line [00:10:34]line [00:10:34]written 0, free lines is 2879 [00:10:34]MH_Cut [00:10:34]Write to MH i2c: D1 01 00 3D 08 01 17 [00:10:34]Write i2c OK [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: D1 [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: D1 01 00 [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: D1 01 00 3D 08 00 16 [00:10:34]Write to MH i2c: 01 00 00 3E 08 46 [00:10:34]Write i2c OK [00:10:34]MH_I2C_Read... [00:10:35]*** Cut start [00:10:35]*** Partial cut [00:10:35]*** CUTSNS_PIN = 1 [00:10:35]*** CUTSNS_PIN = 0 [00:10:35]*** Brake cut motor [00:10:36]Read from MH i2c: 01 [00:10:36]MH_I2C_Read... [00:10:36]*** Stop cut motor [00:10:36]*** Cut end [00:10:36]Read from MH i2c: 01 07 00 [00:10:36]MH_I2C_Read... [00:10:36]Read from MH i2c: 01 07 00 3E 08 00 00 00 00 00 FF 0F 5B [00:10:36]process_action x_report done [00:10:36]requested_data is exist [00:10:36]produce_requested_data [00:10:36]requested_item fd.num is exist - process it [00:10:36]SAM_PROTO_GetFieldsCounters [00:10:36]wFMCommunicate request_size=4 [00:10:36]MH_SAM_APDU [00:10:36]CAPDU: 80 13 00 00 [00:10:36]Write to MH i2c: E2 08 00 3F 08 80 13 00 00 00 00 00 00 C3 [00:10:36]Write i2c OK [00:10:36]MH_I2C_Read... [00:10:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:36]Read from MH i2c: E2 [00:10:36]MH_I2C_Read... [00:10:36]Read from MH i2c: E2 62 00 [00:10:36]MH_I2C_Read... [00:10:36]Read from MH i2c: E2 62 00 3F 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 8F [00:10:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:36]wFMCommunicate OK [00:10:36]SAM_PROTO_GetFieldsCounters done [00:10:36]requested_item shift.num is exist - process it [00:10:36]requested_item shift.opened is exist - process it [00:10:36]req_shift_opened [00:10:36]FM_GetShiftState [00:10:36]SAM_PROTO_GetShiftState [00:10:36]wFMCommunicate request_size=4 [00:10:36]MH_SAM_APDU [00:10:36]CAPDU: 80 13 01 00 [00:10:36]Write to MH i2c: E2 08 00 40 08 80 13 01 00 00 00 00 00 C5 [00:10:36]Write i2c OK [00:10:36]MH_I2C_Read... [00:10:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:36]Read from MH i2c: E2 [00:10:36]MH_I2C_Read... [00:10:36]Read from MH i2c: E2 0E 00 [00:10:36]MH_I2C_Read... [00:10:36]Read from MH i2c: E2 0E 00 40 08 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 0A [00:10:36]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [00:10:36]wFMCommunicate OK [00:10:36]SAM_PROTO_GetShiftState done [00:10:36]FM_GetShiftState done [00:10:36]req_shift_opened done [00:10:36]requested_item shift.open_date is exist - process it [00:10:36]req_shift_open_date [00:10:36]req_shift_open_date done [00:10:36]produce_requested_data done [00:10:36]produce_requested_data return {"fd.num":15858,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [00:10:36]process_action_free x_report [00:10:36]json_value_free [00:10:36]json_value_free done [00:10:36]process_json_proto returns [00:10:36]Send response to host [00:10:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":15858,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [00:10:36]free response buf [00:10:36]execute_script done [00:10:36]execute_script returns [00:10:36]free content buf [00:10:36]Sock 9.Close socket [00:10:36]Sock 9.Thread stoped [00:10:37]OFD Sender: No OFD packet to send [00:10:42]accept exits with 7 [00:10:42]New connection [00:10:42]New thread 3067391332 created [00:10:42]Thread 3067247972 joined [00:10:42]Waiting for new connection... [00:10:42] Sock 7.Parse request [00:10:42]Sock 7.Check first char [00:10:42]Sock 7.First char is OK [00:10:42]request: POST /json_proto HTTP/1.0 [00:10:42]Method: POST [00:10:42]URL: /json_proto [00:10:42]Method is POST - this is cgi request [00:10:42]url: /json_proto [00:10:42]query_string will be loaded in cgi processing [00:10:42]execute_cgi json_proto POST (null) [00:10:42]execute_cgi path=json_proto method=POST [00:10:42]POST find Content-Length [00:10:42]Host: 172.17.54.195:8080 [00:10:42]Content-Length: 215 [00:10:42]Content-Type: application/json [00:10:42] [00:10:42]POST finish read [00:10:42]Found Content-Length = 215 [00:10: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" ] } } [00:10:42]execute_script... [00:10: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" ] } } [00:10:42]POST & json_proto [00:10:42]process_json_proto [00:10:42]json parsed OK: [00:10:42]protocol is kg_v1.0 [00:10:42]action value=get_value [00:10:42]process_action get_value [00:10:42]cmd_get_value [00:10:42]process_action get_value done [00:10:42]requested_data is exist [00:10:42]produce_requested_data [00:10:42]requested_item kkm.sn is exist - process it [00:10:42]requested_item kkm.ver is exist - process it [00:10:42]requested_item fm.sn is exist - process it [00:10:42]wFMCommunicate request_size=4 [00:10:42]MH_SAM_APDU [00:10:42]CAPDU: 80 11 00 00 [00:10:42]Write to MH i2c: E2 08 00 41 08 80 11 00 00 00 00 00 00 C3 [00:10:42]Write i2c OK [00:10:42]MH_I2C_Read... [00:10:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:42]Read from MH i2c: E2 [00:10:42]MH_I2C_Read... [00:10:42]Read from MH i2c: E2 17 00 [00:10:42]MH_I2C_Read... [00:10:42]Read from MH i2c: E2 17 00 41 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 12 [00:10:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:10:42]wFMCommunicate OK [00:10:42]requested_item fd.num is exist - process it [00:10:42]SAM_PROTO_GetFieldsCounters [00:10:42]wFMCommunicate request_size=4 [00:10:42]MH_SAM_APDU [00:10:42]CAPDU: 80 13 00 00 [00:10:42]Write to MH i2c: E2 08 00 42 08 80 13 00 00 00 00 00 00 C6 [00:10:42]Write i2c OK [00:10:42]MH_I2C_Read... [00:10:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:42]Read from MH i2c: E2 [00:10:42]MH_I2C_Read... [00:10:42]Read from MH i2c: E2 62 00 [00:10:42]MH_I2C_Read... [00:10:42]Read from MH i2c: E2 62 00 42 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [00:10:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F2 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:42]wFMCommunicate OK [00:10:42]SAM_PROTO_GetFieldsCounters done [00:10:42]requested_item shift.num is exist - process it [00:10:42]requested_item shift.opened is exist - process it [00:10:42]req_shift_opened [00:10:42]FM_GetShiftState [00:10:42]SAM_PROTO_GetShiftState [00:10:42]wFMCommunicate request_size=4 [00:10:42]MH_SAM_APDU [00:10:42]CAPDU: 80 13 01 00 [00:10:42]Write to MH i2c: E2 08 00 43 08 80 13 01 00 00 00 00 00 C8 [00:10:42]Write i2c OK [00:10:42]MH_I2C_Read... [00:10:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:42]Read from MH i2c: E2 [00:10:42]MH_I2C_Read... [00:10:42]Read from MH i2c: E2 0E 00 [00:10:42]MH_I2C_Read... [00:10:42]Read from MH i2c: E2 0E 00 43 08 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 0D [00:10:42]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [00:10:42]wFMCommunicate OK [00:10:42]SAM_PROTO_GetShiftState done [00:10:42]FM_GetShiftState done [00:10:42]req_shift_opened done [00:10:42]requested_item shift.open_date is exist - process it [00:10:42]req_shift_open_date [00:10:42]req_shift_open_date done [00:10:42]produce_requested_data done [00:10:42]produce_requested_data return {"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15858,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478} [00:10:42]process_action_free get_value [00:10:42]json_value_free [00:10:42]json_value_free done [00:10:42]process_json_proto returns [00:10:42]Send response to host [00:10:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15858,"shift.num":173,"shift.opened":1,"shift.open_date":1730247478}}} [00:10:42]free response buf [00:10:42]execute_script done [00:10:42]execute_script returns [00:10:42]free content buf [00:10:42]Sock 7.Close socket [00:10:42]Sock 7.Thread stoped [00:10:42]accept exits with 9 [00:10:42]New connection [00:10:42]New thread 3067247972 created [00:10:42]Thread 3067391332 joined [00:10:42]Waiting for new connection... [00:10:42] Sock 9.Parse request [00:10:42]Sock 9.Check first char [00:10:42]Sock 9.First char is OK [00:10:42]request: POST /json_proto HTTP/1.0 [00:10:42]Method: POST [00:10:42]URL: /json_proto [00:10:42]Method is POST - this is cgi request [00:10:42]url: /json_proto [00:10:42]query_string will be loaded in cgi processing [00:10:42]execute_cgi json_proto POST (null) [00:10:42]execute_cgi path=json_proto method=POST [00:10:42]POST find Content-Length [00:10:42]Host: 172.17.54.195:8080 [00:10:42]Content-Length: 331 [00:10:42]Content-Type: application/json [00:10:42] [00:10:42]POST finish read [00:10:42]Found Content-Length = 331 [00:10:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:42]execute_script... [00:10:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:42]POST & json_proto [00:10:42]process_json_proto [00:10:42]json parsed OK: [00:10:42]protocol is kg_v1.0 [00:10:42]action value=get_value [00:10:42]process_action get_value [00:10:42]cmd_get_value [00:10:42]process_action get_value done [00:10:42]requested_data is exist [00:10:42]produce_requested_data [00:10:42]requested_item fm.sale.total is exist - process it [00:10:42]SAM_PROTO_GetFMData [00:10:42]wFMCommunicate request_size=4 [00:10:42]MH_SAM_APDU [00:10:42]CAPDU: 80 13 03 00 [00:10:42]Write to MH i2c: E2 08 00 44 08 80 13 03 00 00 00 00 00 CB [00:10:42]Write i2c OK [00:10:42]MH_I2C_Read... [00:10:43]OFD Sender: No OFD packet to send [00:10:43]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:43]Read from MH i2c: E2 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: E2 FD 00 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: E2 FD 00 44 08 00 BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 67 [00:10:43]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [00:10:43]wFMCommunicate OK [00:10:43]wFMCommunicate request_size=4 [00:10:43]MH_SAM_APDU [00:10:43]CAPDU: 80 17 00 00 [00:10:43]Write to MH i2c: E2 08 00 45 08 80 17 00 00 00 00 00 00 CD [00:10:43]Write i2c OK [00:10:43]MH_I2C_Read... [00:10:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:43]Read from MH i2c: E2 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: E2 FD 00 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: E2 FD 00 45 08 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 36 [00:10:43]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:10:44]wFMCommunicate OK [00:10:44]wFMCommunicate request_size=4 [00:10:44]MH_SAM_APDU [00:10:44]CAPDU: 80 17 00 00 [00:10:44]Write to MH i2c: E2 08 00 46 08 80 17 00 00 00 00 00 00 CE [00:10:44]Write i2c OK [00:10:44]MH_I2C_Read... [00:10:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:44]Read from MH i2c: E2 [00:10:44]MH_I2C_Read... [00:10:44]Read from MH i2c: E2 FD 00 [00:10:44]MH_I2C_Read... [00:10:44]Read from MH i2c: E2 FD 00 46 08 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 72 [00:10:44]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:10:44]wFMCommunicate OK [00:10:44]wFMCommunicate request_size=4 [00:10:44]MH_SAM_APDU [00:10:44]CAPDU: 80 17 00 00 [00:10:44]Write to MH i2c: E2 08 00 47 08 80 17 00 00 00 00 00 00 CF [00:10:44]Write i2c OK [00:10:44]MH_I2C_Read... [00:10:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:44]Read from MH i2c: E2 [00:10:44]MH_I2C_Read... [00:10:44]Read from MH i2c: E2 FD 00 [00:10:44]MH_I2C_Read... [00:10:44]Read from MH i2c: E2 FD 00 47 08 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 49 [00:10:45]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:10:45]wFMCommunicate OK [00:10:45]wFMCommunicate request_size=4 [00:10:45]MH_SAM_APDU [00:10:45]CAPDU: 80 17 00 00 [00:10:45]Write to MH i2c: E2 08 00 48 08 80 17 00 00 00 00 00 00 D0 [00:10:45]Write i2c OK [00:10:45]MH_I2C_Read... [00:10:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:10:45]Read from MH i2c: E2 [00:10:45]MH_I2C_Read... [00:10:45]Read from MH i2c: E2 DC 00 [00:10:45]MH_I2C_Read... [00:10:45]Read from MH i2c: E2 DC 00 48 08 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B4 [00:10:45]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:45]wFMCommunicate OK [00:10:45]SAM_PROTO_GetFMData done [00:10:45]requested_item fm.sale_refund.total is exist - process it [00:10:45]requested_item fm.buy.total is exist - process it [00:10:45]requested_item shift.sale.total is exist - process it [00:10:45]SAM_PROTO_GetShiftData [00:10:45]wFMCommunicate request_size=4 [00:10:45]MH_SAM_APDU [00:10:45]CAPDU: 80 13 02 00 [00:10:45]Write to MH i2c: E2 08 00 49 08 80 13 02 00 00 00 00 00 CF [00:10:45]Write i2c OK [00:10:45]MH_I2C_Read... [00:10:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:46]Read from MH i2c: E2 [00:10:46]MH_I2C_Read... [00:10:46]Read from MH i2c: E2 FD 00 [00:10:46]MH_I2C_Read... [00:10:46]Read from MH i2c: E2 FD 00 49 08 00 AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 BF [00:10:46]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:10:46]wFMCommunicate OK [00:10:46]wFMCommunicate request_size=4 [00:10:46]MH_SAM_APDU [00:10:46]CAPDU: 80 17 00 00 [00:10:46]Write to MH i2c: E2 08 00 4A 08 80 17 00 00 00 00 00 00 D2 [00:10:46]Write i2c OK [00:10:46]MH_I2C_Read... [00:10:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:46]Read from MH i2c: E2 [00:10:46]MH_I2C_Read... [00:10:46]Read from MH i2c: E2 FD 00 [00:10:46]MH_I2C_Read... [00:10:46]Read from MH i2c: E2 FD 00 4A 08 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 F4 [00:10:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:10:46]wFMCommunicate OK [00:10:46]wFMCommunicate request_size=4 [00:10:46]MH_SAM_APDU [00:10:46]CAPDU: 80 17 00 00 [00:10:46]Write to MH i2c: E2 08 00 4B 08 80 17 00 00 00 00 00 00 D3 [00:10:46]Write i2c OK [00:10:46]MH_I2C_Read... [00:10:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:47]Read from MH i2c: E2 [00:10:47]MH_I2C_Read... [00:10:47]Read from MH i2c: E2 FD 00 [00:10:47]MH_I2C_Read... [00:10:47]Read from MH i2c: E2 FD 00 4B 08 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 8A [00:10:47]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:10:47]wFMCommunicate OK [00:10:47]wFMCommunicate request_size=4 [00:10:47]MH_SAM_APDU [00:10:47]CAPDU: 80 17 00 00 [00:10:47]Write to MH i2c: E2 08 00 4C 08 80 17 00 00 00 00 00 00 D4 [00:10:47]Write i2c OK [00:10:47]MH_I2C_Read... [00:10:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:47]Read from MH i2c: E2 [00:10:47]MH_I2C_Read... [00:10:47]Read from MH i2c: E2 FD 00 [00:10:47]MH_I2C_Read... [00:10:47]Read from MH i2c: E2 FD 00 4C 08 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 46 [00:10:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 OFD Sender: No OFD packet to send [00:10:48] [00:10:48]wFMCommunicate OK [00:10:48]wFMCommunicate request_size=4 [00:10:48]MH_SAM_APDU [00:10:48]CAPDU: 80 17 00 00 [00:10:48]Write to MH i2c: E2 08 00 4D 08 80 17 00 00 00 00 00 00 D5 [00:10:48]Write i2c OK [00:10:48]MH_I2C_Read... [00:10:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:10:48]Read from MH i2c: E2 [00:10:48]MH_I2C_Read... [00:10:48]Read from MH i2c: E2 CB 00 [00:10:48]MH_I2C_Read... [00:10:48]Read from MH i2c: E2 CB 00 4D 08 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BE [00:10:48]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:48]wFMCommunicate OK [00:10:48]SAM_PROTO_GetShiftData done [00:10:48]requested_item shift.sale.total_cash is exist - process it [00:10:48]requested_item shift.sale_refund.total is exist - process it [00:10:48]requested_item shift.sale_refund.total_cash is exist - process it [00:10:48]requested_item shift.buy.total is exist - process it [00:10:48]requested_item shift.buy.total_cash is exist - process it [00:10:48]produce_requested_data done [00:10:48]produce_requested_data return {"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:10:48]process_action_free get_value [00:10:48]json_value_free [00:10:48]json_value_free done [00:10:48]process_json_proto returns [00:10:48]Send response to host [00:10:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:10:48]free response buf [00:10:48]execute_script done [00:10:48]execute_script returns [00:10:48]free content buf [00:10:48]Sock 9.Close socket [00:10:48]Sock 9.Thread stoped [00:10:48]accept exits with 7 [00:10:48]New connection [00:10:48]New thread 3067391332 created [00:10:48]Thread 3067247972 joined [00:10:48]Waiting for new connection... [00:10:48] Sock 7.Parse request [00:10:48]Sock 7.Check first char [00:10:48]Sock 7.First char is OK [00:10:48]request: POST /json_proto HTTP/1.0 [00:10:48]Method: POST [00:10:48]URL: /json_proto [00:10:48]Method is POST - this is cgi request [00:10:48]url: /json_proto [00:10:48]query_string will be loaded in cgi processing [00:10:48]execute_cgi json_proto POST (null) [00:10:48]execute_cgi path=json_proto method=POST [00:10:48]POST find Content-Length [00:10:48]Host: 172.17.54.195:8080 [00:10:48]Content-Length: 331 [00:10:48]Content-Type: application/json [00:10:48] [00:10:48]POST finish read [00:10:48]Found Content-Length = 331 [00:10:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:48]execute_script... [00:10:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:10:48]POST & json_proto [00:10:48]process_json_proto [00:10:48]json parsed OK: [00:10:48]protocol is kg_v1.0 [00:10:48]action value=get_value [00:10:48]process_action get_value [00:10:48]cmd_get_value [00:10:48]process_action get_value done [00:10:48]requested_data is exist [00:10:48]produce_requested_data [00:10:48]requested_item fm.sale.total is exist - process it [00:10:48]SAM_PROTO_GetFMData [00:10:48]wFMCommunicate request_size=4 [00:10:48]MH_SAM_APDU [00:10:48]CAPDU: 80 13 03 00 [00:10:48]Write to MH i2c: E2 08 00 4E 08 80 13 03 00 00 00 00 00 D5 [00:10:48]Write i2c OK [00:10:48]MH_I2C_Read... [00:10:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:49]Read from MH i2c: E2 [00:10:49]MH_I2C_Read... [00:10:49]Read from MH i2c: E2 FD 00 [00:10:49]MH_I2C_Read... [00:10:49]Read from MH i2c: E2 FD 00 4E 08 00 BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 71 [00:10:49]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [00:10:49]wFMCommunicate OK [00:10:49]wFMCommunicate request_size=4 [00:10:49]MH_SAM_APDU [00:10:49]CAPDU: 80 17 00 00 [00:10:49]Write to MH i2c: E2 08 00 4F 08 80 17 00 00 00 00 00 00 D7 [00:10:49]Write i2c OK [00:10:49]MH_I2C_Read... [00:10:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:50]Read from MH i2c: E2 [00:10:50]MH_I2C_Read... [00:10:50]Read from MH i2c: E2 FD 00 [00:10:50]MH_I2C_Read... [00:10:50]Read from MH i2c: E2 FD 00 4F 08 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 40 [00:10:50]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:10:50]wFMCommunicate OK [00:10:50]wFMCommunicate request_size=4 [00:10:50]MH_SAM_APDU [00:10:50]CAPDU: 80 17 00 00 [00:10:50]Write to MH i2c: E2 08 00 50 08 80 17 00 00 00 00 00 00 D8 [00:10:50]Write i2c OK [00:10:50]MH_I2C_Read... [00:10:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:50]Read from MH i2c: E2 [00:10:50]MH_I2C_Read... [00:10:50]Read from MH i2c: E2 FD 00 [00:10:50]MH_I2C_Read... [00:10:50]Read from MH i2c: E2 FD 00 50 08 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 7C [00:10:50]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:10:51]wFMCommunicate OK [00:10:51]wFMCommunicate request_size=4 [00:10:51]MH_SAM_APDU [00:10:51]CAPDU: 80 17 00 00 [00:10:51]Write to MH i2c: E2 08 00 51 08 80 17 00 00 00 00 00 00 D9 [00:10:51]Write i2c OK [00:10:51]MH_I2C_Read... [00:10:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:51]Read from MH i2c: E2 [00:10:51]MH_I2C_Read... [00:10:51]Read from MH i2c: E2 FD 00 [00:10:51]MH_I2C_Read... [00:10:51]Read from MH i2c: E2 FD 00 51 08 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 53 [00:10:51]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:10:51]wFMCommunicate OK [00:10:51]wFMCommunicate request_size=4 [00:10:51]MH_SAM_APDU [00:10:51]CAPDU: 80 17 00 00 [00:10:51]Write to MH i2c: E2 08 00 52 08 80 17 00 00 00 00 00 00 DA [00:10:51]Write i2c OK [00:10:51]MH_I2C_Read... [00:10:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:10:51]Read from MH i2c: E2 [00:10:51]MH_I2C_Read... [00:10:51]Read from MH i2c: E2 DC 00 [00:10:51]MH_I2C_Read... [00:10:51]Read from MH i2c: E2 DC 00 52 08 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BE [00:10:52]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:52]wFMCommunicate OK [00:10:52]SAM_PROTO_GetFMData done [00:10:52]requested_item fm.sale_refund.total is exist - process it [00:10:52]requested_item fm.buy.total is exist - process it [00:10:52]requested_item shift.sale.total is exist - process it [00:10:52]SAM_PROTO_GetShiftData [00:10:52]wFMCommunicate request_size=4 [00:10:52]MH_SAM_APDU [00:10:52]CAPDU: 80 13 02 00 [00:10:52]Write to MH i2c: E2 08 00 53 08 80 13 02 00 00 00 00 00 D9 [00:10:52]Write i2c OK [00:10:52]MH_I2C_Read... [00:10:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:52]Read from MH i2c: E2 [00:10:52]MH_I2C_Read... [00:10:52]Read from MH i2c: E2 FD 00 [00:10:52]MH_I2C_Read... [00:10:52]Read from MH i2c: E2 FD 00 53 08 00 AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 C9 [00:10:52]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:10:53]wFMCommunicate OK [00:10:53]wFMCommunicate request_size=4 [00:10:53]MH_SAM_APDU [00:10:53]CAPDU: 80 17 00 00 [00:10:53]Write to MH i2c: E2 08 00 54 08 80 17 00 00 00 00 00 00 DC [00:10:53]Write i2c OK [00:10:53]MH_I2C_Read... [00:10:53]OFD Sender: No OFD packet to send [00:10:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:53]Read from MH i2c: E2 [00:10:53]MH_I2C_Read... [00:10:53]Read from MH i2c: E2 FD 00 [00:10:53]MH_I2C_Read... [00:10:53]Read from MH i2c: E2 FD 00 54 08 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 FE [00:10:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:10:53]wFMCommunicate OK [00:10:53]wFMCommunicate request_size=4 [00:10:53]MH_SAM_APDU [00:10:53]CAPDU: 80 17 00 00 [00:10:53]Write to MH i2c: E2 08 00 55 08 80 17 00 00 00 00 00 00 DD [00:10:53]Write i2c OK [00:10:53]MH_I2C_Read... [00:10:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:54]Read from MH i2c: E2 [00:10:54]MH_I2C_Read... [00:10:54]Read from MH i2c: E2 FD 00 [00:10:54]MH_I2C_Read... [00:10:54]Read from MH i2c: E2 FD 00 55 08 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 94 [00:10:54]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:10:54]wFMCommunicate OK [00:10:54]wFMCommunicate request_size=4 [00:10:54]MH_SAM_APDU [00:10:54]CAPDU: 80 17 00 00 [00:10:54]Write to MH i2c: E2 08 00 56 08 80 17 00 00 00 00 00 00 DE [00:10:54]Write i2c OK [00:10:54]MH_I2C_Read... [00:10:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:54]Read from MH i2c: E2 [00:10:54]MH_I2C_Read... [00:10:54]Read from MH i2c: E2 FD 00 [00:10:54]MH_I2C_Read... [00:10:54]Read from MH i2c: E2 FD 00 56 08 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 50 [00:10:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:10:55]wFMCommunicate OK [00:10:55]wFMCommunicate request_size=4 [00:10:55]MH_SAM_APDU [00:10:55]CAPDU: 80 17 00 00 [00:10:55]Write to MH i2c: E2 08 00 57 08 80 17 00 00 00 00 00 00 DF [00:10:55]Write i2c OK [00:10:55]MH_I2C_Read... [00:10:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:10:55]Read from MH i2c: E2 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: E2 CB 00 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: E2 CB 00 57 08 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C8 [00:10:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:10:55]wFMCommunicate OK [00:10:55]SAM_PROTO_GetShiftData done [00:10:55]requested_item shift.sale.total_cash is exist - process it [00:10:55]requested_item shift.sale_refund.total is exist - process it [00:10:55]requested_item shift.sale_refund.total_cash is exist - process it [00:10:55]requested_item shift.buy.total is exist - process it [00:10:55]requested_item shift.buy.total_cash is exist - process it [00:10:55]produce_requested_data done [00:10:55]produce_requested_data return {"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:10:55]process_action_free get_value [00:10:55]json_value_free [00:10:55]json_value_free done [00:10:55]process_json_proto returns [00:10:55]Send response to host [00:10:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:10:55]free response buf [00:10:55]execute_script done [00:10:55]execute_script returns [00:10:55]free content buf [00:10:55]Sock 7.Close socket [00:10:55]Sock 7.Thread stoped [00:10:55]accept exits with 9 [00:10:55]New connection [00:10:55]New thread 3067247972 created [00:10:55]Thread 3067391332 joined [00:10:55]Waiting for new connection... [00:10:55] Sock 9.Parse request [00:10:55]Sock 9.Check first char [00:10:55]Sock 9.First char is OK [00:10:55]request: POST /json_proto HTTP/1.0 [00:10:55]Method: POST [00:10:55]URL: /json_proto [00:10:55]Method is POST - this is cgi request [00:10:55]url: /json_proto [00:10:55]query_string will be loaded in cgi processing [00:10:55]execute_cgi json_proto POST (null) [00:10:55]execute_cgi path=json_proto method=POST [00:10:55]POST find Content-Length [00:10:55]Host: 172.17.54.195:8080 [00:10:55]Content-Length: 284 [00:10:55]Content-Type: application/json [00:10:55] [00:10:55]POST finish read [00:10:55]Found Content-Length = 284 [00:10:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0428\u0430\u0440\u0448\u0435\u043D\u043A\u0443\u043B\u043E\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:55]execute_script... [00:10:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0428\u0430\u0440\u0448\u0435\u043D\u043A\u0443\u043B\u043E\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:55]POST & json_proto [00:10:55]process_json_proto [00:10:55]json parsed OK: [00:10:55]protocol is kg_v1.0 [00:10:55]action value=close_shift [00:10:55]process_action close_shift [00:10:55]cmd_close_shift [00:10:55]MH_GetDate [00:10:55]Write to MH i2c: F0 00 00 58 08 4F [00:10:55]Write i2c OK [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: F0 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: F0 09 00 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: F0 09 00 58 08 00 11 CB 22 67 8D 90 A3 66 E3 [00:10:55]GetLastDocTimeStamp 1730333427 [00:10:55]current date 1730333457 [00:10:55]FM_GetShiftState [00:10:55]SAM_PROTO_GetShiftState [00:10:55]wFMCommunicate request_size=4 [00:10:55]MH_SAM_APDU [00:10:55]CAPDU: 80 13 01 00 [00:10:55]Write to MH i2c: E2 08 00 59 08 80 13 01 00 00 00 00 00 DE [00:10:55]Write i2c OK [00:10:55]MH_I2C_Read... [00:10:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:55]Read from MH i2c: E2 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: E2 0E 00 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: E2 0E 00 59 08 00 09 00 01 36 7B 21 67 00 00 00 00 90 00 23 [00:10:55]RAPDU: 09 00 01 36 7B 21 67 00 00 00 00 90 00 [00:10:55]wFMCommunicate OK [00:10:55]SAM_PROTO_GetShiftState done [00:10:55]FM_GetShiftState done [00:10:55]KKMCreateCloseShiftDocument [00:10:55]Load OK [00:10:55]Malloc new data [00:10:55]MH_GetDate [00:10:55]Write to MH i2c: F0 00 00 5A 08 51 [00:10:55]Write i2c OK [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: F0 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: F0 09 00 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: F0 09 00 5A 08 00 11 CB 22 67 8D 90 A3 66 E5 [00:10:55]Malloc new data [00:10:55]Malloc new data [00:10:55]Malloc new data [00:10:55]Malloc new data [00:10:55]KKMCreateCloseShiftDocument OK [00:10:55]KKMSetCloseShiftData OK [00:10:55]ProcessDocumentItem done err = 0, tmpTLVsize=79 [00:10:55]tlvbuf is 01F49FD0 [00:10:55]KKMLoadAndSignCloseShiftData [00:10:55]SAM_PROTO_ProcessDocument [00:10:55]wFMCommunicate request_size=9 [00:10:55]MH_SAM_APDU [00:10:55]CAPDU: 80 15 01 00 04 05 00 4F 00 [00:10:55]Write to MH i2c: E2 0C 00 5B 08 80 15 01 00 04 00 05 00 4F 00 00 00 3E [00:10:55]Write i2c OK [00:10:55]MH_I2C_Read... [00:10:55]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:10:55]Read from MH i2c: E2 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: E2 03 00 [00:10:55]MH_I2C_Read... [00:10:55]Read from MH i2c: E2 03 00 5B 08 00 90 00 D7 [00:10:55]RAPDU: 90 00 [00:10:56]wFMCommunicate OK [00:10:56]wFMCommunicate request_size=23 [00:10:56]MH_SAM_APDU [00:10:56]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:10:56]Write to MH i2c: E2 1A 00 5C 08 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 D9 [00:10:56]Write i2c OK [00:10:56]MH_I2C_Read... [00:10:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:56]Read from MH i2c: E2 [00:10:56]MH_I2C_Read... [00:10:56]Read from MH i2c: E2 03 00 [00:10:56]MH_I2C_Read... [00:10:56]Read from MH i2c: E2 03 00 5C 08 00 90 00 D8 [00:10:56]RAPDU: 90 00 [00:10:56]wFMCommunicate OK [00:10:56]wFMCommunicate request_size=38 [00:10:56]MH_SAM_APDU [00:10:56]CAPDU: 80 15 02 00 21 FD 03 1D 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 BD D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 [00:10:56]Write to MH i2c: E2 29 00 5D 08 80 15 02 00 21 00 FD 03 1D 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 BD D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 00 00 CC [00:10:56]Write i2c OK [00:10:56]MH_I2C_Read... [00:10:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:56]Read from MH i2c: E2 [00:10:56]MH_I2C_Read... [00:10:56]Read from MH i2c: E2 03 00 [00:10:56]MH_I2C_Read... [00:10:56]Read from MH i2c: E2 03 00 5D 08 00 90 00 D9 [00:10:56]RAPDU: 90 00 [00:10:56]wFMCommunicate OK [00:10:56]wFMCommunicate request_size=13 [00:10:56]MH_SAM_APDU [00:10:56]CAPDU: 80 15 02 00 08 F4 03 04 00 11 CB 22 67 [00:10:56]Write to MH i2c: E2 10 00 5E 08 80 15 02 00 08 00 F4 03 04 00 11 CB 22 67 00 00 56 [00:10:56]Write i2c OK [00:10:56]MH_I2C_Read... [00:10:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:56]Read from MH i2c: E2 [00:10:56]MH_I2C_Read... [00:10:56]Read from MH i2c: E2 03 00 [00:10:56]MH_I2C_Read... [00:10:56]Read from MH i2c: E2 03 00 5E 08 00 90 00 DA [00:10:56]RAPDU: 90 00 [00:10:56]wFMCommunicate OK [00:10:56]wFMCommunicate request_size=25 [00:10:56]MH_SAM_APDU [00:10:56]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 [00:10:56]Write to MH i2c: E2 1C 00 5F 08 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 00 00 50 [00:10:56]Write i2c OK [00:10:56]MH_I2C_Read... [00:10:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:56]Read from MH i2c: E2 [00:10:56]MH_I2C_Read... [00:10:56]Read from MH i2c: E2 03 00 [00:10:56]MH_I2C_Read... [00:10:56]Read from MH i2c: E2 03 00 5F 08 00 90 00 DB [00:10:56]RAPDU: 90 00 [00:10:56]wFMCommunicate OK [00:10:56]wFMCommunicate request_size=4 [00:10:56]MH_SAM_APDU [00:10:56]CAPDU: 80 15 03 00 [00:10:56]Write to MH i2c: E2 08 00 60 08 80 15 03 00 00 00 00 00 E9 [00:10:56]Write i2c OK [00:10:56]MH_I2C_Read... [00:10:56]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:10:57]Read from MH i2c: E2 [00:10:57]MH_I2C_Read... [00:10:57]Read from MH i2c: E2 FD 00 [00:10:57]MH_I2C_Read... [00:10:57]Read from MH i2c: E2 FD 00 60 08 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F3 3D 00 00 0E 04 04 00 AD 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 DB [00:10:57]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F3 3D 00 00 0E 04 04 00 AD 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:10:57]wFMCommunicate OK [00:10:57]SAM_PROTO_ProcessDocument answer len = 1265 [00:10:57]SAM_PROTO_ProcessDocument remain to read = 1017 [00:10:57]wFMCommunicate request_size=4 [00:10:57]MH_SAM_APDU [00:10:57]CAPDU: 80 17 00 00 [00:10:57]Write to MH i2c: E2 08 00 61 08 80 17 00 00 00 00 00 00 E9 [00:10:57]Write i2c OK [00:10:57]MH_I2C_Read... [00:10:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:57]Read from MH i2c: E2 [00:10:57]MH_I2C_Read... [00:10:57]Read from MH i2c: E2 FD 00 [00:10:57]MH_I2C_Read... [00:10:57]Read from MH i2c: E2 FD 00 61 08 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 32 [00:10:57]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:10:58]wFMCommunicate OK [00:10:58]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:10:58]SAM_PROTO_ProcessDocument remain to read = 767 [00:10:58]wFMCommunicate request_size=4 [00:10:58]MH_SAM_APDU [00:10:58]CAPDU: 80 17 00 00 [00:10:58]Write to MH i2c: E2 08 00 62 08 80 17 00 00 00 00 00 00 EA [00:10:58]Write i2c OK [00:10:58]MH_I2C_Read... [00:10:58]OFD Sender: No OFD packet to send [00:10:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:58]Read from MH i2c: E2 [00:10:58]MH_I2C_Read... [00:10:58]Read from MH i2c: E2 FD 00 [00:10:58]MH_I2C_Read... [00:10:58]Read from MH i2c: E2 FD 00 62 08 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 4C [00:10:58]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:10:58]wFMCommunicate OK [00:10:58]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:10:58]SAM_PROTO_ProcessDocument remain to read = 517 [00:10:58]wFMCommunicate request_size=4 [00:10:58]MH_SAM_APDU [00:10:58]CAPDU: 80 17 00 00 [00:10:58]Write to MH i2c: E2 08 00 63 08 80 17 00 00 00 00 00 00 EB [00:10:58]Write i2c OK [00:10:58]MH_I2C_Read... [00:10:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:59]Read from MH i2c: E2 [00:10:59]MH_I2C_Read... [00:10:59]Read from MH i2c: E2 FD 00 [00:10:59]MH_I2C_Read... [00:10:59]Read from MH i2c: E2 FD 00 63 08 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 75 [00:10:59]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:10:59]wFMCommunicate OK [00:10:59]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:10:59]SAM_PROTO_ProcessDocument remain to read = 267 [00:10:59]wFMCommunicate request_size=4 [00:10:59]MH_SAM_APDU [00:10:59]CAPDU: 80 17 00 00 [00:10:59]Write to MH i2c: E2 08 00 64 08 80 17 00 00 00 00 00 00 EC [00:10:59]Write i2c OK [00:10:59]MH_I2C_Read... [00:10:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:59]Read from MH i2c: E2 [00:10:59]MH_I2C_Read... [00:10:59]Read from MH i2c: E2 FD 00 [00:10:59]MH_I2C_Read... [00:10:59]Read from MH i2c: E2 FD 00 64 08 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 B4 [00:10:59]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:11:00]wFMCommunicate OK [00:11:00]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:11:00]SAM_PROTO_ProcessDocument remain to read = 17 [00:11:00]wFMCommunicate request_size=4 [00:11:00]MH_SAM_APDU [00:11:00]CAPDU: 80 17 00 00 [00:11:00]Write to MH i2c: E2 08 00 65 08 80 17 00 00 00 00 00 00 ED [00:11:00]Write i2c OK [00:11:00]MH_I2C_Read... [00:11:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:11:00]Read from MH i2c: E2 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 14 00 [00:11:00]MH_I2C_Read... [00:11:00]Read from MH i2c: E2 14 00 65 08 00 01 00 06 F7 03 00 00 35 04 06 00 B2 6B 91 49 6C FD 90 00 92 [00:11:00]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 B2 6B 91 49 6C FD 90 00 [00:11:00]wFMCommunicate OK [00:11:00]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:11:00]SAM_PROTO_ProcessDocument done [00:11:00]1209 (1) - 1.0 - номер версии ФФД [00:11:00]1041 (16) - 0000000000963325 - номер ФМ [00:11:00]1040 (4) - 15859 - номер ФД [00:11:00]1038 (4) - 173 - номер смены [00:11:00]1118 (4) - 68 - количество кассовых чеков за смену [00:11:00]1111 (4) - 70 - общее количество ФД за смену [00:11:00]1194 (1194) - счетчики итогов смены [00:11:00] 1134 (4) - 68 - количество чеков со всеми признаками расчетов [00:11:00] 1129 (155) - счетчики операций «приход» [00:11:00] 1135 (4) - 68 - количество чеков по признаку расчетов [00:11:00] 1201 (3) - 73783.00 - общая итоговая сумма в чеках [00:11:00] 1136 (3) - 55307.00 - итоговая сумма в чеках наличными [00:11:00] 1138 (3) - 18476.00 - итоговая сумма в чеках безналичными [00:11:00] 1024 (122) - суммы налогов [00:11:00] 1006 (9) - суммы НДС [00:11:00] 1010 (1) - 0% - код ставки НДС [00:11:00] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:00] 1006 (12) - суммы НДС [00:11:00] 1010 (1) - 12% - код ставки НДС [00:11:00] 1011 (3) - 7837.56 - сумма НДС по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 0% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (11) - суммы НСП [00:11:00] 1014 (1) - 1% - код ставки НСП [00:11:00] 1015 (2) - 653.06 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 2% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 3% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 5% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 0,50% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 1,50% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1130 (141) - счетчики операций «возврат прихода» [00:11:00] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:00] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:00] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:00] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:00] 1024 (117) - суммы налогов [00:11:00] 1006 (9) - суммы НДС [00:11:00] 1010 (1) - 0% - код ставки НДС [00:11:00] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:00] 1006 (9) - суммы НДС [00:11:00] 1010 (1) - 12% - код ставки НДС [00:11:00] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 0% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 1% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 2% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 3% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 5% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 0,50% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 1,50% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1131 (141) - счетчики операций «расход» [00:11:00] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:00] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:00] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:00] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:00] 1024 (117) - суммы налогов [00:11:00] 1006 (9) - суммы НДС [00:11:00] 1010 (1) - 0% - код ставки НДС [00:11:00] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:00] 1006 (9) - суммы НДС [00:11:00] 1010 (1) - 12% - код ставки НДС [00:11:00] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 0% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 1% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 2% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 3% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 5% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 0,50% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 1,50% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1132 (141) - счетчики операций «возврат расхода» [00:11:00] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:00] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:00] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:00] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:00] 1024 (117) - суммы налогов [00:11:00] 1006 (9) - суммы НДС [00:11:00] 1010 (1) - 0% - код ставки НДС [00:11:00] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:00] 1006 (9) - суммы НДС [00:11:00] 1010 (1) - 12% - код ставки НДС [00:11:00] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 0% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 1% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 2% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 3% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 5% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 0,50% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1007 (9) - суммы НСП [00:11:00] 1014 (1) - 1,50% - код ставки НСП [00:11:00] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:00] 1133 (588) - - счетчики коррекции - не используются [00:11:00]1077 (6) - 196175068753149 - ФПД [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1209 (04B9) [00:11:00]Malloc new data [00:11:00]Processing tag 1041 (0411) [00:11:00]Processing tag 1040 (0410) [00:11:00]Malloc new data [00:11:00]Processing tag 1038 (040E) [00:11:00]Malloc new data [00:11:00]Processing tag 1118 (045E) [00:11:00]Malloc new data [00:11:00]Processing tag 1111 (0457) [00:11:00]Malloc new data [00:11:00]Processing tag 1194 (04AA) [00:11:00]Load OK [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1134 (046E) [00:11:00]Malloc new data [00:11:00]Processing tag 1129 (0469) [00:11:00]Load OK [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1135 (046F) [00:11:00]Malloc new data [00:11:00]Processing tag 1201 (04B1) [00:11:00]Malloc new data [00:11:00]Processing tag 1136 (0470) [00:11:00]Malloc new data [00:11:00]Processing tag 1138 (0472) [00:11:00]Malloc new data [00:11:00]Processing tag 1024 (0400) [00:11:00]Load OK [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1006 (03EE) [00:11:00]Load OK [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1010 (03F2) [00:11:00]Malloc new data [00:11:00]Processing tag 1011 (03F3) [00:11:00]Malloc new data [00:11:00]SetTLVBufToDocument err=0 [00:11:00]Processing tag 1006 (03EE) [00:11:00]Load OK [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1010 (03F2) [00:11:00]Malloc new data [00:11:00]Processing tag 1011 (03F3) [00:11:00]Malloc new data [00:11:00]SetTLVBufToDocument err=0 [00:11:00]Processing tag 1007 (03EF) [00:11:00]Load OK [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1014 (03F6) [00:11:00]Malloc new data [00:11:00]Processing tag 1015 (03F7) [00:11:00]Malloc new data [00:11:00]SetTLVBufToDocument err=0 [00:11:00]Processing tag 1007 (03EF) [00:11:00]Load OK [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1014 (03F6) [00:11:00]Malloc new data [00:11:00]Processing tag 1015 (03F7) [00:11:00]Malloc new data [00:11:00]SetTLVBufToDocument err=0 [00:11:00]Processing tag 1007 (03EF) [00:11:00]Load OK [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1014 (03F6) [00:11:00]Malloc new data [00:11:00]Processing tag 1015 (03F7) [00:11:00]Malloc new data [00:11:00]SetTLVBufToDocument err=0 [00:11:00]Processing tag 1007 (03EF) [00:11:00]Load OK [00:11:00]SetTLVBufToDocument [00:11:00]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]SetTLVBufToDocument err=0 [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1130 (046A) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1135 (046F) [00:11:01]Malloc new data [00:11:01]Processing tag 1201 (04B1) [00:11:01]Malloc new data [00:11:01]Processing tag 1136 (0470) [00:11:01]Malloc new data [00:11:01]Processing tag 1138 (0472) [00:11:01]Malloc new data [00:11:01]Processing tag 1024 (0400) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1006 (03EE) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1010 (03F2) [00:11:01]Malloc new data [00:11:01]Processing tag 1011 (03F3) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1006 (03EE) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1010 (03F2) [00:11:01]Malloc new data [00:11:01]Processing tag 1011 (03F3) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]SetTLVBufToDocument err=0 [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1131 (046B) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1135 (046F) [00:11:01]Malloc new data [00:11:01]Processing tag 1201 (04B1) [00:11:01]Malloc new data [00:11:01]Processing tag 1136 (0470) [00:11:01]Malloc new data [00:11:01]Processing tag 1138 (0472) [00:11:01]Malloc new data [00:11:01]Processing tag 1024 (0400) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1006 (03EE) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1010 (03F2) [00:11:01]Malloc new data [00:11:01]Processing tag 1011 (03F3) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1006 (03EE) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1010 (03F2) [00:11:01]Malloc new data [00:11:01]Processing tag 1011 (03F3) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]SetTLVBufToDocument err=0 [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1132 (046C) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1135 (046F) [00:11:01]Malloc new data [00:11:01]Processing tag 1201 (04B1) [00:11:01]Malloc new data [00:11:01]Processing tag 1136 (0470) [00:11:01]Malloc new data [00:11:01]Processing tag 1138 (0472) [00:11:01]Malloc new data [00:11:01]Processing tag 1024 (0400) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1006 (03EE) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1010 (03F2) [00:11:01]Malloc new data [00:11:01]Processing tag 1011 (03F3) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1006 (03EE) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1010 (03F2) [00:11:01]Malloc new data [00:11:01]Processing tag 1011 (03F3) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1007 (03EF) [00:11:01]Load OK [00:11:01]SetTLVBufToDocument [00:11:01]Processing tag 1014 (03F6) [00:11:01]Malloc new data [00:11:01]Processing tag 1015 (03F7) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]SetTLVBufToDocument err=0 [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1133 (046D) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Processing tag 1077 (0435) [00:11:01]Malloc new data [00:11:01]SetTLVBufToDocument err=0 [00:11:01]Malloc new data [00:11:01]SAM_PROTO_GetFMData [00:11:01]wFMCommunicate request_size=4 [00:11:01]MH_SAM_APDU [00:11:01]CAPDU: 80 13 03 00 [00:11:01]Write to MH i2c: E2 08 00 66 08 80 13 03 00 00 00 00 00 ED [00:11:01]Write i2c OK [00:11:01]MH_I2C_Read... [00:11:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:01]Read from MH i2c: E2 [00:11:01]MH_I2C_Read... [00:11:01]Read from MH i2c: E2 FD 00 [00:11:01]MH_I2C_Read... [00:11:01]Read from MH i2c: E2 FD 00 66 08 00 BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 89 [00:11:02]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [00:11:02]wFMCommunicate OK [00:11:02]wFMCommunicate request_size=4 [00:11:02]MH_SAM_APDU [00:11:02]CAPDU: 80 17 00 00 [00:11:02]Write to MH i2c: E2 08 00 67 08 80 17 00 00 00 00 00 00 EF [00:11:02]Write i2c OK [00:11:02]MH_I2C_Read... [00:11:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:02]Read from MH i2c: E2 [00:11:02]MH_I2C_Read... [00:11:02]Read from MH i2c: E2 FD 00 [00:11:02]MH_I2C_Read... [00:11:02]Read from MH i2c: E2 FD 00 67 08 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 58 [00:11:02]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:11:02]wFMCommunicate OK [00:11:02]wFMCommunicate request_size=4 [00:11:02]MH_SAM_APDU [00:11:02]CAPDU: 80 17 00 00 [00:11:03]Write to MH i2c: E2 08 00 68 08 80 17 00 00 00 00 00 00 F0 [00:11:03]Write i2c OK [00:11:03]MH_I2C_Read... [00:11:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:03]Read from MH i2c: E2 [00:11:03]MH_I2C_Read... [00:11:03]Read from MH i2c: E2 FD 00 [00:11:03]MH_I2C_Read... [00:11:03]Read from MH i2c: E2 FD 00 68 08 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 OFD Sender: No OFD packet to send [00:11:03]00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 94 [00:11:03]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:11:03]wFMCommunicate OK [00:11:03]wFMCommunicate request_size=4 [00:11:03]MH_SAM_APDU [00:11:03]CAPDU: 80 17 00 00 [00:11:03]Write to MH i2c: E2 08 00 69 08 80 17 00 00 00 00 00 00 F1 [00:11:03]Write i2c OK [00:11:03]MH_I2C_Read... [00:11:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:04]Read from MH i2c: E2 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 FD 00 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 FD 00 69 08 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 6B [00:11:04]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:11:04]wFMCommunicate OK [00:11:04]wFMCommunicate request_size=4 [00:11:04]MH_SAM_APDU [00:11:04]CAPDU: 80 17 00 00 [00:11:04]Write to MH i2c: E2 08 00 6A 08 80 17 00 00 00 00 00 00 F2 [00:11:04]Write i2c OK [00:11:04]MH_I2C_Read... [00:11:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:11:04]Read from MH i2c: E2 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 DC 00 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 DC 00 6A 08 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D6 [00:11:05]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:11:05]wFMCommunicate OK [00:11:05]SAM_PROTO_GetFMData done [00:11:05]Malloc new data [00:11:05]Malloc new data [00:11:05]Malloc new data [00:11:05]Malloc new data [00:11:05]KKMLoadAndSignCloseShiftData err=0 [00:11:05]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Шаршенкулова Н. 31.10.2024 00:10 Смена: 173 РНМ: 0000000000161798 ЗНМ: 0300000014 СНО: Общий режим Чеков за смену: 68 ФД за смену: 70 Всего чеков: 68 ИТОГИ ПРИХОД Чеков: 68 Общий итог: 73783.00 Итого наличными: 55307.00 Итого безнал.: 18476.00 НДС 0% : 0.00 НДС 12% : 7837.56 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 653.06 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 55307.00 НС Приход: 16103976.00 НС Возвр.Прихода: 104380.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 15859 ФМ: 0000000000963325 ФПД: 196175068753149 [00:11:05]StoreToDocumentArchive [00:11:05]shift 173 fd 15859 [00:11:05]save to /storage/0173/doc_00015859 [00:11:05]save last doc name /storage/0173/doc_00015859 to /storage/kkm_last_doc_name [00:11:05]save OK [00:11:05]Clear old archive folders... [00:11:05]Remove dir /storage/0010 [00:11:05]opendir ok [00:11:05]file . [00:11:05]file .. [00:11:05]file doc_1730333435 [00:11:05]remove file /storage/0010/doc_1730333435 [00:11:05]remove dir /storage/0010 [00:11:05]NVStorageSaveData kkm_registers [00:11:05]File name is /storage/kkm_registers [00:11:05]Write 24 bytes [00:11:05]NVStorageSaveData done [00:11:05]NVStorageSaveData kkm_registers [00:11:05]File name is /storage/kkm_registers [00:11:05]Write 24 bytes [00:11:05]NVStorageSaveData done [00:11:05]ProcessDocumentItem done err = 0, tmpTLVsize=1387 [00:11:05]tlvbuf is 02083D30 [00:11:05]SAM_PROTO_ClearQueue [00:11:05]wFMCommunicate request_size=4 [00:11:05]MH_SAM_APDU [00:11:05]CAPDU: 80 09 00 00 [00:11:05]Write to MH i2c: E2 08 00 6B 08 80 09 00 00 00 00 00 00 E5 [00:11:05]Write i2c OK [00:11:05]MH_I2C_Read... [00:11:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:11:05]Read from MH i2c: E2 [00:11:05]MH_I2C_Read... [00:11:05]Read from MH i2c: E2 03 00 [00:11:05]MH_I2C_Read... [00:11:05]Read from MH i2c: E2 03 00 6B 08 00 90 00 E7 [00:11:05]RAPDU: 90 00 [00:11:05]wFMCommunicate OK [00:11:05]SAM_PROTO_ClearQueue done [00:11:05]KKMCreateOFDPacket [00:11:05]OFDProtocolAddRootSTLVToBuf [00:11:05]FM_MakeSignedData [00:11:05]FM_MakeSignedData [00:11:05]SAM_PROTO_SignData [00:11:05]wFMCommunicate request_size=4 [00:11:05]MH_SAM_APDU [00:11:05]CAPDU: 80 0D 01 02 [00:11:05]Write to MH i2c: E2 08 00 6C 08 80 0D 01 02 00 00 00 00 ED [00:11:05]Write i2c OK [00:11:05]MH_I2C_Read... [00:11:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:11:05]Read from MH i2c: E2 [00:11:05]MH_I2C_Read... [00:11:05]Read from MH i2c: E2 03 00 [00:11:05]MH_I2C_Read... [00:11:05]Read from MH i2c: E2 03 00 6C 08 00 90 00 E8 [00:11:05]RAPDU: 90 00 [00:11:05]wFMCommunicate OK [00:11:05]wFMCommunicate request_size=255 [00:11:05]MH_SAM_APDU [00:11:05]CAPDU: 80 0D 02 02 FA 05 00 6B 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 BD D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 F4 03 04 00 11 CB 22 67 0E 04 04 00 AD 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 AA 04 D5 04 6E 04 04 00 44 00 00 00 69 04 A2 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A [00:11:05]Write to MH i2c: E2 02 01 6D 08 80 0D 02 02 FA 00 05 00 6B 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 BD D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 F4 03 04 00 11 CB 22 67 0E 04 04 00 AD 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 AA 04 D5 04 6E 04 04 00 44 00 00 00 69 04 A2 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 00 AB [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:06]Read from MH i2c: E2 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 6D 08 00 90 00 E9 [00:11:06]RAPDU: 90 00 [00:11:06]wFMCommunicate OK [00:11:06]wFMCommunicate request_size=255 [00:11:06]MH_SAM_APDU [00:11:06]CAPDU: 80 0D 02 02 FA 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 [00:11:06]Write to MH i2c: E2 02 01 6E 08 80 0D 02 02 FA 00 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 00 00 78 [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 03 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 03 00 6E 08 00 90 00 EA [00:11:07]RAPDU: 90 00 [00:11:07]wFMCommunicate OK [00:11:07]wFMCommunicate request_size=255 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 0D 02 02 FA 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A [00:11:07]Write to MH i2c: E2 02 01 6F 08 80 0D 02 02 FA 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 00 B5 [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 03 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 03 00 6F 08 00 90 00 EB [00:11:08]RAPDU: 90 00 [00:11:08]wFMCommunicate OK [00:11:08]wFMCommunicate request_size=255 [00:11:08]MH_SAM_APDU [00:11:08]CAPDU: 80 0D 02 02 FA 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 [00:11:08]Write to MH i2c: E2 02 01 70 08 80 0D 02 02 FA 00 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 OFD Sender: No OFD packet to send [00:11:08]09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 00 00 AE [00:11:08]Write i2c OK [00:11:08]MH_I2C_Read... [00:11:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 03 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 03 00 70 08 00 90 00 EC [00:11:08]RAPDU: 90 00 [00:11:08]wFMCommunicate OK [00:11:08]wFMCommunicate request_size=255 [00:11:08]MH_SAM_APDU [00:11:08]CAPDU: 80 0D 02 02 FA 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE [00:11:09]Write to MH i2c: E2 02 01 71 08 80 0D 02 02 FA 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 00 00 7F [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 71 08 00 90 00 ED [00:11:09]RAPDU: 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=146 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 0D 02 02 8D 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 F3 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 35 04 06 00 B2 6B 91 49 6C FD [00:11:09]Write to MH i2c: E2 95 00 72 08 80 0D 02 02 8D 00 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 F3 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 35 04 06 00 B2 6B 91 49 6C FD 00 00 CD [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 03 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 03 00 72 08 00 90 00 EE [00:11:10]RAPDU: 90 00 [00:11:10]wFMCommunicate OK [00:11:10]wFMCommunicate request_size=4 [00:11:10]MH_SAM_APDU [00:11:10]CAPDU: 80 0D 03 02 [00:11:10]Write to MH i2c: E2 08 00 73 08 80 0D 03 02 00 00 00 00 F6 [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 0B 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 0B 00 73 08 00 67 FB 1E F7 93 DB C3 B3 90 00 52 [00:11:10]RAPDU: 67 FB 1E F7 93 DB C3 B3 90 00 [00:11:10]wFMCommunicate OK [00:11:10]SAM_PROTO_SignData done [00:11:10]FM_MakeSignedData done [00:11:10]CreateOFDProtocolMessage [00:11:10]wFMCommunicate request_size=4 [00:11:10]MH_SAM_APDU [00:11:10]CAPDU: 80 11 00 00 [00:11:10]Write to MH i2c: E2 08 00 74 08 80 11 00 00 00 00 00 00 F6 [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 17 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 17 00 74 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 45 [00:11:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:11:10]wFMCommunicate OK [00:11:10]CreateOFDProtocolMessage done [00:11:10]OFDSenderStorePacket 15859 [00:11:10]StoreOFDPacket docnum=15859 [00:11:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 7F 05 00 00 08 CF 77 05 41 59 5A 05 01 00 05 00 6B 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 BD D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 F4 03 04 00 11 CB 22 67 0E 04 04 00 AD 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 AA 04 D5 04 6E 04 04 00 44 00 00 00 69 04 A2 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 F3 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 35 04 06 00 B2 6B 91 49 6C FD 67 FB 1E F7 93 DB C3 B3 [00:11:10]CheckFolder [00:11:10]dirname=/storage/ofd_packets [00:11:10]CheckFolder done [00:11:10]ProducePacketName [00:11:10]name=ofd_packets/00015859 [00:11:10]NVStorageSaveData ofd_packets/00015859 [00:11:10]File name is /storage/ofd_packets/00015859 [00:11:10]Write 1437 bytes [00:11:10]NVStorageSaveData done [00:11:10]OFDSenderStorePacket done [00:11:10]KKMCreateOFDPacket done [00:11:10]NVStorageSaveData kkm_last_timestamp [00:11:10]File name is /storage/kkm_last_timestamp [00:11:10]Write 4 bytes [00:11:10]NVStorageSaveData done [00:11:10]ExternCall_PrintAddStr [00:11:10]wPrintStart [00:11:10]Write to MH i2c: 01 00 00 75 08 7D [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: 01 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: 01 07 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: 01 07 00 75 08 00 00 00 00 00 FF 0F 92 [00:11:11]RasterBufferAndPrint [00:11:11]line Отчет о закрытии смены [00:11:11]line ФФД: 1.0 [00:11:11]line ИНН: 02508201610067 [00:11:11]line Кассир: Шаршенкулова Н. [00:11:11]line 31.10.2024 00:10 [00:11:11]line Смена: 173 [00:11:11]line РНМ: 0000000000161798 [00:11:11]line ЗНМ: 0300000014 [00:11:11]line СНО: Общий режим [00:11:11]line Чеков за смену: 68 [00:11:11]line ФД за смену: 70 [00:11:11]line Всего чеков: 68 [00:11:11]line ИТОГИ ПРИХОД [00:11:11]line Чеков: 68 [00:11:11]line Общий итог: 73783.00 [00:11:11]line Итого наличными: 55307.00 [00:11:11]line Итого безнал.: 18476.00 [00:11:11]line НДС 0% : 0.00 [00:11:11]line НДС 12% : 7837.56 [00:11:11]line НСП 0% : 0.00 [00:11:11]line НСП 1,50% : 0.00 [00:11:11]line НСП 0,50% : 0.00 [00:11:11]line НСП 5% : 0.00 [00:11:11]line НСП 3% : 0.00 [00:11:11]line НСП 2% : 0.00 [00:11:11]line НСП 1% : 653.06 [00:11:11]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:11:11]line Чеков: 0 [00:11:11]line Общий итог: 0.00 [00:11:11]line Итого наличными: 0.00 [00:11:11]line Итого безнал.: 0.00 [00:11:11]line НДС 0% : 0.00 [00:11:11]line НДС 12% : 0.00 [00:11:11]line НСП 0% : 0.00 [00:11:11]line НСП 1,50% : 0.00 [00:11:11]line НСП 0,50% : 0.00 [00:11:11]line НСП 5% : 0.00 [00:11:11]line НСП 3% : 0.00 [00:11:11]line НСП 2% : 0.00 [00:11:11]line НСП 1% : 0.00 [00:11:11]line ИТОГИ РАСХОД [00:11:11]line Чеков: 0 [00:11:11]line Общий итог: 0.00 [00:11:11]line Итого наличными: 0.00 [00:11:11]line Итого безнал.: 0.00 [00:11:11]line НДС 0% : 0.00 [00:11:11]line НДС 12% : 0.00 [00:11:11]line НСП 0% : 0.00 [00:11:11]line НСП 1,50% : 0.00 [00:11:11]line НСП 0,50% : 0.00 [00:11:11]line НСП 5% : 0.00 [00:11:11]line НСП 3% : 0.00 [00:11:11]line НСП 2% : 0.00 [00:11:11]OFD Sender: Processing packet 15859 [packets to send 4, broken 3] [00:11:11]line НСП 1% : 0.00 [00:11:11]ProducePacketName [00:11:11]line ИТОГИ ВОЗВРАТ РАСХОДА [00:11:11]name=ofd_packets/00015859 [00:11:11]line Чеков: 0 [00:11:11]OFD Sender: To server: pG, [00:11:11]line Общий итог: 0.00 [00:11:11]line Итого наличными: 0.00 [00:11:11]line Итого безнал.: 0.00 [00:11:11]line НДС 0% : 0.00 [00:11:11]line НДС 12% : 0.00 [00:11:11]line НСП 0% : 0.00 [00:11:11]line НСП 1,50% : 0.00 [00:11:11]line НСП 0,50% : 0.00 [00:11:11]line НСП 5% : 0.00 [00:11:11]CommunicateWithHost lk.salyk.kg:30040 [00:11:11]line НСП 3% : 0.00 [00:11:11]ConnectInit lk.salyk.kg [00:11:11]line НСП 2% : 0.00 [00:11:11]line НСП 1% : 0.00 [00:11:11]line Сумма внесений: 0.00 [00:11:11]line Сумма выплат: 0.00 [00:11:11]line Нал. в кассе: 55307.00 [00:11:11]line НС Приход: 16103976.00 [00:11:11]line НС Возвр.Прихода: 104380.00 [00:11:11]line НС Расход: 0.00 [00:11:11]line НС Возвр.Расхода: 0.00 [00:11:11]line ФД: 15859 [00:11:11]line ФМ: 0000000000963325 [00:11:11]line ФПД: 196175068753149 [00:11:11]written 0, free lines is 4095 [00:11:11]Connected sock=11 [00:11:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 7F 05 00 00 08 CF 77 05 41 59 5A 05 01 00 05 00 6B 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 A8 D0 B0 D1 80 D1 88 D0 B5 D0 BD D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9D 2E 20 F4 03 04 00 11 CB 22 67 0E 04 04 00 AD 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 AA 04 D5 04 6E 04 04 00 44 00 00 00 69 04 A2 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 Write to MH i2c: 03 01 00 00 C5 01 08 00 CD 05 [00:11:12]F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 Write i2c OK [00:11:12]EF MH_I2C_Read... [00:11:12]03 0A 00 F6 03 01 Read from MH i2c: 00 01 02 [00:11:12]F7 03 01 00 00 MH_I2C_Read... [00:11:12]EF 03 0A 00 F6 Read from MH i2c: 03 01 00 01 F7 03 01 00 01 00 07 00 [00:11:12]MH_I2C_Read... [00:11:12]Read from MH i2c: 01 07 6B 00 04 C5 99 08 00 00 6F 00 00 00 00 11 0B F0 [00:11:12]RasterBufferAndPrint [00:11:12]line [00:11:12]04 line [00:11:12]04 line [00:11:12]00 line [00:11:12]00 line [00:11:12]00 00 written 0, free lines is 3213 [00:11:12]00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 MH_Cut [00:11:12]EE Write to MH i2c: 03 D1 0A 00 F2 01 03 00 01 CC 00 08 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 01 00 A6 00 [00:11:12]EF 03 0A 00 F6 03 01 Write i2c OK [00:11:12]00 MH_I2C_Read... [00:11:12]01 Read from MH i2c: F7 D1 03 [00:11:12]01 MH_I2C_Read... [00:11:12]00 Read from MH i2c: 00 D1 6C 01 04 00 99 [00:11:12]00 6F MH_I2C_Read... [00:11:12]04 04 00 00 00 00 00 B1 Read from MH i2c: 04 D1 01 01 00 00 00 CC 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 08 00 00 F6 A5 03 [00:11:12]01 Write to MH i2c: 00 01 02 00 F7 00 03 CD 01 08 00 D5 00 [00:11:12]EF Write i2c OK [00:11:12]03 MH_I2C_Read... [00:11:12]0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 *** Cut start [00:11:13]00 *** Partial cut [00:11:13]EF 03 *** CUTSNS_PIN = 1 [00:11:13]09 *** CUTSNS_PIN = 0 [00:11:13]00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 *** Brake cut motor [00:11:13]00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 F3 3D 00 00 11 04 10 Read from MH i2c: 00 01 30 *** Stop cut motor [00:11:13]30 *** Cut end [00:11:13]30 [00:11:13]30 MH_I2C_Read... [00:11:13]30 30 30 30 30 30 39 36 33 33 32 35 Read from MH i2c: 35 01 04 07 06 00 00 [00:11:13]B2 6B 91 49 6C FD 67 FB 1E F7 93 DB C3 B3 [00:11:13]MH_I2C_Read... [00:11:13]Read from MH i2c: 01 07 00 CD 08 00 00 00 00 00 FF 0F EA [00:11:13]process_action close_shift done [00:11:13]requested_data is exist [00:11:13]produce_requested_data [00:11:13]requested_item fd.num is exist - process it [00:11:13]SAM_PROTO_GetFieldsCounters [00:11:13]wFMCommunicate request_size=4 [00:11:13]MH_SAM_APDU [00:11:13]CAPDU: 80 13 00 00 [00:11:13]Write to MH i2c: E2 08 00 CE 08 80 13 00 00 00 00 00 00 52 [00:11:13]Write i2c OK [00:11:13]MH_I2C_Read... [00:11:13]Received data: 87 95 F6 70 47 2C 01 00 30 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:13]30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 73 FC 47 00 1E 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F3 3D 00 00 F4 03 04 00 08 Read from MH i2c: 76 E2 22 [00:11:14]67 MH_I2C_Read... [00:11:14]B6 Read from MH i2c: 04 E2 01 62 00 00 00 [00:11:14]5F MH_I2C_Read... [00:11:14]5B 95 63 CC 3B 4D 31 [00:11:14]CommunicateWithHost err = 0 [00:11:14]CheckOFDResponse [00:11:14]1017 (14) - 77093643461234 [00:11:14]1041 (16) - 0000000000963325 [00:11:14]Read from MH i2c: 1040 (4) - 15859 [00:11:14]E2 1012 (4) - 30.10.2024 18:08 [00:11:14]62 1206 (1) - 0 [00:11:14]00 OFD Sender: Remove packet 15859 [00:11:14]CE ProducePacketName [00:11:14]08 name=ofd_packets/00015859 [00:11:14]00 NVStorageDeleteData [00:11:14]5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F3 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [00:11:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F3 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:14]wFMCommunicate OK [00:11:14]SAM_PROTO_GetFieldsCounters done [00:11:14]requested_item shift.num is exist - process it [00:11:14]requested_item shift.opened is exist - process it [00:11:14]req_shift_opened [00:11:14]FM_GetShiftState [00:11:14]SAM_PROTO_GetShiftState [00:11:14]wFMCommunicate request_size=4 [00:11:14]MH_SAM_APDU [00:11:14]CAPDU: 80 13 01 00 [00:11:14]Write to MH i2c: E2 08 00 CF 08 80 13 01 00 00 00 00 00 54 [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:14]Read from MH i2c: E2 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 0E 00 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 0E 00 CF 08 00 09 00 00 00 00 00 00 00 00 00 00 90 00 5F [00:11:14]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:14]wFMCommunicate OK [00:11:14]SAM_PROTO_GetShiftState done [00:11:14]FM_GetShiftState done [00:11:14]req_shift_opened done [00:11:14]requested_item shift.open_date is exist - process it [00:11:14]req_shift_open_date [00:11:14]FM_GetShiftState [00:11:14]SAM_PROTO_GetShiftState [00:11:14]wFMCommunicate request_size=4 [00:11:14]MH_SAM_APDU [00:11:14]CAPDU: 80 13 01 00 [00:11:14]Write to MH i2c: E2 08 00 D0 08 80 13 01 00 00 00 00 00 55 [00:11:14]Write i2c OK [00:11:14]MH_I2C_Read... [00:11:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:14]Read from MH i2c: E2 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 0E 00 [00:11:14]MH_I2C_Read... [00:11:14]Read from MH i2c: E2 0E 00 D0 08 00 09 00 00 00 00 00 00 00 00 00 00 90 00 60 [00:11:14]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:14]wFMCommunicate OK [00:11:14]SAM_PROTO_GetShiftState done [00:11:14]FM_GetShiftState done [00:11:14]req_shift_open_date done [00:11:14]produce_requested_data done [00:11:14]produce_requested_data return {"fd.num":15859,"shift.num":173,"shift.opened":0,"shift.open_date":0} [00:11:14]process_action_free close_shift [00:11:14]json_value_free [00:11:14]json_value_free done [00:11:14]process_json_proto returns [00:11:14]Send response to host [00:11:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":15859,"shift.num":173,"shift.opened":0,"shift.open_date":0}}} [00:11:14]free response buf [00:11:14]execute_script done [00:11:14]execute_script returns [00:11:14]free content buf [00:11:14]Sock 9.Close socket [00:11:14]Sock 9.Thread stoped [00:11:14]OFD Sender: No OFD packet to send [00:11:19]OFD Sender: No OFD packet to send [00:11:24]OFD Sender: No OFD packet to send [00:11:29]OFD Sender: No OFD packet to send [00:11:34]OFD Sender: No OFD packet to send [00:11:39]OFD Sender: No OFD packet to send [00:11:44]OFD Sender: No OFD packet to send [00:11:49]OFD Sender: No OFD packet to send [00:11:54]OFD Sender: No OFD packet to send [00:11:59]OFD Sender: No OFD packet to send [00:12:04]OFD Sender: No OFD packet to send [00:12:09]OFD Sender: No OFD packet to send [00:12:14]OFD Sender: No OFD packet to send [00:12:19]OFD Sender: No OFD packet to send [00:12:24]OFD Sender: No OFD packet to send [00:12:29]OFD Sender: No OFD packet to send [00:12:34]OFD Sender: No OFD packet to send [00:12:39]OFD Sender: No OFD packet to send [00:12:44]OFD Sender: No OFD packet to send [00:12:49]OFD Sender: No OFD packet to send [00:12:54]OFD Sender: No OFD packet to send [00:12:59]OFD Sender: No OFD packet to send [00:13:04]OFD Sender: No OFD packet to send [00:13:09]OFD Sender: No OFD packet to send [00:13:14]OFD Sender: No OFD packet to send [00:13:19]OFD Sender: No OFD packet to send [00:13:24]OFD Sender: No OFD packet to send [00:13:29]OFD Sender: No OFD packet to send [00:13:34]OFD Sender: No OFD packet to send [00:13:39]OFD Sender: No OFD packet to send [00:13:44]OFD Sender: No OFD packet to send [00:13:49]OFD Sender: No OFD packet to send [00:13:54]OFD Sender: No OFD packet to send [00:13:59]OFD Sender: No OFD packet to send [00:14:04]OFD Sender: No OFD packet to send [00:14:09]OFD Sender: No OFD packet to send [00:14:14]OFD Sender: No OFD packet to send [00:14:19]OFD Sender: No OFD packet to send [00:14:24]OFD Sender: No OFD packet to send [00:14:29]OFD Sender: No OFD packet to send [00:14:34]OFD Sender: No OFD packet to send [00:14:39]OFD Sender: No OFD packet to send [00:14:44]OFD Sender: No OFD packet to send [00:14:49]OFD Sender: No OFD packet to send [00:14:54]OFD Sender: No OFD packet to send [00:14:59]OFD Sender: No OFD packet to send [00:15:04]OFD Sender: No OFD packet to send [00:15:09]OFD Sender: No OFD packet to send [00:15:14]OFD Sender: No OFD packet to send [00:15:19]OFD Sender: No OFD packet to send [00:15:24]OFD Sender: No OFD packet to send [00:15:29]OFD Sender: No OFD packet to send [00:15:34]OFD Sender: No OFD packet to send [00:15:39]OFD Sender: No OFD packet to send [00:15:44]OFD Sender: No OFD packet to send [00:15:49]OFD Sender: No OFD packet to send [00:15:54]OFD Sender: No OFD packet to send [00:15:59]OFD Sender: No OFD packet to send [00:16:04]OFD Sender: No OFD packet to send [00:16:09]OFD Sender: No OFD packet to send [00:16:14]OFD Sender: No OFD packet to send [00:16:19]OFD Sender: No OFD packet to send [00:16:24]OFD Sender: No OFD packet to send [00:16:29]OFD Sender: No OFD packet to send [00:16:34]OFD Sender: No OFD packet to send [00:16:39]OFD Sender: No OFD packet to send [00:16:44]OFD Sender: No OFD packet to send [00:16:49]OFD Sender: No OFD packet to send [00:16:54]OFD Sender: No OFD packet to send [00:16:59]OFD Sender: No OFD packet to send [00:17:04]OFD Sender: No OFD packet to send [00:17:09]OFD Sender: No OFD packet to send [00:17:14]OFD Sender: No OFD packet to send [00:17:19]OFD Sender: No OFD packet to send [00:17:24]OFD Sender: No OFD packet to send [00:17:29]OFD Sender: No OFD packet to send [00:17:34]OFD Sender: No OFD packet to send [00:17:39]OFD Sender: No OFD packet to send [00:17:44]OFD Sender: No OFD packet to send [00:17:49]OFD Sender: No OFD packet to send [00:17:54]OFD Sender: No OFD packet to send [00:17:59]OFD Sender: No OFD packet to send [00:18:04]OFD Sender: No OFD packet to send [00:18:09]OFD Sender: No OFD packet to send [00:18:15]OFD Sender: No OFD packet to send [00:18:20]OFD Sender: No OFD packet to send [00:18:25]OFD Sender: No OFD packet to send [00:18:30]OFD Sender: No OFD packet to send [00:18:35]OFD Sender: No OFD packet to send [00:18:40]OFD Sender: No OFD packet to send [00:18:41]accept exits with 7 [00:18:41]New connection [00:18:41]New thread 3067391332 created [00:18:41]Thread 3067247972 joined [00:18:41]Waiting for new connection... [00:18:41] Sock 7.Parse request [00:18:41]Sock 7.Check first char [00:18:41]Sock 7.First char is OK [00:18:41]request: POST /json_proto HTTP/1.0 [00:18:41]Method: POST [00:18:41]URL: /json_proto [00:18:41]Method is POST - this is cgi request [00:18:41]url: /json_proto [00:18:41]query_string will be loaded in cgi processing [00:18:41]execute_cgi json_proto POST (null) [00:18:41]execute_cgi path=json_proto method=POST [00:18:41]POST find Content-Length [00:18:41]Host: 172.17.54.195:8080 [00:18:41]Content-Length: 215 [00:18:41]Content-Type: application/json [00:18:41] [00:18:41]POST finish read [00:18:41]Found Content-Length = 215 [00:18:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:41]execute_script... [00:18:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:41]POST & json_proto [00:18:41]process_json_proto [00:18:41]json parsed OK: [00:18:41]protocol is kg_v1.0 [00:18:41]action value=get_value [00:18:41]process_action get_value [00:18:41]cmd_get_value [00:18:41]process_action get_value done [00:18:41]requested_data is exist [00:18:41]produce_requested_data [00:18:41]requested_item kkm.sn is exist - process it [00:18:41]requested_item kkm.ver is exist - process it [00:18:41]requested_item fm.sn is exist - process it [00:18:41]wFMCommunicate request_size=4 [00:18:41]MH_SAM_APDU [00:18:41]CAPDU: 80 11 00 00 [00:18:41]Write to MH i2c: E2 08 00 D1 08 80 11 00 00 00 00 00 00 53 [00:18:41]Write i2c OK [00:18:41]MH_I2C_Read... [00:18:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:41]Read from MH i2c: E2 [00:18:41]MH_I2C_Read... [00:18:41]Read from MH i2c: E2 17 00 [00:18:41]MH_I2C_Read... [00:18:41]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 36 33 33 32 35 90 00 A2 [00:18:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:18:41]wFMCommunicate OK [00:18:41]requested_item fd.num is exist - process it [00:18:41]SAM_PROTO_GetFieldsCounters [00:18:41]wFMCommunicate request_size=4 [00:18:41]MH_SAM_APDU [00:18:41]CAPDU: 80 13 00 00 [00:18:41]Write to MH i2c: E2 08 00 D2 08 80 13 00 00 00 00 00 00 56 [00:18:41]Write i2c OK [00:18:41]MH_I2C_Read... [00:18:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:18:42]Read from MH i2c: E2 [00:18:42]MH_I2C_Read... [00:18:42]Read from MH i2c: E2 62 00 [00:18:42]MH_I2C_Read... [00:18:42]Read from MH i2c: E2 62 00 D2 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F3 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 24 [00:18:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F3 3D 00 00 0E 04 04 00 AD 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:18:42]wFMCommunicate OK [00:18:42]SAM_PROTO_GetFieldsCounters done [00:18:42]requested_item shift.num is exist - process it [00:18:42]requested_item shift.opened is exist - process it [00:18:42]req_shift_opened [00:18:42]FM_GetShiftState [00:18:42]SAM_PROTO_GetShiftState [00:18:42]wFMCommunicate request_size=4 [00:18:42]MH_SAM_APDU [00:18:42]CAPDU: 80 13 01 00 [00:18:42]Write to MH i2c: E2 08 00 D3 08 80 13 01 00 00 00 00 00 58 [00:18:42]Write i2c OK [00:18:42]MH_I2C_Read... [00:18:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:42]Read from MH i2c: E2 [00:18:42]MH_I2C_Read... [00:18:42]Read from MH i2c: E2 0E 00 [00:18:42]MH_I2C_Read... [00:18:42]Read from MH i2c: E2 0E 00 D3 08 00 09 00 00 00 00 00 00 00 00 00 00 90 00 63 [00:18:42]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:18:42]wFMCommunicate OK [00:18:42]SAM_PROTO_GetShiftState done [00:18:42]FM_GetShiftState done [00:18:42]req_shift_opened done [00:18:42]requested_item shift.open_date is exist - process it [00:18:42]req_shift_open_date [00:18:42]FM_GetShiftState [00:18:42]SAM_PROTO_GetShiftState [00:18:42]wFMCommunicate request_size=4 [00:18:42]MH_SAM_APDU [00:18:42]CAPDU: 80 13 01 00 [00:18:42]Write to MH i2c: E2 08 00 D4 08 80 13 01 00 00 00 00 00 59 [00:18:42]Write i2c OK [00:18:42]MH_I2C_Read... [00:18:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:42]Read from MH i2c: E2 [00:18:42]MH_I2C_Read... [00:18:42]Read from MH i2c: E2 0E 00 [00:18:42]MH_I2C_Read... [00:18:42]Read from MH i2c: E2 0E 00 D4 08 00 09 00 00 00 00 00 00 00 00 00 00 90 00 64 [00:18:42]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:18:42]wFMCommunicate OK [00:18:42]SAM_PROTO_GetShiftState done [00:18:42]FM_GetShiftState done [00:18:42]req_shift_open_date done [00:18:42]produce_requested_data done [00:18:42]produce_requested_data return {"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15859,"shift.num":173,"shift.opened":0,"shift.open_date":0} [00:18:42]process_action_free get_value [00:18:42]json_value_free [00:18:42]json_value_free done [00:18:42]process_json_proto returns [00:18:42]Send response to host [00:18:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000014","kkm.ver":"v1.0","fm.sn":"0000000000963325","fd.num":15859,"shift.num":173,"shift.opened":0,"shift.open_date":0}}} [00:18:42]free response buf [00:18:42]execute_script done [00:18:42]execute_script returns [00:18:42]free content buf [00:18:42]Sock 7.Close socket [00:18:42]Sock 7.Thread stoped [00:18:42]accept exits with 9 [00:18:42]New connection [00:18:42]New thread 3067247972 created [00:18:42]Thread 3067391332 joined [00:18:42]Waiting for new connection... [00:18:42] Sock 9.Parse request [00:18:42]Sock 9.Check first char [00:18:42]Sock 9.First char is OK [00:18:42]request: POST /json_proto HTTP/1.0 [00:18:42]Method: POST [00:18:42]URL: /json_proto [00:18:42]Method is POST - this is cgi request [00:18:42]url: /json_proto [00:18:42]query_string will be loaded in cgi processing [00:18:42]execute_cgi json_proto POST (null) [00:18:42]execute_cgi path=json_proto method=POST [00:18:42]POST find Content-Length [00:18:42]Host: 172.17.54.195:8080 [00:18:42]Content-Length: 331 [00:18:42]Content-Type: application/json [00:18:42] [00:18:42]POST finish read [00:18:42]Found Content-Length = 331 [00:18:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:42]execute_script... [00:18:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:42]POST & json_proto [00:18:42]process_json_proto [00:18:42]json parsed OK: [00:18:42]protocol is kg_v1.0 [00:18:42]action value=get_value [00:18:42]process_action get_value [00:18:42]cmd_get_value [00:18:42]process_action get_value done [00:18:42]requested_data is exist [00:18:42]produce_requested_data [00:18:42]requested_item fm.sale.total is exist - process it [00:18:42]SAM_PROTO_GetFMData [00:18:42]wFMCommunicate request_size=4 [00:18:42]MH_SAM_APDU [00:18:42]CAPDU: 80 13 03 00 [00:18:42]Write to MH i2c: E2 08 00 D5 08 80 13 03 00 00 00 00 00 5C [00:18:42]Write i2c OK [00:18:42]MH_I2C_Read... [00:18:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:18:42]Read from MH i2c: E2 [00:18:42]MH_I2C_Read... [00:18:42]Read from MH i2c: E2 FD 00 [00:18:42]MH_I2C_Read... [00:18:42]Read from MH i2c: E2 FD 00 D5 08 00 BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 F8 [00:18:42]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [00:18:42]wFMCommunicate OK [00:18:42]wFMCommunicate request_size=4 [00:18:42]MH_SAM_APDU [00:18:42]CAPDU: 80 17 00 00 [00:18:42]Write to MH i2c: E2 08 00 D6 08 80 17 00 00 00 00 00 00 5E [00:18:42]Write i2c OK [00:18:42]MH_I2C_Read... [00:18:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:43]Read from MH i2c: E2 [00:18:43]MH_I2C_Read... [00:18:43]Read from MH i2c: E2 FD 00 [00:18:43]MH_I2C_Read... [00:18:43]Read from MH i2c: E2 FD 00 D6 08 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 C7 [00:18:43]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:18:43]wFMCommunicate OK [00:18:43]wFMCommunicate request_size=4 [00:18:43]MH_SAM_APDU [00:18:43]CAPDU: 80 17 00 00 [00:18:43]Write to MH i2c: E2 08 00 D7 08 80 17 00 00 00 00 00 00 5F [00:18:43]Write i2c OK [00:18:43]MH_I2C_Read... [00:18:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:43]Read from MH i2c: E2 [00:18:43]MH_I2C_Read... [00:18:43]Read from MH i2c: E2 FD 00 [00:18:43]MH_I2C_Read... [00:18:43]Read from MH i2c: E2 FD 00 D7 08 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 03 [00:18:43]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:18:43]wFMCommunicate OK [00:18:43]wFMCommunicate request_size=4 [00:18:43]MH_SAM_APDU [00:18:43]CAPDU: 80 17 00 00 [00:18:43]Write to MH i2c: E2 08 00 D8 08 80 17 00 00 00 00 00 00 60 [00:18:43]Write i2c OK [00:18:43]MH_I2C_Read... [00:18:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:43]Read from MH i2c: E2 [00:18:43]MH_I2C_Read... [00:18:43]Read from MH i2c: E2 FD 00 [00:18:43]MH_I2C_Read... [00:18:43]Read from MH i2c: E2 FD 00 D8 08 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 DA [00:18:43]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:18:43]wFMCommunicate OK [00:18:43]wFMCommunicate request_size=4 [00:18:43]MH_SAM_APDU [00:18:43]CAPDU: 80 17 00 00 [00:18:43]Write to MH i2c: E2 08 00 D9 08 80 17 00 00 00 00 00 00 61 [00:18:43]Write i2c OK [00:18:43]MH_I2C_Read... [00:18:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:18:43]Read from MH i2c: E2 [00:18:43]MH_I2C_Read... [00:18:43]Read from MH i2c: E2 DC 00 [00:18:43]MH_I2C_Read... [00:18:43]Read from MH i2c: E2 DC 00 D9 08 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 45 [00:18:43]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:18:43]wFMCommunicate OK [00:18:43]SAM_PROTO_GetFMData done [00:18:43]requested_item fm.sale_refund.total is exist - process it [00:18:43]requested_item fm.buy.total is exist - process it [00:18:43]requested_item shift.sale.total is exist - process it [00:18:43]SAM_PROTO_GetShiftData [00:18:43]wFMCommunicate request_size=4 [00:18:43]MH_SAM_APDU [00:18:43]CAPDU: 80 13 02 00 [00:18:43]Write to MH i2c: E2 08 00 DA 08 80 13 02 00 00 00 00 00 60 [00:18:43]Write i2c OK [00:18:43]MH_I2C_Read... [00:18:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:18:44]Read from MH i2c: E2 [00:18:44]MH_I2C_Read... [00:18:44]Read from MH i2c: E2 FD 00 [00:18:44]MH_I2C_Read... [00:18:44]Read from MH i2c: E2 FD 00 DA 08 00 AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 50 [00:18:44]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 7C 95 70 70 04 03 00 4C 64 54 72 04 03 00 30 31 1C 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8C F5 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A FF EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:18:44]wFMCommunicate OK [00:18:44]wFMCommunicate request_size=4 [00:18:44]MH_SAM_APDU [00:18:44]CAPDU: 80 17 00 00 [00:18:44]Write to MH i2c: E2 08 00 DB 08 80 17 00 00 00 00 00 00 63 [00:18:44]Write i2c OK [00:18:44]MH_I2C_Read... [00:18:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:44]Read from MH i2c: E2 [00:18:44]MH_I2C_Read... [00:18:44]Read from MH i2c: E2 FD 00 [00:18:44]MH_I2C_Read... [00:18:44]Read from MH i2c: E2 FD 00 DB 08 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 85 [00:18:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:18:44]wFMCommunicate OK [00:18:44]wFMCommunicate request_size=4 [00:18:44]MH_SAM_APDU [00:18:44]CAPDU: 80 17 00 00 [00:18:44]Write to MH i2c: E2 08 00 DC 08 80 17 00 00 00 00 00 00 64 [00:18:44]Write i2c OK [00:18:44]MH_I2C_Read... [00:18:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:44]Read from MH i2c: E2 [00:18:44]MH_I2C_Read... [00:18:44]Read from MH i2c: E2 FD 00 [00:18:44]MH_I2C_Read... [00:18:44]Read from MH i2c: E2 FD 00 DC 08 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 1B [00:18:44]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:18:44]wFMCommunicate OK [00:18:44]wFMCommunicate request_size=4 [00:18:44]MH_SAM_APDU [00:18:44]CAPDU: 80 17 00 00 [00:18:44]Write to MH i2c: E2 08 00 DD 08 80 17 00 00 00 00 00 00 65 [00:18:44]Write i2c OK [00:18:44]MH_I2C_Read... [00:18:45]OFD Sender: No OFD packet to send [00:18:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:45]Read from MH i2c: E2 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 FD 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 FD 00 DD 08 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 D7 [00:18:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:18:45]wFMCommunicate OK [00:18:45]wFMCommunicate request_size=4 [00:18:45]MH_SAM_APDU [00:18:45]CAPDU: 80 17 00 00 [00:18:45]Write to MH i2c: E2 08 00 DE 08 80 17 00 00 00 00 00 00 66 [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:18:45]Read from MH i2c: E2 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 CB 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 CB 00 DE 08 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4F [00:18:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:18:45]wFMCommunicate OK [00:18:45]SAM_PROTO_GetShiftData done [00:18:45]requested_item shift.sale.total_cash is exist - process it [00:18:45]requested_item shift.sale_refund.total is exist - process it [00:18:45]requested_item shift.sale_refund.total_cash is exist - process it [00:18:45]requested_item shift.buy.total is exist - process it [00:18:45]requested_item shift.buy.total_cash is exist - process it [00:18:45]produce_requested_data done [00:18:45]produce_requested_data return {"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:18:45]process_action_free get_value [00:18:45]json_value_free [00:18:45]json_value_free done [00:18:45]process_json_proto returns [00:18:45]Send response to host [00:18:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":73783.00,"shift.sale.total_cash":55307.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:18:45]free response buf [00:18:45]execute_script done [00:18:45]execute_script returns [00:18:45]free content buf [00:18:45]Sock 9.Close socket [00:18:45]Sock 9.Thread stoped [00:18:45]accept exits with 7 [00:18:45]New connection [00:18:45]New thread 3067391332 created [00:18:45]Thread 3067247972 joined [00:18:45]Waiting for new connection... [00:18:45] Sock 7.Parse request [00:18:45]Sock 7.Check first char [00:18:45]Sock 7.First char is OK [00:18:45]request: POST /json_proto HTTP/1.0 [00:18:45]Method: POST [00:18:45]URL: /json_proto [00:18:45]Method is POST - this is cgi request [00:18:45]url: /json_proto [00:18:45]query_string will be loaded in cgi processing [00:18:45]execute_cgi json_proto POST (null) [00:18:45]execute_cgi path=json_proto method=POST [00:18:45]POST find Content-Length [00:18:45]Host: 172.17.54.195:8080 [00:18:45]Content-Length: 271 [00:18:45]Content-Type: application/json [00:18:45] [00:18:45]POST finish read [00:18:45]Found Content-Length = 271 [00:18:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u0430\u043B\u0438\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:45]execute_script... [00:18:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u0434\u044B\u0440\u0430\u043B\u0438\u0435\u0432 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:45]POST & json_proto [00:18:45]process_json_proto [00:18:45]json parsed OK: [00:18:45]protocol is kg_v1.0 [00:18:45]action value=open_shift [00:18:45]process_action open_shift [00:18:45]cmd_open_shift [00:18:45]MH_GetDate [00:18:45]Write to MH i2c: F0 00 00 DF 08 D6 [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: F0 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: F0 09 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: F0 09 00 DF 08 00 E7 CC 22 67 8D 90 A3 66 41 [00:18:45]GetLastDocTimeStamp 1730333457 [00:18:45]current date 1730333927 [00:18:45]FM_GetShiftState [00:18:45]SAM_PROTO_GetShiftState [00:18:45]wFMCommunicate request_size=4 [00:18:45]MH_SAM_APDU [00:18:45]CAPDU: 80 13 01 00 [00:18:45]Write to MH i2c: E2 08 00 E0 08 80 13 01 00 00 00 00 00 65 [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:45]Read from MH i2c: E2 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 0E 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 0E 00 E0 08 00 09 00 00 00 00 00 00 00 00 00 00 90 00 70 [00:18:45]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:18:45]wFMCommunicate OK [00:18:45]SAM_PROTO_GetShiftState done [00:18:45]FM_GetShiftState done [00:18:45]KKMCreateOpenShiftDocument [00:18:45]Load OK [00:18:45]Malloc new data [00:18:45]MH_GetDate [00:18:45]Write to MH i2c: F0 00 00 E1 08 D8 [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: F0 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: F0 09 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: F0 09 00 E1 08 00 E7 CC 22 67 8D 90 A3 66 43 [00:18:45]Malloc new data [00:18:45]KKMCreateOpenShiftDocument OK [00:18:45]KKMSetOpenShiftData OK [00:18:45]ProcessDocumentItem done err = 0, tmpTLVsize=211 [00:18:45]tlvbuf is 01F847B0 [00:18:45]KKMLoadAndSignOpenShiftData [00:18:45]SAM_PROTO_ProcessDocument [00:18:45]wFMCommunicate request_size=9 [00:18:45]MH_SAM_APDU [00:18:45]CAPDU: 80 15 01 00 04 02 00 D3 00 [00:18:45]Write to MH i2c: E2 0C 00 E2 08 80 15 01 00 04 00 02 00 D3 00 00 00 46 [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:45]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:18:45]Read from MH i2c: E2 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 03 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 03 00 E2 08 00 90 00 5E [00:18:45]RAPDU: 90 00 [00:18:45]wFMCommunicate OK [00:18:45]wFMCommunicate request_size=23 [00:18:45]MH_SAM_APDU [00:18:45]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:18:45]Write to MH i2c: E2 1A 00 E3 08 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 60 [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:45]Read from MH i2c: E2 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 03 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 03 00 E3 08 00 90 00 5F [00:18:45]RAPDU: 90 00 [00:18:45]wFMCommunicate OK [00:18:45]wFMCommunicate request_size=34 [00:18:45]MH_SAM_APDU [00:18:45]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 [00:18:45]Write to MH i2c: E2 25 00 E4 08 80 15 02 00 1D 00 FD 03 19 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 00 00 42 [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 E4 08 00 90 00 60 [00:18:46]RAPDU: 90 00 [00:18:46]wFMCommunicate OK [00:18:46]wFMCommunicate request_size=95 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 15 02 00 5A F1 03 56 00 37 32 30 30 30 30 2C 20 D0 94 D0 B6 D0 B0 D0 BB D0 B0 D0 BB 20 D0 90 D0 B1 D0 B0 D0 B4 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D1 81 2E 20 D0 A3 D1 87 2D D0 A2 D0 B5 D1 80 D0 B5 D0 BA 20 34 31 2E 37 36 36 31 33 36 2C 37 33 2E 31 39 35 38 33 38 [00:18:46]Write to MH i2c: E2 62 00 E5 08 80 15 02 00 5A 00 F1 03 56 00 37 32 30 30 30 30 2C 20 D0 94 D0 B6 D0 B0 D0 BB D0 B0 D0 BB 20 D0 90 D0 B1 D0 B0 D0 B4 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D1 81 2E 20 D0 A3 D1 87 2D D0 A2 D0 B5 D1 80 D0 B5 D0 BA 20 34 31 2E 37 36 36 31 33 36 2C 37 33 2E 31 39 35 38 33 38 00 00 BA [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 E5 08 00 90 00 61 [00:18:46]RAPDU: 90 00 [00:18:46]wFMCommunicate OK [00:18:46]wFMCommunicate request_size=51 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:18:46]Write to MH i2c: E2 36 00 E6 08 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 20 [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 E6 08 00 90 00 62 [00:18:46]RAPDU: 90 00 [00:18:46]wFMCommunicate OK [00:18:46]wFMCommunicate request_size=13 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 15 02 00 08 F4 03 04 00 E7 CC 22 67 [00:18:46]Write to MH i2c: E2 10 00 E7 08 80 15 02 00 08 00 F4 03 04 00 E7 CC 22 67 00 00 B6 [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 E7 08 00 90 00 63 [00:18:46]RAPDU: 90 00 [00:18:46]wFMCommunicate OK [00:18:46]wFMCommunicate request_size=25 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 [00:18:46]Write to MH i2c: E2 1C 00 E8 08 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 00 00 D9 [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 E8 08 00 90 00 64 [00:18:46]RAPDU: 90 00 [00:18:46]wFMCommunicate OK [00:18:46]wFMCommunicate request_size=4 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 15 03 00 [00:18:46]Write to MH i2c: E2 08 00 E9 08 80 15 03 00 00 00 00 00 72 [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 38 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 38 00 E9 08 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F4 3D 00 00 0E 04 04 00 AE 00 00 00 35 04 06 00 63 7E 08 B8 01 49 90 00 04 [00:18:46]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F4 3D 00 00 0E 04 04 00 AE 00 00 00 35 04 06 00 63 7E 08 B8 01 49 90 00 [00:18:46]wFMCommunicate OK [00:18:46]SAM_PROTO_ProcessDocument answer len = 51 [00:18:46]SAM_PROTO_ProcessDocument done [00:18:46]SetTLVBufToDocument [00:18:46]Processing tag 1209 (04B9) [00:18:46]Malloc new data [00:18:46]Processing tag 1041 (0411) [00:18:46]Processing tag 1040 (0410) [00:18:46]Malloc new data [00:18:46]Processing tag 1038 (040E) [00:18:46]Malloc new data [00:18:46]Processing tag 1077 (0435) [00:18:46]Malloc new data [00:18:46]SetTLVBufToDocument err=0 [00:18:46]KKMLoadAndSignOpenShiftData store KKM data [00:18:46]KKMLoadAndSignOpenShiftData err=0 [00:18:46]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Кадыралиев А. Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 Место: АЗС № 178 "Партнер Нефть" 31.10.2024 00:18 Смена: 174 РНМ: 0000000000161798 ЗНМ: 0300000014 ФД: 15860 ФМ: 0000000000963325 ФПД: 109392963305801 [00:18:46]StoreToDocumentArchive [00:18:46]shift 174 fd 15860 [00:18:46]Create dir for shift 0174 [00:18:46]save to /storage/0174/doc_00015860 [00:18:46]save last doc name /storage/0174/doc_00015860 to /storage/kkm_last_doc_name [00:18:46]save OK [00:18:46]Clear old archive folders... [00:18:46]Remove dir /storage/0173 [00:18:46]opendir ok [00:18:46]file . [00:18:46]file .. [00:18:46]file doc_00015790 [00:18:46]remove file /storage/0173/doc_00015790 [00:18:46]file doc_00015791 [00:18:46]remove file /storage/0173/doc_00015791 [00:18:46]file doc_00015792 [00:18:46]remove file /storage/0173/doc_00015792 [00:18:46]file doc_00015793 [00:18:46]remove file /storage/0173/doc_00015793 [00:18:46]file doc_00015794 [00:18:46]remove file /storage/0173/doc_00015794 [00:18:46]file doc_00015795 [00:18:46]remove file /storage/0173/doc_00015795 [00:18:46]file doc_00015796 [00:18:46]remove file /storage/0173/doc_00015796 [00:18:46]file doc_00015797 [00:18:46]remove file /storage/0173/doc_00015797 [00:18:46]file doc_00015798 [00:18:46]remove file /storage/0173/doc_00015798 [00:18:46]file doc_00015799 [00:18:46]remove file /storage/0173/doc_00015799 [00:18:46]file doc_00015800 [00:18:46]remove file /storage/0173/doc_00015800 [00:18:46]file doc_00015801 [00:18:46]remove file /storage/0173/doc_00015801 [00:18:46]file doc_00015802 [00:18:46]remove file /storage/0173/doc_00015802 [00:18:46]file doc_00015803 [00:18:46]remove file /storage/0173/doc_00015803 [00:18:46]file doc_00015804 [00:18:46]remove file /storage/0173/doc_00015804 [00:18:46]file doc_00015805 [00:18:46]remove file /storage/0173/doc_00015805 [00:18:46]file doc_00015806 [00:18:46]remove file /storage/0173/doc_00015806 [00:18:46]file doc_00015807 [00:18:46]remove file /storage/0173/doc_00015807 [00:18:46]file doc_00015808 [00:18:46]remove file /storage/0173/doc_00015808 [00:18:46]file doc_00015809 [00:18:46]remove file /storage/0173/doc_00015809 [00:18:46]file doc_00015810 [00:18:46]remove file /storage/0173/doc_00015810 [00:18:46]file doc_00015811 [00:18:46]remove file /storage/0173/doc_00015811 [00:18:46]file doc_00015812 [00:18:46]remove file /storage/0173/doc_00015812 [00:18:46]file doc_00015813 [00:18:46]remove file /storage/0173/doc_00015813 [00:18:46]file doc_00015814 [00:18:46]remove file /storage/0173/doc_00015814 [00:18:46]file doc_00015815 [00:18:46]remove file /storage/0173/doc_00015815 [00:18:46]file doc_00015816 [00:18:46]remove file /storage/0173/doc_00015816 [00:18:46]file doc_00015817 [00:18:46]remove file /storage/0173/doc_00015817 [00:18:46]file doc_00015818 [00:18:46]remove file /storage/0173/doc_00015818 [00:18:46]file doc_00015819 [00:18:46]remove file /storage/0173/doc_00015819 [00:18:46]file doc_00015820 [00:18:46]remove file /storage/0173/doc_00015820 [00:18:46]file doc_00015821 [00:18:46]remove file /storage/0173/doc_00015821 [00:18:46]file doc_00015822 [00:18:46]remove file /storage/0173/doc_00015822 [00:18:46]file doc_00015823 [00:18:46]remove file /storage/0173/doc_00015823 [00:18:46]file doc_00015824 [00:18:46]remove file /storage/0173/doc_00015824 [00:18:46]file doc_00015825 [00:18:46]remove file /storage/0173/doc_00015825 [00:18:46]file doc_00015826 [00:18:46]remove file /storage/0173/doc_00015826 [00:18:46]file doc_00015827 [00:18:46]remove file /storage/0173/doc_00015827 [00:18:46]file doc_00015828 [00:18:46]remove file /storage/0173/doc_00015828 [00:18:46]file doc_00015829 [00:18:46]remove file /storage/0173/doc_00015829 [00:18:46]file doc_00015830 [00:18:46]remove file /storage/0173/doc_00015830 [00:18:46]file doc_00015831 [00:18:46]remove file /storage/0173/doc_00015831 [00:18:46]file doc_00015832 [00:18:46]remove file /storage/0173/doc_00015832 [00:18:46]file doc_00015833 [00:18:46]remove file /storage/0173/doc_00015833 [00:18:46]file doc_00015834 [00:18:46]remove file /storage/0173/doc_00015834 [00:18:46]file doc_00015835 [00:18:46]remove file /storage/0173/doc_00015835 [00:18:46]file doc_00015836 [00:18:46]remove file /storage/0173/doc_00015836 [00:18:46]file doc_00015837 [00:18:46]remove file /storage/0173/doc_00015837 [00:18:46]file doc_00015838 [00:18:46]remove file /storage/0173/doc_00015838 [00:18:46]file doc_00015839 [00:18:46]remove file /storage/0173/doc_00015839 [00:18:46]file doc_00015840 [00:18:46]remove file /storage/0173/doc_00015840 [00:18:46]file doc_00015841 [00:18:46]remove file /storage/0173/doc_00015841 [00:18:46]file doc_00015842 [00:18:46]remove file /storage/0173/doc_00015842 [00:18:46]file doc_00015843 [00:18:46]remove file /storage/0173/doc_00015843 [00:18:46]file doc_00015844 [00:18:46]remove file /storage/0173/doc_00015844 [00:18:46]file doc_00015845 [00:18:46]remove file /storage/0173/doc_00015845 [00:18:46]file doc_00015846 [00:18:46]remove file /storage/0173/doc_00015846 [00:18:46]file doc_00015847 [00:18:46]remove file /storage/0173/doc_00015847 [00:18:46]file doc_00015848 [00:18:46]remove file /storage/0173/doc_00015848 [00:18:46]file doc_00015849 [00:18:46]remove file /storage/0173/doc_00015849 [00:18:46]file doc_00015850 [00:18:46]remove file /storage/0173/doc_00015850 [00:18:46]file doc_00015851 [00:18:46]remove file /storage/0173/doc_00015851 [00:18:46]file doc_00015852 [00:18:46]remove file /storage/0173/doc_00015852 [00:18:46]file doc_00015853 [00:18:46]remove file /storage/0173/doc_00015853 [00:18:46]file doc_00015854 [00:18:46]remove file /storage/0173/doc_00015854 [00:18:46]file doc_00015855 [00:18:46]remove file /storage/0173/doc_00015855 [00:18:46]file doc_00015856 [00:18:46]remove file /storage/0173/doc_00015856 [00:18:46]file doc_00015857 [00:18:46]remove file /storage/0173/doc_00015857 [00:18:46]file doc_00015858 [00:18:46]remove file /storage/0173/doc_00015858 [00:18:46]file doc_00015859 [00:18:46]remove file /storage/0173/doc_00015859 [00:18:46]remove dir /storage/0173 [00:18:46]ProcessDocumentItem done err = 0, tmpTLVsize=262 [00:18:46]tlvbuf is 01F94950 [00:18:46]SAM_PROTO_ClearQueue [00:18:46]wFMCommunicate request_size=4 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 09 00 00 [00:18:46]Write to MH i2c: E2 08 00 EA 08 80 09 00 00 00 00 00 00 64 [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 EA 08 00 90 00 66 [00:18:46]RAPDU: 90 00 [00:18:46]wFMCommunicate OK [00:18:46]SAM_PROTO_ClearQueue done [00:18:46]KKMCreateOFDPacket [00:18:46]OFDProtocolAddRootSTLVToBuf [00:18:46]FM_MakeSignedData [00:18:46]FM_MakeSignedData [00:18:46]SAM_PROTO_SignData [00:18:46]wFMCommunicate request_size=4 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 0D 01 02 [00:18:46]Write to MH i2c: E2 08 00 EB 08 80 0D 01 02 00 00 00 00 6C [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 03 00 EB 08 00 90 00 67 [00:18:46]RAPDU: 90 00 [00:18:46]wFMCommunicate OK [00:18:46]wFMCommunicate request_size=255 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 0D 02 02 FA 02 00 06 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 56 00 37 32 30 30 30 30 2C 20 D0 94 D0 B6 D0 B0 D0 BB D0 B0 D0 BB 20 D0 90 D0 B1 D0 B0 D0 B4 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D1 81 2E 20 D0 A3 D1 87 2D D0 A2 D0 B5 D1 80 D0 B5 D0 BA 20 34 31 2E 37 36 36 31 33 36 2C 37 33 2E 31 39 35 38 33 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E7 CC 22 67 0E 04 04 00 AE 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F4 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [00:18:46]Write to MH i2c: E2 02 01 EC 08 80 0D 02 02 FA 00 02 00 06 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 56 00 37 32 30 30 30 30 2C 20 D0 94 D0 B6 D0 B0 D0 BB D0 B0 D0 BB 20 D0 90 D0 B1 D0 B0 D0 B4 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D1 81 2E 20 D0 A3 D1 87 2D D0 A2 D0 B5 D1 80 D0 B5 D0 BA 20 34 31 2E 37 36 36 31 33 36 2C 37 33 2E 31 39 35 38 33 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E7 CC 22 67 0E 04 04 00 AE 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F4 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 11 [00:18:47]Write i2c OK [00:18:47]MH_I2C_Read... [00:18:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:47]Read from MH i2c: E2 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 03 00 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 03 00 EC 08 00 90 00 68 [00:18:47]RAPDU: 90 00 [00:18:47]wFMCommunicate OK [00:18:47]wFMCommunicate request_size=21 [00:18:47]MH_SAM_APDU [00:18:47]CAPDU: 80 0D 02 02 10 39 36 33 33 32 35 35 04 06 00 63 7E 08 B8 01 49 [00:18:47]Write to MH i2c: E2 18 00 ED 08 80 0D 02 02 10 00 39 36 33 33 32 35 35 04 06 00 63 7E 08 B8 01 49 00 00 F5 [00:18:47]Write i2c OK [00:18:47]MH_I2C_Read... [00:18:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:47]Read from MH i2c: E2 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 03 00 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 03 00 ED 08 00 90 00 69 [00:18:47]RAPDU: 90 00 [00:18:47]wFMCommunicate OK [00:18:47]wFMCommunicate request_size=4 [00:18:47]MH_SAM_APDU [00:18:47]CAPDU: 80 0D 03 02 [00:18:47]Write to MH i2c: E2 08 00 EE 08 80 0D 03 02 00 00 00 00 71 [00:18:47]Write i2c OK [00:18:47]MH_I2C_Read... [00:18:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:18:47]Read from MH i2c: E2 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 0B 00 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 0B 00 EE 08 00 C0 CD 12 AB D0 42 6D 15 90 00 50 [00:18:47]RAPDU: C0 CD 12 AB D0 42 6D 15 90 00 [00:18:47]wFMCommunicate OK [00:18:47]SAM_PROTO_SignData done [00:18:47]FM_MakeSignedData done [00:18:47]CreateOFDProtocolMessage [00:18:47]wFMCommunicate request_size=4 [00:18:47]MH_SAM_APDU [00:18:47]CAPDU: 80 11 00 00 [00:18:47]Write to MH i2c: E2 08 00 EF 08 80 11 00 00 00 00 00 00 71 [00:18:47]Write i2c OK [00:18:47]MH_I2C_Read... [00:18:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:47]Read from MH i2c: E2 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 17 00 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 17 00 EF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 C0 [00:18:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:18:47]wFMCommunicate OK [00:18:47]CreateOFDProtocolMessage done [00:18:47]OFDSenderStorePacket 15860 [00:18:47]StoreOFDPacket docnum=15860 [00:18:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 1A 01 00 00 27 C3 12 01 23 86 5A 02 01 00 02 00 06 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 56 00 37 32 30 30 30 30 2C 20 D0 94 D0 B6 D0 B0 D0 BB D0 B0 D0 BB 20 D0 90 D0 B1 D0 B0 D0 B4 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D1 81 2E 20 D0 A3 D1 87 2D D0 A2 D0 B5 D1 80 D0 B5 D0 BA 20 34 31 2E 37 36 36 31 33 36 2C 37 33 2E 31 39 35 38 33 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E7 CC 22 67 0E 04 04 00 AE 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F4 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 35 04 06 00 63 7E 08 B8 01 49 C0 CD 12 AB D0 42 6D 15 [00:18:47]CheckFolder [00:18:47]dirname=/storage/ofd_packets [00:18:47]CheckFolder done [00:18:47]ProducePacketName [00:18:47]name=ofd_packets/00015860 [00:18:47]NVStorageSaveData ofd_packets/00015860 [00:18:47]File name is /storage/ofd_packets/00015860 [00:18:47]Write 312 bytes [00:18:47]NVStorageSaveData done [00:18:47]OFDSenderStorePacket done [00:18:47]KKMCreateOFDPacket done [00:18:47]NVStorageSaveData kkm_last_timestamp [00:18:47]File name is /storage/kkm_last_timestamp [00:18:47]Write 4 bytes [00:18:47]NVStorageSaveData done [00:18:47]ExternCall_PrintAddStr [00:18:47]wPrintStart [00:18:47]Write to MH i2c: 01 00 00 F0 08 F8 [00:18:47]Write i2c OK [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: 01 [00:18:47]MH_I2C_Read... [00:18:47]OFD Sender: Processing packet 15860 [packets to send 4, broken 3] [00:18:47]ProducePacketName [00:18:47]name=ofd_packets/00015860 [00:18:47]OFD Sender: To server: pG, [00:18:47]CommunicateWithHost lk.salyk.kg:30040 [00:18:47]ConnectInit lk.salyk.kg [00:18:47]Read from MH i2c: 01 07 00 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: 01 07 00 F0 08 00 00 00 00 00 FF 0F 0D [00:18:47]RasterBufferAndPrint [00:18:47]line Отчет об открытии смены [00:18:47]line ФФД: 1.0 [00:18:47]line ИНН: 02508201610067 [00:18:47]line Кассир: Кадыралиев А. [00:18:47]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [00:18:47]line Место: АЗС № 178 "Партнер Нефть" [00:18:47]line 31.10.2024 00:18 [00:18:47]line Смена: 174 [00:18:47]line РНМ: 0000000000161798 [00:18:47]line ЗНМ: 0300000014 [00:18:47]line ФД: 15860 [00:18:47]line ФМ: 0000000000963325 [00:18:47]line ФПД: 109392963305801 [00:18:47]written 0, free lines is 4095 [00:18:47]Connected sock=10 [00:18:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 1A 01 00 00 27 C3 12 01 23 86 5A 02 01 00 02 00 06 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 9A D0 B0 D0 B4 D1 8B D1 80 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 90 2E 20 F1 03 56 00 37 32 30 30 30 30 2C 20 D0 94 D0 B6 D0 B0 D0 BB D0 B0 D0 BB 20 D0 90 D0 B1 D0 B0 D0 B4 D1 81 D0 BA D0 B0 D1 8F 20 D0 BE D0 B1 D0 BB 2E 2C 20 D1 81 2E 20 D0 A3 D1 87 2D D0 A2 D0 B5 D1 80 D0 B5 D0 BA 20 34 31 2E 37 36 36 31 33 36 2C 37 33 2E 31 39 35 38 33 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 37 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 E7 CC 22 67 0E 04 04 00 AE 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F4 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 35 04 06 00 63 7E 08 B8 01 49 C0 CD 12 AB D0 42 6D 15 [00:18:48]Write to MH i2c: 01 00 00 02 09 0B [00:18:48]Write i2c OK [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: 01 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: 01 07 00 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: 01 07 00 02 09 00 00 00 00 00 5A 0E 7A [00:18:48]RasterBufferAndPrint [00:18:48]line [00:18:48]line [00:18:48]line [00:18:48]line [00:18:48]line [00:18:48]written 0, free lines is 3687 [00:18:48]MH_Cut [00:18:48]Write to MH i2c: D1 01 00 09 09 01 E4 [00:18:48]Write i2c OK [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: D1 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: D1 01 00 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: D1 01 00 09 09 00 E3 [00:18:48]Write to MH i2c: 01 00 00 0A 09 13 [00:18:48]Write i2c OK [00:18:48]MH_I2C_Read... [00:18:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 CA 19 47 00 95 FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F4 3D 00 00 F4 03 04 00 CF 77 22 67 B6 04 01 00 00 D1 C2 C8 01 59 13 0A A8 [00:18:48]CommunicateWithHost err = 0 [00:18:48]CheckOFDResponse [00:18:48]1017 (14) - 77093643461234 [00:18:48]1041 (16) - 0000000000963325 [00:18:48]1040 (4) - 15860 [00:18:48]1012 (4) - 30.10.2024 18:15 [00:18:48]1206 (1) - 0 [00:18:48]OFD Sender: Remove packet 15860 [00:18:48]ProducePacketName [00:18:48]name=ofd_packets/00015860 [00:18:48]NVStorageDeleteData [00:18:48]*** Cut start [00:18:48]*** Partial cut [00:18:48]*** CUTSNS_PIN = 1 [00:18:48]*** CUTSNS_PIN = 0 [00:18:48]OFD Sender: No OFD packet to send [00:18:48]*** Brake cut motor [00:18:49]Read from MH i2c: 01 [00:18:49]MH_I2C_Read... [00:18:49]*** Stop cut motor [00:18:49]*** Cut end [00:18:49]Read from MH i2c: 01 07 00 [00:18:49]MH_I2C_Read... [00:18:49]Read from MH i2c: 01 07 00 0A 09 00 00 00 00 00 FF 0F 28 [00:18:49]process_action open_shift done [00:18:49]requested_data is exist [00:18:49]produce_requested_data [00:18:49]requested_item fd.num is exist - process it [00:18:49]SAM_PROTO_GetFieldsCounters [00:18:49]wFMCommunicate request_size=4 [00:18:49]MH_SAM_APDU [00:18:49]CAPDU: 80 13 00 00 [00:18:49]Write to MH i2c: E2 08 00 0B 09 80 13 00 00 00 00 00 00 90 [00:18:49]Write i2c OK [00:18:49]MH_I2C_Read... [00:18:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:18:49]Read from MH i2c: E2 [00:18:49]MH_I2C_Read... [00:18:49]Read from MH i2c: E2 62 00 [00:18:49]MH_I2C_Read... [00:18:49]Read from MH i2c: E2 62 00 0B 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F4 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 93 [00:18:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F4 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:18:49]wFMCommunicate OK [00:18:49]SAM_PROTO_GetFieldsCounters done [00:18:49]requested_item shift.num is exist - process it [00:18:49]requested_item shift.opened is exist - process it [00:18:49]req_shift_opened [00:18:49]FM_GetShiftState [00:18:49]SAM_PROTO_GetShiftState [00:18:49]wFMCommunicate request_size=4 [00:18:49]MH_SAM_APDU [00:18:49]CAPDU: 80 13 01 00 [00:18:49]Write to MH i2c: E2 08 00 0C 09 80 13 01 00 00 00 00 00 92 [00:18:49]Write i2c OK [00:18:49]MH_I2C_Read... [00:18:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:49]Read from MH i2c: E2 [00:18:49]MH_I2C_Read... [00:18:49]Read from MH i2c: E2 0E 00 [00:18:49]MH_I2C_Read... [00:18:49]Read from MH i2c: E2 0E 00 0C 09 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 DA [00:18:49]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [00:18:49]wFMCommunicate OK [00:18:49]SAM_PROTO_GetShiftState done [00:18:49]FM_GetShiftState done [00:18:49]req_shift_opened done [00:18:49]requested_item shift.open_date is exist - process it [00:18:49]req_shift_open_date [00:18:49]req_shift_open_date done [00:18:49]produce_requested_data done [00:18:49]produce_requested_data return {"fd.num":15860,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927} [00:18:49]process_action_free open_shift [00:18:49]json_value_free [00:18:49]json_value_free done [00:18:49]process_json_proto returns [00:18:49]Send response to host [00:18:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":15860,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927}}} [00:18:49]free response buf [00:18:49]execute_script done [00:18:49]execute_script returns [00:18:49]free content buf [00:18:49]Sock 7.Close socket [00:18:49]Sock 7.Thread stoped [00:18:49]accept exits with 9 [00:18:49]New connection [00:18:49]New thread 3067247972 created [00:18:49]Thread 3067391332 joined [00:18:49]Waiting for new connection... [00:18:49] Sock 9.Parse request [00:18:49]Sock 9.Check first char [00:18:49]Sock 9.First char is OK [00:18:49]request: POST /json_proto HTTP/1.0 [00:18:49]Method: POST [00:18:49]URL: /json_proto [00:18:49]Method is POST - this is cgi request [00:18:49]url: /json_proto [00:18:49]query_string will be loaded in cgi processing [00:18:49]execute_cgi json_proto POST (null) [00:18:49]execute_cgi path=json_proto method=POST [00:18:49]POST find Content-Length [00:18:49]Host: 172.17.54.195:8080 [00:18:49]Content-Length: 331 [00:18:49]Content-Type: application/json [00:18:49] [00:18:49]POST finish read [00:18:49]Found Content-Length = 331 [00:18:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:49]execute_script... [00:18:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:49]POST & json_proto [00:18:49]process_json_proto [00:18:49]json parsed OK: [00:18:49]protocol is kg_v1.0 [00:18:49]action value=get_value [00:18:49]process_action get_value [00:18:49]cmd_get_value [00:18:49]process_action get_value done [00:18:49]requested_data is exist [00:18:49]produce_requested_data [00:18:49]requested_item fm.sale.total is exist - process it [00:18:49]SAM_PROTO_GetFMData [00:18:49]wFMCommunicate request_size=4 [00:18:49]MH_SAM_APDU [00:18:49]CAPDU: 80 13 03 00 [00:18:49]Write to MH i2c: E2 08 00 0D 09 80 13 03 00 00 00 00 00 95 [00:18:49]Write i2c OK [00:18:49]MH_I2C_Read... [00:18:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:18:50]Read from MH i2c: E2 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 0D 09 00 BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 31 [00:18:50]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 98 3C 00 00 69 04 A0 00 6F 04 04 00 4D 3C 00 00 B1 04 04 00 A0 B7 FC 5F 70 04 04 00 B4 F7 1A 48 72 04 04 00 EC BF E1 17 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 91 40 32 0A 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 35 81 D9 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 70 45 9F 70 04 03 00 70 45 9F 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 EA 10 EF 03 09 00 F6 03 01 00 00 90 00 [00:18:50]wFMCommunicate OK [00:18:50]wFMCommunicate request_size=4 [00:18:50]MH_SAM_APDU [00:18:50]CAPDU: 80 17 00 00 [00:18:50]Write to MH i2c: E2 08 00 0E 09 80 17 00 00 00 00 00 00 97 [00:18:50]Write i2c OK [00:18:50]MH_I2C_Read... [00:18:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:50]Read from MH i2c: E2 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 0E 09 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 00 [00:18:50]RAPDU: F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D0 68 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:18:50]wFMCommunicate OK [00:18:50]wFMCommunicate request_size=4 [00:18:50]MH_SAM_APDU [00:18:50]CAPDU: 80 17 00 00 [00:18:50]Write to MH i2c: E2 08 00 0F 09 80 17 00 00 00 00 00 00 98 [00:18:50]Write i2c OK [00:18:50]MH_I2C_Read... [00:18:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:50]Read from MH i2c: E2 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 0F 09 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 3C [00:18:50]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:18:50]wFMCommunicate OK [00:18:50]wFMCommunicate request_size=4 [00:18:50]MH_SAM_APDU [00:18:50]CAPDU: 80 17 00 00 [00:18:50]Write to MH i2c: E2 08 00 10 09 80 17 00 00 00 00 00 00 99 [00:18:50]Write i2c OK [00:18:50]MH_I2C_Read... [00:18:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:51]Read from MH i2c: E2 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 FD 00 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 FD 00 10 09 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 13 [00:18:51]RAPDU: 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:18:51]wFMCommunicate OK [00:18:51]wFMCommunicate request_size=4 [00:18:51]MH_SAM_APDU [00:18:51]CAPDU: 80 17 00 00 [00:18:51]Write to MH i2c: E2 08 00 11 09 80 17 00 00 00 00 00 00 9A [00:18:51]Write i2c OK [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 [00:18:51]MH_I2C_Read... [00:18:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:18:51]Read from MH i2c: E2 DC 00 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 DC 00 11 09 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7E [00:18:51]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:18:51]wFMCommunicate OK [00:18:51]SAM_PROTO_GetFMData done [00:18:51]requested_item fm.sale_refund.total is exist - process it [00:18:51]requested_item fm.buy.total is exist - process it [00:18:51]requested_item shift.sale.total is exist - process it [00:18:51]SAM_PROTO_GetShiftData [00:18:51]wFMCommunicate request_size=4 [00:18:51]MH_SAM_APDU [00:18:51]CAPDU: 80 13 02 00 [00:18:51]Write to MH i2c: E2 08 00 12 09 80 13 02 00 00 00 00 00 99 [00:18:51]Write i2c OK [00:18:51]MH_I2C_Read... [00:18:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:18:52]Read from MH i2c: E2 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 12 09 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 0C [00:18:52]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:18:52]wFMCommunicate OK [00:18:52]wFMCommunicate request_size=4 [00:18:52]MH_SAM_APDU [00:18:52]CAPDU: 80 17 00 00 [00:18:52]Write to MH i2c: E2 08 00 13 09 80 17 00 00 00 00 00 00 9C [00:18:52]Write i2c OK [00:18:52]MH_I2C_Read... [00:18:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:52]Read from MH i2c: E2 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 13 09 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 A4 [00:18:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:18:52]wFMCommunicate OK [00:18:52]wFMCommunicate request_size=4 [00:18:52]MH_SAM_APDU [00:18:52]CAPDU: 80 17 00 00 [00:18:52]Write to MH i2c: E2 08 00 14 09 80 17 00 00 00 00 00 00 9D [00:18:52]Write i2c OK [00:18:52]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 FD 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 FD 00 14 09 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 6F [00:18:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:18:53]wFMCommunicate OK [00:18:53]wFMCommunicate request_size=4 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 17 00 00 [00:18:53]Write to MH i2c: E2 08 00 15 09 80 17 00 00 00 00 00 00 9E [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 FD 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 FD 00 15 09 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 10 [00:18:53]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:18:53]wFMCommunicate OK [00:18:53]wFMCommunicate request_size=4 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 17 00 00 [00:18:53]Write to MH i2c: E2 08 00 16 09 80 17 00 00 00 00 00 00 9F [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]OFD Sender: No OFD packet to send [00:18:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 BD 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 BD 00 16 09 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:18:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:18:54]wFMCommunicate OK [00:18:54]SAM_PROTO_GetShiftData done [00:18:54]requested_item shift.sale.total_cash is exist - process it [00:18:54]requested_item shift.sale_refund.total is exist - process it [00:18:54]requested_item shift.sale_refund.total_cash is exist - process it [00:18:54]requested_item shift.buy.total is exist - process it [00:18:54]requested_item shift.buy.total_cash is exist - process it [00:18:54]produce_requested_data done [00:18:54]produce_requested_data return {"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:18:54]process_action_free get_value [00:18:54]json_value_free [00:18:54]json_value_free done [00:18:54]process_json_proto returns [00:18:54]Send response to host [00:18:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":16103976.00,"fm.sale_refund.total":104380.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:18:54]free response buf [00:18:54]execute_script done [00:18:54]execute_script returns [00:18:54]free content buf [00:18:54]Sock 9.Close socket [00:18:54]Sock 9.Thread stoped [00:18:58]OFD Sender: No OFD packet to send [00:19:03]OFD Sender: No OFD packet to send [00:19:08]OFD Sender: No OFD packet to send [00:19:13]OFD Sender: No OFD packet to send [00:19:18]OFD Sender: No OFD packet to send [00:19:23]OFD Sender: No OFD packet to send [00:19:28]OFD Sender: No OFD packet to send [00:19:33]OFD Sender: No OFD packet to send [00:19:38]OFD Sender: No OFD packet to send [00:19:43]OFD Sender: No OFD packet to send [00:19:48]OFD Sender: No OFD packet to send [00:19:53]OFD Sender: No OFD packet to send [00:19:58]OFD Sender: No OFD packet to send [00:20:03]OFD Sender: No OFD packet to send [00:20:08]OFD Sender: No OFD packet to send [00:20:13]OFD Sender: No OFD packet to send [00:20:18]OFD Sender: No OFD packet to send [00:20:23]OFD Sender: No OFD packet to send [00:20:28]OFD Sender: No OFD packet to send [00:20:33]OFD Sender: No OFD packet to send [00:20:38]OFD Sender: No OFD packet to send [00:20:43]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:09]OFD Sender: No OFD packet to send [00:21:14]OFD Sender: No OFD packet to send [00:21:19]OFD Sender: No OFD packet to send [00:21:24]OFD Sender: No OFD packet to send [00:21:29]OFD Sender: No OFD packet to send [00:21:34]OFD Sender: No OFD packet to send [00:21:39]OFD Sender: No OFD packet to send [00:21:44]OFD Sender: No OFD packet to send [00:21:49]OFD Sender: No OFD packet to send [00:21:54]OFD Sender: No OFD packet to send [00:21:59]OFD Sender: No OFD packet to send [00:22:04]OFD Sender: No OFD packet to send [00:22:09]OFD Sender: No OFD packet to send [00:22:14]OFD Sender: No OFD packet to send [00:22:19]OFD Sender: No OFD packet to send [00:22:24]OFD Sender: No OFD packet to send [00:22:29]OFD Sender: No OFD packet to send [00:22:34]OFD Sender: No OFD packet to send [00:22:39]OFD Sender: No OFD packet to send [00:22:44]OFD Sender: No OFD packet to send [00:22:49]OFD Sender: No OFD packet to send [00:22:54]OFD Sender: No OFD packet to send [00:22:59]OFD Sender: No OFD packet to send [00:23:04]OFD Sender: No OFD packet to send [00:23:09]OFD Sender: No OFD packet to send [00:23:14]OFD Sender: No OFD packet to send [00:23:19]OFD Sender: No OFD packet to send [00:23:24]OFD Sender: No OFD packet to send [00:23:29]OFD Sender: No OFD packet to send [00:23:34]OFD Sender: No OFD packet to send [00:23:39]OFD Sender: No OFD packet to send [00:23:44]OFD Sender: No OFD packet to send [00:23:49]OFD Sender: No OFD packet to send [00:23:54]OFD Sender: No OFD packet to send [00:23:59]OFD Sender: No OFD packet to send [00:24:04]OFD Sender: No OFD packet to send [00:24:09]OFD Sender: No OFD packet to send [00:24:14]OFD Sender: No OFD packet to send [00:24:19]OFD Sender: No OFD packet to send [00:24:24]OFD Sender: No OFD packet to send [00:24:29]OFD Sender: No OFD packet to send [00:24:34]OFD Sender: No OFD packet to send [00:24:39]OFD Sender: No OFD packet to send [00:24:44]OFD Sender: No OFD packet to send [00:24:49]OFD Sender: No OFD packet to send [00:24:54]OFD Sender: No OFD packet to send [00:24:59]OFD Sender: No OFD packet to send [00:25:04]OFD Sender: No OFD packet to send [00:25:09]OFD Sender: No OFD packet to send [00:25:14]OFD Sender: No OFD packet to send [00:25:19]OFD Sender: No OFD packet to send [00:25:24]OFD Sender: No OFD packet to send [00:25:29]OFD Sender: No OFD packet to send [00:25:34]OFD Sender: No OFD packet to send [00:25:39]OFD Sender: No OFD packet to send [00:25:44]OFD Sender: No OFD packet to send [00:25:49]OFD Sender: No OFD packet to send [00:25:54]OFD Sender: No OFD packet to send [00:25:59]OFD Sender: No OFD packet to send [00:26:04]OFD Sender: No OFD packet to send [00:26:09]OFD Sender: No OFD packet to send [00:26:14]OFD Sender: No OFD packet to send [00:26:19]OFD Sender: No OFD packet to send [00:26:24]OFD Sender: No OFD packet to send [00:26:29]OFD Sender: No OFD packet to send [00:26:34]OFD Sender: No OFD packet to send [00:26:39]OFD Sender: No OFD packet to send [00:26:44]OFD Sender: No OFD packet to send [00:26:49]OFD Sender: No OFD packet to send [00:26:54]OFD Sender: No OFD packet to send [00:26:59]OFD Sender: No OFD packet to send [00:27:04]OFD Sender: No OFD packet to send [00:27:09]OFD Sender: No OFD packet to send [00:27:14]OFD Sender: No OFD packet to send [00:27:19]OFD Sender: No OFD packet to send [00:27:24]OFD Sender: No OFD packet to send [00:27:29]OFD Sender: No OFD packet to send [00:27:34]OFD Sender: No OFD packet to send [00:27:39]OFD Sender: No OFD packet to send [00:27:44]OFD Sender: No OFD packet to send [00:27:49]OFD Sender: No OFD packet to send [00:27:54]OFD Sender: No OFD packet to send [00:27:59]OFD Sender: No OFD packet to send [00:28:04]OFD Sender: No OFD packet to send [00:28:09]OFD Sender: No OFD packet to send [00:28:14]OFD Sender: No OFD packet to send [00:28:19]OFD Sender: No OFD packet to send [00:28:24]OFD Sender: No OFD packet to send [00:28:29]OFD Sender: No OFD packet to send [00:28:34]OFD Sender: No OFD packet to send [00:28:39]OFD Sender: No OFD packet to send [00:28:44]OFD Sender: No OFD packet to send [00:28:49]OFD Sender: No OFD packet to send [00:28:54]OFD Sender: No OFD packet to send [00:28:59]OFD Sender: No OFD packet to send [00:29:04]OFD Sender: No OFD packet to send [00:29:09]OFD Sender: No OFD packet to send [00:29:14]OFD Sender: No OFD packet to send [00:29:19]OFD Sender: No OFD packet to send [00:29:24]OFD Sender: No OFD packet to send [00:29:29]OFD Sender: No OFD packet to send [00:29:34]OFD Sender: No OFD packet to send [00:29:39]OFD Sender: No OFD packet to send [00:29:44]OFD Sender: No OFD packet to send [00:29:49]OFD Sender: No OFD packet to send [00:29:54]OFD Sender: No OFD packet to send [00:29:59]OFD Sender: No OFD packet to send [00:30:04]OFD Sender: No OFD packet to send [00:30:09]OFD Sender: No OFD packet to send [00:30:14]OFD Sender: No OFD packet to send [00:30:19]OFD Sender: No OFD packet to send [00:30:24]OFD Sender: No OFD packet to send [00:30:29]OFD Sender: No OFD packet to send [00:30:34]OFD Sender: No OFD packet to send [00:30:39]OFD Sender: No OFD packet to send [00:30:44]OFD Sender: No OFD packet to send [00:30:49]OFD Sender: No OFD packet to send [00:30:54]OFD Sender: No OFD packet to send [00:30:59]OFD Sender: No OFD packet to send [00:31:04]OFD Sender: No OFD packet to send [00:31:09]OFD Sender: No OFD packet to send [00:31:14]OFD Sender: No OFD packet to send [00:31:19]OFD Sender: No OFD packet to send [00:31:24]OFD Sender: No OFD packet to send [00:31:29]OFD Sender: No OFD packet to send [00:31:34]OFD Sender: No OFD packet to send [00:31:39]OFD Sender: No OFD packet to send [00:31:44]OFD Sender: No OFD packet to send [00:31:49]OFD Sender: No OFD packet to send [00:31:54]OFD Sender: No OFD packet to send [00:31:59]OFD Sender: No OFD packet to send [00:32:04]OFD Sender: No OFD packet to send [00:32:09]OFD Sender: No OFD packet to send [00:32:14]OFD Sender: No OFD packet to send [00:32:19]OFD Sender: No OFD packet to send [00:32:24]OFD Sender: No OFD packet to send [00:32:29]OFD Sender: No OFD packet to send [00:32:34]OFD Sender: No OFD packet to send [00:32:39]OFD Sender: No OFD packet to send [00:32:44]OFD Sender: No OFD packet to send [00:32:49]OFD Sender: No OFD packet to send [00:32:54]OFD Sender: No OFD packet to send [00:32:59]OFD Sender: No OFD packet to send [00:33:04]OFD Sender: No OFD packet to send [00:33:09]OFD Sender: No OFD packet to send [00:33:14]OFD Sender: No OFD packet to send [00:33:19]OFD Sender: No OFD packet to send [00:33:24]OFD Sender: No OFD packet to send [00:33:29]OFD Sender: No OFD packet to send [00:33:34]OFD Sender: No OFD packet to send [00:33:39]OFD Sender: No OFD packet to send [00:33:44]OFD Sender: No OFD packet to send [00:33:49]OFD Sender: No OFD packet to send [00:33:54]OFD Sender: No OFD packet to send [00:33:59]OFD Sender: No OFD packet to send [00:34:04]OFD Sender: No OFD packet to send [00:34:09]OFD Sender: No OFD packet to send [00:34:14]OFD Sender: No OFD packet to send [00:34:19]OFD Sender: No OFD packet to send [00:34:24]OFD Sender: No OFD packet to send [00:34:29]OFD Sender: No OFD packet to send [00:34:34]OFD Sender: No OFD packet to send [00:34:39]OFD Sender: No OFD packet to send [00:34:44]OFD Sender: No OFD packet to send [00:34:49]OFD Sender: No OFD packet to send [00:34:54]OFD Sender: No OFD packet to send [00:34:59]OFD Sender: No OFD packet to send [00:35:04]OFD Sender: No OFD packet to send [00:35:09]OFD Sender: No OFD packet to send [00:35:14]OFD Sender: No OFD packet to send [00:35:19]OFD Sender: No OFD packet to send [00:35:24]OFD Sender: No OFD packet to send [00:35:29]OFD Sender: No OFD packet to send [00:35:34]OFD Sender: No OFD packet to send [00:35:39]OFD Sender: No OFD packet to send [00:35:44]OFD Sender: No OFD packet to send [00:35:49]OFD Sender: No OFD packet to send [00:35:54]OFD Sender: No OFD packet to send [00:35:59]OFD Sender: No OFD packet to send [00:36:04]OFD Sender: No OFD packet to send [00:36:09]OFD Sender: No OFD packet to send [00:36:14]OFD Sender: No OFD packet to send [00:36:19]OFD Sender: No OFD packet to send [00:36:24]OFD Sender: No OFD packet to send [00:36:29]OFD Sender: No OFD packet to send [00:36:34]OFD Sender: No OFD packet to send [00:36:39]OFD Sender: No OFD packet to send [00:36:44]OFD Sender: No OFD packet to send [00:36:49]OFD Sender: No OFD packet to send [00:36:54]OFD Sender: No OFD packet to send [00:36:59]OFD Sender: No OFD packet to send [00:37:04]OFD Sender: No OFD packet to send [00:37:09]OFD Sender: No OFD packet to send [00:37:14]OFD Sender: No OFD packet to send [00:37:19]OFD Sender: No OFD packet to send [00:37:24]OFD Sender: No OFD packet to send [00:37:29]OFD Sender: No OFD packet to send [00:37:34]OFD Sender: No OFD packet to send [00:37:39]OFD Sender: No OFD packet to send [00:37:44]OFD Sender: No OFD packet to send [00:37:49]OFD Sender: No OFD packet to send [00:37:54]OFD Sender: No OFD packet to send [00:37:59]OFD Sender: No OFD packet to send [00:38:04]OFD Sender: No OFD packet to send [00:38:09]OFD Sender: No OFD packet to send [00:38:14]OFD Sender: No OFD packet to send [00:38:19]OFD Sender: No OFD packet to send [00:38:24]OFD Sender: No OFD packet to send [00:38:29]OFD Sender: No OFD packet to send [00:38:34]OFD Sender: No OFD packet to send [00:38:39]OFD Sender: No OFD packet to send [00:38:44]OFD Sender: No OFD packet to send [00:38:49]OFD Sender: No OFD packet to send [00:38:54]OFD Sender: No OFD packet to send [00:38:59]OFD Sender: No OFD packet to send [00:39:04]OFD Sender: No OFD packet to send [00:39:09]OFD Sender: No OFD packet to send [00:39:14]OFD Sender: No OFD packet to send [00:39:19]OFD Sender: No OFD packet to send [00:39:24]OFD Sender: No OFD packet to send [00:39:29]OFD Sender: No OFD packet to send [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]OFD Sender: No OFD packet to send [00:40:14]OFD Sender: No OFD packet to send [00:40:19]OFD Sender: No OFD packet to send [00:40:24]OFD Sender: No OFD packet to send [00:40:29]OFD Sender: No OFD packet to send [00:40:34]OFD Sender: No OFD packet to send [00:40:39]OFD Sender: No OFD packet to send [00:40:44]OFD Sender: No OFD packet to send [00:40:49]OFD Sender: No OFD packet to send [00:40:54]OFD Sender: No OFD packet to send [00:40:59]OFD Sender: No OFD packet to send [00:41:04]OFD Sender: No OFD packet to send [00:41:09]OFD Sender: No OFD packet to send [00:41:14]OFD Sender: No OFD packet to send [00:41:19]OFD Sender: No OFD packet to send [00:41:24]OFD Sender: No OFD packet to send [00:41:29]OFD Sender: No OFD packet to send [00:41:34]OFD Sender: No OFD packet to send [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:50]accept exits with 7 [00:41:50]New connection [00:41:50]New thread 3067391332 created [00:41:50]Thread 3067247972 joined [00:41:50]Waiting for new connection... [00:41:50] Sock 7.Parse request [00:41:50]Sock 7.Check first char [00:41:50]Sock 7.First char is OK [00:41:50]request: POST /json_proto HTTP/1.0 [00:41:50]Method: POST [00:41:50]URL: /json_proto [00:41:50]Method is POST - this is cgi request [00:41:50]url: /json_proto [00:41:50]query_string will be loaded in cgi processing [00:41:50]execute_cgi json_proto POST (null) [00:41:50]execute_cgi path=json_proto method=POST [00:41:50]POST find Content-Length [00:41:50]Host: 172.17.54.195:8080 [00:41:50]Content-Length: 774 [00:41:50]Content-Type: application/json [00:41:50] [00:41:50]POST finish read [00:41:50]Found Content-Length = 774 [00:41:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16410", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 10.240, "sum" : 700.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 700.00, "payments": [ { "type": 1, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:41:50]execute_script... [00:41:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16410", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "50.50.0", "name": "SUPER 92-\u041A-5", "price" : 68.40, "quantity" : 10.240, "sum" : 700.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 700.00, "payments": [ { "type": 1, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:41:50]POST & json_proto [00:41:50]process_json_proto [00:41:50]json parsed OK: [00:41:50]protocol is kg_v1.0 [00:41:50]action value=close_receipt [00:41:50]process_action close_receipt [00:41:50]cmd_close_receipt [00:41:50]MH_GetDate [00:41:50]Write to MH i2c: F0 00 00 17 09 0F [00:41:50]Write i2c OK [00:41:50]MH_I2C_Read... [00:41:50]Read from MH i2c: F0 [00:41:50]MH_I2C_Read... [00:41:50]Read from MH i2c: F0 09 00 [00:41:50]MH_I2C_Read... [00:41:50]Read from MH i2c: F0 09 00 17 09 00 4F D2 22 67 8D 90 A3 66 E8 [00:41:50]GetLastDocTimeStamp 1730333927 [00:41:50]current date 1730335311 [00:41:50]FM_GetShiftState [00:41:50]SAM_PROTO_GetShiftState [00:41:50]wFMCommunicate request_size=4 [00:41:50]MH_SAM_APDU [00:41:50]CAPDU: 80 13 01 00 [00:41:50]Write to MH i2c: E2 08 00 18 09 80 13 01 00 00 00 00 00 9E [00:41:50]Write i2c OK [00:41:50]MH_I2C_Read... [00:41:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:41:50]Read from MH i2c: E2 [00:41:50]MH_I2C_Read... [00:41:50]Read from MH i2c: E2 0E 00 [00:41:50]MH_I2C_Read... [00:41:50]Read from MH i2c: E2 0E 00 18 09 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 E6 [00:41:50]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [00:41:50]wFMCommunicate OK [00:41:50]SAM_PROTO_GetShiftState done [00:41:50]FM_GetShiftState done [00:41:50]opened in 1730333927 [00:41:50]opened+sec_in_day 1730420327 [00:41:50]quantity*price = 70041 [00:41:50]sum+1 = 70043 [00:41:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.42 ИТОГО: 700.00 НСП 1% : 6.20 НДС 12% : 74.38 Наличными: 0.00 Безнал.: 700.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 1 31.10.2024 00:41 Смена: 174 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15861 ФПД: 40249148737534 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T004151&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15861&fm=40249148737534&tin=02508201610067®Number=0000000000161798&sum=70000 [00:41:51]StoreToDocumentArchive [00:41:51]shift 174 fd 15861 [00:41:51]save to /storage/0174/doc_00015861 [00:41:51]save last doc name /storage/0174/doc_00015861 to /storage/kkm_last_doc_name [00:41:51]save OK [00:41:51]Clear old archive folders... [00:41:51]ProcessDocumentItem done err = 0, tmpTLVsize=249 [00:41:51]tlvbuf is 01F5BBD0 [00:41:51]SAM_PROTO_ClearQueue [00:41:51]wFMCommunicate request_size=4 [00:41:51]MH_SAM_APDU [00:41:51]CAPDU: 80 09 00 00 [00:41:51]Write to MH i2c: E2 08 00 25 09 80 09 00 00 00 00 00 00 A0 [00:41:51]Write i2c OK [00:41:51]MH_I2C_Read... [00:41:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:41:51]Read from MH i2c: E2 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 03 00 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 03 00 25 09 00 90 00 A2 [00:41:51]RAPDU: 90 00 [00:41:51]wFMCommunicate OK [00:41:51]SAM_PROTO_ClearQueue done [00:41:51]KKMCreateOFDPacket [00:41:51]OFDProtocolAddRootSTLVToBuf [00:41:51]FM_MakeSignedData [00:41:51]FM_MakeSignedData [00:41:51]SAM_PROTO_SignData [00:41:51]wFMCommunicate request_size=4 [00:41:51]MH_SAM_APDU [00:41:51]CAPDU: 80 0D 01 02 [00:41:51]Write to MH i2c: E2 08 00 26 09 80 0D 01 02 00 00 00 00 A8 [00:41:51]Write i2c OK [00:41:51]MH_I2C_Read... [00:41:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:41:51]Read from MH i2c: E2 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 03 00 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 03 00 26 09 00 90 00 A3 [00:41:51]RAPDU: 90 00 [00:41:51]wFMCommunicate OK [00:41:51]wFMCommunicate request_size=255 [00:41:51]MH_SAM_APDU [00:41:51]CAPDU: 80 0D 02 02 FA 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 28 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9A 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 4F D2 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F5 3D 00 00 35 04 06 00 24 9B 3C [00:41:51]Write to MH i2c: E2 02 01 27 09 80 0D 02 02 FA 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 28 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9A 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 4F D2 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F5 3D 00 00 35 04 06 00 24 9B 3C 00 00 73 [00:41:51]Write i2c OK [00:41:51]MH_I2C_Read... [00:41:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:41:51]Read from MH i2c: E2 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 03 00 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 03 00 27 09 00 90 00 A4 [00:41:51]RAPDU: 90 00 [00:41:51]wFMCommunicate OK [00:41:51]wFMCommunicate request_size=8 [00:41:51]MH_SAM_APDU [00:41:51]CAPDU: 80 0D 02 02 03 36 87 FE [00:41:51]Write to MH i2c: E2 0B 00 28 09 80 0D 02 02 03 00 36 87 FE 00 00 6C [00:41:51]Write i2c OK [00:41:51]MH_I2C_Read... [00:41:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:41:51]Read from MH i2c: E2 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 03 00 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 03 00 28 09 00 90 00 A5 [00:41:51]RAPDU: 90 00 [00:41:51]wFMCommunicate OK [00:41:51]wFMCommunicate request_size=4 [00:41:51]MH_SAM_APDU [00:41:51]CAPDU: 80 0D 03 02 [00:41:51]Write to MH i2c: E2 08 00 29 09 80 0D 03 02 00 00 00 00 AD [00:41:51]Write i2c OK [00:41:51]MH_I2C_Read... [00:41:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:41:51]Read from MH i2c: E2 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 0B 00 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 0B 00 29 09 00 EC 0F 5F EE 53 7C 00 2F 90 00 F4 [00:41:51]RAPDU: EC 0F 5F EE 53 7C 00 2F 90 00 [00:41:51]wFMCommunicate OK [00:41:51]SAM_PROTO_SignData done [00:41:51]FM_MakeSignedData done [00:41:51]CreateOFDProtocolMessage [00:41:51]wFMCommunicate request_size=4 [00:41:51]MH_SAM_APDU [00:41:51]CAPDU: 80 11 00 00 [00:41:51]Write to MH i2c: E2 08 00 2A 09 80 11 00 00 00 00 00 00 AD [00:41:51]Write i2c OK [00:41:51]MH_I2C_Read... [00:41:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:41:51]Read from MH i2c: E2 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 17 00 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: E2 17 00 2A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 FC [00:41:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:41:51]wFMCommunicate OK [00:41:51]CreateOFDProtocolMessage done [00:41:51]OFDSenderStorePacket 15861 [00:41:51]StoreOFDPacket docnum=15861 [00:41:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 1B 60 05 01 0B C9 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 28 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9A 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 4F D2 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F5 3D 00 00 35 04 06 00 24 9B 3C 36 87 FE EC 0F 5F EE 53 7C 00 2F [00:41:51]CheckFolder [00:41:51]dirname=/storage/ofd_packets [00:41:51]CheckFolder done [00:41:51]ProducePacketName [00:41:51]name=ofd_packets/00015861 [00:41:51]NVStorageSaveData ofd_packets/00015861 [00:41:51]File name is /storage/ofd_packets/00015861 [00:41:51]Write 299 bytes [00:41:51]NVStorageSaveData done [00:41:51]OFDSenderStorePacket done [00:41:51]KKMCreateOFDPacket done [00:41:51]NVStorageSaveData kkm_last_timestamp [00:41:51]File name is /storage/kkm_last_timestamp [00:41:51]Write 4 bytes [00:41:51]NVStorageSaveData done [00:41:51]ExternCall_PrintAddStr [00:41:51]wPrintStart [00:41:51]Write to MH i2c: 01 00 00 2B 09 34 [00:41:51]Write i2c OK [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: 01 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: 01 07 00 [00:41:51]MH_I2C_Read... [00:41:51]Read from MH i2c: 01 07 00 2B 09 00 00 00 00 00 FF 0F 49 [00:41:51]RasterBufferAndPrint [00:41:51]line Счет N : (1)16410 [00:41:51]line ИНН: 02508201610067 [00:41:51]line Контрольно-Кассовый Чек [00:41:51]line ПРОДАЖА [00:41:51]line ТРК (МРК, ГНК) : 12 [00:41:51]line Товар: 50.50.0 [00:41:51]line SUPER 92-К-5 [00:41:51]line 10.240 * 68.40 [00:41:51]line = 700.42 [00:41:51]line НДС 12% НСП 1% [00:41:51]line > о реализуемом товаре [00:41:51]line ОКРУГЛЕНИЕ: -0.42 [00:41:51]line ИТОГО: 700.00 [00:41:51]line НСП 1% : 6.20 [00:41:51]line НДС 12% : 74.38 [00:41:51]line Наличными: 0.00 [00:41:51]line Безнал.: 700.00 [00:41:51]line Место: АЗС № 178 "Партнер Нефть" [00:41:51]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [00:41:51]line СНО: Общий режим [00:41:51]line Чек 1 31.10.2024 00:41 [00:41:51]line Смена: 174 ФФД: 1.0 [00:41:51]line ЗНМ: 0300000014 [00:41:51]line РНМ: 0000000000161798 [00:41:51]line Версия ККМ: v1.0 [00:41:51]line Платежная система: Mbank [00:41:51]line ФМ: 0000000000963325 [00:41:51]line ФД: 15861 [00:41:51]line ФПД: 40249148737534 [00:41:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T004151&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15861&fm=40249148737534&tin=02508201610067®Number=0000000000161798&sum=70000 [00:41:52]OFD Sender: Processing packet 15861 [packets to send 4, broken 3] [00:41:52]ProducePacketName [00:41:52]name=ofd_packets/00015861 [00:41:52]OFD Sender: To server: pG, [00:41:52]CommunicateWithHost lk.salyk.kg:30040 [00:41:52]ConnectInit lk.salyk.kg [00:41:52]written 0, free lines is 4095 [00:41:52]Connected sock=10 [00:41:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 01 00 00 1B 60 05 01 0B C9 5A 03 01 00 03 00 F9 00 1E 04 01 00 01 23 04 4B 00 8A 04 07 00 35 30 2E 35 30 2E 30 06 04 0D 00 53 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 00 28 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9A 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 4F D2 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F5 3D 00 00 35 04 06 00 24 9B 3C 36 87 FE EC 0F 5F EE 53 7C 00 2F [00:41:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 27 75 47 00 76 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F5 3D 00 00 F4 03 04 00 37 7D 22 67 B6 04 01 00 00 8C FC 87 E1 15 D2 BB 2B [00:41:52]CommunicateWithHost err = 0 [00:41:52]CheckOFDResponse [00:41:52]1017 (14) - 77093643461234 [00:41:52]1041 (16) - 0000000000963325 [00:41:52]1040 (4) - 15861 [00:41:52]1012 (4) - 30.10.2024 18:38 [00:41:52]1206 (1) - 0 [00:41:52]OFD Sender: Remove packet 15861 [00:41:52]ProducePacketName [00:41:52]name=ofd_packets/00015861 [00:41:52]NVStorageDeleteData [00:41:52]Write to MH i2c: 01 00 00 55 09 5E [00:41:52]Write i2c OK [00:41:52]MH_I2C_Read... [00:41:52]Read from MH i2c: 01 [00:41:52]MH_I2C_Read... [00:41:52]Read from MH i2c: 01 07 00 [00:41:52]MH_I2C_Read... [00:41:52]Read from MH i2c: 01 07 00 55 09 00 00 00 00 00 11 0D 83 [00:41:52]RasterBufferAndPrint [00:41:52]line [00:41:52]line [00:41:52]line [00:41:52]line [00:41:52]line [00:41:52]written 0, free lines is 3354 [00:41:52]MH_Cut [00:41:52]Write to MH i2c: D1 01 00 5C 09 01 37 [00:41:52]Write i2c OK [00:41:52]MH_I2C_Read... [00:41:52]Read from MH i2c: D1 [00:41:52]MH_I2C_Read... [00:41:52]Read from MH i2c: D1 01 00 [00:41:52]MH_I2C_Read... [00:41:52]Read from MH i2c: D1 01 00 5C 09 00 36 [00:41:52]Write to MH i2c: 01 00 00 5D 09 66 [00:41:52]Write i2c OK [00:41:52]MH_I2C_Read... [00:41:52]OFD Sender: No OFD packet to send [00:41:53]*** Cut start [00:41:53]*** Partial cut [00:41:53]*** CUTSNS_PIN = 1 [00:41:53]*** CUTSNS_PIN = 0 [00:41:53]*** Brake cut motor [00:41:53]Read from MH i2c: 01 [00:41:53]MH_I2C_Read... [00:41:53]*** Stop cut motor [00:41:53]*** Cut end [00:41:53]Read from MH i2c: 01 07 00 [00:41:53]MH_I2C_Read... [00:41:53]Read from MH i2c: 01 07 00 5D 09 00 00 00 00 00 FF 0F 7B [00:41:53]process_action close_receipt done [00:41:53]requested_data is exist [00:41:53]produce_requested_data [00:41:53]requested_item fm.sn is exist - process it [00:41:53]wFMCommunicate request_size=4 [00:41:53]MH_SAM_APDU [00:41:53]CAPDU: 80 11 00 00 [00:41:53]Write to MH i2c: E2 08 00 5E 09 80 11 00 00 00 00 00 00 E1 [00:41:53]Write i2c OK [00:41:53]MH_I2C_Read... [00:41:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:41:53]Read from MH i2c: E2 [00:41:53]MH_I2C_Read... [00:41:53]Read from MH i2c: E2 17 00 [00:41:53]MH_I2C_Read... [00:41:53]Read from MH i2c: E2 17 00 5E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 30 [00:41:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:41:53]wFMCommunicate OK [00:41:53]requested_item fd.num is exist - process it [00:41:53]SAM_PROTO_GetFieldsCounters [00:41:53]wFMCommunicate request_size=4 [00:41:53]MH_SAM_APDU [00:41:53]CAPDU: 80 13 00 00 [00:41:53]Write to MH i2c: E2 08 00 5F 09 80 13 00 00 00 00 00 00 E4 [00:41:53]Write i2c OK [00:41:53]MH_I2C_Read... [00:41:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:41:54]Read from MH i2c: E2 [00:41:54]MH_I2C_Read... [00:41:54]Read from MH i2c: E2 62 00 [00:41:54]MH_I2C_Read... [00:41:54]Read from MH i2c: E2 62 00 5F 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F5 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 EB [00:41:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F5 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:41:54]wFMCommunicate OK [00:41:54]SAM_PROTO_GetFieldsCounters done [00:41:54]requested_item shift.num is exist - process it [00:41:54]requested_item shift.opened is exist - process it [00:41:54]req_shift_opened [00:41:54]FM_GetShiftState [00:41:54]SAM_PROTO_GetShiftState [00:41:54]wFMCommunicate request_size=4 [00:41:54]MH_SAM_APDU [00:41:54]CAPDU: 80 13 01 00 [00:41:54]Write to MH i2c: E2 08 00 60 09 80 13 01 00 00 00 00 00 E6 [00:41:54]Write i2c OK [00:41:54]MH_I2C_Read... [00:41:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:41:54]Read from MH i2c: E2 [00:41:54]MH_I2C_Read... [00:41:54]Read from MH i2c: E2 0E 00 [00:41:54]MH_I2C_Read... [00:41:54]Read from MH i2c: E2 0E 00 60 09 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 2E [00:41:54]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [00:41:54]wFMCommunicate OK [00:41:54]SAM_PROTO_GetShiftState done [00:41:54]FM_GetShiftState done [00:41:54]req_shift_opened done [00:41:54]requested_item shift.open_date is exist - process it [00:41:54]req_shift_open_date [00:41:54]req_shift_open_date done [00:41:54]produce_requested_data done [00:41:54]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15861,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927} [00:41:54]process_action_free close_receipt [00:41:54]json_value_free [00:41:54]json_value_free done [00:41:54]process_json_proto returns [00:41:54]Send response to host [00:41:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15861,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927}}} [00:41:54]free response buf [00:41:54]execute_script done [00:41:54]execute_script returns [00:41:54]free content buf [00:41:54]Sock 7.Close socket [00:41:54]Sock 7.Thread stoped [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:07]OFD Sender: No OFD packet to send [00:42:12]OFD Sender: No OFD packet to send [00:42:17]OFD Sender: No OFD packet to send [00:42:22]OFD Sender: No OFD packet to send [00:42:27]OFD Sender: No OFD packet to send [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:23]OFD Sender: No OFD packet to send [00:48:28]OFD Sender: No OFD packet to send [00:48:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:22]accept exits with 9 [00:59:22]New connection [00:59:22]New thread 3067247972 created [00:59:22]Thread 3067391332 joined [00:59:22]Waiting for new connection... [00:59:22] Sock 9.Parse request [00:59:22]Sock 9.Check first char [00:59:22]Sock 9.First char is OK [00:59:22]request: POST /json_proto HTTP/1.0 [00:59:22]Method: POST [00:59:22]URL: /json_proto [00:59:22]Method is POST - this is cgi request [00:59:22]url: /json_proto [00:59:22]query_string will be loaded in cgi processing [00:59:22]execute_cgi json_proto POST (null) [00:59:22]execute_cgi path=json_proto method=POST [00:59:22]POST find Content-Length [00:59:22]Host: 172.17.54.195:8080 [00:59:22]Content-Length: 673 [00:59:22]Content-Type: application/json [00:59:22] [00:59:22]POST finish read [00:59:22]Found Content-Length = 673 [00:59:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16411", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 4.990, "sum" : 380.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 380.00, "total" : 380.00, "payments": [ { "type": 0, "sum" : 380.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:59:22]execute_script... [00:59: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 : (1)16411", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 4.990, "sum" : 380.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 380.00, "total" : 380.00, "payments": [ { "type": 0, "sum" : 380.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:59:22]POST & json_proto [00:59:22]process_json_proto [00:59:22]json parsed OK: [00:59:22]protocol is kg_v1.0 [00:59:22]action value=close_receipt [00:59:22]process_action close_receipt [00:59:22]cmd_close_receipt [00:59:22]MH_GetDate [00:59:22]Write to MH i2c: F0 00 00 61 09 59 [00:59:22]Write i2c OK [00:59:22]MH_I2C_Read... [00:59:22]Read from MH i2c: F0 [00:59:22]MH_I2C_Read... [00:59:22]Read from MH i2c: F0 09 00 [00:59:22]MH_I2C_Read... [00:59:22]Read from MH i2c: F0 09 00 61 09 00 6C D6 22 67 8D 90 A3 66 53 [00:59:22]GetLastDocTimeStamp 1730335311 [00:59:22]current date 1730336364 [00:59:22]FM_GetShiftState [00:59:22]SAM_PROTO_GetShiftState [00:59:22]wFMCommunicate request_size=4 [00:59:22]MH_SAM_APDU [00:59:22]CAPDU: 80 13 01 00 [00:59:22]Write to MH i2c: E2 08 00 62 09 80 13 01 00 00 00 00 00 E8 [00:59:22]Write i2c OK [00:59:22]MH_I2C_Read... [00:59:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:59:22]Read from MH i2c: E2 [00:59:22]MH_I2C_Read... [00:59:22]Read from MH i2c: E2 0E 00 [00:59:22]MH_I2C_Read... [00:59:22]Read from MH i2c: E2 0E 00 62 09 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 30 [00:59:22]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [00:59:22]wFMCommunicate OK [00:59:22]SAM_PROTO_GetShiftState done [00:59:22]FM_GetShiftState done [00:59:22]opened in 1730333927 [00:59:22]opened+sec_in_day 1730420327 [00:59:22]quantity*price = 38023 [00:59:22]sum+1 = 38025 [00:59:22]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.24 ИТОГО: 380.00 Внесено: 380.00 СДАЧА: 0.00 НСП 1% : 3.36 НДС 12% : 40.38 Наличными: 380.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 2 31.10.2024 00:59 Смена: 174 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15862 ФПД: 270017661775652 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T005924&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15862&fm=270017661775652&tin=02508201610067®Number=0000000000161798&sum=38000 [00:59:23]StoreToDocumentArchive [00:59:23]shift 174 fd 15862 [00:59:23]save to /storage/0174/doc_00015862 [00:59:23]save last doc name /storage/0174/doc_00015862 to /storage/kkm_last_doc_name [00:59:23]save OK [00:59:23]Clear old archive folders... [00:59:23]ProcessDocumentItem done err = 0, tmpTLVsize=248 [00:59:23]tlvbuf is 01F77290 [00:59:23]SAM_PROTO_ClearQueue [00:59:23]wFMCommunicate request_size=4 [00:59:23]MH_SAM_APDU [00:59:23]CAPDU: 80 09 00 00 [00:59:23]Write to MH i2c: E2 08 00 6F 09 80 09 00 00 00 00 00 00 EA [00:59:23]Write i2c OK [00:59:23]MH_I2C_Read... [00:59:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:59:23]Read from MH i2c: E2 [00:59:23]MH_I2C_Read... [00:59:23]Read from MH i2c: E2 03 00 [00:59:23]MH_I2C_Read... [00:59:23]Read from MH i2c: E2 03 00 6F 09 00 90 00 EC [00:59:23]RAPDU: 90 00 [00:59:23]wFMCommunicate OK [00:59:23]SAM_PROTO_ClearQueue done [00:59:23]KKMCreateOFDPacket [00:59:23]OFDProtocolAddRootSTLVToBuf [00:59:23]FM_MakeSignedData [00:59:23]FM_MakeSignedData [00:59:23]SAM_PROTO_SignData [00:59:23]wFMCommunicate request_size=4 [00:59:23]MH_SAM_APDU [00:59:23]CAPDU: 80 0D 01 02 [00:59:23]Write to MH i2c: E2 08 00 70 09 80 0D 01 02 00 00 00 00 F2 [00:59:23]Write i2c OK [00:59:23]MH_I2C_Read... [00:59:23]OFD Sender: No OFD packet to send [00:59:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:59:23]Read from MH i2c: E2 [00:59:23]MH_I2C_Read... [00:59:23]Read from MH i2c: E2 03 00 [00:59:23]MH_I2C_Read... [00:59:23]Read from MH i2c: E2 03 00 70 09 00 90 00 ED [00:59:23]RAPDU: 90 00 [00:59:23]wFMCommunicate OK [00:59:23]wFMCommunicate request_size=255 [00:59:23]MH_SAM_APDU [00:59:23]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 7E 13 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 88 94 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 0F 00 00 00 00 07 04 06 00 70 94 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 6C D6 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F6 3D 00 00 35 04 06 00 F5 94 62 D0 [00:59:23]Write to MH i2c: E2 02 01 71 09 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 7E 13 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 88 94 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 0F 00 00 00 00 07 04 06 00 70 94 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 6C D6 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F6 3D 00 00 35 04 06 00 F5 94 62 D0 00 00 77 [00:59:23]Write i2c OK [00:59:23]MH_I2C_Read... [00:59:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:59:24]Read from MH i2c: E2 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: E2 03 00 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: E2 03 00 71 09 00 90 00 EE [00:59:24]RAPDU: 90 00 [00:59:24]wFMCommunicate OK [00:59:24]wFMCommunicate request_size=7 [00:59:24]MH_SAM_APDU [00:59:24]CAPDU: 80 0D 02 02 02 2F 24 [00:59:24]Write to MH i2c: E2 0A 00 72 09 80 0D 02 02 02 00 2F 24 00 00 4C [00:59:24]Write i2c OK [00:59:24]MH_I2C_Read... [00:59:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:59:24]Read from MH i2c: E2 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: E2 03 00 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: E2 03 00 72 09 00 90 00 EF [00:59:24]RAPDU: 90 00 [00:59:24]wFMCommunicate OK [00:59:24]wFMCommunicate request_size=4 [00:59:24]MH_SAM_APDU [00:59:24]CAPDU: 80 0D 03 02 [00:59:24]Write to MH i2c: E2 08 00 73 09 80 0D 03 02 00 00 00 00 F7 [00:59:24]Write i2c OK [00:59:24]MH_I2C_Read... [00:59:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:59:24]Read from MH i2c: E2 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: E2 0B 00 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: E2 0B 00 73 09 00 8A A8 80 CD 7A 67 A8 B7 90 00 B7 [00:59:24]RAPDU: 8A A8 80 CD 7A 67 A8 B7 90 00 [00:59:24]wFMCommunicate OK [00:59:24]SAM_PROTO_SignData done [00:59:24]FM_MakeSignedData done [00:59:24]CreateOFDProtocolMessage [00:59:24]wFMCommunicate request_size=4 [00:59:24]MH_SAM_APDU [00:59:24]CAPDU: 80 11 00 00 [00:59:24]Write to MH i2c: E2 08 00 74 09 80 11 00 00 00 00 00 00 F7 [00:59:24]Write i2c OK [00:59:24]MH_I2C_Read... [00:59:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:59:24]Read from MH i2c: E2 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: E2 17 00 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: E2 17 00 74 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 46 [00:59:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:59:24]wFMCommunicate OK [00:59:24]CreateOFDProtocolMessage done [00:59:24]OFDSenderStorePacket 15862 [00:59:24]StoreOFDPacket docnum=15862 [00:59:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 C7 CC 04 01 70 81 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 7E 13 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 88 94 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 0F 00 00 00 00 07 04 06 00 70 94 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 6C D6 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F6 3D 00 00 35 04 06 00 F5 94 62 D0 2F 24 8A A8 80 CD 7A 67 A8 B7 [00:59:24]CheckFolder [00:59:24]dirname=/storage/ofd_packets [00:59:24]CheckFolder done [00:59:24]ProducePacketName [00:59:24]name=ofd_packets/00015862 [00:59:24]NVStorageSaveData ofd_packets/00015862 [00:59:24]File name is /storage/ofd_packets/00015862 [00:59:24]Write 298 bytes [00:59:24]NVStorageSaveData done [00:59:24]OFDSenderStorePacket done [00:59:24]KKMCreateOFDPacket done [00:59:24]NVStorageSaveData kkm_last_timestamp [00:59:24]File name is /storage/kkm_last_timestamp [00:59:24]Write 4 bytes [00:59:24]NVStorageSaveData done [00:59:24]ExternCall_PrintAddStr [00:59:24]wPrintStart [00:59:24]Write to MH i2c: 01 00 00 75 09 7E [00:59:24]Write i2c OK [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: 01 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: 01 07 00 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: 01 07 00 75 09 00 00 00 00 00 FF 0F 93 [00:59:24]RasterBufferAndPrint [00:59:24]line Счет N : (1)16411 [00:59:24]line ИНН: 02508201610067 [00:59:24]line Контрольно-Кассовый Чек [00:59:24]line ПРОДАЖА [00:59:24]line ТРК (МРК, ГНК) : 22 [00:59:24]line Товар: 2710194210 [00:59:24]line ДТ-К-5 [00:59:24]line 4.990 * 76.20 [00:59:24]line = 380.24 [00:59:24]line НДС 12% НСП 1% [00:59:24]line > о реализуемом товаре [00:59:24]line ОКРУГЛЕНИЕ: -0.24 [00:59:24]line ИТОГО: 380.00 [00:59:24]line Внесено: 380.00 [00:59:24]line СДАЧА: 0.00 [00:59:24]line НСП 1% : 3.36 [00:59:24]line НДС 12% : 40.38 [00:59:24]line Наличными: 380.00 [00:59:24]line Безнал.: 0.00 [00:59:24]line Место: АЗС № 178 "Партнер Нефть" [00:59:24]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [00:59:24]line СНО: Общий режим [00:59:24]line Чек 2 31.10.2024 00:59 [00:59:24]line Смена: 174 ФФД: 1.0 [00:59:24]line ЗНМ: 0300000014 [00:59:24]line РНМ: 0000000000161798 [00:59:24]line Версия ККМ: v1.0 [00:59:24]line ФМ: 0000000000963325 [00:59:24]line ФД: 15862 [00:59:24]line ФПД: 270017661775652 [00:59:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T005924&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15862&fm=270017661775652&tin=02508201610067®Number=0000000000161798&sum=38000 [00:59:24]OFD Sender: Processing packet 15862 [packets to send 4, broken 3] [00:59:24]ProducePacketName [00:59:24]name=ofd_packets/00015862 [00:59:24]OFD Sender: To server: pG, [00:59:24]CommunicateWithHost lk.salyk.kg:30040 [00:59:24]ConnectInit lk.salyk.kg [00:59:24]written 0, free lines is 4095 [00:59:24]Connected sock=10 [00:59:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 C7 CC 04 01 70 81 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 7E 13 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 88 94 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 94 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C6 0F 00 00 00 00 07 04 06 00 70 94 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 6C D6 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F6 3D 00 00 35 04 06 00 F5 94 62 D0 2F 24 8A A8 80 CD 7A 67 A8 B7 [00:59:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 D9 50 47 00 34 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F6 3D 00 00 F4 03 04 00 53 81 22 67 B6 04 01 00 00 AA D9 AB C4 D3 D1 44 45 [00:59:24]CommunicateWithHost err = 0 [00:59:24]CheckOFDResponse [00:59:24]1017 (14) - 77093643461234 [00:59:24]1041 (16) - 0000000000963325 [00:59:24]1040 (4) - 15862 [00:59:24]1012 (4) - 30.10.2024 18:56 [00:59:24]1206 (1) - 0 [00:59:24]OFD Sender: Remove packet 15862 [00:59:24]ProducePacketName [00:59:24]name=ofd_packets/00015862 [00:59:24]NVStorageDeleteData [00:59:24]Write to MH i2c: 01 00 00 A0 09 A9 [00:59:24]Write i2c OK [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: 01 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: 01 07 00 [00:59:24]MH_I2C_Read... [00:59:24]Read from MH i2c: 01 07 00 A0 09 00 00 00 00 00 F2 0C AE [00:59:24]RasterBufferAndPrint [00:59:24]line [00:59:24]line [00:59:24]line [00:59:24]line [00:59:24]line [00:59:24]written 0, free lines is 3320 [00:59:25]MH_Cut [00:59:25]Write to MH i2c: D1 01 00 A7 09 01 82 [00:59:25]Write i2c OK [00:59:25]MH_I2C_Read... [00:59:25]Read from MH i2c: D1 [00:59:25]MH_I2C_Read... [00:59:25]Read from MH i2c: D1 01 00 [00:59:25]MH_I2C_Read... [00:59:25]Read from MH i2c: D1 01 00 A7 09 00 81 [00:59:25]Write to MH i2c: 01 00 00 A8 09 B1 [00:59:25]Write i2c OK [00:59:25]MH_I2C_Read... [00:59:25]OFD Sender: No OFD packet to send [00:59:25]*** Cut start [00:59:25]*** Partial cut [00:59:25]*** CUTSNS_PIN = 1 [00:59:25]*** CUTSNS_PIN = 0 [00:59:26]*** Brake cut motor [00:59:26]Read from MH i2c: 01 [00:59:26]MH_I2C_Read... [00:59:26]*** Stop cut motor [00:59:26]*** Cut end [00:59:26]Read from MH i2c: 01 07 00 [00:59:26]MH_I2C_Read... [00:59:26]Read from MH i2c: 01 07 00 A8 09 00 00 00 00 00 FF 0F C6 [00:59:26]process_action close_receipt done [00:59:26]requested_data is exist [00:59:26]produce_requested_data [00:59:26]requested_item fm.sn is exist - process it [00:59:26]wFMCommunicate request_size=4 [00:59:26]MH_SAM_APDU [00:59:26]CAPDU: 80 11 00 00 [00:59:26]Write to MH i2c: E2 08 00 A9 09 80 11 00 00 00 00 00 00 2C [00:59:26]Write i2c OK [00:59:26]MH_I2C_Read... [00:59:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:59:26]Read from MH i2c: E2 [00:59:26]MH_I2C_Read... [00:59:26]Read from MH i2c: E2 17 00 [00:59:26]MH_I2C_Read... [00:59:26]Read from MH i2c: E2 17 00 A9 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 7B [00:59:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [00:59:26]wFMCommunicate OK [00:59:26]requested_item fd.num is exist - process it [00:59:26]SAM_PROTO_GetFieldsCounters [00:59:26]wFMCommunicate request_size=4 [00:59:26]MH_SAM_APDU [00:59:26]CAPDU: 80 13 00 00 [00:59:26]Write to MH i2c: E2 08 00 AA 09 80 13 00 00 00 00 00 00 2F [00:59:26]Write i2c OK [00:59:26]MH_I2C_Read... [00:59:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:59:26]Read from MH i2c: E2 [00:59:26]MH_I2C_Read... [00:59:26]Read from MH i2c: E2 62 00 [00:59:26]MH_I2C_Read... [00:59:26]Read from MH i2c: E2 62 00 AA 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F6 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [00:59:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F6 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:59:26]wFMCommunicate OK [00:59:26]SAM_PROTO_GetFieldsCounters done [00:59:26]requested_item shift.num is exist - process it [00:59:26]requested_item shift.opened is exist - process it [00:59:26]req_shift_opened [00:59:26]FM_GetShiftState [00:59:26]SAM_PROTO_GetShiftState [00:59:26]wFMCommunicate request_size=4 [00:59:26]MH_SAM_APDU [00:59:26]CAPDU: 80 13 01 00 [00:59:26]Write to MH i2c: E2 08 00 AB 09 80 13 01 00 00 00 00 00 31 [00:59:26]Write i2c OK [00:59:26]MH_I2C_Read... [00:59:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:59:26]Read from MH i2c: E2 [00:59:26]MH_I2C_Read... [00:59:26]Read from MH i2c: E2 0E 00 [00:59:26]MH_I2C_Read... [00:59:26]Read from MH i2c: E2 0E 00 AB 09 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 79 [00:59:26]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [00:59:26]wFMCommunicate OK [00:59:26]SAM_PROTO_GetShiftState done [00:59:26]FM_GetShiftState done [00:59:26]req_shift_opened done [00:59:26]requested_item shift.open_date is exist - process it [00:59:26]req_shift_open_date [00:59:26]req_shift_open_date done [00:59:26]produce_requested_data done [00:59:26]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15862,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927} [00:59:26]process_action_free close_receipt [00:59:26]json_value_free [00:59:26]json_value_free done [00:59:26]process_json_proto returns [00:59:26]Send response to host [00:59:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15862,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927}}} [00:59:26]free response buf [00:59:26]execute_script done [00:59:26]execute_script returns [00:59:26]free content buf [00:59:26]Sock 9.Close socket [00:59:26]Sock 9.Thread stoped [00:59:30]OFD Sender: No OFD packet to send [00:59:35]OFD Sender: No OFD packet to send [00:59:40]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:28]accept exits with 7 [01:02:28]New connection [01:02:28]New thread 3067391332 created [01:02:28]Thread 3067247972 joined [01:02:28]Waiting for new connection... [01:02:28] Sock 7.Parse request [01:02:28]Sock 7.Check first char [01:02:28]Sock 7.First char is OK [01:02:28]request: POST /json_proto HTTP/1.0 [01:02:28]Method: POST [01:02:28]URL: /json_proto [01:02:28]Method is POST - this is cgi request [01:02:28]url: /json_proto [01:02:28]query_string will be loaded in cgi processing [01:02:28]execute_cgi json_proto POST (null) [01:02:28]execute_cgi path=json_proto method=POST [01:02:28]POST find Content-Length [01:02:28]Host: 172.17.54.195:8080 [01:02:28]Content-Length: 787 [01:02:28]Content-Type: application/json [01:02:28] [01:02:28]POST finish read [01:02:28]Found Content-Length = 787 [01:02:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16412", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 1000.00, "payments": [ { "type": 1, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:02:28]execute_script... [01:02:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16412", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "total" : 1000.00, "payments": [ { "type": 1, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:02:28]POST & json_proto [01:02:28]process_json_proto [01:02:28]json parsed OK: [01:02:28]protocol is kg_v1.0 [01:02:28]action value=close_receipt [01:02:28]process_action close_receipt [01:02:28]cmd_close_receipt [01:02:28]MH_GetDate [01:02:28]Write to MH i2c: F0 00 00 AC 09 A4 [01:02:28]Write i2c OK [01:02:28]MH_I2C_Read... [01:02:28]Read from MH i2c: F0 [01:02:28]MH_I2C_Read... [01:02:28]Read from MH i2c: F0 09 00 [01:02:28]MH_I2C_Read... [01:02:28]Read from MH i2c: F0 09 00 AC 09 00 26 D7 22 67 8D 90 A3 66 59 [01:02:28]GetLastDocTimeStamp 1730336364 [01:02:28]current date 1730336550 [01:02:28]FM_GetShiftState [01:02:28]SAM_PROTO_GetShiftState [01:02:28]wFMCommunicate request_size=4 [01:02:28]MH_SAM_APDU [01:02:28]CAPDU: 80 13 01 00 [01:02:28]Write to MH i2c: E2 08 00 AD 09 80 13 01 00 00 00 00 00 33 [01:02:28]Write i2c OK [01:02:28]MH_I2C_Read... [01:02:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:02:29]Read from MH i2c: E2 [01:02:29]MH_I2C_Read... [01:02:29]Read from MH i2c: E2 0E 00 [01:02:29]MH_I2C_Read... [01:02:29]Read from MH i2c: E2 0E 00 AD 09 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 7B [01:02:29]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [01:02:29]wFMCommunicate OK [01:02:29]SAM_PROTO_GetShiftState done [01:02:29]FM_GetShiftState done [01:02:29]opened in 1730333927 [01:02:29]opened+sec_in_day 1730420327 [01:02:29]quantity*price = 100021 [01:02:29]sum+1 = 100023 [01:02:29]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1000.00 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 0.00 Безнал.: 1000.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 3 31.10.2024 01:02 Смена: 174 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000963325 ФД: 15863 ФПД: 237166704915197 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T010230&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15863&fm=237166704915197&tin=02508201610067®Number=0000000000161798&sum=100000 [01:02:30]StoreToDocumentArchive [01:02:30]shift 174 fd 15863 [01:02:30]save to /storage/0174/doc_00015863 [01:02:30]save last doc name /storage/0174/doc_00015863 to /storage/kkm_last_doc_name [01:02:30]save OK [01:02:30]Clear old archive folders... [01:02:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:02:30]tlvbuf is 01F2B3C0 [01:02:30]SAM_PROTO_ClearQueue [01:02:30]wFMCommunicate request_size=4 [01:02:30]MH_SAM_APDU [01:02:30]CAPDU: 80 09 00 00 [01:02:30]Write to MH i2c: E2 08 00 BA 09 80 09 00 00 00 00 00 00 35 [01:02:30]Write i2c OK [01:02:30]MH_I2C_Read... [01:02:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:02:30]Read from MH i2c: E2 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 03 00 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 03 00 BA 09 00 90 00 37 [01:02:30]RAPDU: 90 00 [01:02:30]wFMCommunicate OK [01:02:30]SAM_PROTO_ClearQueue done [01:02:30]KKMCreateOFDPacket [01:02:30]OFDProtocolAddRootSTLVToBuf [01:02:30]FM_MakeSignedData [01:02:30]FM_MakeSignedData [01:02:30]SAM_PROTO_SignData [01:02:30]wFMCommunicate request_size=4 [01:02:30]MH_SAM_APDU [01:02:30]CAPDU: 80 0D 01 02 [01:02:30]Write to MH i2c: E2 08 00 BB 09 80 0D 01 02 00 00 00 00 3D [01:02:30]Write i2c OK [01:02:30]MH_I2C_Read... [01:02:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:02:30]Read from MH i2c: E2 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 03 00 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 03 00 BB 09 00 90 00 38 [01:02:30]RAPDU: 90 00 [01:02:30]wFMCommunicate OK [01:02:30]wFMCommunicate request_size=255 [01:02:30]MH_SAM_APDU [01:02:30]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 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 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 26 D7 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F7 3D 00 00 35 04 06 00 D7 [01:02:30]Write to MH i2c: E2 02 01 BC 09 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 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 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 26 D7 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F7 3D 00 00 35 04 06 00 D7 00 00 2E [01:02:30]Write i2c OK [01:02:30]MH_I2C_Read... [01:02:30]OFD Sender: No OFD packet to send [01:02:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:02:30]Read from MH i2c: E2 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 03 00 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 03 00 BC 09 00 90 00 39 [01:02:30]RAPDU: 90 00 [01:02:30]wFMCommunicate OK [01:02:30]wFMCommunicate request_size=10 [01:02:30]MH_SAM_APDU [01:02:30]CAPDU: 80 0D 02 02 05 B3 AD 32 F2 FD [01:02:30]Write to MH i2c: E2 0D 00 BD 09 80 0D 02 02 05 00 B3 AD 32 F2 FD 00 00 CB [01:02:30]Write i2c OK [01:02:30]MH_I2C_Read... [01:02:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:02:30]Read from MH i2c: E2 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 03 00 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 03 00 BD 09 00 90 00 3A [01:02:30]RAPDU: 90 00 [01:02:30]wFMCommunicate OK [01:02:30]wFMCommunicate request_size=4 [01:02:30]MH_SAM_APDU [01:02:30]CAPDU: 80 0D 03 02 [01:02:30]Write to MH i2c: E2 08 00 BE 09 80 0D 03 02 00 00 00 00 42 [01:02:30]Write i2c OK [01:02:30]MH_I2C_Read... [01:02:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:02:30]Read from MH i2c: E2 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 0B 00 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 0B 00 BE 09 00 35 9C 74 5F BE 48 A0 58 90 00 E5 [01:02:30]RAPDU: 35 9C 74 5F BE 48 A0 58 90 00 [01:02:30]wFMCommunicate OK [01:02:30]SAM_PROTO_SignData done [01:02:30]FM_MakeSignedData done [01:02:30]CreateOFDProtocolMessage [01:02:30]wFMCommunicate request_size=4 [01:02:30]MH_SAM_APDU [01:02:30]CAPDU: 80 11 00 00 [01:02:30]Write to MH i2c: E2 08 00 BF 09 80 11 00 00 00 00 00 00 42 [01:02:30]Write i2c OK [01:02:30]MH_I2C_Read... [01:02:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:02:30]Read from MH i2c: E2 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 17 00 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: E2 17 00 BF 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 91 [01:02:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [01:02:30]wFMCommunicate OK [01:02:30]CreateOFDProtocolMessage done [01:02:30]OFDSenderStorePacket 15863 [01:02:30]StoreOFDPacket docnum=15863 [01:02:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 17 34 07 01 09 B4 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 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 26 D7 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F7 3D 00 00 35 04 06 00 D7 B3 AD 32 F2 FD 35 9C 74 5F BE 48 A0 58 [01:02:30]CheckFolder [01:02:30]dirname=/storage/ofd_packets [01:02:30]CheckFolder done [01:02:30]ProducePacketName [01:02:30]name=ofd_packets/00015863 [01:02:30]NVStorageSaveData ofd_packets/00015863 [01:02:30]File name is /storage/ofd_packets/00015863 [01:02:30]Write 301 bytes [01:02:30]NVStorageSaveData done [01:02:30]OFDSenderStorePacket done [01:02:30]KKMCreateOFDPacket done [01:02:30]NVStorageSaveData kkm_last_timestamp [01:02:30]File name is /storage/kkm_last_timestamp [01:02:30]Write 4 bytes [01:02:30]NVStorageSaveData done [01:02:30]ExternCall_PrintAddStr [01:02:30]wPrintStart [01:02:30]Write to MH i2c: 01 00 00 C0 09 C9 [01:02:30]Write i2c OK [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: 01 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: 01 07 00 [01:02:30]MH_I2C_Read... [01:02:30]Read from MH i2c: 01 07 00 C0 09 00 00 00 00 00 FF 0F DE [01:02:30]RasterBufferAndPrint [01:02:30]line Счет N : (1)16412 [01:02:30]line ИНН: 02508201610067 [01:02:30]line Контрольно-Кассовый Чек [01:02:30]line ПРОДАЖА [01:02:30]line ТРК (МРК, ГНК) : 11 [01:02:30]line Товар: 2710124500 [01:02:30]line Аи-95-К-5 [01:02:30]line 13.480 * 74.20 [01:02:30]line = 1000.22 [01:02:30]line НДС 12% НСП 1% [01:02:30]line > о реализуемом товаре [01:02:30]line ОКРУГЛЕНИЕ: -0.22 [01:02:30]line ИТОГО: 1000.00 [01:02:30]line НСП 1% : 8.85 [01:02:30]line НДС 12% : 106.22 [01:02:30]line Наличными: 0.00 [01:02:30]line Безнал.: 1000.00 [01:02:30]line Место: АЗС № 178 "Партнер Нефть" [01:02:30]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [01:02:30]line СНО: Общий режим [01:02:30]line Чек 3 31.10.2024 01:02 [01:02:30]line Смена: 174 ФФД: 1.0 [01:02:30]line ЗНМ: 0300000014 [01:02:30]line РНМ: 0000000000161798 [01:02:30]line Версия ККМ: v1.0 [01:02:30]line Платежная система: Mbank [01:02:30]line ФМ: 0000000000963325 [01:02:30]line ФД: 15863 [01:02:30]line ФПД: 237166704915197 [01:02:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T010230&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15863&fm=237166704915197&tin=02508201610067®Number=0000000000161798&sum=100000 [01:02:30]OFD Sender: Processing packet 15863 [packets to send 4, broken 3] [01:02:30]ProducePacketName [01:02:30]name=ofd_packets/00015863 [01:02:30]OFD Sender: To server: pG, [01:02:30]CommunicateWithHost lk.salyk.kg:30040 [01:02:31]ConnectInit lk.salyk.kg [01:02:31]written 0, free lines is 4095 [01:02:31]Connected sock=10 [01:02:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 17 34 07 01 09 B4 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 00 00 00 00 00 00 39 04 06 00 A0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 26 D7 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F7 3D 00 00 35 04 06 00 D7 B3 AD 32 F2 FD 35 9C 74 5F BE 48 A0 58 [01:02:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 9B 47 47 00 78 BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 33 33 32 35 10 04 04 00 F7 3D 00 00 F4 03 04 00 0E 82 22 67 B6 04 01 00 00 4C B8 1B F3 AD 89 72 25 [01:02:31]CommunicateWithHost err = 0 [01:02:31]CheckOFDResponse [01:02:31]1017 (14) - 77093643461234 [01:02:31]1041 (16) - 0000000000963325 [01:02:31]1040 (4) - 15863 [01:02:31]1012 (4) - 30.10.2024 18:59 [01:02:31]1206 (1) - 0 [01:02:31]OFD Sender: Remove packet 15863 [01:02:31]ProducePacketName [01:02:31]name=ofd_packets/00015863 [01:02:31]NVStorageDeleteData [01:02:31]Write to MH i2c: 01 00 00 EA 09 F3 [01:02:31]Write i2c OK [01:02:31]MH_I2C_Read... [01:02:31]Read from MH i2c: 01 [01:02:31]MH_I2C_Read... [01:02:31]Read from MH i2c: 01 07 00 [01:02:31]MH_I2C_Read... [01:02:31]Read from MH i2c: 01 07 00 EA 09 00 00 00 00 00 1D 0D 24 [01:02:31]RasterBufferAndPrint [01:02:31]line [01:02:31]line [01:02:31]line [01:02:31]line [01:02:31]line [01:02:31]written 0, free lines is 3363 [01:02:31]MH_Cut [01:02:31]Write to MH i2c: D1 01 00 F1 09 01 CC [01:02:31]Write i2c OK [01:02:31]MH_I2C_Read... [01:02:31]Read from MH i2c: D1 [01:02:31]MH_I2C_Read... [01:02:31]Read from MH i2c: D1 01 00 [01:02:31]MH_I2C_Read... [01:02:31]Read from MH i2c: D1 01 00 F1 09 00 CB [01:02:31]Write to MH i2c: 01 00 00 F2 09 FB [01:02:31]Write i2c OK [01:02:31]MH_I2C_Read... [01:02:31]OFD Sender: No OFD packet to send [01:02:32]*** Cut start [01:02:32]*** Partial cut [01:02:32]*** CUTSNS_PIN = 1 [01:02:32]*** CUTSNS_PIN = 0 [01:02:32]*** Brake cut motor [01:02:32]Read from MH i2c: 01 [01:02:32]MH_I2C_Read... [01:02:32]*** Stop cut motor [01:02:32]*** Cut end [01:02:32]Read from MH i2c: 01 07 00 [01:02:32]MH_I2C_Read... [01:02:32]Read from MH i2c: 01 07 00 F2 09 00 00 00 00 00 FF 0F 10 [01:02:32]process_action close_receipt done [01:02:32]requested_data is exist [01:02:32]produce_requested_data [01:02:32]requested_item fm.sn is exist - process it [01:02:32]wFMCommunicate request_size=4 [01:02:32]MH_SAM_APDU [01:02:32]CAPDU: 80 11 00 00 [01:02:32]Write to MH i2c: E2 08 00 F3 09 80 11 00 00 00 00 00 00 76 [01:02:32]Write i2c OK [01:02:32]MH_I2C_Read... [01:02:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:02:32]Read from MH i2c: E2 [01:02:32]MH_I2C_Read... [01:02:32]Read from MH i2c: E2 17 00 [01:02:32]MH_I2C_Read... [01:02:32]Read from MH i2c: E2 17 00 F3 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 C5 [01:02:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [01:02:32]wFMCommunicate OK [01:02:32]requested_item fd.num is exist - process it [01:02:32]SAM_PROTO_GetFieldsCounters [01:02:32]wFMCommunicate request_size=4 [01:02:32]MH_SAM_APDU [01:02:32]CAPDU: 80 13 00 00 [01:02:32]Write to MH i2c: E2 08 00 F4 09 80 13 00 00 00 00 00 00 79 [01:02:32]Write i2c OK [01:02:32]MH_I2C_Read... [01:02:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:02:33]Read from MH i2c: E2 [01:02:33]MH_I2C_Read... [01:02:33]Read from MH i2c: E2 62 00 [01:02:33]MH_I2C_Read... [01:02:33]Read from MH i2c: E2 62 00 F4 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F7 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 88 [01:02:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F7 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:02:33]wFMCommunicate OK [01:02:33]SAM_PROTO_GetFieldsCounters done [01:02:33]requested_item shift.num is exist - process it [01:02:33]requested_item shift.opened is exist - process it [01:02:33]req_shift_opened [01:02:33]FM_GetShiftState [01:02:33]SAM_PROTO_GetShiftState [01:02:33]wFMCommunicate request_size=4 [01:02:33]MH_SAM_APDU [01:02:33]CAPDU: 80 13 01 00 [01:02:33]Write to MH i2c: E2 08 00 F5 09 80 13 01 00 00 00 00 00 7B [01:02:33]Write i2c OK [01:02:33]MH_I2C_Read... [01:02:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:02:33]Read from MH i2c: E2 [01:02:33]MH_I2C_Read... [01:02:33]Read from MH i2c: E2 0E 00 [01:02:33]MH_I2C_Read... [01:02:33]Read from MH i2c: E2 0E 00 F5 09 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 C3 [01:02:33]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [01:02:33]wFMCommunicate OK [01:02:33]SAM_PROTO_GetShiftState done [01:02:33]FM_GetShiftState done [01:02:33]req_shift_opened done [01:02:33]requested_item shift.open_date is exist - process it [01:02:33]req_shift_open_date [01:02:33]req_shift_open_date done [01:02:33]produce_requested_data done [01:02:33]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15863,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927} [01:02:33]process_action_free close_receipt [01:02:33]json_value_free [01:02:33]json_value_free done [01:02:33]process_json_proto returns [01:02:33]Send response to host [01:02:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15863,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927}}} [01:02:33]free response buf [01:02:33]execute_script done [01:02:33]execute_script returns [01:02:33]free content buf [01:02:33]Sock 7.Close socket [01:02:33]Sock 7.Thread stoped [01:02:36]OFD Sender: No OFD packet to send [01:02:41]OFD Sender: No OFD packet to send [01:02:46]OFD Sender: No OFD packet to send [01:02:51]OFD Sender: No OFD packet to send [01:02:56]OFD Sender: No OFD packet to send [01:03:01]OFD Sender: No OFD packet to send [01:03:06]OFD Sender: No OFD packet to send [01:03:07]accept exits with 9 [01:03:07]New connection [01:03:07]New thread 3067247972 created [01:03:07]Thread 3067391332 joined [01:03:07]Waiting for new connection... [01:03:07] Sock 9.Parse request [01:03:07]Sock 9.Check first char [01:03:07]Sock 9.First char is OK [01:03:07]request: POST /json_proto HTTP/1.0 [01:03:07]Method: POST [01:03:07]URL: /json_proto [01:03:07]Method is POST - this is cgi request [01:03:07]url: /json_proto [01:03:07]query_string will be loaded in cgi processing [01:03:07]execute_cgi json_proto POST (null) [01:03:07]execute_cgi path=json_proto method=POST [01:03:07]POST find Content-Length [01:03:07]Host: 172.17.54.195:8080 [01:03:07]Content-Length: 678 [01:03:07]Content-Type: application/json [01:03:07] [01:03:07]POST finish read [01:03:07]Found Content-Length = 678 [01:03:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16413", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:03:07]execute_script... [01:03:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16413", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:03:07]POST & json_proto [01:03:07]process_json_proto [01:03:07]json parsed OK: [01:03:07]protocol is kg_v1.0 [01:03:07]action value=close_receipt [01:03:07]process_action close_receipt [01:03:07]cmd_close_receipt [01:03:07]MH_GetDate [01:03:07]Write to MH i2c: F0 00 00 F6 09 EE [01:03:07]Write i2c OK [01:03:07]MH_I2C_Read... [01:03:07]Read from MH i2c: F0 [01:03:07]MH_I2C_Read... [01:03:07]Read from MH i2c: F0 09 00 [01:03:07]MH_I2C_Read... [01:03:07]Read from MH i2c: F0 09 00 F6 09 00 4D D7 22 67 8D 90 A3 66 CA [01:03:07]GetLastDocTimeStamp 1730336550 [01:03:07]current date 1730336589 [01:03:07]FM_GetShiftState [01:03:07]SAM_PROTO_GetShiftState [01:03:07]wFMCommunicate request_size=4 [01:03:07]MH_SAM_APDU [01:03:07]CAPDU: 80 13 01 00 [01:03:07]Write to MH i2c: E2 08 00 F7 09 80 13 01 00 00 00 00 00 7D [01:03:07]Write i2c OK [01:03:07]MH_I2C_Read... [01:03:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:03:07]Read from MH i2c: E2 [01:03:07]MH_I2C_Read... [01:03:07]Read from MH i2c: E2 0E 00 [01:03:07]MH_I2C_Read... [01:03:07]Read from MH i2c: E2 0E 00 F7 09 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 C5 [01:03:07]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [01:03:07]wFMCommunicate OK [01:03:07]SAM_PROTO_GetShiftState done [01:03:07]FM_GetShiftState done [01:03:07]opened in 1730333927 [01:03:07]opened+sec_in_day 1730420327 [01:03:07]quantity*price = 100050 [01:03:07]sum+1 = 100052 [01:03:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 4 31.10.2024 01:03 Смена: 174 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15864 ФПД: 199366618947753 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T010309&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15864&fm=199366618947753&tin=02508201610067®Number=0000000000161798&sum=100000 [01:03:08]StoreToDocumentArchive [01:03:08]shift 174 fd 15864 [01:03:08]save to /storage/0174/doc_00015864 [01:03:08]save last doc name /storage/0174/doc_00015864 to /storage/kkm_last_doc_name [01:03:08]save OK [01:03:08]Clear old archive folders... [01:03:08]ProcessDocumentItem done err = 0, tmpTLVsize=248 [01:03:08]tlvbuf is 01F73150 [01:03:08]SAM_PROTO_ClearQueue [01:03:08]wFMCommunicate request_size=4 [01:03:08]MH_SAM_APDU [01:03:08]CAPDU: 80 09 00 00 [01:03:08]Write to MH i2c: E2 08 00 04 0A 80 09 00 00 00 00 00 00 80 [01:03:08]Write i2c OK [01:03:08]MH_I2C_Read... [01:03:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:03:08]Read from MH i2c: E2 [01:03:08]MH_I2C_Read... [01:03:08]Read from MH i2c: E2 03 00 [01:03:08]MH_I2C_Read... [01:03:08]Read from MH i2c: E2 03 00 04 0A 00 90 00 82 [01:03:08]RAPDU: 90 00 [01:03:08]wFMCommunicate OK [01:03:08]SAM_PROTO_ClearQueue done [01:03:08]KKMCreateOFDPacket [01:03:08]OFDProtocolAddRootSTLVToBuf [01:03:08]FM_MakeSignedData [01:03:08]FM_MakeSignedData [01:03:08]SAM_PROTO_SignData [01:03:08]wFMCommunicate request_size=4 [01:03:08]MH_SAM_APDU [01:03:08]CAPDU: 80 0D 01 02 [01:03:08]Write to MH i2c: E2 08 00 05 0A 80 0D 01 02 00 00 00 00 88 [01:03:09]Write i2c OK [01:03:09]MH_I2C_Read... [01:03:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:03:09]Read from MH i2c: E2 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 03 00 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 03 00 05 0A 00 90 00 83 [01:03:09]RAPDU: 90 00 [01:03:09]wFMCommunicate OK [01:03:09]wFMCommunicate request_size=255 [01:03:09]MH_SAM_APDU [01:03:09]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 4D D7 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F8 3D 00 00 35 04 06 00 B5 52 A8 80 [01:03:09]Write to MH i2c: E2 02 01 06 0A 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 4D D7 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F8 3D 00 00 35 04 06 00 B5 52 A8 80 00 00 D3 [01:03:09]Write i2c OK [01:03:09]MH_I2C_Read... [01:03:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:03:09]Read from MH i2c: E2 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 03 00 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 03 00 06 0A 00 90 00 84 [01:03:09]RAPDU: 90 00 [01:03:09]wFMCommunicate OK [01:03:09]wFMCommunicate request_size=7 [01:03:09]MH_SAM_APDU [01:03:09]CAPDU: 80 0D 02 02 02 A0 A9 [01:03:09]Write to MH i2c: E2 0A 00 07 0A 80 0D 02 02 02 00 A0 A9 00 00 D8 [01:03:09]Write i2c OK [01:03:09]MH_I2C_Read... [01:03:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:03:09]Read from MH i2c: E2 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 03 00 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 03 00 07 0A 00 90 00 85 [01:03:09]RAPDU: 90 00 [01:03:09]wFMCommunicate OK [01:03:09]wFMCommunicate request_size=4 [01:03:09]MH_SAM_APDU [01:03:09]CAPDU: 80 0D 03 02 [01:03:09]Write to MH i2c: E2 08 00 08 0A 80 0D 03 02 00 00 00 00 8D [01:03:09]Write i2c OK [01:03:09]MH_I2C_Read... [01:03:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:03:09]Read from MH i2c: E2 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 0B 00 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 0B 00 08 0A 00 79 22 33 5A CF B3 F4 BC 90 00 E8 [01:03:09]RAPDU: 79 22 33 5A CF B3 F4 BC 90 00 [01:03:09]wFMCommunicate OK [01:03:09]SAM_PROTO_SignData done [01:03:09]FM_MakeSignedData done [01:03:09]CreateOFDProtocolMessage [01:03:09]wFMCommunicate request_size=4 [01:03:09]MH_SAM_APDU [01:03:09]CAPDU: 80 11 00 00 [01:03:09]Write to MH i2c: E2 08 00 09 0A 80 11 00 00 00 00 00 00 8D [01:03:09]Write i2c OK [01:03:09]MH_I2C_Read... [01:03:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:03:09]Read from MH i2c: E2 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 17 00 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: E2 17 00 09 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 DC [01:03:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [01:03:09]wFMCommunicate OK [01:03:09]CreateOFDProtocolMessage done [01:03:09]OFDSenderStorePacket 15864 [01:03:09]StoreOFDPacket docnum=15864 [01:03:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 4D 31 04 01 E7 0B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 4D D7 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F8 3D 00 00 35 04 06 00 B5 52 A8 80 A0 A9 79 22 33 5A CF B3 F4 BC [01:03:09]CheckFolder [01:03:09]dirname=/storage/ofd_packets [01:03:09]CheckFolder done [01:03:09]ProducePacketName [01:03:09]name=ofd_packets/00015864 [01:03:09]NVStorageSaveData ofd_packets/00015864 [01:03:09]File name is /storage/ofd_packets/00015864 [01:03:09]Write 298 bytes [01:03:09]NVStorageSaveData done [01:03:09]OFDSenderStorePacket done [01:03:09]KKMCreateOFDPacket done [01:03:09]NVStorageSaveData kkm_last_timestamp [01:03:09]File name is /storage/kkm_last_timestamp [01:03:09]Write 4 bytes [01:03:09]NVStorageSaveData done [01:03:09]ExternCall_PrintAddStr [01:03:09]wPrintStart [01:03:09]Write to MH i2c: 01 00 00 0A 0A 14 [01:03:09]Write i2c OK [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: 01 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: 01 07 00 [01:03:09]MH_I2C_Read... [01:03:09]Read from MH i2c: 01 07 00 0A 0A 00 00 00 00 00 FF 0F 29 [01:03:09]RasterBufferAndPrint [01:03:09]line Счет N : (1)16413 [01:03:09]line ИНН: 02508201610067 [01:03:09]line Контрольно-Кассовый Чек [01:03:09]line ПРОДАЖА [01:03:09]line ТРК (МРК, ГНК) : 31 [01:03:09]line Товар: 2710194210 [01:03:09]line ДТ-К-5 [01:03:09]line 13.130 * 76.20 [01:03:09]line = 1000.51 [01:03:09]line НДС 12% НСП 1% [01:03:09]line > о реализуемом товаре [01:03:09]line ОКРУГЛЕНИЕ: -0.51 [01:03:09]line ИТОГО: 1000.00 [01:03:09]line Внесено: 1000.00 [01:03:09]line СДАЧА: 0.00 [01:03:09]line НСП 1% : 8.85 [01:03:09]line НДС 12% : 106.25 [01:03:09]line Наличными: 1000.00 [01:03:09]line Безнал.: 0.00 [01:03:09]line Место: АЗС № 178 "Партнер Нефть" [01:03:09]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [01:03:09]line СНО: Общий режим [01:03:09]line Чек 4 31.10.2024 01:03 [01:03:09]line Смена: 174 ФФД: 1.0 [01:03:09]line ЗНМ: 0300000014 [01:03:09]line РНМ: 0000000000161798 [01:03:09]line Версия ККМ: v1.0 [01:03:09]line ФМ: 0000000000963325 [01:03:09]line ФД: 15864 [01:03:09]line ФПД: 199366618947753 [01:03:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T010309&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15864&fm=199366618947753&tin=02508201610067®Number=0000000000161798&sum=100000 [01:03:09]OFD Sender: Processing packet 15864 [packets to send 4, broken 3] [01:03:09]ProducePacketName [01:03:09]name=ofd_packets/00015864 [01:03:09]OFD Sender: To server: pG, [01:03:09]CommunicateWithHost lk.salyk.kg:30040 [01:03:09]ConnectInit lk.salyk.kg [01:03:09]written 0, free lines is 4095 [01:03:09]Connected sock=10 [01:03:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0C 01 00 00 4D 31 04 01 E7 0B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 4D D7 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F8 3D 00 00 35 04 06 00 B5 52 A8 80 A0 A9 79 22 33 5A CF B3 F4 BC [01:03:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 7B 67 47 00 A4 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F8 3D 00 00 F4 03 04 00 35 82 22 67 B6 04 01 00 00 31 DD 2B F3 6F 62 CB 01 [01:03:10]CommunicateWithHost err = 0 [01:03:10]CheckOFDResponse [01:03:10]1017 (14) - 77093643461234 [01:03:10]1041 (16) - 0000000000963325 [01:03:10]1040 (4) - 15864 [01:03:10]1012 (4) - 30.10.2024 19:00 [01:03:10]1206 (1) - 0 [01:03:10]OFD Sender: Remove packet 15864 [01:03:10]ProducePacketName [01:03:10]name=ofd_packets/00015864 [01:03:10]NVStorageDeleteData [01:03:10]Write to MH i2c: 01 00 00 35 0A 3F [01:03:10]Write i2c OK [01:03:10]MH_I2C_Read... [01:03:10]Read from MH i2c: 01 [01:03:10]MH_I2C_Read... [01:03:10]Read from MH i2c: 01 07 00 [01:03:10]MH_I2C_Read... [01:03:10]Read from MH i2c: 01 07 00 35 0A 00 00 00 00 00 F6 0C 48 [01:03:10]RasterBufferAndPrint [01:03:10]line [01:03:10]line [01:03:10]line [01:03:10]line [01:03:10]line [01:03:10]written 0, free lines is 3324 [01:03:10]MH_Cut [01:03:10]Write to MH i2c: D1 01 00 3C 0A 01 18 [01:03:10]Write i2c OK [01:03:10]MH_I2C_Read... [01:03:10]Read from MH i2c: D1 [01:03:10]MH_I2C_Read... [01:03:10]Read from MH i2c: D1 01 00 [01:03:10]MH_I2C_Read... [01:03:10]Read from MH i2c: D1 01 00 3C 0A 00 17 [01:03:10]Write to MH i2c: 01 00 00 3D 0A 47 [01:03:10]Write i2c OK [01:03:10]MH_I2C_Read... [01:03:10]OFD Sender: No OFD packet to send [01:03:10]*** Cut start [01:03:10]*** Partial cut [01:03:10]*** CUTSNS_PIN = 1 [01:03:11]*** CUTSNS_PIN = 0 [01:03:11]*** Brake cut motor [01:03:11]Read from MH i2c: 01 [01:03:11]MH_I2C_Read... [01:03:11]*** Stop cut motor [01:03:11]*** Cut end [01:03:11]Read from MH i2c: 01 07 00 [01:03:11]MH_I2C_Read... [01:03:11]Read from MH i2c: 01 07 00 3D 0A 00 00 00 00 00 FF 0F 5C [01:03:11]process_action close_receipt done [01:03:11]requested_data is exist [01:03:11]produce_requested_data [01:03:11]requested_item fm.sn is exist - process it [01:03:11]wFMCommunicate request_size=4 [01:03:11]MH_SAM_APDU [01:03:11]CAPDU: 80 11 00 00 [01:03:11]Write to MH i2c: E2 08 00 3E 0A 80 11 00 00 00 00 00 00 C2 [01:03:11]Write i2c OK [01:03:11]MH_I2C_Read... [01:03:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:03:11]Read from MH i2c: E2 [01:03:11]MH_I2C_Read... [01:03:11]Read from MH i2c: E2 17 00 [01:03:11]MH_I2C_Read... [01:03:11]Read from MH i2c: E2 17 00 3E 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 11 [01:03:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [01:03:11]wFMCommunicate OK [01:03:11]requested_item fd.num is exist - process it [01:03:11]SAM_PROTO_GetFieldsCounters [01:03:11]wFMCommunicate request_size=4 [01:03:11]MH_SAM_APDU [01:03:11]CAPDU: 80 13 00 00 [01:03:11]Write to MH i2c: E2 08 00 3F 0A 80 13 00 00 00 00 00 00 C5 [01:03:11]Write i2c OK [01:03:11]MH_I2C_Read... [01:03:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:03:11]Read from MH i2c: E2 [01:03:11]MH_I2C_Read... [01:03:11]Read from MH i2c: E2 62 00 [01:03:11]MH_I2C_Read... [01:03:11]Read from MH i2c: E2 62 00 3F 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F8 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 D8 [01:03:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F8 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:03:11]wFMCommunicate OK [01:03:11]SAM_PROTO_GetFieldsCounters done [01:03:11]requested_item shift.num is exist - process it [01:03:11]requested_item shift.opened is exist - process it [01:03:11]req_shift_opened [01:03:11]FM_GetShiftState [01:03:11]SAM_PROTO_GetShiftState [01:03:11]wFMCommunicate request_size=4 [01:03:11]MH_SAM_APDU [01:03:11]CAPDU: 80 13 01 00 [01:03:11]Write to MH i2c: E2 08 00 40 0A 80 13 01 00 00 00 00 00 C7 [01:03:11]Write i2c OK [01:03:11]MH_I2C_Read... [01:03:11]Read from MH i2c: E2 [01:03:11]MH_I2C_Read... [01:03:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:03:11]Read from MH i2c: E2 0E 00 [01:03:11]MH_I2C_Read... [01:03:11]Read from MH i2c: E2 0E 00 40 0A 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 0F [01:03:11]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [01:03:11]wFMCommunicate OK [01:03:11]SAM_PROTO_GetShiftState done [01:03:11]FM_GetShiftState done [01:03:11]req_shift_opened done [01:03:11]requested_item shift.open_date is exist - process it [01:03:11]req_shift_open_date [01:03:11]req_shift_open_date done [01:03:11]produce_requested_data done [01:03:11]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15864,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927} [01:03:11]process_action_free close_receipt [01:03:11]json_value_free [01:03:11]json_value_free done [01:03:11]process_json_proto returns [01:03:11]Send response to host [01:03:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15864,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927}}} [01:03:11]free response buf [01:03:11]execute_script done [01:03:11]execute_script returns [01:03:11]free content buf [01:03:11]Sock 9.Close socket [01:03:11]Sock 9.Thread stoped [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:51]OFD Sender: No OFD packet to send [01:11:56]OFD Sender: No OFD packet to send [01:12:01]OFD Sender: No OFD packet to send [01:12:06]OFD Sender: No OFD packet to send [01:12:11]OFD Sender: No OFD packet to send [01:12:16]OFD Sender: No OFD packet to send [01:12:21]OFD Sender: No OFD packet to send [01:12:26]OFD Sender: No OFD packet to send [01:12:26]ConnectInit Can't connect to host [01:12:31]OFD Sender: No OFD packet to send [01:12:36]OFD Sender: No OFD packet to send [01:12:41]OFD Sender: No OFD packet to send [01:12:46]OFD Sender: No OFD packet to send [01:12:51]OFD Sender: No OFD packet to send [01:12:56]OFD Sender: No OFD packet to send [01:13:01]OFD Sender: No OFD packet to send [01:13:06]OFD Sender: No OFD packet to send [01:13:11]OFD Sender: No OFD packet to send [01:13:16]OFD Sender: No OFD packet to send [01:13:21]OFD Sender: No OFD packet to send [01:13:26]OFD Sender: No OFD packet to send [01:13:31]OFD Sender: No OFD packet to send [01:13:36]OFD Sender: No OFD packet to send [01:13:41]OFD Sender: No OFD packet to send [01:13:46]OFD Sender: No OFD packet to send [01:13:51]OFD Sender: No OFD packet to send [01:13:56]OFD Sender: No OFD packet to send [01:14:01]OFD Sender: No OFD packet to send [01:14:06]OFD Sender: No OFD packet to send [01:14:11]OFD Sender: No OFD packet to send [01:14:16]OFD Sender: No OFD packet to send [01:14:21]OFD Sender: No OFD packet to send [01:14:26]OFD Sender: No OFD packet to send [01:14:31]OFD Sender: No OFD packet to send [01:14:36]OFD Sender: No OFD packet to send [01:14:40]accept exits with 7 [01:14:40]New connection [01:14:40]New thread 3067391332 created [01:14:40]Thread 3067247972 joined [01:14:40]Waiting for new connection... [01:14:40] Sock 7.Parse request [01:14:40]Sock 7.Check first char [01:14:40]Sock 7.First char is OK [01:14:40]request: POST /json_proto HTTP/1.0 [01:14:40]Method: POST [01:14:40]URL: /json_proto [01:14:40]Method is POST - this is cgi request [01:14:40]url: /json_proto [01:14:40]query_string will be loaded in cgi processing [01:14:40]execute_cgi json_proto POST (null) [01:14:40]execute_cgi path=json_proto method=POST [01:14:40]POST find Content-Length [01:14:40]Host: 172.17.54.195:8080 [01:14:40]Content-Length: 681 [01:14:40]Content-Type: application/json [01:14:40] [01:14:40]POST finish read [01:14:40]Found Content-Length = 681 [01:14:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16414", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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" ] } } [01:14:40]execute_script... [01:14:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16414", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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" ] } } [01:14:40]POST & json_proto [01:14:40]process_json_proto [01:14:40]json parsed OK: [01:14:40]protocol is kg_v1.0 [01:14:40]action value=close_receipt [01:14:40]process_action close_receipt [01:14:40]cmd_close_receipt [01:14:40]MH_GetDate [01:14:40]Write to MH i2c: F0 00 00 41 0A 3A [01:14:40]Write i2c OK [01:14:40]MH_I2C_Read... [01:14:40]Read from MH i2c: F0 [01:14:40]MH_I2C_Read... [01:14:40]Read from MH i2c: F0 09 00 [01:14:40]MH_I2C_Read... [01:14:40]Read from MH i2c: F0 09 00 41 0A 00 02 DA 22 67 8D 90 A3 66 CE [01:14:40]GetLastDocTimeStamp 1730336589 [01:14:40]current date 1730337282 [01:14:40]FM_GetShiftState [01:14:40]SAM_PROTO_GetShiftState [01:14:40]wFMCommunicate request_size=4 [01:14:40]MH_SAM_APDU [01:14:40]CAPDU: 80 13 01 00 [01:14:40]Write to MH i2c: E2 08 00 42 0A 80 13 01 00 00 00 00 00 C9 [01:14:40]Write i2c OK [01:14:40]MH_I2C_Read... [01:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:14:40]Read from MH i2c: E2 [01:14:40]MH_I2C_Read... [01:14:40]Read from MH i2c: E2 0E 00 [01:14:40]MH_I2C_Read... [01:14:40]Read from MH i2c: E2 0E 00 42 0A 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 11 [01:14:40]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [01:14:40]wFMCommunicate OK [01:14:40]SAM_PROTO_GetShiftState done [01:14:40]FM_GetShiftState done [01:14:40]opened in 1730333927 [01:14:40]opened+sec_in_day 1730420327 [01:14:40]quantity*price = 100021 [01:14:40]sum+1 = 100023 [01:14:40]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 5 31.10.2024 01:14 Смена: 174 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15865 ФПД: 12343835861799 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T011442&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15865&fm=12343835861799&tin=02508201610067®Number=0000000000161798&sum=100000 [01:14:42]StoreToDocumentArchive [01:14:42]shift 174 fd 15865 [01:14:42]save to /storage/0174/doc_00015865 [01:14:42]save last doc name /storage/0174/doc_00015865 to /storage/kkm_last_doc_name [01:14:42]save OK [01:14:42]Clear old archive folders... [01:14:42]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:14:42]tlvbuf is 01F2B1C0 [01:14:42]SAM_PROTO_ClearQueue [01:14:42]wFMCommunicate request_size=4 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 09 00 00 [01:14:42]Write to MH i2c: E2 08 00 4F 0A 80 09 00 00 00 00 00 00 CB [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 4F 0A 00 90 00 CD [01:14:42]RAPDU: 90 00 [01:14:42]wFMCommunicate OK [01:14:42]SAM_PROTO_ClearQueue done [01:14:42]KKMCreateOFDPacket [01:14:42]OFDProtocolAddRootSTLVToBuf [01:14:42]FM_MakeSignedData [01:14:42]FM_MakeSignedData [01:14:42]SAM_PROTO_SignData [01:14:42]wFMCommunicate request_size=4 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 0D 01 02 [01:14:42]Write to MH i2c: E2 08 00 50 0A 80 0D 01 02 00 00 00 00 D3 [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 50 0A 00 90 00 CE [01:14:42]RAPDU: 90 00 [01:14:42]wFMCommunicate OK [01:14:42]wFMCommunicate request_size=255 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 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 05 00 00 00 F4 03 04 00 02 DA 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F9 3D 00 00 35 04 06 00 0B [01:14:42]Write to MH i2c: E2 02 01 51 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 05 00 00 00 F4 03 04 00 02 DA 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F9 3D 00 00 35 04 06 00 0B 00 00 DB [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 51 0A 00 90 00 CF [01:14:42]RAPDU: 90 00 [01:14:42]wFMCommunicate OK [01:14:42]wFMCommunicate request_size=10 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 0D 02 02 05 3A 05 F3 A3 27 [01:14:42]Write to MH i2c: E2 0D 00 52 0A 80 0D 02 02 05 00 3A 05 F3 A3 27 00 00 DC [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 03 00 52 0A 00 90 00 D0 [01:14:42]RAPDU: 90 00 [01:14:42]wFMCommunicate OK [01:14:42]wFMCommunicate request_size=4 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 0D 03 02 [01:14:42]Write to MH i2c: E2 08 00 53 0A 80 0D 03 02 00 00 00 00 D8 [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 0B 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 0B 00 53 0A 00 0D 8A FF 70 BC B3 CA 05 90 00 1D [01:14:42]RAPDU: 0D 8A FF 70 BC B3 CA 05 90 00 [01:14:42]wFMCommunicate OK [01:14:42]SAM_PROTO_SignData done [01:14:42]FM_MakeSignedData done [01:14:42]CreateOFDProtocolMessage [01:14:42]wFMCommunicate request_size=4 [01:14:42]MH_SAM_APDU [01:14:42]CAPDU: 80 11 00 00 [01:14:42]Write to MH i2c: E2 08 00 54 0A 80 11 00 00 00 00 00 00 D8 [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:14:42]Read from MH i2c: E2 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 17 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: E2 17 00 54 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 27 [01:14:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [01:14:42]wFMCommunicate OK [01:14:42]CreateOFDProtocolMessage done [01:14:42]OFDSenderStorePacket 15865 [01:14:42]StoreOFDPacket docnum=15865 [01:14:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 47 61 07 01 7E 82 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 02 DA 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F9 3D 00 00 35 04 06 00 0B 3A 05 F3 A3 27 0D 8A FF 70 BC B3 CA 05 [01:14:42]CheckFolder [01:14:42]dirname=/storage/ofd_packets [01:14:42]CheckFolder done [01:14:42]ProducePacketName [01:14:42]name=ofd_packets/00015865 [01:14:42]NVStorageSaveData ofd_packets/00015865 [01:14:42]File name is /storage/ofd_packets/00015865 [01:14:42]Write 301 bytes [01:14:42]NVStorageSaveData done [01:14:42]OFDSenderStorePacket done [01:14:42]KKMCreateOFDPacket done [01:14:42]NVStorageSaveData kkm_last_timestamp [01:14:42]File name is /storage/kkm_last_timestamp [01:14:42]Write 4 bytes [01:14:42]NVStorageSaveData done [01:14:42]ExternCall_PrintAddStr [01:14:42]wPrintStart [01:14:42]Write to MH i2c: 01 00 00 55 0A 5F [01:14:42]Write i2c OK [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: 01 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: 01 07 00 [01:14:42]MH_I2C_Read... [01:14:42]Read from MH i2c: 01 07 00 55 0A 00 00 00 00 00 FF 0F 74 [01:14:42]RasterBufferAndPrint [01:14:42]line Счет N : (1)16414 [01:14:42]line ИНН: 02508201610067 [01:14:42]line Контрольно-Кассовый Чек [01:14:42]line ПРОДАЖА [01:14:42]line ТРК (МРК, ГНК) : 11 [01:14:42]line Товар: 2710124500 [01:14:42]line Аи-95-К-5 [01:14:42]line 13.480 * 74.20 [01:14:42]line = 1000.22 [01:14:42]line НДС 12% НСП 1% [01:14:42]line > о реализуемом товаре [01:14:42]line ОКРУГЛЕНИЕ: -0.22 [01:14:42]line ИТОГО: 1000.00 [01:14:42]line Внесено: 1000.00 [01:14:42]line СДАЧА: 0.00 [01:14:42]line НСП 1% : 8.85 [01:14:42]line НДС 12% : 106.22 [01:14:42]line Наличными: 1000.00 [01:14:42]line Безнал.: 0.00 [01:14:42]line Место: АЗС № 178 "Партнер Нефть" [01:14:42]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [01:14:42]line СНО: Общий режим [01:14:42]line Чек 5 31.10.2024 01:14 [01:14:42]line Смена: 174 ФФД: 1.0 [01:14:42]line ЗНМ: 0300000014 [01:14:42]line РНМ: 0000000000161798 [01:14:42]line Версия ККМ: v1.0 [01:14:42]line ФМ: 0000000000963325 [01:14:42]line ФД: 15865 [01:14:42]line ФПД: 12343835861799 [01:14:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T011442&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15865&fm=12343835861799&tin=02508201610067®Number=0000000000161798&sum=100000 [01:14:42]OFD Sender: Processing packet 15865 [packets to send 4, broken 3] [01:14:42]ProducePacketName [01:14:42]name=ofd_packets/00015865 [01:14:42]OFD Sender: To server: pG, [01:14:42]CommunicateWithHost lk.salyk.kg:30040 [01:14:42]ConnectInit lk.salyk.kg [01:14:42]written 0, free lines is 4095 [01:14:43]Connected sock=10 [01:14:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0F 01 00 00 47 61 07 01 7E 82 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 02 DA 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F9 3D 00 00 35 04 06 00 0B 3A 05 F3 A3 27 0D 8A FF 70 BC B3 CA 05 [01:14:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 4B C8 47 00 3B F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 F9 3D 00 00 F4 03 04 00 EA 84 22 67 B6 04 01 00 00 08 4E 54 AF 1B 51 13 68 [01:14:43]CommunicateWithHost err = 0 [01:14:43]CheckOFDResponse [01:14:43]1017 (14) - 77093643461234 [01:14:43]1041 (16) - 0000000000963325 [01:14:43]1040 (4) - 15865 [01:14:43]1012 (4) - 30.10.2024 19:11 [01:14:43]1206 (1) - 0 [01:14:43]OFD Sender: Remove packet 15865 [01:14:43]ProducePacketName [01:14:43]name=ofd_packets/00015865 [01:14:43]NVStorageDeleteData [01:14:43]Write to MH i2c: 01 00 00 80 0A 8A [01:14:43]Write i2c OK [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: 01 [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: 01 07 00 [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: 01 07 00 80 0A 00 00 00 00 00 FB 0C 98 [01:14:43]RasterBufferAndPrint [01:14:43]line [01:14:43]line [01:14:43]line [01:14:43]line [01:14:43]line [01:14:43]written 0, free lines is 3329 [01:14:43]MH_Cut [01:14:43]Write to MH i2c: D1 01 00 87 0A 01 63 [01:14:43]Write i2c OK [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: D1 [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: D1 01 00 [01:14:43]MH_I2C_Read... [01:14:43]Read from MH i2c: D1 01 00 87 0A 00 62 [01:14:43]Write to MH i2c: 01 00 00 88 0A 92 [01:14:43]Write i2c OK [01:14:43]MH_I2C_Read... [01:14:43]OFD Sender: No OFD packet to send [01:14:44]*** Cut start [01:14:44]*** Partial cut [01:14:44]*** CUTSNS_PIN = 1 [01:14:44]*** CUTSNS_PIN = 0 [01:14:44]*** Brake cut motor [01:14:44]Read from MH i2c: 01 [01:14:44]MH_I2C_Read... [01:14:44]*** Stop cut motor [01:14:44]*** Cut end [01:14:44]Read from MH i2c: 01 07 00 [01:14:44]MH_I2C_Read... [01:14:44]Read from MH i2c: 01 07 00 88 0A 00 00 00 00 00 FF 0F A7 [01:14:44]process_action close_receipt done [01:14:44]requested_data is exist [01:14:44]produce_requested_data [01:14:44]requested_item fm.sn is exist - process it [01:14:44]wFMCommunicate request_size=4 [01:14:44]MH_SAM_APDU [01:14:44]CAPDU: 80 11 00 00 [01:14:44]Write to MH i2c: E2 08 00 89 0A 80 11 00 00 00 00 00 00 0D [01:14:44]Write i2c OK [01:14:44]MH_I2C_Read... [01:14:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:14:44]Read from MH i2c: E2 [01:14:44]MH_I2C_Read... [01:14:44]Read from MH i2c: E2 17 00 [01:14:44]MH_I2C_Read... [01:14:44]Read from MH i2c: E2 17 00 89 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 5C [01:14:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [01:14:44]wFMCommunicate OK [01:14:44]requested_item fd.num is exist - process it [01:14:44]SAM_PROTO_GetFieldsCounters [01:14:44]wFMCommunicate request_size=4 [01:14:44]MH_SAM_APDU [01:14:44]CAPDU: 80 13 00 00 [01:14:44]Write to MH i2c: E2 08 00 8A 0A 80 13 00 00 00 00 00 00 10 [01:14:44]Write i2c OK [01:14:44]MH_I2C_Read... [01:14:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:14:44]Read from MH i2c: E2 [01:14:44]MH_I2C_Read... [01:14:44]Read from MH i2c: E2 62 00 [01:14:44]MH_I2C_Read... [01:14:44]Read from MH i2c: E2 62 00 8A 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F9 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 27 [01:14:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 F9 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:14:45]wFMCommunicate OK [01:14:45]SAM_PROTO_GetFieldsCounters done [01:14:45]requested_item shift.num is exist - process it [01:14:45]requested_item shift.opened is exist - process it [01:14:45]req_shift_opened [01:14:45]FM_GetShiftState [01:14:45]SAM_PROTO_GetShiftState [01:14:45]wFMCommunicate request_size=4 [01:14:45]MH_SAM_APDU [01:14:45]CAPDU: 80 13 01 00 [01:14:45]Write to MH i2c: E2 08 00 8B 0A 80 13 01 00 00 00 00 00 12 [01:14:45]Write i2c OK [01:14:45]MH_I2C_Read... [01:14:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:14:45]Read from MH i2c: E2 [01:14:45]MH_I2C_Read... [01:14:45]Read from MH i2c: E2 0E 00 [01:14:45]MH_I2C_Read... [01:14:45]Read from MH i2c: E2 0E 00 8B 0A 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 5A [01:14:45]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [01:14:45]wFMCommunicate OK [01:14:45]SAM_PROTO_GetShiftState done [01:14:45]FM_GetShiftState done [01:14:45]req_shift_opened done [01:14:45]requested_item shift.open_date is exist - process it [01:14:45]req_shift_open_date [01:14:45]req_shift_open_date done [01:14:45]produce_requested_data done [01:14:45]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15865,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927} [01:14:45]process_action_free close_receipt [01:14:45]json_value_free [01:14:45]json_value_free done [01:14:45]process_json_proto returns [01:14:45]Send response to host [01:14:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15865,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927}}} [01:14:45]free response buf [01:14:45]execute_script done [01:14:45]execute_script returns [01:14:45]free content buf [01:14:45]Sock 7.Close socket [01:14:45]Sock 7.Thread stoped [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]OFD Sender: No OFD packet to send [01:17:38]OFD Sender: No OFD packet to send [01:17:43]OFD Sender: No OFD packet to send [01:17:48]OFD Sender: No OFD packet to send [01:17:53]OFD Sender: No OFD packet to send [01:17:58]OFD Sender: No OFD packet to send [01:18:03]OFD Sender: No OFD packet to send [01:18:08]OFD Sender: No OFD packet to send [01:18:13]OFD Sender: No OFD packet to send [01:18:18]OFD Sender: No OFD packet to send [01:18:23]OFD Sender: No OFD packet to send [01:18:28]OFD Sender: No OFD packet to send [01:18:33]OFD Sender: No OFD packet to send [01:18:38]OFD Sender: No OFD packet to send [01:18:43]OFD Sender: No OFD packet to send [01:18:48]OFD Sender: No OFD packet to send [01:18:53]OFD Sender: No OFD packet to send [01:18:58]OFD Sender: No OFD packet to send [01:19:03]OFD Sender: No OFD packet to send [01:19:08]OFD Sender: No OFD packet to send [01:19:13]OFD Sender: No OFD packet to send [01:19:19]OFD Sender: No OFD packet to send [01:19:24]OFD Sender: No OFD packet to send [01:19:29]OFD Sender: No OFD packet to send [01:19:34]OFD Sender: No OFD packet to send [01:19:39]OFD Sender: No OFD packet to send [01:19:44]OFD Sender: No OFD packet to send [01:19:49]OFD Sender: No OFD packet to send [01:19:54]OFD Sender: No OFD packet to send [01:19:59]OFD Sender: No OFD packet to send [01:20:04]OFD Sender: No OFD packet to send [01:20:09]OFD Sender: No OFD packet to send [01:20:14]OFD Sender: No OFD packet to send [01:20:19]OFD Sender: No OFD packet to send [01:20:24]OFD Sender: No OFD packet to send [01:20:29]OFD Sender: No OFD packet to send [01:20:34]OFD Sender: No OFD packet to send [01:20:39]OFD Sender: No OFD packet to send [01:20:44]OFD Sender: No OFD packet to send [01:20:49]OFD Sender: No OFD packet to send [01:20:54]OFD Sender: No OFD packet to send [01:20:59]OFD Sender: No OFD packet to send [01:21:04]OFD Sender: No OFD packet to send [01:21:09]OFD Sender: No OFD packet to send [01:21:14]OFD Sender: No OFD packet to send [01:21:19]OFD Sender: No OFD packet to send [01:21:24]OFD Sender: No OFD packet to send [01:21:29]OFD Sender: No OFD packet to send [01:21:34]OFD Sender: No OFD packet to send [01:21:39]OFD Sender: No OFD packet to send [01:21:44]OFD Sender: No OFD packet to send [01:21:49]OFD Sender: No OFD packet to send [01:21:54]OFD Sender: No OFD packet to send [01:21:59]OFD Sender: No OFD packet to send [01:22:04]OFD Sender: No OFD packet to send [01:22:09]OFD Sender: No OFD packet to send [01:22:14]OFD Sender: No OFD packet to send [01:22:19]OFD Sender: No OFD packet to send [01:22:24]OFD Sender: No OFD packet to send [01:22:29]OFD Sender: No OFD packet to send [01:22:34]OFD Sender: No OFD packet to send [01:22:39]OFD Sender: No OFD packet to send [01:22:44]OFD Sender: No OFD packet to send [01:22:49]OFD Sender: No OFD packet to send [01:22:54]OFD Sender: No OFD packet to send [01:22:59]OFD Sender: No OFD packet to send [01:23:04]OFD Sender: No OFD packet to send [01:23:09]OFD Sender: No OFD packet to send [01:23:14]OFD Sender: No OFD packet to send [01:23:19]OFD Sender: No OFD packet to send [01:23:24]OFD Sender: No OFD packet to send [01:23:29]OFD Sender: No OFD packet to send [01:23:34]OFD Sender: No OFD packet to send [01:23:39]OFD Sender: No OFD packet to send [01:23:44]OFD Sender: No OFD packet to send [01:23:49]OFD Sender: No OFD packet to send [01:23:54]OFD Sender: No OFD packet to send [01:23:59]OFD Sender: No OFD packet to send [01:24:04]OFD Sender: No OFD packet to send [01:24:09]OFD Sender: No OFD packet to send [01:24:14]OFD Sender: No OFD packet to send [01:24:19]OFD Sender: No OFD packet to send [01:24:24]OFD Sender: No OFD packet to send [01:24:29]OFD Sender: No OFD packet to send [01:24:34]OFD Sender: No OFD packet to send [01:24:39]OFD Sender: No OFD packet to send [01:24:44]OFD Sender: No OFD packet to send [01:24:49]OFD Sender: No OFD packet to send [01:24:54]OFD Sender: No OFD packet to send [01:24:59]OFD Sender: No OFD packet to send [01:25:04]OFD Sender: No OFD packet to send [01:25:09]OFD Sender: No OFD packet to send [01:25:14]OFD Sender: No OFD packet to send [01:25:19]OFD Sender: No OFD packet to send [01:25:24]OFD Sender: No OFD packet to send [01:25:29]OFD Sender: No OFD packet to send [01:25:34]OFD Sender: No OFD packet to send [01:25:39]OFD Sender: No OFD packet to send [01:25:44]OFD Sender: No OFD packet to send [01:25:49]OFD Sender: No OFD packet to send [01:25:54]OFD Sender: No OFD packet to send [01:25:59]OFD Sender: No OFD packet to send [01:26:04]OFD Sender: No OFD packet to send [01:26:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:19]OFD Sender: No OFD packet to send [01:32:24]OFD Sender: No OFD packet to send [01:32:29]OFD Sender: No OFD packet to send [01:32:34]OFD Sender: No OFD packet to send [01:32:39]OFD Sender: No OFD packet to send [01:32:44]OFD Sender: No OFD packet to send [01:32:49]OFD Sender: No OFD packet to send [01:32:54]OFD Sender: No OFD packet to send [01:32:59]OFD Sender: No OFD packet to send [01:33:04]OFD Sender: No OFD packet to send [01:33:09]OFD Sender: No OFD packet to send [01:33:14]OFD Sender: No OFD packet to send [01:33:19]OFD Sender: No OFD packet to send [01:33:24]OFD Sender: No OFD packet to send [01:33:29]OFD Sender: No OFD packet to send [01:33:34]OFD Sender: No OFD packet to send [01:33:39]OFD Sender: No OFD packet to send [01:33:44]OFD Sender: No OFD packet to send [01:33:49]OFD Sender: No OFD packet to send [01:33:54]OFD Sender: No OFD packet to send [01:33:59]OFD Sender: No OFD packet to send [01:34:04]OFD Sender: No OFD packet to send [01:34:09]OFD Sender: No OFD packet to send [01:34:14]OFD Sender: No OFD packet to send [01:34:19]OFD Sender: No OFD packet to send [01:34:24]OFD Sender: No OFD packet to send [01:34:29]OFD Sender: No OFD packet to send [01:34:34]OFD Sender: No OFD packet to send [01:34:39]OFD Sender: No OFD packet to send [01:34:44]OFD Sender: No OFD packet to send [01:34:49]OFD Sender: No OFD packet to send [01:34:54]OFD Sender: No OFD packet to send [01:34:59]OFD Sender: No OFD packet to send [01:35:04]OFD Sender: No OFD packet to send [01:35:09]OFD Sender: No OFD packet to send [01:35:14]OFD Sender: No OFD packet to send [01:35:19]OFD Sender: No OFD packet to send [01:35:24]OFD Sender: No OFD packet to send [01:35:29]OFD Sender: No OFD packet to send [01:35:34]OFD Sender: No OFD packet to send [01:35:39]OFD Sender: No OFD packet to send [01:35:44]OFD Sender: No OFD packet to send [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:09]OFD Sender: No OFD packet to send [01:36:14]OFD Sender: No OFD packet to send [01:36:19]OFD Sender: No OFD packet to send [01:36:24]OFD Sender: No OFD packet to send [01:36:29]OFD Sender: No OFD packet to send [01:36:34]OFD Sender: No OFD packet to send [01:36:39]OFD Sender: No OFD packet to send [01:36:44]OFD Sender: No OFD packet to send [01:36:49]OFD Sender: No OFD packet to send [01:36:54]OFD Sender: No OFD packet to send [01:36:59]OFD Sender: No OFD packet to send [01:37:04]OFD Sender: No OFD packet to send [01:37:09]OFD Sender: No OFD packet to send [01:37:14]OFD Sender: No OFD packet to send [01:37:19]OFD Sender: No OFD packet to send [01:37:24]OFD Sender: No OFD packet to send [01:37:29]OFD Sender: No OFD packet to send [01:37:34]OFD Sender: No OFD packet to send [01:37:39]OFD Sender: No OFD packet to send [01:37:44]OFD Sender: No OFD packet to send [01:37:49]OFD Sender: No OFD packet to send [01:37:54]OFD Sender: No OFD packet to send [01:37:59]OFD Sender: No OFD packet to send [01:38:04]OFD Sender: No OFD packet to send [01:38:09]OFD Sender: No OFD packet to send [01:38:14]OFD Sender: No OFD packet to send [01:38:19]OFD Sender: No OFD packet to send [01:38:24]OFD Sender: No OFD packet to send [01:38:29]OFD Sender: No OFD packet to send [01:38:34]OFD Sender: No OFD packet to send [01:38:39]OFD Sender: No OFD packet to send [01:38:44]OFD Sender: No OFD packet to send [01:38:49]OFD Sender: No OFD packet to send [01:38:54]OFD Sender: No OFD packet to send [01:38:59]OFD Sender: No OFD packet to send [01:39:04]OFD Sender: No OFD packet to send [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:40]OFD Sender: No OFD packet to send [01:40:45]OFD Sender: No OFD packet to send [01:40:50]OFD Sender: No OFD packet to send [01:40:55]OFD Sender: No OFD packet to send [01:41:00]OFD Sender: No OFD packet to send [01:41:05]OFD Sender: No OFD packet to send [01:41:10]OFD Sender: No OFD packet to send [01:41:15]OFD Sender: No OFD packet to send [01:41:20]OFD Sender: No OFD packet to send [01:41:25]OFD Sender: No OFD packet to send [01:41:30]OFD Sender: No OFD packet to send [01:41:35]OFD Sender: No OFD packet to send [01:41:40]OFD Sender: No OFD packet to send [01:41:45]OFD Sender: No OFD packet to send [01:41:50]OFD Sender: No OFD packet to send [01:41:55]OFD Sender: No OFD packet to send [01:42:00]OFD Sender: No OFD packet to send [01:42:05]OFD Sender: No OFD packet to send [01:42:10]OFD Sender: No OFD packet to send [01:42:15]OFD Sender: No OFD packet to send [01:42:20]OFD Sender: No OFD packet to send [01:42:25]OFD Sender: No OFD packet to send [01:42:30]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:45]OFD Sender: No OFD packet to send [01:42:50]OFD Sender: No OFD packet to send [01:42:55]OFD Sender: No OFD packet to send [01:43:00]OFD Sender: No OFD packet to send [01:43:05]OFD Sender: No OFD packet to send [01:43:10]OFD Sender: No OFD packet to send [01:43:15]OFD Sender: No OFD packet to send [01:43:20]OFD Sender: No OFD packet to send [01:43:25]OFD Sender: No OFD packet to send [01:43:30]OFD Sender: No OFD packet to send [01:43:35]OFD Sender: No OFD packet to send [01:43:40]OFD Sender: No OFD packet to send [01:43:45]OFD Sender: No OFD packet to send [01:43:50]OFD Sender: No OFD packet to send [01:43:55]OFD Sender: No OFD packet to send [01:44:00]OFD Sender: No OFD packet to send [01:44:05]OFD Sender: No OFD packet to send [01:44:10]OFD Sender: No OFD packet to send [01:44:15]OFD Sender: No OFD packet to send [01:44:20]OFD Sender: No OFD packet to send [01:44:25]OFD Sender: No OFD packet to send [01:44:30]OFD Sender: No OFD packet to send [01:44:35]OFD Sender: No OFD packet to send [01:44:40]OFD Sender: No OFD packet to send [01:44:45]OFD Sender: No OFD packet to send [01:44:50]OFD Sender: No OFD packet to send [01:44:55]OFD Sender: No OFD packet to send [01:45:00]OFD Sender: No OFD packet to send [01:45:05]OFD Sender: No OFD packet to send [01:45:10]OFD Sender: No OFD packet to send [01:45:15]OFD Sender: No OFD packet to send [01:45:20]OFD Sender: No OFD packet to send [01:45:25]OFD Sender: No OFD packet to send [01:45:30]OFD Sender: No OFD packet to send [01:45:35]OFD Sender: No OFD packet to send [01:45:40]OFD Sender: No OFD packet to send [01:45:45]OFD Sender: No OFD packet to send [01:45:50]OFD Sender: No OFD packet to send [01:45:55]OFD Sender: No OFD packet to send [01:46:00]OFD Sender: No OFD packet to send [01:46:05]OFD Sender: No OFD packet to send [01:46:10]OFD Sender: No OFD packet to send [01:46:15]OFD Sender: No OFD packet to send [01:46:20]OFD Sender: No OFD packet to send [01:46:25]OFD Sender: No OFD packet to send [01:46:30]OFD Sender: No OFD packet to send [01:46:35]OFD Sender: No OFD packet to send [01:46:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:55]OFD Sender: No OFD packet to send [01:48:00]OFD Sender: No OFD packet to send [01:48:05]OFD Sender: No OFD packet to send [01:48:10]OFD Sender: No OFD packet to send [01:48:15]OFD Sender: No OFD packet to send [01:48:20]OFD Sender: No OFD packet to send [01:48:25]OFD Sender: No OFD packet to send [01:48:30]OFD Sender: No OFD packet to send [01:48:35]OFD Sender: No OFD packet to send [01:48:40]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:25]OFD Sender: No OFD packet to send [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:05]OFD Sender: No OFD packet to send [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:30]OFD Sender: No OFD packet to send [01:53:35]OFD Sender: No OFD packet to send [01:53:40]OFD Sender: No OFD packet to send [01:53:45]OFD Sender: No OFD packet to send [01:53:50]OFD Sender: No OFD packet to send [01:53:55]OFD Sender: No OFD packet to send [01:54:00]OFD Sender: No OFD packet to send [01:54:05]OFD Sender: No OFD packet to send [01:54:10]OFD Sender: No OFD packet to send [01:54:15]OFD Sender: No OFD packet to send [01:54:20]OFD Sender: No OFD packet to send [01:54:25]OFD Sender: No OFD packet to send [01:54:30]OFD Sender: No OFD packet to send [01:54:35]OFD Sender: No OFD packet to send [01:54:40]OFD Sender: No OFD packet to send [01:54:45]OFD Sender: No OFD packet to send [01:54:50]OFD Sender: No OFD packet to send [01:54:55]OFD Sender: No OFD packet to send [01:55:00]OFD Sender: No OFD packet to send [01:55:05]OFD Sender: No OFD packet to send [01:55:10]OFD Sender: No OFD packet to send [01:55:15]OFD Sender: No OFD packet to send [01:55:20]OFD Sender: No OFD packet to send [01:55:25]OFD Sender: No OFD packet to send [01:55:30]OFD Sender: No OFD packet to send [01:55:35]OFD Sender: No OFD packet to send [01:55:40]OFD Sender: No OFD packet to send [01:55:45]OFD Sender: No OFD packet to send [01:55:50]OFD Sender: No OFD packet to send [01:55:55]OFD Sender: No OFD packet to send [01:56:00]OFD Sender: No OFD packet to send [01:56:05]OFD Sender: No OFD packet to send [01:56:10]OFD Sender: No OFD packet to send [01:56:15]OFD Sender: No OFD packet to send [01:56:20]OFD Sender: No OFD packet to send [01:56:25]OFD Sender: No OFD packet to send [01:56:30]OFD Sender: No OFD packet to send [01:56:35]OFD Sender: No OFD packet to send [01:56:40]OFD Sender: No OFD packet to send [01:56:45]OFD Sender: No OFD packet to send [01:56:50]OFD Sender: No OFD packet to send [01:56:55]OFD Sender: No OFD packet to send [01:57:00]OFD Sender: No OFD packet to send [01:57:05]OFD Sender: No OFD packet to send [01:57:10]OFD Sender: No OFD packet to send [01:57:15]OFD Sender: No OFD packet to send [01:57:20]OFD Sender: No OFD packet to send [01:57:25]OFD Sender: No OFD packet to send [01:57:30]OFD Sender: No OFD packet to send [01:57:35]OFD Sender: No OFD packet to send [01:57:40]OFD Sender: No OFD packet to send [01:57:45]OFD Sender: No OFD packet to send [01:57:50]OFD Sender: No OFD packet to send [01:57:55]OFD Sender: No OFD packet to send [01:58:00]OFD Sender: No OFD packet to send [01:58:05]OFD Sender: No OFD packet to send [01:58:10]OFD Sender: No OFD packet to send [01:58:15]OFD Sender: No OFD packet to send [01:58:20]OFD Sender: No OFD packet to send [01:58:25]OFD Sender: No OFD packet to send [01:58:30]OFD Sender: No OFD packet to send [01:58:35]OFD Sender: No OFD packet to send [01:58:40]OFD Sender: No OFD packet to send [01:58:45]OFD Sender: No OFD packet to send [01:58:50]OFD Sender: No OFD packet to send [01:58:55]OFD Sender: No OFD packet to send [01:59:00]OFD Sender: No OFD packet to send [01:59:05]OFD Sender: No OFD packet to send [01:59:10]OFD Sender: No OFD packet to send [01:59:15]OFD Sender: No OFD packet to send [01:59:20]OFD Sender: No OFD packet to send [01:59:25]OFD Sender: No OFD packet to send [01:59:30]OFD Sender: No OFD packet to send [01:59:35]OFD Sender: No OFD packet to send [01:59:40]OFD Sender: No OFD packet to send [01:59:45]OFD Sender: No OFD packet to send [01:59:50]OFD Sender: No OFD packet to send [01:59:55]OFD Sender: No OFD packet to send [02:00:00]OFD Sender: No OFD packet to send [02:00:05]OFD Sender: No OFD packet to send [02:00:10]OFD Sender: No OFD packet to send [02:00:15]OFD Sender: No OFD packet to send [02:00:20]OFD Sender: No OFD packet to send [02:00:25]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:35]OFD Sender: No OFD packet to send [02:01:40]OFD Sender: No OFD packet to send [02:01:45]OFD Sender: No OFD packet to send [02:01:50]OFD Sender: No OFD packet to send [02:01:55]OFD Sender: No OFD packet to send [02:02:00]OFD Sender: No OFD packet to send [02:02:06]OFD Sender: No OFD packet to send [02:02:11]OFD Sender: No OFD packet to send [02:02:16]OFD Sender: No OFD packet to send [02:02:21]OFD Sender: No OFD packet to send [02:02:26]OFD Sender: No OFD packet to send [02:02:31]OFD Sender: No OFD packet to send [02:02:36]OFD Sender: No OFD packet to send [02:02:41]OFD Sender: No OFD packet to send [02:02:46]OFD Sender: No OFD packet to send [02:02:47]ConnectInit Can't connect to host [02:02:51]OFD Sender: No OFD packet to send [02:02:56]OFD Sender: No OFD packet to send [02:03:01]OFD Sender: No OFD packet to send [02:03:06]OFD Sender: No OFD packet to send [02:03:11]OFD Sender: No OFD packet to send [02:03:16]OFD Sender: No OFD packet to send [02:03:21]OFD Sender: No OFD packet to send [02:03:26]OFD Sender: No OFD packet to send [02:03:31]OFD Sender: No OFD packet to send [02:03:36]OFD Sender: No OFD packet to send [02:03:41]OFD Sender: No OFD packet to send [02:03:46]OFD Sender: No OFD packet to send [02:03:51]OFD Sender: No OFD packet to send [02:03:56]OFD Sender: No OFD packet to send [02:04:01]OFD Sender: No OFD packet to send [02:04:06]OFD Sender: No OFD packet to send [02:04:11]OFD Sender: No OFD packet to send [02:04:16]OFD Sender: No OFD packet to send [02:04:21]OFD Sender: No OFD packet to send [02:04:26]OFD Sender: No OFD packet to send [02:04:31]OFD Sender: No OFD packet to send [02:04:36]OFD Sender: No OFD packet to send [02:04:41]OFD Sender: No OFD packet to send [02:04:46]OFD Sender: No OFD packet to send [02:04:51]OFD Sender: No OFD packet to send [02:04:56]OFD Sender: No OFD packet to send [02:05:01]OFD Sender: No OFD packet to send [02:05:06]OFD Sender: No OFD packet to send [02:05:11]OFD Sender: No OFD packet to send [02:05:16]OFD Sender: No OFD packet to send [02:05:21]OFD Sender: No OFD packet to send [02:05:26]OFD Sender: No OFD packet to send [02:05:31]OFD Sender: No OFD packet to send [02:05:36]OFD Sender: No OFD packet to send [02:05:41]OFD Sender: No OFD packet to send [02:05:46]OFD Sender: No OFD packet to send [02:05:50]accept exits with 9 [02:05:50]New connection [02:05:50]New thread 3067247972 created [02:05:50]Thread 3067391332 joined [02:05:50]Waiting for new connection... [02:05:50] Sock 9.Parse request [02:05:50]Sock 9.Check first char [02:05:50]Sock 9.First char is OK [02:05:50]request: POST /json_proto HTTP/1.0 [02:05:50]Method: POST [02:05:50]URL: /json_proto [02:05:50]Method is POST - this is cgi request [02:05:50]url: /json_proto [02:05:50]query_string will be loaded in cgi processing [02:05:50]execute_cgi json_proto POST (null) [02:05:50]execute_cgi path=json_proto method=POST [02:05:50]POST find Content-Length [02:05:50]Host: 172.17.54.195:8080 [02:05:50]Content-Length: 684 [02:05:50]Content-Type: application/json [02:05:50] [02:05:50]POST finish read [02:05:50]Found Content-Length = 684 [02:05:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16415", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 28.280, "sum" : 1100.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 1100.00, "payments": [ { "type": 0, "sum" : 1100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:05:50]execute_script... [02:05:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)16415", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 38.90, "quantity" : 28.280, "sum" : 1100.09, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 1100.00, "payments": [ { "type": 0, "sum" : 1100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:05:50]POST & json_proto [02:05:50]process_json_proto [02:05:50]json parsed OK: [02:05:50]protocol is kg_v1.0 [02:05:50]action value=close_receipt [02:05:50]process_action close_receipt [02:05:50]cmd_close_receipt [02:05:50]MH_GetDate [02:05:50]Write to MH i2c: F0 00 00 8C 0A 85 [02:05:50]Write i2c OK [02:05:50]MH_I2C_Read... [02:05:50]Read from MH i2c: F0 [02:05:50]MH_I2C_Read... [02:05:50]Read from MH i2c: F0 09 00 [02:05:50]MH_I2C_Read... [02:05:50]Read from MH i2c: F0 09 00 8C 0A 00 00 E6 22 67 8D 90 A3 66 23 [02:05:50]GetLastDocTimeStamp 1730337282 [02:05:50]current date 1730340352 [02:05:50]FM_GetShiftState [02:05:50]SAM_PROTO_GetShiftState [02:05:50]wFMCommunicate request_size=4 [02:05:50]MH_SAM_APDU [02:05:50]CAPDU: 80 13 01 00 [02:05:50]Write to MH i2c: E2 08 00 8D 0A 80 13 01 00 00 00 00 00 14 [02:05:50]Write i2c OK [02:05:50]MH_I2C_Read... [02:05:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:05:50]Read from MH i2c: E2 [02:05:50]MH_I2C_Read... [02:05:50]Read from MH i2c: E2 0E 00 [02:05:50]MH_I2C_Read... [02:05:50]Read from MH i2c: E2 0E 00 8D 0A 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 5C [02:05:50]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [02:05:50]wFMCommunicate OK [02:05:50]SAM_PROTO_GetShiftState done [02:05:50]FM_GetShiftState done [02:05:50]opened in 1730333927 [02:05:50]opened+sec_in_day 1730420327 [02:05:50]quantity*price = 110009 [02:05:50]sum+1 = 110010 [02:05:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.09 ИТОГО: 1100.00 Внесено: 3000.00 СДАЧА: 1900.00 НСП 1% : 9.73 НДС 12% : 116.82 Наличными: 1100.00 Безнал.: 0.00 Место: АЗС № 178 "Партнер Нефть" Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 СНО: Общий режим Чек 6 31.10.2024 02:05 Смена: 174 ФФД: 1.0 ЗНМ: 0300000014 РНМ: 0000000000161798 Версия ККМ: v1.0 ФМ: 0000000000963325 ФД: 15866 ФПД: 149511014457612 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T020552&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15866&fm=149511014457612&tin=02508201610067®Number=0000000000161798&sum=110000 [02:05:51]StoreToDocumentArchive [02:05:51]shift 174 fd 15866 [02:05:51]save to /storage/0174/doc_00015866 [02:05:51]save last doc name /storage/0174/doc_00015866 to /storage/kkm_last_doc_name [02:05:51]save OK [02:05:51]Clear old archive folders... [02:05:51]ProcessDocumentItem done err = 0, tmpTLVsize=250 [02:05:51]tlvbuf is 01F472B0 [02:05:51]SAM_PROTO_ClearQueue [02:05:51]wFMCommunicate request_size=4 [02:05:51]MH_SAM_APDU [02:05:51]CAPDU: 80 09 00 00 [02:05:51]Write to MH i2c: E2 08 00 9A 0A 80 09 00 00 00 00 00 00 16 [02:05:51]Write i2c OK [02:05:51]MH_I2C_Read... [02:05:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:05:52]Read from MH i2c: E2 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 03 00 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 03 00 9A 0A 00 90 00 18 [02:05:52]RAPDU: 90 00 [02:05:52]wFMCommunicate OK [02:05:52]SAM_PROTO_ClearQueue done [02:05:52]KKMCreateOFDPacket [02:05:52]OFDProtocolAddRootSTLVToBuf [02:05:52]FM_MakeSignedData [02:05:52]FM_MakeSignedData [02:05:52]SAM_PROTO_SignData [02:05:52]wFMCommunicate request_size=4 [02:05:52]MH_SAM_APDU [02:05:52]CAPDU: 80 0D 01 02 [02:05:52]Write to MH i2c: E2 08 00 9B 0A 80 0D 01 02 00 00 00 00 1E [02:05:52]Write i2c OK [02:05:52]MH_I2C_Read... [02:05:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:05:52]Read from MH i2c: E2 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 03 00 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 03 00 9B 0A 00 90 00 19 [02:05:52]RAPDU: 90 00 [02:05:52]wFMCommunicate OK [02:05:52]wFMCommunicate request_size=255 [02:05:52]MH_SAM_APDU [02:05:52]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 78 6E 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 B9 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 2D 00 00 00 00 07 04 06 00 B0 AD 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 00 E6 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 FA 3D 00 00 35 04 06 00 87 FA [02:05:52]Write to MH i2c: E2 02 01 9C 0A 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 78 6E 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 B9 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 2D 00 00 00 00 07 04 06 00 B0 AD 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 00 E6 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 FA 3D 00 00 35 04 06 00 87 FA 00 00 96 [02:05:52]Write i2c OK [02:05:52]MH_I2C_Read... [02:05:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:05:52]Read from MH i2c: E2 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 03 00 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 03 00 9C 0A 00 90 00 1A [02:05:52]RAPDU: 90 00 [02:05:52]wFMCommunicate OK [02:05:52]wFMCommunicate request_size=9 [02:05:52]MH_SAM_APDU [02:05:52]CAPDU: 80 0D 02 02 04 BE E8 21 0C [02:05:52]Write to MH i2c: E2 0C 00 9D 0A 80 0D 02 02 04 00 BE E8 21 0C 00 00 FC [02:05:52]Write i2c OK [02:05:52]MH_I2C_Read... [02:05:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:05:52]Read from MH i2c: E2 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 03 00 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 03 00 9D 0A 00 90 00 1B [02:05:52]RAPDU: 90 00 [02:05:52]wFMCommunicate OK [02:05:52]wFMCommunicate request_size=4 [02:05:52]MH_SAM_APDU [02:05:52]CAPDU: 80 0D 03 02 [02:05:52]Write to MH i2c: E2 08 00 9E 0A 80 0D 03 02 00 00 00 00 23 [02:05:52]Write i2c OK [02:05:52]MH_I2C_Read... [02:05:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:05:52]Read from MH i2c: E2 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 0B 00 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 0B 00 9E 0A 00 64 DC 65 99 85 CA 2C C3 90 00 A0 [02:05:52]RAPDU: 64 DC 65 99 85 CA 2C C3 90 00 [02:05:52]wFMCommunicate OK [02:05:52]SAM_PROTO_SignData done [02:05:52]FM_MakeSignedData done [02:05:52]CreateOFDProtocolMessage [02:05:52]wFMCommunicate request_size=4 [02:05:52]MH_SAM_APDU [02:05:52]CAPDU: 80 11 00 00 [02:05:52]Write to MH i2c: E2 08 00 9F 0A 80 11 00 00 00 00 00 00 23 [02:05:52]Write i2c OK [02:05:52]MH_I2C_Read... [02:05:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:05:52]Read from MH i2c: E2 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 17 00 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: E2 17 00 9F 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 72 [02:05:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [02:05:52]wFMCommunicate OK [02:05:52]CreateOFDProtocolMessage done [02:05:52]OFDSenderStorePacket 15866 [02:05:52]StoreOFDPacket docnum=15866 [02:05:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 03 1E 06 01 6D CA 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 78 6E 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 B9 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 2D 00 00 00 00 07 04 06 00 B0 AD 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 00 E6 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 FA 3D 00 00 35 04 06 00 87 FA BE E8 21 0C 64 DC 65 99 85 CA 2C C3 [02:05:52]CheckFolder [02:05:52]dirname=/storage/ofd_packets [02:05:52]CheckFolder done [02:05:52]ProducePacketName [02:05:52]name=ofd_packets/00015866 [02:05:52]NVStorageSaveData ofd_packets/00015866 [02:05:52]File name is /storage/ofd_packets/00015866 [02:05:52]Write 300 bytes [02:05:52]NVStorageSaveData done [02:05:52]OFDSenderStorePacket done [02:05:52]KKMCreateOFDPacket done [02:05:52]NVStorageSaveData kkm_last_timestamp [02:05:52]File name is /storage/kkm_last_timestamp [02:05:52]Write 4 bytes [02:05:52]NVStorageSaveData done [02:05:52]ExternCall_PrintAddStr [02:05:52]wPrintStart [02:05:52]Write to MH i2c: 01 00 00 A0 0A AA [02:05:52]Write i2c OK [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: 01 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: 01 07 00 [02:05:52]MH_I2C_Read... [02:05:52]Read from MH i2c: 01 07 00 A0 0A 00 00 00 00 00 FF 0F BF [02:05:52]RasterBufferAndPrint [02:05:52]line Счет N : (1)16415 [02:05:52]line ИНН: 02508201610067 [02:05:52]line Контрольно-Кассовый Чек [02:05:52]line ПРОДАЖА [02:05:52]line ТРК (МРК, ГНК) : 41 [02:05:52]line Товар: 2711190000 [02:05:52]line ГАЗ-К-5 [02:05:52]line 28.280 * 38.90 [02:05:52]line = 1100.09 [02:05:52]line НДС 12% НСП 1% [02:05:52]line > о реализуемом товаре [02:05:52]line ОКРУГЛЕНИЕ: -0.09 [02:05:52]line ИТОГО: 1100.00 [02:05:52]line Внесено: 3000.00 [02:05:52]line СДАЧА: 1900.00 [02:05:52]line НСП 1% : 9.73 [02:05:52]line НДС 12% : 116.82 [02:05:52]line Наличными: 1100.00 [02:05:52]line Безнал.: 0.00 [02:05:52]line Место: АЗС № 178 "Партнер Нефть" [02:05:52]line Адрес: 720000, Джалал Абадская обл., с. Уч-Терек 41.766136,73.195838 [02:05:52]line СНО: Общий режим [02:05:52]line Чек 6 31.10.2024 02:05 [02:05:52]line Смена: 174 ФФД: 1.0 [02:05:52]line ЗНМ: 0300000014 [02:05:52]line РНМ: 0000000000161798 [02:05:52]line Версия ККМ: v1.0 [02:05:52]line ФМ: 0000000000963325 [02:05:52]line ФД: 15866 [02:05:52]line ФПД: 149511014457612 [02:05:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T020552&type=1&operation_type=1&fn_number=0000000000963325&fd_number=15866&fm=149511014457612&tin=02508201610067®Number=0000000000161798&sum=110000 [02:05:52]OFD Sender: Processing packet 15866 [packets to send 4, broken 3] [02:05:52]ProducePacketName [02:05:52]name=ofd_packets/00015866 [02:05:52]OFD Sender: To server: pG, [02:05:52]CommunicateWithHost lk.salyk.kg:30040 [02:05:52]ConnectInit lk.salyk.kg [02:05:52]written 0, free lines is 4095 [02:05:53]Connected sock=10 [02:05:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0E 01 00 00 03 1E 06 01 6D CA 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 78 6E 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 B9 AD 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 AD 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 2D 00 00 00 00 07 04 06 00 B0 AD 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 00 E6 22 67 0E 04 04 00 AE 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 FA 3D 00 00 35 04 06 00 87 FA BE E8 21 0C 64 DC 65 99 85 CA 2C C3 [02:05:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 4F 00 00 00 5D EB 47 00 1B F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 10 04 04 00 FA 3D 00 00 F4 03 04 00 E8 90 22 67 B6 04 01 00 00 39 24 6F 63 8C C1 75 4B [02:05:53]CommunicateWithHost err = 0 [02:05:53]CheckOFDResponse [02:05:53]1017 (14) - 77093643461234 [02:05:53]1041 (16) - 0000000000963325 [02:05:53]1040 (4) - 15866 [02:05:53]1012 (4) - 30.10.2024 20:02 [02:05:53]1206 (1) - 0 [02:05:53]OFD Sender: Remove packet 15866 [02:05:53]ProducePacketName [02:05:53]name=ofd_packets/00015866 [02:05:53]NVStorageDeleteData [02:05:53]Write to MH i2c: 01 00 00 CB 0A D5 [02:05:53]Write i2c OK [02:05:53]MH_I2C_Read... [02:05:53]Read from MH i2c: 01 [02:05:53]MH_I2C_Read... [02:05:53]Read from MH i2c: 01 07 00 [02:05:53]MH_I2C_Read... [02:05:53]Read from MH i2c: 01 07 00 CB 0A 00 00 00 00 00 01 0D EA [02:05:53]RasterBufferAndPrint [02:05:53]line [02:05:53]line [02:05:53]line [02:05:53]line [02:05:53]line [02:05:53]written 0, free lines is 3335 [02:05:53]MH_Cut [02:05:53]Write to MH i2c: D1 01 00 D2 0A 01 AE [02:05:53]Write i2c OK [02:05:53]MH_I2C_Read... [02:05:53]Read from MH i2c: D1 [02:05:53]MH_I2C_Read... [02:05:53]Read from MH i2c: D1 01 00 [02:05:53]MH_I2C_Read... [02:05:53]Read from MH i2c: D1 01 00 D2 0A 00 AD [02:05:53]Write to MH i2c: 01 00 00 D3 0A DD [02:05:53]Write i2c OK [02:05:53]MH_I2C_Read... [02:05:53]OFD Sender: No OFD packet to send [02:05:53]*** Cut start [02:05:53]*** Partial cut [02:05:53]*** CUTSNS_PIN = 1 [02:05:54]*** CUTSNS_PIN = 0 [02:05:54]*** Brake cut motor [02:05:54]Read from MH i2c: 01 [02:05:54]MH_I2C_Read... [02:05:54]*** Stop cut motor [02:05:54]*** Cut end [02:05:54]Read from MH i2c: 01 07 00 [02:05:54]MH_I2C_Read... [02:05:54]Read from MH i2c: 01 07 00 D3 0A 00 00 00 00 00 FF 0F F2 [02:05:54]process_action close_receipt done [02:05:54]requested_data is exist [02:05:54]produce_requested_data [02:05:54]requested_item fm.sn is exist - process it [02:05:54]wFMCommunicate request_size=4 [02:05:54]MH_SAM_APDU [02:05:54]CAPDU: 80 11 00 00 [02:05:54]Write to MH i2c: E2 08 00 D4 0A 80 11 00 00 00 00 00 00 58 [02:05:54]Write i2c OK [02:05:54]MH_I2C_Read... [02:05:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:05:54]Read from MH i2c: E2 [02:05:54]MH_I2C_Read... [02:05:54]Read from MH i2c: E2 17 00 [02:05:54]MH_I2C_Read... [02:05:54]Read from MH i2c: E2 17 00 D4 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 A7 [02:05:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 90 00 [02:05:54]wFMCommunicate OK [02:05:54]requested_item fd.num is exist - process it [02:05:54]SAM_PROTO_GetFieldsCounters [02:05:54]wFMCommunicate request_size=4 [02:05:54]MH_SAM_APDU [02:05:54]CAPDU: 80 13 00 00 [02:05:54]Write to MH i2c: E2 08 00 D5 0A 80 13 00 00 00 00 00 00 5B [02:05:54]Write i2c OK [02:05:54]MH_I2C_Read... [02:05:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:05:54]Read from MH i2c: E2 [02:05:54]MH_I2C_Read... [02:05:54]Read from MH i2c: E2 62 00 [02:05:54]MH_I2C_Read... [02:05:54]Read from MH i2c: E2 62 00 D5 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 FA 3D 00 00 0E 04 04 00 AE 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 76 [02:05:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 33 32 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 31 37 39 38 10 04 04 00 FA 3D 00 00 0E 04 04 00 AE 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:05:54]wFMCommunicate OK [02:05:54]SAM_PROTO_GetFieldsCounters done [02:05:54]requested_item shift.num is exist - process it [02:05:54]requested_item shift.opened is exist - process it [02:05:54]req_shift_opened [02:05:54]FM_GetShiftState [02:05:54]SAM_PROTO_GetShiftState [02:05:54]wFMCommunicate request_size=4 [02:05:54]MH_SAM_APDU [02:05:54]CAPDU: 80 13 01 00 [02:05:54]Write to MH i2c: E2 08 00 D6 0A 80 13 01 00 00 00 00 00 5D [02:05:54]Write i2c OK [02:05:54]MH_I2C_Read... [02:05:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:05:54]Read from MH i2c: E2 [02:05:54]MH_I2C_Read... [02:05:54]Read from MH i2c: E2 0E 00 [02:05:54]MH_I2C_Read... [02:05:54]Read from MH i2c: E2 0E 00 D6 0A 00 09 00 01 E7 CC 22 67 00 00 00 00 90 00 A5 [02:05:54]RAPDU: 09 00 01 E7 CC 22 67 00 00 00 00 90 00 [02:05:54]wFMCommunicate OK [02:05:54]SAM_PROTO_GetShiftState done [02:05:54]FM_GetShiftState done [02:05:54]req_shift_opened done [02:05:54]requested_item shift.open_date is exist - process it [02:05:54]req_shift_open_date [02:05:54]req_shift_open_date done [02:05:54]produce_requested_data done [02:05:54]produce_requested_data return {"fm.sn":"0000000000963325","fd.num":15866,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927} [02:05:54]process_action_free close_receipt [02:05:54]json_value_free [02:05:54]json_value_free done [02:05:54]process_json_proto returns [02:05:54]Send response to host [02:05:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000963325","fd.num":15866,"shift.num":174,"shift.opened":1,"shift.open_date":1730333927}}} [02:05:54]free response buf [02:05:54]execute_script done [02:05:54]execute_script returns [02:05:54]free content buf [02:05:54]Sock 9.Close socket [02:05:54]Sock 9.Thread stoped [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:39]OFD Sender: No OFD packet to send [02:12:44]OFD Sender: No OFD packet to send [02:12:49]OFD Sender: No OFD packet to send [02:12:54]OFD Sender: No OFD packet to send [02:12:59]OFD Sender: No OFD packet to send [02:13:04]OFD Sender: No OFD packet to send [02:13:09]OFD Sender: No OFD packet to send [02:13:14]OFD Sender: No OFD packet to send [02:13:19]OFD Sender: No OFD packet to send [02:13:24]OFD Sender: No OFD packet to send [02:13:29]OFD Sender: No OFD packet to send [02:13:34]OFD Sender: No OFD packet to send [02:13:39]OFD Sender: No OFD packet to send [02:13:44]OFD Sender: No OFD packet to send [02:13:49]OFD Sender: No OFD packet to send [02:13:54]OFD Sender: No OFD packet to send [02:13:59]OFD Sender: No OFD packet to send [02:14:04]OFD Sender: No OFD packet to send [02:14:09]OFD Sender: No OFD packet to send [02:14:14]OFD Sender: No OFD packet to send [02:14:19]OFD Sender: No OFD packet to send [02:14:24]OFD Sender: No OFD packet to send [02:14:29]OFD Sender: No OFD packet to send [02:14:34]OFD Sender: No OFD packet to send [02:14:39]OFD Sender: No OFD packet to send [02:14:44]OFD Sender: No OFD packet to send [02:14:49]OFD Sender: No OFD packet to send [02:14:54]OFD Sender: No OFD packet to send [02:14:59]OFD Sender: No OFD packet to send [02:15:04]OFD Sender: No OFD packet to send [02:15:09]OFD Sender: No OFD packet to send [02:15:14]OFD Sender: No OFD packet to send [02:15:19]OFD Sender: No OFD packet to send [02:15:24]OFD Sender: No OFD packet to send [02:15:29]OFD Sender: No OFD packet to send [02:15:34]OFD Sender: No OFD packet to send [02:15:39]OFD Sender: No OFD packet to send [02:15:44]OFD Sender: No OFD packet to send [02:15:49]OFD Sender: No OFD packet to send [02:15:54]OFD Sender: No OFD packet to send [02:15:59]OFD Sender: No OFD packet to send [02:16:04]OFD Sender: No OFD packet to send [02:16:09]OFD Sender: No OFD packet to send [02:16:14]OFD Sender: No OFD packet to send [02:16:19]OFD Sender: No OFD packet to send [02:16:24]OFD Sender: No OFD packet to send [02:16:29]OFD Sender: No OFD packet to send [02:16:34]OFD Sender: No OFD packet to send [02:16:39]OFD Sender: No OFD packet to send [02:16:44]OFD Sender: No OFD packet to send [02:16:49]OFD Sender: No OFD packet to send [02:16:54]OFD Sender: No OFD packet to send [02:16:59]OFD Sender: No OFD packet to send [02:17:04]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:19]OFD Sender: No OFD packet to send [02:26:24]OFD Sender: No OFD packet to send [02:26:29]OFD Sender: No OFD packet to send [02:26:34]OFD Sender: No OFD packet to send [02:26:39]OFD Sender: No OFD packet to send [02:26:44]OFD Sender: No OFD packet to send [02:26:49]OFD Sender: No OFD packet to send [02:26:54]OFD Sender: No OFD packet to send [02:26:59]OFD Sender: No OFD packet to send [02:27:04]OFD Sender: No OFD packet to send [02:27:09]OFD Sender: No OFD packet to send [02:27:14]OFD Sender: No OFD packet to send [02:27:19]OFD Sender: No OFD packet to send [02:27:24]OFD Sender: No OFD packet to send [02:27:29]OFD Sender: No OFD packet to send [02:27:34]OFD Sender: No OFD packet to send [02:27:39]OFD Sender: No OFD packet to send [02:27:44]OFD Sender: No OFD packet to send [02:27:49]OFD Sender: No OFD packet to send [02:27:54]OFD Sender: No OFD packet to send [02:27:59]OFD Sender: No OFD packet to send [02:28:04]OFD Sender: No OFD packet to send [02:28:09]OFD Sender: No OFD packet to send [02:28:14]OFD Sender: No OFD packet to send [02:28:19]OFD Sender: No OFD packet to send [02:28:24]OFD Sender: No OFD packet to send [02:28:29]OFD Sender: No OFD packet to send [02:28:34]OFD Sender: No OFD packet to send [02:28:39]OFD Sender: No OFD packet to send [02:28:44]OFD Sender: No OFD packet to send [02:28:49]OFD Sender: No OFD packet to send [02:28:54]OFD Sender: No OFD packet to send [02:28:59]OFD Sender: No OFD packet to send [02:29:04]OFD Sender: No OFD packet to send [02:29:09]OFD Sender: No OFD packet to send [02:29:14]OFD Sender: No OFD packet to send [02:29:19]OFD Sender: No OFD packet to send [02:29:24]OFD Sender: No OFD packet to send [02:29:29]OFD Sender: No OFD packet to send [02:29:34]OFD Sender: No OFD packet to send [02:29:39]OFD Sender: No OFD packet to send [02:29:44]OFD Sender: No OFD packet to send [02:29:49]OFD Sender: No OFD packet to send [02:29:54]OFD Sender: No OFD packet to send [02:29:59]OFD Sender: No OFD packet to send [02:30:04]OFD Sender: No OFD packet to send [02:30:09]OFD Sender: No OFD packet to send [02:30:14]OFD Sender: No OFD packet to send [02:30:19]OFD Sender: No OFD packet to send [02:30:24]OFD Sender: No OFD packet to send [02:30:29]OFD Sender: No OFD packet to send [02:30:34]OFD Sender: No OFD packet to send [02:30:39]OFD Sender: No OFD packet to send [02:30:44]OFD Sender: No OFD packet to send [02:30:49]OFD Sender: No OFD packet to send [02:30:54]OFD Sender: No OFD packet to send [02:30:59]OFD Sender: No OFD packet to send [02:31:04]OFD Sender: No OFD packet to send [02:31:09]OFD Sender: No OFD packet to send [02:31:14]OFD Sender: No OFD packet to send [02:31:19]OFD Sender: No OFD packet to send [02:31:24]OFD Sender: No OFD packet to send [02:31:29]OFD Sender: No OFD packet to send [02:31:34]OFD Sender: No OFD packet to send [02:31:39]OFD Sender: No OFD packet to send [02:31:44]OFD Sender: No OFD packet to send [02:31:49]OFD Sender: No OFD packet to send [02:31:54]OFD Sender: No OFD packet to send [02:31:59]OFD Sender: No OFD packet to send [02:32:04]OFD Sender: No OFD packet to send [02:32:09]OFD Sender: No OFD packet to send [02:32:14]OFD Sender: No OFD packet to send [02:32:19]OFD Sender: No OFD packet to send [02:32:24]OFD Sender: No OFD packet to send [02:32:29]OFD Sender: No OFD packet to send [02:32:34]OFD Sender: No OFD packet to send [02:32:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:32:59]OFD Sender: No OFD packet to send [02:33:04]OFD Sender: No OFD packet to send [02:33:09]OFD Sender: No OFD packet to send [02:33:14]OFD Sender: No OFD packet to send [02:33:19]OFD Sender: No OFD packet to send [02:33:24]OFD Sender: No OFD packet to send [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:54]OFD Sender: No OFD packet to send [02:33:59]OFD Sender: No OFD packet to send [02:34:04]OFD Sender: No OFD packet to send [02:34:09]OFD Sender: No OFD packet to send [02:34:14]OFD Sender: No OFD packet to send [02:34:19]OFD Sender: No OFD packet to send [02:34:24]OFD Sender: No OFD packet to send [02:34:30]OFD Sender: No OFD packet to send [02:34:35]OFD Sender: No OFD packet to send [02:34:40]OFD Sender: No OFD packet to send [02:34:45]OFD Sender: No OFD packet to send [02:34:50]OFD Sender: No OFD packet to send [02:34:55]OFD Sender: No OFD packet to send [02:35:00]OFD Sender: No OFD packet to send [02:35:05]OFD Sender: No OFD packet to send [02:35:10]OFD Sender: No OFD packet to send [02:35:15]OFD Sender: No OFD packet to send [02:35:20]OFD Sender: No OFD packet to send [02:35:25]OFD Sender: No OFD packet to send [02:35:30]OFD Sender: No OFD packet to send [02:35:35]OFD Sender: No OFD packet to send [02:35:40]OFD Sender: No OFD packet to send [02:35:45]OFD Sender: No OFD packet to send [02:35:50]OFD Sender: No OFD packet to send [02:35:55]OFD Sender: No OFD packet to send [02:36:00]OFD Sender: No OFD packet to send [02:36:05]OFD Sender: No OFD packet to send [02:36:10]OFD Sender: No OFD packet to send [02:36:15]OFD Sender: No OFD packet to send [02:36:20]OFD Sender: No OFD packet to send [02:36:25]OFD Sender: No OFD packet to send [02:36:30]OFD Sender: No OFD packet to send [02:36:35]OFD Sender: No OFD packet to send [02:36:40]OFD Sender: No OFD packet to send [02:36:45]OFD Sender: No OFD packet to send [02:36:50]OFD Sender: No OFD packet to send [02:36:55]OFD Sender: No OFD packet to send [02:37:00]OFD Sender: No OFD packet to send [02:37:05]OFD Sender: No OFD packet to send [02:37:10]OFD Sender: No OFD packet to send [02:37:15]OFD Sender: No OFD packet to send [02:37:20]OFD Sender: No OFD packet to send [02:37:25]OFD Sender: No OFD packet to send [02:37:30]OFD Sender: No OFD packet to send [02:37:35]OFD Sender: No OFD packet to send [02:37:40]OFD Sender: No OFD packet to send [02:37:45]OFD Sender: No OFD packet to send [02:37:50]OFD Sender: No OFD packet to send [02:37:55]OFD Sender: No OFD packet to send [02:38:00]OFD Sender: No OFD packet to send [02:38:05]OFD Sender: No OFD packet to send [02:38:10]OFD Sender: No OFD packet to send [02:38:15]OFD Sender: No OFD packet to send [02:38:20]OFD Sender: No OFD packet to send [02:38:25]OFD Sender: No OFD packet to send [02:38:30]OFD Sender: No OFD packet to send [02:38:35]OFD Sender: No OFD packet to send [02:38:40]OFD Sender: No OFD packet to send [02:38:45]OFD Sender: No OFD packet to send [02:38:50]OFD Sender: No OFD packet to send [02:38:55]OFD Sender: No OFD packet to send [02:39:00]OFD Sender: No OFD packet to send [02:39:05]OFD Sender: No OFD packet to send [02:39:10]OFD Sender: No OFD packet to send [02:39:15]OFD Sender: No OFD packet to send [02:39:20]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:35]OFD Sender: No OFD packet to send [02:39:40]OFD Sender: No OFD packet to send [02:39:45]OFD Sender: No OFD packet to send [02:39:50]OFD Sender: No OFD packet to send [02:39:55]OFD Sender: No OFD packet to send [02:40:00]OFD Sender: No OFD packet to send [02:40:05]OFD Sender: No OFD packet to send [02:40:10]OFD Sender: No OFD packet to send [02:40:15]OFD Sender: No OFD packet to send [02:40:20]OFD Sender: No OFD packet to send [02:40:25]OFD Sender: No OFD packet to send [02:40:30]OFD Sender: No OFD packet to send [02:40:35]OFD Sender: No OFD packet to send [02:40:40]OFD Sender: No OFD packet to send [02:40:45]OFD Sender: No OFD packet to send [02:40:50]OFD Sender: No OFD packet to send [02:40:55]OFD Sender: No OFD packet to send [02:41:00]OFD Sender: No OFD packet to send [02:41:05]OFD Sender: No OFD packet to send [02:41:10]OFD Sender: No OFD packet to send [02:41:15]OFD Sender: No OFD packet to send [02:41:20]OFD Sender: No OFD packet to send [02:41:25]OFD Sender: No OFD packet to send [02:41:30]OFD Sender: No OFD packet to send [02:41:35]OFD Sender: No OFD packet to send [02:41:40]OFD Sender: No OFD packet to send [02:41:45]OFD Sender: No OFD packet to send [02:41:50]OFD Sender: No OFD packet to send [02:41:55]OFD Sender: No OFD packet to send [02:42:00]OFD Sender: No OFD packet to send [02:42:05]OFD Sender: No OFD packet to send [02:42:10]OFD Sender: No OFD packet to send [02:42:15]OFD Sender: No OFD packet to send [02:42:20]OFD Sender: No OFD packet to send [02:42:25]OFD Sender: No OFD packet to send [02:42:30]OFD Sender: No OFD packet to send [02:42:35]OFD Sender: No OFD packet to send [02:42:40]OFD Sender: No OFD packet to send [02:42:45]OFD Sender: No OFD packet to send [02:42:50]OFD Sender: No OFD packet to send [02:42:55]OFD Sender: No OFD packet to send [02:43:00]OFD Sender: No OFD packet to send [02:43:05]OFD Sender: No OFD packet to send [02:43:10]OFD Sender: No OFD packet to send [02:43:15]OFD Sender: No OFD packet to send [02:43:20]OFD Sender: No OFD packet to send [02:43:25]OFD Sender: No OFD packet to send [02:43:30]OFD Sender: No OFD packet to send [02:43:35]OFD Sender: No OFD packet to send [02:43:40]OFD Sender: No OFD packet to send [02:43:45]OFD Sender: No OFD packet to send [02:43:50]OFD Sender: No OFD packet to send [02:43:55]OFD Sender: No OFD packet to send [02:44:00]OFD Sender: No OFD packet to send [02:44:05]OFD Sender: No OFD packet to send [02:44:10]OFD Sender: No OFD packet to send [02:44:15]OFD Sender: No OFD packet to send [02:44:20]OFD Sender: No OFD packet to send [02:44:25]OFD Sender: No OFD packet to send [02:44:30]OFD Sender: No OFD packet to send [02:44:35]OFD Sender: No OFD packet to send [02:44:40]OFD Sender: No OFD packet to send [02:44:45]OFD Sender: No OFD packet to send [02:44:50]OFD Sender: No OFD packet to send [02:44:55]OFD Sender: No OFD packet to send [02:45:00]OFD Sender: No OFD packet to send [02:45:05]OFD Sender: No OFD packet to send [02:45:10]OFD Sender: No OFD packet to send [02:45:15]OFD Sender: No OFD packet to send [02:45:20]OFD Sender: No OFD packet to send [02:45:25]OFD Sender: No OFD packet to send [02:45:30]OFD Sender: No OFD packet to send [02:45:35]OFD Sender: No OFD packet to send [02:45:40]OFD Sender: No OFD packet to send [02:45:45]OFD Sender: No OFD packet to send [02:45:50]OFD Sender: No OFD packet to send [02:45:55]OFD Sender: No OFD packet to send [02:46:00]OFD Sender: No OFD packet to send [02:46:05]OFD Sender: No OFD packet to send [02:46:10]OFD Sender: No OFD packet to send [02:46:15]OFD Sender: No OFD packet to send [02:46:20]OFD Sender: No OFD packet to send [02:46:25]OFD Sender: No OFD packet to send [02:46:30]OFD Sender: No OFD packet to send [02:46:35]OFD Sender: No OFD packet to send [02:46:40]OFD Sender: No OFD packet to send [02:46:45]OFD Sender: No OFD packet to send [02:46:50]OFD Sender: No OFD packet to send [02:46:55]OFD Sender: No OFD packet to send [02:47:00]OFD Sender: No OFD packet to send [02:47:05]OFD Sender: No OFD packet to send [02:47:10]OFD Sender: No OFD packet to send [02:47:15]OFD Sender: No OFD packet to send [02:47:20]OFD Sender: No OFD packet to send [02:47:25]OFD Sender: No OFD packet to send [02:47:30]OFD Sender: No OFD packet to send [02:47:35]OFD Sender: No OFD packet to send [02:47:40]OFD Sender: No OFD packet to send [02:47:45]OFD Sender: No OFD packet to send [02:47:50]OFD Sender: No OFD packet to send [02:47:55]OFD Sender: No OFD packet to send [02:48:00]OFD Sender: No OFD packet to send [02:48:05]OFD Sender: No OFD packet to send [02:48:10]OFD Sender: No OFD packet to send [02:48:15]OFD Sender: No OFD packet to send [02:48:20]OFD Sender: No OFD packet to send [02:48:25]OFD Sender: No OFD packet to send [02:48:30]OFD Sender: No OFD packet to send [02:48:35]OFD Sender: No OFD packet to send [02:48:40]OFD Sender: No OFD packet to send [02:48:45]OFD Sender: No OFD packet to send [02:48:50]OFD Sender: No OFD packet to send [02:48:55]OFD Sender: No OFD packet to send [02:49:00]OFD Sender: No OFD packet to send [02:49:05]OFD Sender: No OFD packet to send [02:49:10]OFD Sender: No OFD packet to send [02:49:15]OFD Sender: No OFD packet to send [02:49:20]OFD Sender: No OFD packet to send [02:49:25]OFD Sender: No OFD packet to send [02:49:30]OFD Sender: No OFD packet to send [02:49:35]OFD Sender: No OFD packet to send [02:49:40]OFD Sender: No OFD packet to send [02:49:45]OFD Sender: No OFD packet to send [02:49:50]OFD Sender: No OFD packet to send [02:49:55]OFD Sender: No OFD packet to send [02:50:00]OFD Sender: No OFD packet to send [02:50:05]OFD Sender: No OFD packet to send [02:50:10]OFD Sender: No OFD packet to send [02:50:15]OFD Sender: No OFD packet to send [02:50:20]OFD Sender: No OFD packet to send [02:50:25]OFD Sender: No OFD packet to send [02:50:30]OFD Sender: No OFD packet to send [02:50:35]OFD Sender: No OFD packet to send [02:50:40]OFD Sender: No OFD packet to send [02:50:45]OFD Sender: No OFD packet to send [02:50:50]OFD Sender: No OFD packet to send [02:50:55]OFD Sender: No OFD packet to send [02:51:00]OFD Sender: No OFD packet to send [02:51:05]OFD Sender: No OFD packet to send [02:51:10]OFD Sender: No OFD packet to send [02:51:15]OFD Sender: No OFD packet to send [02:51:20]OFD Sender: No OFD packet to send [02:51:25]OFD Sender: No OFD packet to send [02:51:30]OFD Sender: No OFD packet to send [02:51:35]OFD Sender: No OFD packet to send [02:51:40]OFD Sender: No OFD packet to send [02:51:45]OFD Sender: No OFD packet to send [02:51:50]OFD Sender: No OFD packet to send [02:51:55]OFD Sender: No OFD packet to send [02:52:00]OFD Sender: No OFD packet to send [02:52:05]OFD Sender: No OFD packet to send [02:52:10]OFD Sender: No OFD packet to send [02:52:15]OFD Sender: No OFD packet to send [02:52:20]OFD Sender: No OFD packet to send [02:52:25]OFD Sender: No OFD packet to send [02:52:30]OFD Sender: No OFD packet to send [02:52:35]OFD Sender: No OFD packet to send [02:52:40]OFD Sender: No OFD packet to send [02:52:45]OFD Sender: No OFD packet to send [02:52:50]OFD Sender: No OFD packet to send [02:52:55]OFD Sender: No OFD packet to send [02:53:00]OFD Sender: No OFD packet to send [02:53:05]OFD Sender: No OFD packet to send [02:53:10]OFD Sender: No OFD packet to send [02:53:15]OFD Sender: No OFD packet to send [02:53:20]OFD Sender: No OFD packet to send [02:53:25]OFD Sender: No OFD packet to send [02:53:30]OFD Sender: No OFD packet to send [02:53:35]OFD Sender: No OFD packet to send [02:53:40]OFD Sender: No OFD packet to send [02:53:45]OFD Sender: No OFD packet to send [02:53:50]OFD Sender: No OFD packet to send [02:53:55]OFD Sender: No OFD packet to send [02:54:00]OFD Sender: No OFD packet to send [02:54:05]OFD Sender: No OFD packet to send [02:54:10]OFD Sender: No OFD packet to send [02:54:15]OFD Sender: No OFD packet to send [02:54:20]OFD Sender: No OFD packet to send [02:54:25]OFD Sender: No OFD packet to send [02:54:30]OFD Sender: No OFD packet to send [02:54:35]OFD Sender: No OFD packet to send [02:54:40]OFD Sender: No OFD packet to send [02:54:45]OFD Sender: No OFD packet to send [02:54:50]OFD Sender: No OFD packet to send [02:54:55]OFD Sender: No OFD packet to send [02:55:00]OFD Sender: No OFD packet to send [02:55:05]OFD Sender: No OFD packet to send [02:55:10]OFD Sender: No OFD packet to send [02:55:15]OFD Sender: No OFD packet to send [02:55:20]OFD Sender: No OFD packet to send [02:55:25]OFD Sender: No OFD packet to send [02:55:30]OFD Sender: No OFD packet to send [02:55:35]OFD Sender: No OFD packet to send [02:55:40]OFD Sender: No OFD packet to send [02:55:45]OFD Sender: No OFD packet to send [02:55:51]OFD Sender: No OFD packet to send [02:55:56]OFD Sender: No OFD packet to send [02:56:01]OFD Sender: No OFD packet to send [02:56:06]OFD Sender: No OFD packet to send [02:56:11]OFD Sender: No OFD packet to send [02:56:16]OFD Sender: No OFD packet to send [02:56:21]OFD Sender: No OFD packet to send [02:56:26]OFD Sender: No OFD packet to send [02:56:31]OFD Sender: No OFD packet to send [02:56:36]OFD Sender: No OFD packet to send [02:56:41]OFD Sender: No OFD packet to send [02:56:46]OFD Sender: No OFD packet to send [02:56:51]OFD Sender: No OFD packet to send [02:56:56]OFD Sender: No OFD packet to send [02:57:01]OFD Sender: No OFD packet to send [02:57:06]OFD Sender: No OFD packet to send [02:57:11]OFD Sender: No OFD packet to send [02:57:16]OFD Sender: No OFD packet to send [02:57:21]OFD Sender: No OFD packet to send [02:57:26]OFD Sender: No OFD packet to send [02:57:31]OFD Sender: No OFD packet to send [02:57:36]OFD Sender: No OFD packet to send [02:57:41]OFD Sender: No OFD packet to send [02:57:46]OFD Sender: No OFD packet to send [02:57:51]OFD Sender: No OFD packet to send [02:57:56]OFD Sender: No OFD packet to send [02:58:01]OFD Sender: No OFD packet to send [02:58:06]OFD Sender: No OFD packet to send [02:58:11]OFD Sender: No OFD packet to send [02:58:16]OFD Sender: No OFD packet to send [02:58:21]OFD Sender: No OFD packet to send [02:58:26]OFD Sender: No OFD packet to send [02:58:31]OFD Sender: No OFD packet to send [02:58:36]OFD Sender: No OFD packet to send [02:58:41]OFD Sender: No OFD packet to send [02:58:46]OFD Sender: No OFD packet to send [02:58:51]OFD Sender: No OFD packet to send [02:58:56]OFD Sender: No OFD packet to send [02:59:01]OFD Sender: No OFD packet to send [02:59:06]OFD Sender: No OFD packet to send [02:59:11]OFD Sender: No OFD packet to send [02:59:16]OFD Sender: No OFD packet to send [02:59:21]OFD Sender: No OFD packet to send [02:59:26]OFD Sender: No OFD packet to send [02:59:31]OFD Sender: No OFD packet to send [02:59:36]OFD Sender: No OFD packet to send [02:59:41]OFD Sender: No OFD packet to send [02:59:46]OFD Sender: No OFD packet to send [02:59:51]OFD Sender: No OFD packet to send [02:59:56]OFD Sender: No OFD packet to send [03:00:01]OFD Sender: No OFD packet to send [03:00:06]OFD Sender: No OFD packet to send [03:00:11]OFD Sender: No OFD packet to send [03:00:16]OFD Sender: No OFD packet to send [03:00:21]OFD Sender: No OFD packet to send [03:00:26]OFD Sender: No OFD packet to send [03:00:31]OFD Sender: No OFD packet to send [03:00:36]OFD Sender: No OFD packet to send [03:00:41]OFD Sender: No OFD packet to send [03:00:46]OFD Sender: No OFD packet to send [03:00:51]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send [03:01:11]OFD Sender: No OFD packet to send [03:01:16]OFD Sender: No OFD packet to send [03:01:21]OFD Sender: No OFD packet to send [03:01:26]OFD Sender: No OFD packet to send [03:01:31]OFD Sender: No OFD packet to send [03:01:36]OFD Sender: No OFD packet to send [03:01:41]OFD Sender: No OFD packet to send [03:01:46]OFD Sender: No OFD packet to send [03:01:51]OFD Sender: No OFD packet to send [03:01:56]OFD Sender: No OFD packet to send [03:02:01]OFD Sender: No OFD packet to send [03:02:06]OFD Sender: No OFD packet to send [03:02:11]OFD Sender: No OFD packet to send [03:02:16]OFD Sender: No OFD packet to send [03:02:21]OFD Sender: No OFD packet to send [03:02:26]OFD Sender: No OFD packet to send [03:02:31]OFD Sender: No OFD packet to send [03:02:36]OFD Sender: No OFD packet to send [03:02:41]OFD Sender: No OFD packet to send [03:02:46]OFD Sender: No OFD packet to send [03:02:51]OFD Sender: No OFD packet to send [03:02:56]OFD Sender: No OFD packet to send