[02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:23]accept exits with 7 [03:07:23]New connection [03:07:23]New thread 3067497828 created [03:07:23]Thread 3067354468 joined [03:07:23]Waiting for new connection... [03:07:23] Sock 7.Parse request [03:07:23]Sock 7.Check first char [03:07:23]Sock 7.First char is OK [03:07:23]request: POST /json_proto HTTP/1.0 [03:07:23]Method: POST [03:07:23]URL: /json_proto [03:07:23]Method is POST - this is cgi request [03:07:23]url: /json_proto [03:07:23]query_string will be loaded in cgi processing [03:07:23]execute_cgi json_proto POST (null) [03:07:23]execute_cgi path=json_proto method=POST [03:07:23]POST find Content-Length [03:07:23]Host: 172.17.42.3:8080 [03:07:23]Content-Length: 678 [03:07:23]Content-Type: application/json [03:07:23] [03:07:23]POST finish read [03:07:23]Found Content-Length = 678 [03:07:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46308", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 44.620, "sum" : 3400.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3400.00, "total" : 3400.00, "payments": [ { "type": 0, "sum" : 3400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:07:23]execute_script... [03:07:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46308", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 44.620, "sum" : 3400.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3400.00, "total" : 3400.00, "payments": [ { "type": 0, "sum" : 3400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:07:23]POST & json_proto [03:07:23]process_json_proto [03:07:23]json parsed OK: [03:07:23]protocol is kg_v1.0 [03:07:23]action value=close_receipt [03:07:23]process_action close_receipt [03:07:23]cmd_close_receipt [03:07:23]MH_GetDate [03:07:23]Write to MH i2c: F0 00 00 83 13 85 [03:07:23]Write i2c OK [03:07:23]MH_I2C_Read... [03:07:23]Read from MH i2c: F0 [03:07:23]MH_I2C_Read... [03:07:23]Read from MH i2c: F0 09 00 [03:07:23]MH_I2C_Read... [03:07:23]Read from MH i2c: F0 09 00 83 13 00 6D 51 20 67 0E CB 1F 67 32 [03:07:23]GetLastDocTimeStamp 1730169772 [03:07:23]current date 1730171245 [03:07:23]FM_GetShiftState [03:07:23]SAM_PROTO_GetShiftState [03:07:23]wFMCommunicate request_size=4 [03:07:23]MH_SAM_APDU [03:07:23]CAPDU: 80 13 01 00 [03:07:23]Write to MH i2c: E2 08 00 84 13 80 13 01 00 00 00 00 00 14 [03:07:23]Write i2c OK [03:07:23]MH_I2C_Read... [03:07:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:07:23]Read from MH i2c: E2 [03:07:23]MH_I2C_Read... [03:07:23]Read from MH i2c: E2 0E 00 [03:07:23]MH_I2C_Read... [03:07:23]Read from MH i2c: E2 0E 00 84 13 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 C4 [03:07:23]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [03:07:23]wFMCommunicate OK [03:07:23]SAM_PROTO_GetShiftState done [03:07:23]FM_GetShiftState done [03:07:23]opened in 1730160885 [03:07:23]opened+sec_in_day 1730247285 [03:07:23]quantity*price = 340004 [03:07:23]sum+1 = 340005 [03:07:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.04 ИТОГО: 3400.00 Внесено: 3400.00 СДАЧА: 0.00 НСП 1% : 30.09 НДС 12% : 361.07 Наличными: 3400.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 9 29.10.2024 03:07 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68286 ФПД: 140636372894531 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T030725&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68286&fm=140636372894531&tin=02508201610067®Number=0000000000091759&sum=340000 [03:07:24]StoreToDocumentArchive [03:07:24]shift 548 fd 68286 [03:07:24]save to /storage/0548/doc_00068286 [03:07:24]save last doc name /storage/0548/doc_00068286 to /storage/kkm_last_doc_name [03:07:24]save OK [03:07:24]Clear old archive folders... [03:07:24]ProcessDocumentItem done err = 0, tmpTLVsize=248 [03:07:24]tlvbuf is 005EA520 [03:07:24]SAM_PROTO_ClearQueue [03:07:24]wFMCommunicate request_size=4 [03:07:24]MH_SAM_APDU [03:07:24]CAPDU: 80 09 00 00 [03:07:24]Write to MH i2c: E2 08 00 91 13 80 09 00 00 00 00 00 00 16 [03:07:24]Write i2c OK [03:07:24]MH_I2C_Read... [03:07:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:07:24]Read from MH i2c: E2 [03:07:24]MH_I2C_Read... [03:07:24]Read from MH i2c: E2 03 00 [03:07:24]MH_I2C_Read... [03:07:24]Read from MH i2c: E2 03 00 91 13 00 90 00 18 [03:07:24]RAPDU: 90 00 [03:07:24]wFMCommunicate OK [03:07:24]SAM_PROTO_ClearQueue done [03:07:24]KKMCreateOFDPacket [03:07:24]OFDProtocolAddRootSTLVToBuf [03:07:24]FM_MakeSignedData [03:07:24]FM_MakeSignedData [03:07:24]SAM_PROTO_SignData [03:07:24]wFMCommunicate request_size=4 [03:07:24]MH_SAM_APDU [03:07:24]CAPDU: 80 0D 01 02 [03:07:24]Write to MH i2c: E2 08 00 92 13 80 0D 01 02 00 00 00 00 1E [03:07:24]Write i2c OK [03:07:24]MH_I2C_Read... [03:07:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:07:24]Read from MH i2c: E2 [03:07:24]MH_I2C_Read... [03:07:24]Read from MH i2c: E2 03 00 [03:07:24]MH_I2C_Read... [03:07:24]Read from MH i2c: E2 03 00 92 13 00 90 00 19 [03:07:24]RAPDU: 90 00 [03:07:24]wFMCommunicate OK [03:07:24]wFMCommunicate request_size=255 [03:07:24]MH_SAM_APDU [03:07:24]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 4C AE 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 24 30 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 30 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 8D 00 00 00 00 07 04 06 00 20 30 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 6D 51 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BE 0A 01 00 35 04 06 00 7F E8 75 0C [03:07:24]Write to MH i2c: E2 02 01 93 13 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 4C AE 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 24 30 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 30 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 8D 00 00 00 00 07 04 06 00 20 30 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 6D 51 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BE 0A 01 00 35 04 06 00 7F E8 75 0C 00 00 EC [03:07:24]Write i2c OK [03:07:24]MH_I2C_Read... [03:07:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:07:25]Read from MH i2c: E2 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: E2 03 00 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: E2 03 00 93 13 00 90 00 1A [03:07:25]RAPDU: 90 00 [03:07:25]wFMCommunicate OK [03:07:25]wFMCommunicate request_size=7 [03:07:25]MH_SAM_APDU [03:07:25]CAPDU: 80 0D 02 02 02 83 43 [03:07:25]Write to MH i2c: E2 0A 00 94 13 80 0D 02 02 02 00 83 43 00 00 EB [03:07:25]Write i2c OK [03:07:25]MH_I2C_Read... [03:07:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:07:25]Read from MH i2c: E2 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: E2 03 00 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: E2 03 00 94 13 00 90 00 1B [03:07:25]RAPDU: 90 00 [03:07:25]wFMCommunicate OK [03:07:25]wFMCommunicate request_size=4 [03:07:25]MH_SAM_APDU [03:07:25]CAPDU: 80 0D 03 02 [03:07:25]Write to MH i2c: E2 08 00 95 13 80 0D 03 02 00 00 00 00 23 [03:07:25]Write i2c OK [03:07:25]MH_I2C_Read... [03:07:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:07:25]Read from MH i2c: E2 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: E2 0B 00 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: E2 0B 00 95 13 00 81 66 45 B6 69 34 4C 7E 90 00 6D [03:07:25]RAPDU: 81 66 45 B6 69 34 4C 7E 90 00 [03:07:25]wFMCommunicate OK [03:07:25]SAM_PROTO_SignData done [03:07:25]FM_MakeSignedData done [03:07:25]CreateOFDProtocolMessage [03:07:25]wFMCommunicate request_size=4 [03:07:25]MH_SAM_APDU [03:07:25]CAPDU: 80 11 00 00 [03:07:25]Write to MH i2c: E2 08 00 96 13 80 11 00 00 00 00 00 00 23 [03:07:25]Write i2c OK [03:07:25]MH_I2C_Read... [03:07:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:07:25]Read from MH i2c: E2 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: E2 17 00 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: E2 17 00 96 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 7A [03:07:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:07:25]wFMCommunicate OK [03:07:25]CreateOFDProtocolMessage done [03:07:25]OFDSenderStorePacket 68286 [03:07:25]StoreOFDPacket docnum=68286 [03:07:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 A2 2E 04 01 83 78 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 4C AE 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 24 30 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 30 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 8D 00 00 00 00 07 04 06 00 20 30 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 6D 51 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BE 0A 01 00 35 04 06 00 7F E8 75 0C 83 43 81 66 45 B6 69 34 4C 7E [03:07:25]CheckFolder [03:07:25]dirname=/storage/ofd_packets [03:07:25]CheckFolder done [03:07:25]ProducePacketName [03:07:25]name=ofd_packets/00068286 [03:07:25]NVStorageSaveData ofd_packets/00068286 [03:07:25]File name is /storage/ofd_packets/00068286 [03:07:25]Write 298 bytes [03:07:25]NVStorageSaveData done [03:07:25]OFDSenderStorePacket done [03:07:25]KKMCreateOFDPacket done [03:07:25]NVStorageSaveData kkm_last_timestamp [03:07:25]File name is /storage/kkm_last_timestamp [03:07:25]Write 4 bytes [03:07:25]NVStorageSaveData done [03:07:25]ExternCall_PrintAddStr [03:07:25]wPrintStart [03:07:25]Write to MH i2c: 01 00 00 97 13 AA [03:07:25]Write i2c OK [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: 01 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: 01 07 00 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: 01 07 00 97 13 00 00 00 00 00 FF 0F BF [03:07:25]RasterBufferAndPrint [03:07:25]line Счет N : (1)46308 [03:07:25]line ИНН: 02508201610067 [03:07:25]line Контрольно-Кассовый Чек [03:07:25]line ПРОДАЖА [03:07:25]line ТРК (МРК, ГНК) : 21 [03:07:25]line Товар: 2710194210 [03:07:25]line ДТ-К-5 [03:07:25]line 44.620 * 76.20 [03:07:25]line = 3400.04 [03:07:25]line НДС 12% НСП 1% [03:07:25]line > о реализуемом товаре [03:07:25]line ОКРУГЛЕНИЕ: -0.04 [03:07:25]line ИТОГО: 3400.00 [03:07:25]line Внесено: 3400.00 [03:07:25]line СДАЧА: 0.00 [03:07:25]line НСП 1% : 30.09 [03:07:25]line НДС 12% : 361.07 [03:07:25]line Наличными: 3400.00 [03:07:25]line Безнал.: 0.00 [03:07:25]line Место: АЗС № 160 "Партнер Нефть" [03:07:25]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [03:07:25]line СНО: Общий режим [03:07:25]line Чек 9 29.10.2024 03:07 [03:07:25]line Смена: 548 ФФД: 1.0 [03:07:25]line ЗНМ: 0300000093 [03:07:25]line РНМ: 0000000000091759 [03:07:25]line Версия ККМ: 001 [03:07:25]line ФМ: 0000000000871758 [03:07:25]line ФД: 68286 [03:07:25]line ФПД: 140636372894531 [03:07:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T030725&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68286&fm=140636372894531&tin=02508201610067®Number=0000000000091759&sum=340000 [03:07:25]OFD Sender: Processing packet 68286 [packets to send 27, broken 26] [03:07:25]ProducePacketName [03:07:25]name=ofd_packets/00068286 [03:07:25]OFD Sender: To server: pG, [03:07:25]CommunicateWithHost lk.salyk.kg:30040 [03:07:25]ConnectInit lk.salyk.kg [03:07:25]written 0, free lines is 4095 [03:07:25]Connected sock=10 [03:07:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 A2 2E 04 01 83 78 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 4C AE 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 24 30 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 30 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 8D 00 00 00 00 07 04 06 00 20 30 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 6D 51 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BE 0A 01 00 35 04 06 00 7F E8 75 0C 83 43 81 66 45 B6 69 34 4C 7E [03:07:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 64 53 47 00 5C 73 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BE 0A 01 00 F4 03 04 00 4C FD 1F 67 B6 04 01 00 00 68 27 28 2F 7B 59 30 34 [03:07:25]CommunicateWithHost err = 0 [03:07:25]CheckOFDResponse [03:07:25]1017 (14) - 77093643461234 [03:07:25]1041 (16) - 0000000000871758 [03:07:25]1040 (4) - 68286 [03:07:25]1012 (4) - 28.10.2024 21:08 [03:07:25]1206 (1) - 0 [03:07:25]OFD Sender: Remove packet 68286 [03:07:25]ProducePacketName [03:07:25]name=ofd_packets/00068286 [03:07:25]NVStorageDeleteData [03:07:25]Write to MH i2c: 01 00 00 C1 13 D4 [03:07:25]Write i2c OK [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: 01 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: 01 07 00 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: 01 07 00 C1 13 00 00 00 00 00 B5 0C 9C [03:07:25]RasterBufferAndPrint [03:07:25]line [03:07:25]line [03:07:25]line [03:07:25]line [03:07:25]line [03:07:25]written 0, free lines is 3257 [03:07:25]MH_Cut [03:07:25]Write to MH i2c: D1 01 00 C8 13 01 AD [03:07:25]Write i2c OK [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: D1 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: D1 01 00 [03:07:25]MH_I2C_Read... [03:07:25]Read from MH i2c: D1 01 00 C8 13 00 AC [03:07:25]Write to MH i2c: 01 00 00 C9 13 DC [03:07:25]Write i2c OK [03:07:25]MH_I2C_Read... [03:07:26]OFD Sender: No OFD packet to send [03:07:26]*** Cut start [03:07:26]*** Partial cut [03:07:26]*** CUTSNS_PIN = 1 [03:07:26]*** CUTSNS_PIN = 0 [03:07:27]*** Brake cut motor [03:07:27]Read from MH i2c: 01 [03:07:27]MH_I2C_Read... [03:07:27]*** Stop cut motor [03:07:27]*** Cut end [03:07:27]Read from MH i2c: 01 07 00 [03:07:27]MH_I2C_Read... [03:07:27]Read from MH i2c: 01 07 00 C9 13 00 00 00 00 00 FF 0F F1 [03:07:27]process_action close_receipt done [03:07:27]requested_data is exist [03:07:27]produce_requested_data [03:07:27]requested_item fm.sn is exist - process it [03:07:27]wFMCommunicate request_size=4 [03:07:27]MH_SAM_APDU [03:07:27]CAPDU: 80 11 00 00 [03:07:27]Write to MH i2c: E2 08 00 CA 13 80 11 00 00 00 00 00 00 57 [03:07:27]Write i2c OK [03:07:27]MH_I2C_Read... [03:07:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:07:27]Read from MH i2c: E2 [03:07:27]MH_I2C_Read... [03:07:27]Read from MH i2c: E2 17 00 [03:07:27]MH_I2C_Read... [03:07:27]Read from MH i2c: E2 17 00 CA 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 AE [03:07:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:07:27]wFMCommunicate OK [03:07:27]requested_item fd.num is exist - process it [03:07:27]SAM_PROTO_GetFieldsCounters [03:07:27]wFMCommunicate request_size=4 [03:07:27]MH_SAM_APDU [03:07:27]CAPDU: 80 13 00 00 [03:07:27]Write to MH i2c: E2 08 00 CB 13 80 13 00 00 00 00 00 00 5A [03:07:27]Write i2c OK [03:07:27]MH_I2C_Read... [03:07:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:07:27]Read from MH i2c: E2 [03:07:27]MH_I2C_Read... [03:07:27]Read from MH i2c: E2 62 00 [03:07:27]MH_I2C_Read... [03:07:27]Read from MH i2c: E2 62 00 CB 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BE 0A 01 00 0E 04 04 00 24 02 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 8F [03:07:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BE 0A 01 00 0E 04 04 00 24 02 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:07:27]wFMCommunicate OK [03:07:27]SAM_PROTO_GetFieldsCounters done [03:07:27]requested_item shift.num is exist - process it [03:07:27]requested_item shift.opened is exist - process it [03:07:27]req_shift_opened [03:07:27]FM_GetShiftState [03:07:27]SAM_PROTO_GetShiftState [03:07:27]wFMCommunicate request_size=4 [03:07:27]MH_SAM_APDU [03:07:27]CAPDU: 80 13 01 00 [03:07:27]Write to MH i2c: E2 08 00 CC 13 80 13 01 00 00 00 00 00 5C [03:07:27]Write i2c OK [03:07:27]MH_I2C_Read... [03:07:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:07:27]Read from MH i2c: E2 [03:07:27]MH_I2C_Read... [03:07:27]Read from MH i2c: E2 0E 00 [03:07:27]MH_I2C_Read... [03:07:27]Read from MH i2c: E2 0E 00 CC 13 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 0C [03:07:27]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [03:07:27]wFMCommunicate OK [03:07:27]SAM_PROTO_GetShiftState done [03:07:27]FM_GetShiftState done [03:07:27]req_shift_opened done [03:07:27]requested_item shift.open_date is exist - process it [03:07:27]req_shift_open_date [03:07:27]req_shift_open_date done [03:07:27]produce_requested_data done [03:07:27]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68286,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [03:07:27]process_action_free close_receipt [03:07:27]json_value_free [03:07:27]json_value_free done [03:07:27]process_json_proto returns [03:07:27]Send response to host [03:07:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68286,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [03:07:27]free response buf [03:07:27]execute_script done [03:07:27]execute_script returns [03:07:27]free content buf [03:07:27]Sock 7.Close socket [03:07:27]Sock 7.Thread stoped [03:07:31]OFD Sender: No OFD packet to send [03:07:36]OFD Sender: No OFD packet to send [03:07:41]OFD Sender: No OFD packet to send [03:07:46]OFD Sender: No OFD packet to send [03:07:51]OFD Sender: No OFD packet to send [03:07:56]OFD Sender: No OFD packet to send [03:08:01]OFD Sender: No OFD packet to send [03:08:06]OFD Sender: No OFD packet to send [03:08:11]OFD Sender: No OFD packet to send [03:08:16]OFD Sender: No OFD packet to send [03:08:21]OFD Sender: No OFD packet to send [03:08:26]OFD Sender: No OFD packet to send [03:08:31]OFD Sender: No OFD packet to send [03:08:36]OFD Sender: No OFD packet to send [03:08:41]OFD Sender: No OFD packet to send [03:08:46]OFD Sender: No OFD packet to send [03:08:51]OFD Sender: No OFD packet to send [03:08:56]OFD Sender: No OFD packet to send [03:09:01]OFD Sender: No OFD packet to send [03:09:06]OFD Sender: No OFD packet to send [03:09:11]OFD Sender: No OFD packet to send [03:09:16]OFD Sender: No OFD packet to send [03:09:21]OFD Sender: No OFD packet to send [03:09:26]OFD Sender: No OFD packet to send [03:09:31]OFD Sender: No OFD packet to send [03:09:36]OFD Sender: No OFD packet to send [03:09:41]OFD Sender: No OFD packet to send [03:09:46]OFD Sender: No OFD packet to send [03:09:51]OFD Sender: No OFD packet to send [03:09:56]OFD Sender: No OFD packet to send [03:10:01]OFD Sender: No OFD packet to send [03:10:06]OFD Sender: No OFD packet to send [03:10:11]OFD Sender: No OFD packet to send [03:10:16]OFD Sender: No OFD packet to send [03:10:21]OFD Sender: No OFD packet to send [03:10:26]OFD Sender: No OFD packet to send [03:10:31]OFD Sender: No OFD packet to send [03:10:36]OFD Sender: No OFD packet to send [03:10:41]OFD Sender: No OFD packet to send [03:10:46]OFD Sender: No OFD packet to send [03:10:51]OFD Sender: No OFD packet to send [03:10:56]OFD Sender: No OFD packet to send [03:11:01]OFD Sender: No OFD packet to send [03:11:06]OFD Sender: No OFD packet to send [03:11:11]OFD Sender: No OFD packet to send [03:11:16]OFD Sender: No OFD packet to send [03:11:21]OFD Sender: No OFD packet to send [03:11:26]OFD Sender: No OFD packet to send [03:11:31]OFD Sender: No OFD packet to send [03:11:36]OFD Sender: No OFD packet to send [03:11:41]OFD Sender: No OFD packet to send [03:11:46]OFD Sender: No OFD packet to send [03:11:51]OFD Sender: No OFD packet to send [03:11:56]OFD Sender: No OFD packet to send [03:12:01]OFD Sender: No OFD packet to send [03:12:06]OFD Sender: No OFD packet to send [03:12:11]OFD Sender: No OFD packet to send [03:12:16]OFD Sender: No OFD packet to send [03:12:21]OFD Sender: No OFD packet to send [03:12:26]OFD Sender: No OFD packet to send [03:12:31]OFD Sender: No OFD packet to send [03:12:36]OFD Sender: No OFD packet to send [03:12:41]OFD Sender: No OFD packet to send [03:12:46]OFD Sender: No OFD packet to send [03:12:51]OFD Sender: No OFD packet to send [03:12:56]OFD Sender: No OFD packet to send [03:13:01]OFD Sender: No OFD packet to send [03:13:06]OFD Sender: No OFD packet to send [03:13:11]OFD Sender: No OFD packet to send [03:13:16]OFD Sender: No OFD packet to send [03:13:21]OFD Sender: No OFD packet to send [03:13:26]OFD Sender: No OFD packet to send [03:13:31]OFD Sender: No OFD packet to send [03:13:36]OFD Sender: No OFD packet to send [03:13:41]OFD Sender: No OFD packet to send [03:13:46]OFD Sender: No OFD packet to send [03:13:51]OFD Sender: No OFD packet to send [03:13:56]OFD Sender: No OFD packet to send [03:14:01]OFD Sender: No OFD packet to send [03:14:06]OFD Sender: No OFD packet to send [03:14:11]OFD Sender: No OFD packet to send [03:14:16]OFD Sender: No OFD packet to send [03:14:21]OFD Sender: No OFD packet to send [03:14:26]OFD Sender: No OFD packet to send [03:14:31]OFD Sender: No OFD packet to send [03:14:36]OFD Sender: No OFD packet to send [03:14:41]OFD Sender: No OFD packet to send [03:14:46]OFD Sender: No OFD packet to send [03:14:51]OFD Sender: No OFD packet to send [03:14:56]OFD Sender: No OFD packet to send [03:15:01]OFD Sender: No OFD packet to send [03:15:06]OFD Sender: No OFD packet to send [03:15:11]OFD Sender: No OFD packet to send [03:15:16]OFD Sender: No OFD packet to send [03:15:21]OFD Sender: No OFD packet to send [03:15:26]OFD Sender: No OFD packet to send [03:15:31]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:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:22:02]OFD Sender: No OFD packet to send [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:37]OFD Sender: No OFD packet to send [03:24:42]OFD Sender: No OFD packet to send [03:24:47]OFD Sender: No OFD packet to send [03:24:52]OFD Sender: No OFD packet to send [03:24:57]OFD Sender: No OFD packet to send [03:25:02]OFD Sender: No OFD packet to send [03:25:07]OFD Sender: No OFD packet to send [03:25:12]OFD Sender: No OFD packet to send [03:25:17]OFD Sender: No OFD packet to send [03:25:22]OFD Sender: No OFD packet to send [03:25:27]OFD Sender: No OFD packet to send [03:25:32]OFD Sender: No OFD packet to send [03:25:37]OFD Sender: No OFD packet to send [03:25:42]OFD Sender: No OFD packet to send [03:25:47]OFD Sender: No OFD packet to send [03:25:52]OFD Sender: No OFD packet to send [03:25:57]OFD Sender: No OFD packet to send [03:26:02]OFD Sender: No OFD packet to send [03:26:07]OFD Sender: No OFD packet to send [03:26:12]OFD Sender: No OFD packet to send [03:26:17]OFD Sender: No OFD packet to send [03:26:22]OFD Sender: No OFD packet to send [03:26:27]OFD Sender: No OFD packet to send [03:26:32]OFD Sender: No OFD packet to send [03:26:37]OFD Sender: No OFD packet to send [03:26:42]OFD Sender: No OFD packet to send [03:26:47]OFD Sender: No OFD packet to send [03:26:52]OFD Sender: No OFD packet to send [03:26:57]OFD Sender: No OFD packet to send [03:27:02]OFD Sender: No OFD packet to send [03:27:07]OFD Sender: No OFD packet to send [03:27:12]OFD Sender: No OFD packet to send [03:27:17]OFD Sender: No OFD packet to send [03:27:22]OFD Sender: No OFD packet to send [03:27:27]OFD Sender: No OFD packet to send [03:27:32]OFD Sender: No OFD packet to send [03:27:37]OFD Sender: No OFD packet to send [03:27:42]OFD Sender: No OFD packet to send [03:27:47]OFD Sender: No OFD packet to send [03:27:52]OFD Sender: No OFD packet to send [03:27:57]OFD Sender: No OFD packet to send [03:28:02]OFD Sender: No OFD packet to send [03:28:07]OFD Sender: No OFD packet to send [03:28:12]OFD Sender: No OFD packet to send [03:28:17]OFD Sender: No OFD packet to send [03:28:22]OFD Sender: No OFD packet to send [03:28:27]OFD Sender: No OFD packet to send [03:28:32]OFD Sender: No OFD packet to send [03:28:37]OFD Sender: No OFD packet to send [03:28:42]OFD Sender: No OFD packet to send [03:28:47]OFD Sender: No OFD packet to send [03:28:52]OFD Sender: No OFD packet to send [03:28:57]OFD Sender: No OFD packet to send [03:29:02]OFD Sender: No OFD packet to send [03:29:07]OFD Sender: No OFD packet to send [03:29:12]OFD Sender: No OFD packet to send [03:29:17]OFD Sender: No OFD packet to send [03:29:22]OFD Sender: No OFD packet to send [03:29:27]OFD Sender: No OFD packet to send [03:29:32]OFD Sender: No OFD packet to send [03:29:37]OFD Sender: No OFD packet to send [03:29:42]OFD Sender: No OFD packet to send [03:29:47]OFD Sender: No OFD packet to send [03:29:52]OFD Sender: No OFD packet to send [03:29:57]OFD Sender: No OFD packet to send [03:30:02]OFD Sender: No OFD packet to send [03:30:07]OFD Sender: No OFD packet to send [03:30:12]OFD Sender: No OFD packet to send [03:30:17]OFD Sender: No OFD packet to send [03:30:22]OFD Sender: No OFD packet to send [03:30:27]OFD Sender: No OFD packet to send [03:30:32]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:52]OFD Sender: No OFD packet to send [03:30:57]OFD Sender: No OFD packet to send [03:31:02]OFD Sender: No OFD packet to send [03:31:07]OFD Sender: No OFD packet to send [03:31:12]OFD Sender: No OFD packet to send [03:31:17]OFD Sender: No OFD packet to send [03:31:22]OFD Sender: No OFD packet to send [03:31:27]OFD Sender: No OFD packet to send [03:31:32]OFD Sender: No OFD packet to send [03:31:37]OFD Sender: No OFD packet to send [03:31:42]OFD Sender: No OFD packet to send [03:31:47]OFD Sender: No OFD packet to send [03:31:52]OFD Sender: No OFD packet to send [03:31:57]OFD Sender: No OFD packet to send [03:32:02]OFD Sender: No OFD packet to send [03:32:07]OFD Sender: No OFD packet to send [03:32:12]OFD Sender: No OFD packet to send [03:32:14]accept exits with 9 [03:32:14]New connection [03:32:14]New thread 3067354468 created [03:32:14]Thread 3067497828 joined [03:32:14]Waiting for new connection... [03:32:14] Sock 9.Parse request [03:32:14]Sock 9.Check first char [03:32:14]Sock 9.First char is OK [03:32:14]request: POST /json_proto HTTP/1.0 [03:32:14]Method: POST [03:32:14]URL: /json_proto [03:32:14]Method is POST - this is cgi request [03:32:14]url: /json_proto [03:32:14]query_string will be loaded in cgi processing [03:32:14]execute_cgi json_proto POST (null) [03:32:14]execute_cgi path=json_proto method=POST [03:32:14]POST find Content-Length [03:32:14]Host: 172.17.42.3:8080 [03:32:14]Content-Length: 723 [03:32:14]Content-Type: application/json [03:32:14] [03:32:14]POST finish read [03:32:14]Found Content-Length = 723 [03:32:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17216", "tax_sys" : 0, "items" : [ { "code": "8901086040022", "name": "\u0416\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0441\u0442\u0435\u043A\u043B\u043E\u043E\u043C\u044B\u0432\u0430\u044E\u0449\u0430\u044F \u041F\u041D -20 4,5\u043B", "price" : 285.00, "quantity" : 1.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:32:14]execute_script... [03:32:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17216", "tax_sys" : 0, "items" : [ { "code": "8901086040022", "name": "\u0416\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0441\u0442\u0435\u043A\u043B\u043E\u043E\u043C\u044B\u0432\u0430\u044E\u0449\u0430\u044F \u041F\u041D -20 4,5\u043B", "price" : 285.00, "quantity" : 1.000, "sum" : 285.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:32:14]POST & json_proto [03:32:14]process_json_proto [03:32:14]json parsed OK: [03:32:14]protocol is kg_v1.0 [03:32:14]action value=close_receipt [03:32:14]process_action close_receipt [03:32:14]cmd_close_receipt [03:32:14]MH_GetDate [03:32:14]Write to MH i2c: F0 00 00 CD 13 CF [03:32:14]Write i2c OK [03:32:14]MH_I2C_Read... [03:32:14]Read from MH i2c: F0 [03:32:14]MH_I2C_Read... [03:32:14]Read from MH i2c: F0 09 00 [03:32:14]MH_I2C_Read... [03:32:14]Read from MH i2c: F0 09 00 CD 13 00 41 57 20 67 0E CB 1F 67 56 [03:32:14]GetLastDocTimeStamp 1730171245 [03:32:14]current date 1730172737 [03:32:14]FM_GetShiftState [03:32:14]SAM_PROTO_GetShiftState [03:32:14]wFMCommunicate request_size=4 [03:32:14]MH_SAM_APDU [03:32:14]CAPDU: 80 13 01 00 [03:32:14]Write to MH i2c: E2 08 00 CE 13 80 13 01 00 00 00 00 00 5E [03:32:14]Write i2c OK [03:32:14]MH_I2C_Read... [03:32:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:32:14]Read from MH i2c: E2 [03:32:14]MH_I2C_Read... [03:32:14]Read from MH i2c: E2 0E 00 [03:32:14]MH_I2C_Read... [03:32:14]Read from MH i2c: E2 0E 00 CE 13 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 0E [03:32:14]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [03:32:14]wFMCommunicate OK [03:32:14]SAM_PROTO_GetShiftState done [03:32:14]FM_GetShiftState done [03:32:14]opened in 1730160885 [03:32:14]opened+sec_in_day 1730247285 [03:32:14]quantity*price = 28500 [03:32:14]sum+1 = 28501 [03:32:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 285.00 НСП 1% : 2.52 НДС 12% : 30.26 Наличными: 285.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 10 29.10.2024 03:32 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68287 ФПД: 166420292393197 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T033217&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68287&fm=166420292393197&tin=02508201610067®Number=0000000000091759&sum=28500 0 [03:32:16]StoreToDocumentArchive [03:32:16]shift 548 fd 68287 [03:32:16]save to /storage/0548/doc_00068287 [03:32:16]save last doc name /storage/0548/doc_00068287 to /storage/kkm_last_doc_name [03:32:16]save OK [03:32:16]Clear old archive folders... [03:32:16]ProcessDocumentItem done err = 0, tmpTLVsize=304 [03:32:16]tlvbuf is B6F2DC30 [03:32:16]SAM_PROTO_ClearQueue [03:32:16]wFMCommunicate request_size=4 [03:32:16]MH_SAM_APDU [03:32:16]CAPDU: 80 09 00 00 [03:32:16]Write to MH i2c: E2 08 00 DB 13 80 09 00 00 00 00 00 00 60 [03:32:16]Write i2c OK [03:32:16]MH_I2C_Read... [03:32:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:32:16]Read from MH i2c: E2 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 03 00 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 03 00 DB 13 00 90 00 62 [03:32:16]RAPDU: 90 00 [03:32:16]wFMCommunicate OK [03:32:16]SAM_PROTO_ClearQueue done [03:32:16]KKMCreateOFDPacket [03:32:16]OFDProtocolAddRootSTLVToBuf [03:32:16]FM_MakeSignedData [03:32:16]FM_MakeSignedData [03:32:16]SAM_PROTO_SignData [03:32:16]wFMCommunicate request_size=4 [03:32:16]MH_SAM_APDU [03:32:16]CAPDU: 80 0D 01 02 [03:32:16]Write to MH i2c: E2 08 00 DC 13 80 0D 01 02 00 00 00 00 68 [03:32:16]Write i2c OK [03:32:16]MH_I2C_Read... [03:32:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:32:16]Read from MH i2c: E2 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 03 00 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 03 00 DC 13 00 90 00 63 [03:32:16]RAPDU: 90 00 [03:32:16]wFMCommunicate OK [03:32:16]wFMCommunicate request_size=255 [03:32:16]MH_SAM_APDU [03:32:16]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 6F 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 54 6F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 41 57 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 [03:32:16]Write to MH i2c: E2 02 01 DD 13 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 6F 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 54 6F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 41 57 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 00 00 FA [03:32:16]Write i2c OK [03:32:16]MH_I2C_Read... [03:32:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:32:16]Read from MH i2c: E2 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 03 00 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 03 00 DD 13 00 90 00 64 [03:32:16]RAPDU: 90 00 [03:32:16]wFMCommunicate OK [03:32:16]wFMCommunicate request_size=63 [03:32:16]MH_SAM_APDU [03:32:16]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BF 0A 01 00 35 04 06 00 97 5B BE 69 58 ED [03:32:16]Write to MH i2c: E2 42 00 DE 13 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BF 0A 01 00 35 04 06 00 97 5B BE 69 58 ED 00 00 E7 [03:32:16]Write i2c OK [03:32:16]MH_I2C_Read... [03:32:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:32:16]Read from MH i2c: E2 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 03 00 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 03 00 DE 13 00 90 00 65 [03:32:16]RAPDU: 90 00 [03:32:16]wFMCommunicate OK [03:32:16]wFMCommunicate request_size=4 [03:32:16]MH_SAM_APDU [03:32:16]CAPDU: 80 0D 03 02 [03:32:16]Write to MH i2c: E2 08 00 DF 13 80 0D 03 02 00 00 00 00 6D [03:32:16]Write i2c OK [03:32:16]MH_I2C_Read... [03:32:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:32:16]Read from MH i2c: E2 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 0B 00 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 0B 00 DF 13 00 BD 0F F9 59 E3 4B FF 78 90 00 31 [03:32:16]RAPDU: BD 0F F9 59 E3 4B FF 78 90 00 [03:32:16]wFMCommunicate OK [03:32:16]SAM_PROTO_SignData done [03:32:16]FM_MakeSignedData done [03:32:16]CreateOFDProtocolMessage [03:32:16]wFMCommunicate request_size=4 [03:32:16]MH_SAM_APDU [03:32:16]CAPDU: 80 11 00 00 [03:32:16]Write to MH i2c: E2 08 00 E0 13 80 11 00 00 00 00 00 00 6D [03:32:16]Write i2c OK [03:32:16]MH_I2C_Read... [03:32:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:32:16]Read from MH i2c: E2 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 17 00 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: E2 17 00 E0 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C4 [03:32:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:32:16]wFMCommunicate OK [03:32:16]CreateOFDProtocolMessage done [03:32:16]OFDSenderStorePacket 68287 [03:32:16]StoreOFDPacket docnum=68287 [03:32:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 44 01 00 00 B7 F2 3C 01 3D 34 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 6F 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 54 6F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 41 57 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BF 0A 01 00 35 04 06 00 97 5B BE 69 58 ED BD 0F F9 59 E3 4B FF 78 [03:32:16]CheckFolder [03:32:16]dirname=/storage/ofd_packets [03:32:16]CheckFolder done [03:32:16]ProducePacketName [03:32:16]name=ofd_packets/00068287 [03:32:16]NVStorageSaveData ofd_packets/00068287 [03:32:16]File name is /storage/ofd_packets/00068287 [03:32:16]Write 354 bytes [03:32:16]NVStorageSaveData done [03:32:16]OFDSenderStorePacket done [03:32:16]KKMCreateOFDPacket done [03:32:16]NVStorageSaveData kkm_last_timestamp [03:32:16]File name is /storage/kkm_last_timestamp [03:32:16]Write 4 bytes [03:32:16]NVStorageSaveData done [03:32:16]ExternCall_PrintAddStr [03:32:16]wPrintStart [03:32:16]Write to MH i2c: 01 00 00 E1 13 F4 [03:32:16]Write i2c OK [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: 01 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: 01 07 00 [03:32:16]MH_I2C_Read... [03:32:16]Read from MH i2c: 01 07 00 E1 13 00 00 00 00 00 FF 0F 09 [03:32:16]RasterBufferAndPrint [03:32:16]line Счет N : (3)17216 [03:32:16]line ИНН: 02508201610067 [03:32:16]line Контрольно-Кассовый Чек [03:32:16]line ПРОДАЖА [03:32:16]line Товар: 8901086040022 [03:32:16]line Жидкость стеклоомывающая ПН -20 4,5л [03:32:16]line 1.000 * 285.00 [03:32:16]line = 285.00 [03:32:16]line НДС 12% НСП 1% [03:32:16]line > о реализуемом товаре [03:32:16]line ИТОГО: 285.00 [03:32:16]line НСП 1% : 2.52 [03:32:16]line НДС 12% : 30.26 [03:32:16]line Наличными: 285.00 [03:32:16]line Безнал.: 0.00 [03:32:16]line Место: АЗС № 160 "Партнер Нефть" [03:32:16]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [03:32:16]line СНО: Общий режим [03:32:16]line Чек 10 29.10.2024 03:32 [03:32:16]line Смена: 548 ФФД: 1.0 [03:32:16]line ЗНМ: 0300000093 [03:32:16]line РНМ: 0000000000091759 [03:32:16]line Версия ККМ: 001 [03:32:16]line ФМ: 0000000000871758 [03:32:16]line ФД: 68287 [03:32:16]line ФПД: 166420292393197 [03:32:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T033217&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68287&fm=166420292393197&tin=02508201610067®Number=0000000000091759&sum=28500 [03:32:16]line 0 [03:32:16]OFD Sender: Processing packet 68287 [packets to send 27, broken 26] [03:32:16]ProducePacketName [03:32:16]name=ofd_packets/00068287 [03:32:16]OFD Sender: To server: pG, [03:32:16]CommunicateWithHost lk.salyk.kg:30040 [03:32:16]ConnectInit lk.salyk.kg [03:32:16]written 0, free lines is 4095 [03:32:17]Connected sock=10 [03:32:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 44 01 00 00 B7 F2 3C 01 3D 34 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 32 32 06 04 3E 00 D0 96 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE D0 BE D0 BC D1 8B D0 B2 D0 B0 D1 8E D1 89 D0 B0 D1 8F 20 D0 9F D0 9D 20 2D 32 30 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 6F 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 54 6F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 41 57 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BF 0A 01 00 35 04 06 00 97 5B BE 69 58 ED BD 0F F9 59 E3 4B FF 78 [03:32:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 57 88 47 00 F7 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BF 0A 01 00 F4 03 04 00 20 03 20 67 B6 04 01 00 00 75 B2 26 FF 64 CA CF 08 [03:32:17]CommunicateWithHost err = 0 [03:32:17]CheckOFDResponse [03:32:17]1017 (14) - 77093643461234 [03:32:17]1041 (16) - 0000000000871758 [03:32:17]1040 (4) - 68287 [03:32:17]1012 (4) - 28.10.2024 21:33 [03:32:17]1206 (1) - 0 [03:32:17]OFD Sender: Remove packet 68287 [03:32:17]ProducePacketName [03:32:17]name=ofd_packets/00068287 [03:32:17]NVStorageDeleteData [03:32:17]Write to MH i2c: 01 00 00 09 14 1D [03:32:17]Write i2c OK [03:32:17]MH_I2C_Read... [03:32:17]Read from MH i2c: 01 [03:32:17]MH_I2C_Read... [03:32:17]Read from MH i2c: 01 07 00 [03:32:17]MH_I2C_Read... [03:32:17]Read from MH i2c: 01 07 00 09 14 00 00 00 00 00 C8 0C F8 [03:32:17]RasterBufferAndPrint [03:32:17]line [03:32:17]line [03:32:17]line [03:32:17]line [03:32:17]line [03:32:17]written 0, free lines is 3276 [03:32:17]MH_Cut [03:32:17]Write to MH i2c: D1 01 00 10 14 01 F6 [03:32:17]Write i2c OK [03:32:17]MH_I2C_Read... [03:32:17]Read from MH i2c: D1 [03:32:17]MH_I2C_Read... [03:32:17]Read from MH i2c: D1 01 00 [03:32:17]MH_I2C_Read... [03:32:17]Read from MH i2c: D1 01 00 10 14 00 F5 [03:32:17]Write to MH i2c: 01 00 00 11 14 25 [03:32:17]Write i2c OK [03:32:17]MH_I2C_Read... [03:32:17]OFD Sender: No OFD packet to send [03:32:18]*** Cut start [03:32:18]*** Partial cut [03:32:18]*** CUTSNS_PIN = 1 [03:32:18]*** CUTSNS_PIN = 0 [03:32:18]*** Brake cut motor [03:32:18]Read from MH i2c: 01 [03:32:18]MH_I2C_Read... [03:32:18]*** Stop cut motor [03:32:18]*** Cut end [03:32:18]Read from MH i2c: 01 07 00 [03:32:18]MH_I2C_Read... [03:32:18]Read from MH i2c: 01 07 00 11 14 00 00 00 00 00 FF 0F 3A [03:32:18]process_action close_receipt done [03:32:18]requested_data is exist [03:32:18]produce_requested_data [03:32:18]requested_item fm.sn is exist - process it [03:32:18]wFMCommunicate request_size=4 [03:32:18]MH_SAM_APDU [03:32:18]CAPDU: 80 11 00 00 [03:32:18]Write to MH i2c: E2 08 00 12 14 80 11 00 00 00 00 00 00 A0 [03:32:18]Write i2c OK [03:32:18]MH_I2C_Read... [03:32:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:32:18]Read from MH i2c: E2 [03:32:18]MH_I2C_Read... [03:32:18]Read from MH i2c: E2 17 00 [03:32:18]MH_I2C_Read... [03:32:18]Read from MH i2c: E2 17 00 12 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F7 [03:32:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:32:18]wFMCommunicate OK [03:32:18]requested_item fd.num is exist - process it [03:32:18]SAM_PROTO_GetFieldsCounters [03:32:18]wFMCommunicate request_size=4 [03:32:18]MH_SAM_APDU [03:32:18]CAPDU: 80 13 00 00 [03:32:18]Write to MH i2c: E2 08 00 13 14 80 13 00 00 00 00 00 00 A3 [03:32:18]Write i2c OK [03:32:18]MH_I2C_Read... [03:32:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:32:19]Read from MH i2c: E2 [03:32:19]MH_I2C_Read... [03:32:19]Read from MH i2c: E2 62 00 [03:32:19]MH_I2C_Read... [03:32:19]Read from MH i2c: E2 62 00 13 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BF 0A 01 00 0E 04 04 00 24 02 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 DC [03:32:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BF 0A 01 00 0E 04 04 00 24 02 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:32:19]wFMCommunicate OK [03:32:19]SAM_PROTO_GetFieldsCounters done [03:32:19]requested_item shift.num is exist - process it [03:32:19]requested_item shift.opened is exist - process it [03:32:19]req_shift_opened [03:32:19]FM_GetShiftState [03:32:19]SAM_PROTO_GetShiftState [03:32:19]wFMCommunicate request_size=4 [03:32:19]MH_SAM_APDU [03:32:19]CAPDU: 80 13 01 00 [03:32:19]Write to MH i2c: E2 08 00 14 14 80 13 01 00 00 00 00 00 A5 [03:32:19]Write i2c OK [03:32:19]MH_I2C_Read... [03:32:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:32:19]Read from MH i2c: E2 [03:32:19]MH_I2C_Read... [03:32:19]Read from MH i2c: E2 0E 00 [03:32:19]MH_I2C_Read... [03:32:19]Read from MH i2c: E2 0E 00 14 14 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 55 [03:32:19]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [03:32:19]wFMCommunicate OK [03:32:19]SAM_PROTO_GetShiftState done [03:32:19]FM_GetShiftState done [03:32:19]req_shift_opened done [03:32:19]requested_item shift.open_date is exist - process it [03:32:19]req_shift_open_date [03:32:19]req_shift_open_date done [03:32:19]produce_requested_data done [03:32:19]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68287,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [03:32:19]process_action_free close_receipt [03:32:19]json_value_free [03:32:19]json_value_free done [03:32:19]process_json_proto returns [03:32:19]Send response to host [03:32:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68287,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [03:32:19]free response buf [03:32:19]execute_script done [03:32:19]execute_script returns [03:32:19]free content buf [03:32:19]Sock 9.Close socket [03:32:19]Sock 9.Thread stoped [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:48]OFD Sender: No OFD packet to send [03:36:53]OFD Sender: No OFD packet to send [03:36:58]OFD Sender: No OFD packet to send [03:37:03]OFD Sender: No OFD packet to send [03:37:08]OFD Sender: No OFD packet to send [03:37:13]OFD Sender: No OFD packet to send [03:37:18]OFD Sender: No OFD packet to send [03:37:23]OFD Sender: No OFD packet to send [03:37:28]OFD Sender: No OFD packet to send [03:37:33]OFD Sender: No OFD packet to send [03:37:38]OFD Sender: No OFD packet to send [03:37:43]OFD Sender: No OFD packet to send [03:37:48]OFD Sender: No OFD packet to send [03:37:53]OFD Sender: No OFD packet to send [03:37:58]OFD Sender: No OFD packet to send [03:38:03]OFD Sender: No OFD packet to send [03:38:08]OFD Sender: No OFD packet to send [03:38:13]OFD Sender: No OFD packet to send [03:38:18]OFD Sender: No OFD packet to send [03:38:23]OFD Sender: No OFD packet to send [03:38:28]OFD Sender: No OFD packet to send [03:38:33]OFD Sender: No OFD packet to send [03:38:38]OFD Sender: No OFD packet to send [03:38:43]OFD Sender: No OFD packet to send [03:38:48]OFD Sender: No OFD packet to send [03:38:53]OFD Sender: No OFD packet to send [03:38:58]OFD Sender: No OFD packet to send [03:39:03]OFD Sender: No OFD packet to send [03:39:08]OFD Sender: No OFD packet to send [03:39:13]OFD Sender: No OFD packet to send [03:39:18]OFD Sender: No OFD packet to send [03:39:23]OFD Sender: No OFD packet to send [03:39:28]OFD Sender: No OFD packet to send [03:39:33]OFD Sender: No OFD packet to send [03:39:38]OFD Sender: No OFD packet to send [03:39:43]OFD Sender: No OFD packet to send [03:39:48]OFD Sender: No OFD packet to send [03:39:53]OFD Sender: No OFD packet to send [03:39:58]OFD Sender: No OFD packet to send [03:40:03]OFD Sender: No OFD packet to send [03:40:08]OFD Sender: No OFD packet to send [03:40:13]OFD Sender: No OFD packet to send [03:40:18]OFD Sender: No OFD packet to send [03:40:23]OFD Sender: No OFD packet to send [03:40:28]OFD Sender: No OFD packet to send [03:40:33]OFD Sender: No OFD packet to send [03:40:38]OFD Sender: No OFD packet to send [03:40:43]OFD Sender: No OFD packet to send [03:40:48]OFD Sender: No OFD packet to send [03:40:53]OFD Sender: No OFD packet to send [03:40:58]OFD Sender: No OFD packet to send [03:41:03]OFD Sender: No OFD packet to send [03:41:08]OFD Sender: No OFD packet to send [03:41:13]OFD Sender: No OFD packet to send [03:41:18]OFD Sender: No OFD packet to send [03:41:23]OFD Sender: No OFD packet to send [03:41:28]OFD Sender: No OFD packet to send [03:41:33]OFD Sender: No OFD packet to send [03:41:38]OFD Sender: No OFD packet to send [03:41:43]OFD Sender: No OFD packet to send [03:41:48]OFD Sender: No OFD packet to send [03:41:53]OFD Sender: No OFD packet to send [03:41:58]OFD Sender: No OFD packet to send [03:42:03]OFD Sender: No OFD packet to send [03:42:08]OFD Sender: No OFD packet to send [03:42:13]OFD Sender: No OFD packet to send [03:42:16]accept exits with 7 [03:42:16]New connection [03:42:16]New thread 3067497828 created [03:42:16]Thread 3067354468 joined [03:42:16]Waiting for new connection... [03:42:16] Sock 7.Parse request [03:42:16]Sock 7.Check first char [03:42:16]Sock 7.First char is OK [03:42:16]request: POST /json_proto HTTP/1.0 [03:42:16]Method: POST [03:42:16]URL: /json_proto [03:42:16]Method is POST - this is cgi request [03:42:16]url: /json_proto [03:42:16]query_string will be loaded in cgi processing [03:42:16]execute_cgi json_proto POST (null) [03:42:16]execute_cgi path=json_proto method=POST [03:42:16]POST find Content-Length [03:42:16]Host: 172.17.42.3:8080 [03:42:16]Content-Length: 681 [03:42:16]Content-Type: application/json [03:42:16] [03:42:16]POST finish read [03:42:16]Found Content-Length = 681 [03:42:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46309", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 20.190, "sum" : 1498.10, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1498.00, "payments": [ { "type": 0, "sum" : 1498.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:42:16]execute_script... [03:42:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46309", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 20.190, "sum" : 1498.10, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1498.00, "payments": [ { "type": 0, "sum" : 1498.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:42:16]POST & json_proto [03:42:16]process_json_proto [03:42:16]json parsed OK: [03:42:16]protocol is kg_v1.0 [03:42:16]action value=close_receipt [03:42:16]process_action close_receipt [03:42:16]cmd_close_receipt [03:42:16]MH_GetDate [03:42:16]Write to MH i2c: F0 00 00 15 14 18 [03:42:16]Write i2c OK [03:42:16]MH_I2C_Read... [03:42:16]Read from MH i2c: F0 [03:42:16]MH_I2C_Read... [03:42:16]Read from MH i2c: F0 09 00 [03:42:16]MH_I2C_Read... [03:42:16]Read from MH i2c: F0 09 00 15 14 00 9A 59 20 67 0E CB 1F 67 FA [03:42:16]GetLastDocTimeStamp 1730172737 [03:42:16]current date 1730173338 [03:42:16]FM_GetShiftState [03:42:16]SAM_PROTO_GetShiftState [03:42:16]wFMCommunicate request_size=4 [03:42:16]MH_SAM_APDU [03:42:16]CAPDU: 80 13 01 00 [03:42:16]Write to MH i2c: E2 08 00 16 14 80 13 01 00 00 00 00 00 A7 [03:42:16]Write i2c OK [03:42:16]MH_I2C_Read... [03:42:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:42:16]Read from MH i2c: E2 [03:42:16]MH_I2C_Read... [03:42:16]Read from MH i2c: E2 0E 00 [03:42:16]MH_I2C_Read... [03:42:16]Read from MH i2c: E2 0E 00 16 14 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 57 [03:42:16]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [03:42:16]wFMCommunicate OK [03:42:16]SAM_PROTO_GetShiftState done [03:42:16]FM_GetShiftState done [03:42:16]opened in 1730160885 [03:42:16]opened+sec_in_day 1730247285 [03:42:16]quantity*price = 149809 [03:42:16]sum+1 = 149811 [03:42:16]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.10 ИТОГО: 1498.00 Внесено: 2000.00 СДАЧА: 502.00 НСП 1% : 13.26 НДС 12% : 159.09 Наличными: 1498.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 11 29.10.2024 03:42 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68288 ФПД: 119075256226578 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T034218&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68288&fm=119075256226578&tin=02508201610067®Number=0000000000091759&sum=149800 [03:42:17]StoreToDocumentArchive [03:42:17]shift 548 fd 68288 [03:42:17]save to /storage/0548/doc_00068288 [03:42:17]save last doc name /storage/0548/doc_00068288 to /storage/kkm_last_doc_name [03:42:17]save OK [03:42:17]Clear old archive folders... [03:42:17]ProcessDocumentItem done err = 0, tmpTLVsize=251 [03:42:17]tlvbuf is 005F6790 [03:42:17]SAM_PROTO_ClearQueue [03:42:17]wFMCommunicate request_size=4 [03:42:17]MH_SAM_APDU [03:42:17]CAPDU: 80 09 00 00 [03:42:17]Write to MH i2c: E2 08 00 23 14 80 09 00 00 00 00 00 00 A9 [03:42:17]Write i2c OK [03:42:17]MH_I2C_Read... [03:42:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:42:17]Read from MH i2c: E2 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 03 00 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 03 00 23 14 00 90 00 AB [03:42:17]RAPDU: 90 00 [03:42:17]wFMCommunicate OK [03:42:17]SAM_PROTO_ClearQueue done [03:42:17]KKMCreateOFDPacket [03:42:17]OFDProtocolAddRootSTLVToBuf [03:42:17]FM_MakeSignedData [03:42:17]FM_MakeSignedData [03:42:17]SAM_PROTO_SignData [03:42:17]wFMCommunicate request_size=4 [03:42:17]MH_SAM_APDU [03:42:17]CAPDU: 80 0D 01 02 [03:42:17]Write to MH i2c: E2 08 00 24 14 80 0D 01 02 00 00 00 00 B1 [03:42:17]Write i2c OK [03:42:17]MH_I2C_Read... [03:42:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:42:17]Read from MH i2c: E2 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 03 00 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 03 00 24 14 00 90 00 AC [03:42:17]RAPDU: 90 00 [03:42:17]wFMCommunicate OK [03:42:17]wFMCommunicate request_size=255 [03:42:17]MH_SAM_APDU [03:42:17]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 33 FF 03 08 00 03 DE 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 32 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 3E 00 00 00 00 07 04 06 00 28 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 0B 00 00 00 F4 03 04 00 9A 59 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C0 0A 01 00 35 04 06 00 6C [03:42:17]Write to MH i2c: E2 02 01 25 14 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 33 FF 03 08 00 03 DE 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 32 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 3E 00 00 00 00 07 04 06 00 28 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 0B 00 00 00 F4 03 04 00 9A 59 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C0 0A 01 00 35 04 06 00 6C 00 00 E6 [03:42:17]Write i2c OK [03:42:17]MH_I2C_Read... [03:42:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:42:17]Read from MH i2c: E2 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 03 00 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 03 00 25 14 00 90 00 AD [03:42:17]RAPDU: 90 00 [03:42:17]wFMCommunicate OK [03:42:17]wFMCommunicate request_size=10 [03:42:17]MH_SAM_APDU [03:42:17]CAPDU: 80 0D 02 02 05 4C 5E 59 53 12 [03:42:17]Write to MH i2c: E2 0D 00 26 14 80 0D 02 02 05 00 4C 5E 59 53 12 00 00 26 [03:42:17]Write i2c OK [03:42:17]MH_I2C_Read... [03:42:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:42:17]Read from MH i2c: E2 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 03 00 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 03 00 26 14 00 90 00 AE [03:42:17]RAPDU: 90 00 [03:42:17]wFMCommunicate OK [03:42:17]wFMCommunicate request_size=4 [03:42:17]MH_SAM_APDU [03:42:17]CAPDU: 80 0D 03 02 [03:42:17]Write to MH i2c: E2 08 00 27 14 80 0D 03 02 00 00 00 00 B6 [03:42:17]Write i2c OK [03:42:17]MH_I2C_Read... [03:42:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:42:17]Read from MH i2c: E2 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 0B 00 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 0B 00 27 14 00 5D 95 9B AF 3C 56 CF FC 90 00 50 [03:42:17]RAPDU: 5D 95 9B AF 3C 56 CF FC 90 00 [03:42:17]wFMCommunicate OK [03:42:17]SAM_PROTO_SignData done [03:42:17]FM_MakeSignedData done [03:42:17]CreateOFDProtocolMessage [03:42:17]wFMCommunicate request_size=4 [03:42:17]MH_SAM_APDU [03:42:17]CAPDU: 80 11 00 00 [03:42:17]Write to MH i2c: E2 08 00 28 14 80 11 00 00 00 00 00 00 B6 [03:42:17]Write i2c OK [03:42:17]MH_I2C_Read... [03:42:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:42:17]Read from MH i2c: E2 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 17 00 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: E2 17 00 28 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 0D [03:42:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:42:17]wFMCommunicate OK [03:42:17]CreateOFDProtocolMessage done [03:42:17]OFDSenderStorePacket 68288 [03:42:17]StoreOFDPacket docnum=68288 [03:42:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 BC 93 07 01 C7 FD 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 33 FF 03 08 00 03 DE 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 32 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 3E 00 00 00 00 07 04 06 00 28 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 0B 00 00 00 F4 03 04 00 9A 59 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C0 0A 01 00 35 04 06 00 6C 4C 5E 59 53 12 5D 95 9B AF 3C 56 CF FC [03:42:17]CheckFolder [03:42:17]dirname=/storage/ofd_packets [03:42:17]CheckFolder done [03:42:17]ProducePacketName [03:42:17]name=ofd_packets/00068288 [03:42:17]NVStorageSaveData ofd_packets/00068288 [03:42:17]File name is /storage/ofd_packets/00068288 [03:42:17]Write 301 bytes [03:42:17]NVStorageSaveData done [03:42:17]OFDSenderStorePacket done [03:42:17]KKMCreateOFDPacket done [03:42:17]NVStorageSaveData kkm_last_timestamp [03:42:17]File name is /storage/kkm_last_timestamp [03:42:17]Write 4 bytes [03:42:17]NVStorageSaveData done [03:42:17]ExternCall_PrintAddStr [03:42:17]wPrintStart [03:42:17]Write to MH i2c: 01 00 00 29 14 3D [03:42:17]Write i2c OK [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: 01 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: 01 07 00 [03:42:17]MH_I2C_Read... [03:42:17]Read from MH i2c: 01 07 00 29 14 00 00 00 00 00 FF 0F 52 [03:42:17]RasterBufferAndPrint [03:42:17]line Счет N : (1)46309 [03:42:17]line ИНН: 02508201610067 [03:42:17]line Контрольно-Кассовый Чек [03:42:17]line ПРОДАЖА [03:42:17]line ТРК (МРК, ГНК) : 24 [03:42:17]line Товар: 2710124500 [03:42:17]line Аи-95-К-3 [03:42:17]line 20.190 * 74.20 [03:42:17]line = 1498.10 [03:42:17]line НДС 12% НСП 1% [03:42:17]line > о реализуемом товаре [03:42:17]line ОКРУГЛЕНИЕ: -0.10 [03:42:17]line ИТОГО: 1498.00 [03:42:17]line Внесено: 2000.00 [03:42:17]line СДАЧА: 502.00 [03:42:17]line НСП 1% : 13.26 [03:42:17]line НДС 12% : 159.09 [03:42:17]line Наличными: 1498.00 [03:42:17]line Безнал.: 0.00 [03:42:17]line Место: АЗС № 160 "Партнер Нефть" [03:42:17]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [03:42:17]line СНО: Общий режим [03:42:17]line Чек 11 29.10.2024 03:42 [03:42:17]line Смена: 548 ФФД: 1.0 [03:42:17]line ЗНМ: 0300000093 [03:42:17]line РНМ: 0000000000091759 [03:42:17]line Версия ККМ: 001 [03:42:17]line ФМ: 0000000000871758 [03:42:17]line ФД: 68288 [03:42:17]line ФПД: 119075256226578 [03:42:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T034218&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68288&fm=119075256226578&tin=02508201610067®Number=0000000000091759&sum=149800 [03:42:17]written 0, free lines is 4095 [03:42:18]OFD Sender: Processing packet 68288 [packets to send 27, broken 26] [03:42:18]ProducePacketName [03:42:18]name=ofd_packets/00068288 [03:42:18]OFD Sender: To server: pG, [03:42:18]CommunicateWithHost lk.salyk.kg:30040 [03:42:18]ConnectInit lk.salyk.kg [03:42:18]Connected sock=10 [03:42:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 BC 93 07 01 C7 FD 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 33 FF 03 08 00 03 DE 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 32 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2E 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 3E 00 00 00 00 07 04 06 00 28 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 0B 00 00 00 F4 03 04 00 9A 59 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C0 0A 01 00 35 04 06 00 6C 4C 5E 59 53 12 5D 95 9B AF 3C 56 CF FC [03:42:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 57 8B 47 00 20 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C0 0A 01 00 F4 03 04 00 79 05 20 67 B6 04 01 00 00 FD C9 B5 91 CC A2 C0 EA [03:42:18]CommunicateWithHost err = 0 [03:42:18]CheckOFDResponse [03:42:18]1017 (14) - 77093643461234 [03:42:18]1041 (16) - 0000000000871758 [03:42:18]1040 (4) - 68288 [03:42:18]1012 (4) - 28.10.2024 21:43 [03:42:18]1206 (1) - 0 [03:42:18]OFD Sender: Remove packet 68288 [03:42:18]ProducePacketName [03:42:18]name=ofd_packets/00068288 [03:42:18]NVStorageDeleteData [03:42:18]Write to MH i2c: 01 00 00 53 14 67 [03:42:18]Write i2c OK [03:42:18]MH_I2C_Read... [03:42:18]Read from MH i2c: 01 [03:42:18]MH_I2C_Read... [03:42:18]Read from MH i2c: 01 07 00 [03:42:18]MH_I2C_Read... [03:42:18]Read from MH i2c: 01 07 00 53 14 00 00 00 00 00 BC 0C 36 [03:42:18]RasterBufferAndPrint [03:42:18]line [03:42:18]line [03:42:18]line [03:42:18]line [03:42:18]line [03:42:18]written 0, free lines is 3268 [03:42:18]MH_Cut [03:42:18]Write to MH i2c: D1 01 00 5A 14 01 40 [03:42:18]Write i2c OK [03:42:18]MH_I2C_Read... [03:42:18]Read from MH i2c: D1 [03:42:18]MH_I2C_Read... [03:42:18]Read from MH i2c: D1 01 00 [03:42:18]MH_I2C_Read... [03:42:18]Read from MH i2c: D1 01 00 5A 14 00 3F [03:42:18]Write to MH i2c: 01 00 00 5B 14 6F [03:42:18]Write i2c OK [03:42:18]MH_I2C_Read... [03:42:18]OFD Sender: No OFD packet to send [03:42:19]*** Cut start [03:42:19]*** Partial cut [03:42:19]*** CUTSNS_PIN = 1 [03:42:19]*** CUTSNS_PIN = 0 [03:42:19]*** Brake cut motor [03:42:19]Read from MH i2c: 01 [03:42:19]MH_I2C_Read... [03:42:19]*** Stop cut motor [03:42:19]*** Cut end [03:42:19]Read from MH i2c: 01 07 00 [03:42:19]MH_I2C_Read... [03:42:19]Read from MH i2c: 01 07 00 5B 14 00 00 00 00 00 FF 0F 84 [03:42:19]process_action close_receipt done [03:42:19]requested_data is exist [03:42:19]produce_requested_data [03:42:19]requested_item fm.sn is exist - process it [03:42:19]wFMCommunicate request_size=4 [03:42:19]MH_SAM_APDU [03:42:19]CAPDU: 80 11 00 00 [03:42:19]Write to MH i2c: E2 08 00 5C 14 80 11 00 00 00 00 00 00 EA [03:42:19]Write i2c OK [03:42:19]MH_I2C_Read... [03:42:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:42:19]Read from MH i2c: E2 [03:42:19]MH_I2C_Read... [03:42:19]Read from MH i2c: E2 17 00 [03:42:19]MH_I2C_Read... [03:42:19]Read from MH i2c: E2 17 00 5C 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 41 [03:42:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:42:19]wFMCommunicate OK [03:42:19]requested_item fd.num is exist - process it [03:42:19]SAM_PROTO_GetFieldsCounters [03:42:19]wFMCommunicate request_size=4 [03:42:19]MH_SAM_APDU [03:42:19]CAPDU: 80 13 00 00 [03:42:19]Write to MH i2c: E2 08 00 5D 14 80 13 00 00 00 00 00 00 ED [03:42:19]Write i2c OK [03:42:19]MH_I2C_Read... [03:42:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:42:20]Read from MH i2c: E2 [03:42:20]MH_I2C_Read... [03:42:20]Read from MH i2c: E2 62 00 [03:42:20]MH_I2C_Read... [03:42:20]Read from MH i2c: E2 62 00 5D 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C0 0A 01 00 0E 04 04 00 24 02 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 2A [03:42:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C0 0A 01 00 0E 04 04 00 24 02 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 [03:42:20]wFMCommunicate OK [03:42:20]SAM_PROTO_GetFieldsCounters done [03:42:20]requested_item shift.num is exist - process it [03:42:20]requested_item shift.opened is exist - process it [03:42:20]req_shift_opened [03:42:20]FM_GetShiftState [03:42:20]SAM_PROTO_GetShiftState [03:42:20]wFMCommunicate request_size=4 [03:42:20]MH_SAM_APDU [03:42:20]CAPDU: 80 13 01 00 [03:42:20]Write to MH i2c: E2 08 00 5E 14 80 13 01 00 00 00 00 00 EF [03:42:20]Write i2c OK [03:42:20]MH_I2C_Read... [03:42:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:42:20]Read from MH i2c: E2 [03:42:20]MH_I2C_Read... [03:42:20]Read from MH i2c: E2 0E 00 [03:42:20]MH_I2C_Read... [03:42:20]Read from MH i2c: E2 0E 00 5E 14 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 9F [03:42:20]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [03:42:20]wFMCommunicate OK [03:42:20]SAM_PROTO_GetShiftState done [03:42:20]FM_GetShiftState done [03:42:20]req_shift_opened done [03:42:20]requested_item shift.open_date is exist - process it [03:42:20]req_shift_open_date [03:42:20]req_shift_open_date done [03:42:20]produce_requested_data done [03:42:20]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68288,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [03:42:20]process_action_free close_receipt [03:42:20]json_value_free [03:42:20]json_value_free done [03:42:20]process_json_proto returns [03:42:20]Send response to host [03:42:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68288,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [03:42:20]free response buf [03:42:20]execute_script done [03:42:20]execute_script returns [03:42:20]free content buf [03:42:20]Sock 7.Close socket [03:42:20]Sock 7.Thread stoped [03:42:23]OFD Sender: No OFD packet to send [03:42:25]accept exits with 9 [03:42:25]New connection [03:42:25]New thread 3067354468 created [03:42:25]Thread 3067497828 joined [03:42:25]Waiting for new connection... [03:42:25] Sock 9.Parse request [03:42:25]Sock 9.Check first char [03:42:25]Sock 9.First char is OK [03:42:25]request: POST /json_proto HTTP/1.0 [03:42:25]Method: POST [03:42:25]URL: /json_proto [03:42:25]Method is POST - this is cgi request [03:42:25]url: /json_proto [03:42:25]query_string will be loaded in cgi processing [03:42:25]execute_cgi json_proto POST (null) [03:42:25]execute_cgi path=json_proto method=POST [03:42:25]POST find Content-Length [03:42:25]Host: 172.17.42.3:8080 [03:42:25]Content-Length: 765 [03:42:25]Content-Type: application/json [03:42:25] [03:42:25]POST finish read [03:42:25]Found Content-Length = 765 [03:42:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46310", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 32.810, "sum" : 2500.12, "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" : 2500.12 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:42:25]execute_script... [03:42: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)46310", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 32.810, "sum" : 2500.12, "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" : 2500.12 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:42:25]POST & json_proto [03:42:25]process_json_proto [03:42:25]json parsed OK: [03:42:25]protocol is kg_v1.0 [03:42:25]action value=close_receipt [03:42:25]process_action close_receipt [03:42:25]cmd_close_receipt [03:42:25]MH_GetDate [03:42:25]Write to MH i2c: F0 00 00 5F 14 62 [03:42:25]Write i2c OK [03:42:25]MH_I2C_Read... [03:42:25]Read from MH i2c: F0 [03:42:25]MH_I2C_Read... [03:42:25]Read from MH i2c: F0 09 00 [03:42:25]MH_I2C_Read... [03:42:25]Read from MH i2c: F0 09 00 5F 14 00 A3 59 20 67 0E CB 1F 67 4D [03:42:25]GetLastDocTimeStamp 1730173338 [03:42:25]current date 1730173347 [03:42:25]FM_GetShiftState [03:42:25]SAM_PROTO_GetShiftState [03:42:25]wFMCommunicate request_size=4 [03:42:25]MH_SAM_APDU [03:42:25]CAPDU: 80 13 01 00 [03:42:25]Write to MH i2c: E2 08 00 60 14 80 13 01 00 00 00 00 00 F1 [03:42:25]Write i2c OK [03:42:25]MH_I2C_Read... [03:42:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:42:25]Read from MH i2c: E2 [03:42:25]MH_I2C_Read... [03:42:25]Read from MH i2c: E2 0E 00 [03:42:25]MH_I2C_Read... [03:42:25]Read from MH i2c: E2 0E 00 60 14 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 A1 [03:42:25]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [03:42:25]wFMCommunicate OK [03:42:25]SAM_PROTO_GetShiftState done [03:42:25]FM_GetShiftState done [03:42:25]opened in 1730160885 [03:42:25]opened+sec_in_day 1730247285 [03:42:25]quantity*price = 250012 [03:42:25]sum+1 = 250013 [03:42:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2500.12 НСП 1% : 22.12 НДС 12% : 265.50 Наличными: 0.00 Безнал.: 2500.12 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 12 29.10.2024 03:42 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68289 ФПД: 17289026692512 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T034227&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68289&fm=17289026692512&tin=02508201610067®Number=0000000000091759&sum=250012 [03:42:26]StoreToDocumentArchive [03:42:26]shift 548 fd 68289 [03:42:26]save to /storage/0548/doc_00068289 [03:42:26]save last doc name /storage/0548/doc_00068289 to /storage/kkm_last_doc_name [03:42:26]save OK [03:42:26]Clear old archive folders... [03:42:26]ProcessDocumentItem done err = 0, tmpTLVsize=248 [03:42:26]tlvbuf is 005A3910 [03:42:26]SAM_PROTO_ClearQueue [03:42:26]wFMCommunicate request_size=4 [03:42:26]MH_SAM_APDU [03:42:26]CAPDU: 80 09 00 00 [03:42:26]Write to MH i2c: E2 08 00 6D 14 80 09 00 00 00 00 00 00 F3 [03:42:26]Write i2c OK [03:42:26]MH_I2C_Read... [03:42:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:42:26]Read from MH i2c: E2 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 03 00 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 03 00 6D 14 00 90 00 F5 [03:42:26]RAPDU: 90 00 [03:42:26]wFMCommunicate OK [03:42:26]SAM_PROTO_ClearQueue done [03:42:26]KKMCreateOFDPacket [03:42:26]OFDProtocolAddRootSTLVToBuf [03:42:26]FM_MakeSignedData [03:42:26]FM_MakeSignedData [03:42:26]SAM_PROTO_SignData [03:42:26]wFMCommunicate request_size=4 [03:42:26]MH_SAM_APDU [03:42:26]CAPDU: 80 0D 01 02 [03:42:26]Write to MH i2c: E2 08 00 6E 14 80 0D 01 02 00 00 00 00 FB [03:42:26]Write i2c OK [03:42:26]MH_I2C_Read... [03:42:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:42:26]Read from MH i2c: E2 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 03 00 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 03 00 6E 14 00 90 00 F6 [03:42:26]RAPDU: 90 00 [03:42:26]wFMCommunicate OK [03:42:26]wFMCommunicate request_size=255 [03:42:26]MH_SAM_APDU [03:42:26]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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A3 59 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C1 0A 01 00 35 04 06 00 0F B9 6A 4B [03:42:26]Write to MH i2c: E2 02 01 6F 14 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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A3 59 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C1 0A 01 00 35 04 06 00 0F B9 6A 4B 00 00 01 [03:42:26]Write i2c OK [03:42:26]MH_I2C_Read... [03:42:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:42:26]Read from MH i2c: E2 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 03 00 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 03 00 6F 14 00 90 00 F7 [03:42:26]RAPDU: 90 00 [03:42:26]wFMCommunicate OK [03:42:26]wFMCommunicate request_size=7 [03:42:26]MH_SAM_APDU [03:42:26]CAPDU: 80 0D 02 02 02 65 A0 [03:42:26]Write to MH i2c: E2 0A 00 70 14 80 0D 02 02 02 00 65 A0 00 00 07 [03:42:26]Write i2c OK [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 [03:42:26]MH_I2C_Read... [03:42:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:42:26]Read from MH i2c: E2 03 00 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 03 00 70 14 00 90 00 F8 [03:42:26]RAPDU: 90 00 [03:42:26]wFMCommunicate OK [03:42:26]wFMCommunicate request_size=4 [03:42:26]MH_SAM_APDU [03:42:26]CAPDU: 80 0D 03 02 [03:42:26]Write to MH i2c: E2 08 00 71 14 80 0D 03 02 00 00 00 00 00 [03:42:26]Write i2c OK [03:42:26]MH_I2C_Read... [03:42:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:42:26]Read from MH i2c: E2 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 0B 00 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 0B 00 71 14 00 7C D5 CB 94 DB 87 56 8C 90 00 F5 [03:42:26]RAPDU: 7C D5 CB 94 DB 87 56 8C 90 00 [03:42:26]wFMCommunicate OK [03:42:26]SAM_PROTO_SignData done [03:42:26]FM_MakeSignedData done [03:42:26]CreateOFDProtocolMessage [03:42:26]wFMCommunicate request_size=4 [03:42:26]MH_SAM_APDU [03:42:26]CAPDU: 80 11 00 00 [03:42:26]Write to MH i2c: E2 08 00 72 14 80 11 00 00 00 00 00 00 00 [03:42:26]Write i2c OK [03:42:26]MH_I2C_Read... [03:42:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:42:26]Read from MH i2c: E2 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 17 00 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: E2 17 00 72 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 57 [03:42:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:42:26]wFMCommunicate OK [03:42:26]CreateOFDProtocolMessage done [03:42:26]OFDSenderStorePacket 68289 [03:42:26]StoreOFDPacket docnum=68289 [03:42:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 BA E2 04 01 86 F8 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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A3 59 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C1 0A 01 00 35 04 06 00 0F B9 6A 4B 65 A0 7C D5 CB 94 DB 87 56 8C [03:42:26]CheckFolder [03:42:26]dirname=/storage/ofd_packets [03:42:26]CheckFolder done [03:42:26]ProducePacketName [03:42:26]name=ofd_packets/00068289 [03:42:26]NVStorageSaveData ofd_packets/00068289 [03:42:26]File name is /storage/ofd_packets/00068289 [03:42:26]Write 298 bytes [03:42:26]NVStorageSaveData done [03:42:26]OFDSenderStorePacket done [03:42:26]KKMCreateOFDPacket done [03:42:26]NVStorageSaveData kkm_last_timestamp [03:42:26]File name is /storage/kkm_last_timestamp [03:42:26]Write 4 bytes [03:42:26]NVStorageSaveData done [03:42:26]ExternCall_PrintAddStr [03:42:26]wPrintStart [03:42:26]Write to MH i2c: 01 00 00 73 14 87 [03:42:26]Write i2c OK [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: 01 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: 01 07 00 [03:42:26]MH_I2C_Read... [03:42:26]Read from MH i2c: 01 07 00 73 14 00 00 00 00 00 FF 0F 9C [03:42:26]RasterBufferAndPrint [03:42:26]line Счет N : (1)46310 [03:42:26]line ИНН: 02508201610067 [03:42:26]line Контрольно-Кассовый Чек [03:42:26]line ПРОДАЖА [03:42:26]line ТРК (МРК, ГНК) : 11 [03:42:26]line Товар: 2710194210 [03:42:26]line ДТ-К-5 [03:42:26]line 32.810 * 76.20 [03:42:26]line = 2500.12 [03:42:26]line НДС 12% НСП 1% [03:42:26]line > о реализуемом товаре [03:42:26]line ИТОГО: 2500.12 [03:42:26]line НСП 1% : 22.12 [03:42:26]line НДС 12% : 265.50 [03:42:26]line Наличными: 0.00 [03:42:26]line Безнал.: 2500.12 [03:42:26]line Место: АЗС № 160 "Партнер Нефть" [03:42:26]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [03:42:26]line СНО: Общий режим [03:42:26]line Чек 12 29.10.2024 03:42 [03:42:26]line Смена: 548 ФФД: 1.0 [03:42:26]line ЗНМ: 0300000093 [03:42:26]line РНМ: 0000000000091759 [03:42:26]line Версия ККМ: 001 [03:42:26]line Платежная система: Mbank [03:42:26]line ФМ: 0000000000871758 [03:42:26]line ФД: 68289 [03:42:26]line ФПД: 17289026692512 [03:42:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T034227&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68289&fm=17289026692512&tin=02508201610067®Number=0000000000091759&sum=250012 [03:42:26]written 0, free lines is 4095 [03:42:26]OFD Sender: Processing packet 68289 [packets to send 27, broken 26] [03:42:26]ProducePacketName [03:42:26]name=ofd_packets/00068289 [03:42:26]OFD Sender: To server: pG, [03:42:26]CommunicateWithHost lk.salyk.kg:30040 [03:42:26]ConnectInit lk.salyk.kg [03:42:26]Connected sock=10 [03:42:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 BA E2 04 01 86 F8 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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A3 59 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C1 0A 01 00 35 04 06 00 0F B9 6A 4B 65 A0 7C D5 CB 94 DB 87 56 8C [03:42:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 AA 08 47 00 65 F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C1 0A 01 00 F4 03 04 00 82 05 20 67 B6 04 01 00 00 4C 3E 34 BF 8E B6 4A AC [03:42:27]CommunicateWithHost err = 0 [03:42:27]CheckOFDResponse [03:42:27]1017 (14) - 77093643461234 [03:42:27]1041 (16) - 0000000000871758 [03:42:27]1040 (4) - 68289 [03:42:27]1012 (4) - 28.10.2024 21:43 [03:42:27]1206 (1) - 0 [03:42:27]OFD Sender: Remove packet 68289 [03:42:27]ProducePacketName [03:42:27]name=ofd_packets/00068289 [03:42:27]NVStorageDeleteData [03:42:27]Write to MH i2c: 01 00 00 9B 14 AF [03:42:27]Write i2c OK [03:42:27]MH_I2C_Read... [03:42:27]Read from MH i2c: 01 [03:42:27]MH_I2C_Read... [03:42:27]Read from MH i2c: 01 07 00 [03:42:27]MH_I2C_Read... [03:42:27]Read from MH i2c: 01 07 00 9B 14 00 00 00 00 00 DA 0C 9C [03:42:27]RasterBufferAndPrint [03:42:27]line [03:42:27]line [03:42:27]line [03:42:27]line [03:42:27]line [03:42:27]written 0, free lines is 3298 [03:42:27]MH_Cut [03:42:27]Write to MH i2c: D1 01 00 A2 14 01 88 [03:42:27]Write i2c OK [03:42:27]MH_I2C_Read... [03:42:27]Read from MH i2c: D1 [03:42:27]MH_I2C_Read... [03:42:27]Read from MH i2c: D1 01 00 [03:42:27]MH_I2C_Read... [03:42:27]Read from MH i2c: D1 01 00 A2 14 00 87 [03:42:27]Write to MH i2c: 01 00 00 A3 14 B7 [03:42:27]Write i2c OK [03:42:27]MH_I2C_Read... [03:42:27]OFD Sender: No OFD packet to send [03:42:28]*** Cut start [03:42:28]*** Partial cut [03:42:28]*** CUTSNS_PIN = 1 [03:42:28]*** CUTSNS_PIN = 0 [03:42:28]*** Brake cut motor [03:42:28]Read from MH i2c: 01 [03:42:28]MH_I2C_Read... [03:42:28]*** Stop cut motor [03:42:28]*** Cut end [03:42:28]Read from MH i2c: 01 07 00 [03:42:28]MH_I2C_Read... [03:42:28]Read from MH i2c: 01 07 00 A3 14 00 00 00 00 00 FF 0F CC [03:42:28]process_action close_receipt done [03:42:28]requested_data is exist [03:42:28]produce_requested_data [03:42:28]requested_item fm.sn is exist - process it [03:42:28]wFMCommunicate request_size=4 [03:42:28]MH_SAM_APDU [03:42:28]CAPDU: 80 11 00 00 [03:42:28]Write to MH i2c: E2 08 00 A4 14 80 11 00 00 00 00 00 00 32 [03:42:28]Write i2c OK [03:42:28]MH_I2C_Read... [03:42:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:42:28]Read from MH i2c: E2 [03:42:28]MH_I2C_Read... [03:42:28]Read from MH i2c: E2 17 00 [03:42:28]MH_I2C_Read... [03:42:28]Read from MH i2c: E2 17 00 A4 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 89 [03:42:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:42:28]wFMCommunicate OK [03:42:28]requested_item fd.num is exist - process it [03:42:28]SAM_PROTO_GetFieldsCounters [03:42:28]wFMCommunicate request_size=4 [03:42:28]MH_SAM_APDU [03:42:28]CAPDU: 80 13 00 00 [03:42:28]Write to MH i2c: E2 08 00 A5 14 80 13 00 00 00 00 00 00 35 [03:42:28]Write i2c OK [03:42:28]MH_I2C_Read... [03:42:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:42:28]Read from MH i2c: E2 [03:42:28]MH_I2C_Read... [03:42:28]Read from MH i2c: E2 62 00 [03:42:28]MH_I2C_Read... [03:42:28]Read from MH i2c: E2 62 00 A5 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C1 0A 01 00 0E 04 04 00 24 02 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 76 [03:42:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C1 0A 01 00 0E 04 04 00 24 02 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 [03:42:28]wFMCommunicate OK [03:42:28]SAM_PROTO_GetFieldsCounters done [03:42:28]requested_item shift.num is exist - process it [03:42:28]requested_item shift.opened is exist - process it [03:42:28]req_shift_opened [03:42:28]FM_GetShiftState [03:42:28]SAM_PROTO_GetShiftState [03:42:28]wFMCommunicate request_size=4 [03:42:28]MH_SAM_APDU [03:42:28]CAPDU: 80 13 01 00 [03:42:28]Write to MH i2c: E2 08 00 A6 14 80 13 01 00 00 00 00 00 37 [03:42:28]Write i2c OK [03:42:28]MH_I2C_Read... [03:42:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:42:28]Read from MH i2c: E2 [03:42:28]MH_I2C_Read... [03:42:28]Read from MH i2c: E2 0E 00 [03:42:28]MH_I2C_Read... [03:42:28]Read from MH i2c: E2 0E 00 A6 14 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 E7 [03:42:28]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [03:42:28]wFMCommunicate OK [03:42:28]SAM_PROTO_GetShiftState done [03:42:28]FM_GetShiftState done [03:42:28]req_shift_opened done [03:42:28]requested_item shift.open_date is exist - process it [03:42:28]req_shift_open_date [03:42:28]req_shift_open_date done [03:42:28]produce_requested_data done [03:42:28]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68289,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [03:42:28]process_action_free close_receipt [03:42:28]json_value_free [03:42:28]json_value_free done [03:42:28]process_json_proto returns [03:42:28]Send response to host [03:42:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68289,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [03:42:28]free response buf [03:42:28]execute_script done [03:42:28]execute_script returns [03:42:28]free content buf [03:42:28]Sock 9.Close socket [03:42:28]Sock 9.Thread stoped [03:42:32]OFD Sender: No OFD packet to send [03:42:37]OFD Sender: No OFD packet to send [03:42:42]OFD Sender: No OFD packet to send [03:42:47]OFD Sender: No OFD packet to send [03:42:52]OFD Sender: No OFD packet to send [03:42:57]OFD Sender: No OFD packet to send [03:43:02]OFD Sender: No OFD packet to send [03:43:07]OFD Sender: No OFD packet to send [03:43:12]OFD Sender: No OFD packet to send [03:43:17]OFD Sender: No OFD packet to send [03:43:22]OFD Sender: No OFD packet to send [03:43:27]OFD Sender: No OFD packet to send [03:43:32]OFD Sender: No OFD packet to send [03:43:37]OFD Sender: No OFD packet to send [03:43:42]OFD Sender: No OFD packet to send [03:43:47]OFD Sender: No OFD packet to send [03:43:52]OFD Sender: No OFD packet to send [03:43:57]OFD Sender: No OFD packet to send [03:44:02]OFD Sender: No OFD packet to send [03:44:07]OFD Sender: No OFD packet to send [03:44:12]OFD Sender: No OFD packet to send [03:44:17]OFD Sender: No OFD packet to send [03:44:22]OFD Sender: No OFD packet to send [03:44:27]OFD Sender: No OFD packet to send [03:44:32]OFD Sender: No OFD packet to send [03:44:37]OFD Sender: No OFD packet to send [03:44:42]OFD Sender: No OFD packet to send [03:44:47]OFD Sender: No OFD packet to send [03:44:52]OFD Sender: No OFD packet to send [03:44:57]OFD Sender: No OFD packet to send [03:45:02]OFD Sender: No OFD packet to send [03:45:07]OFD Sender: No OFD packet to send [03:45:12]OFD Sender: No OFD packet to send [03:45:17]OFD Sender: No OFD packet to send [03:45:22]OFD Sender: No OFD packet to send [03:45:27]OFD Sender: No OFD packet to send [03:45:32]OFD Sender: No OFD packet to send [03:45:37]OFD Sender: No OFD packet to send [03:45:42]OFD Sender: No OFD packet to send [03:45:47]OFD Sender: No OFD packet to send [03:45:52]OFD Sender: No OFD packet to send [03:45:57]OFD Sender: No OFD packet to send [03:46:02]OFD Sender: No OFD packet to send [03:46:07]OFD Sender: No OFD packet to send [03:46:12]OFD Sender: No OFD packet to send [03:46:17]OFD Sender: No OFD packet to send [03:46:22]OFD Sender: No OFD packet to send [03:46:27]OFD Sender: No OFD packet to send [03:46:32]OFD Sender: No OFD packet to send [03:46:37]OFD Sender: No OFD packet to send [03:46:42]OFD Sender: No OFD packet to send [03:46:47]OFD Sender: No OFD packet to send [03:46:52]OFD Sender: No OFD packet to send [03:46:57]OFD Sender: No OFD packet to send [03:47:02]OFD Sender: No OFD packet to send [03:47:07]OFD Sender: No OFD packet to send [03:47:12]OFD Sender: No OFD packet to send [03:47:17]OFD Sender: No OFD packet to send [03:47:22]OFD Sender: No OFD packet to send [03:47:27]OFD Sender: No OFD packet to send [03:47:32]OFD Sender: No OFD packet to send [03:47:37]OFD Sender: No OFD packet to send [03:47:42]OFD Sender: No OFD packet to send [03:47:47]OFD Sender: No OFD packet to send [03:47:52]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]OFD Sender: No OFD packet to send [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:53]OFD Sender: No OFD packet to send [03:49:58]OFD Sender: No OFD packet to send [03:50:03]OFD Sender: No OFD packet to send [03:50:08]OFD Sender: No OFD packet to send [03:50:13]OFD Sender: No OFD packet to send [03:50:18]OFD Sender: No OFD packet to send [03:50:23]OFD Sender: No OFD packet to send [03:50:28]OFD Sender: No OFD packet to send [03:50:33]OFD Sender: No OFD packet to send [03:50:38]OFD Sender: No OFD packet to send [03:50:43]OFD Sender: No OFD packet to send [03:50:48]OFD Sender: No OFD packet to send [03:50:53]OFD Sender: No OFD packet to send [03:50:58]OFD Sender: No OFD packet to send [03:51:03]OFD Sender: No OFD packet to send [03:51:08]OFD Sender: No OFD packet to send [03:51:13]OFD Sender: No OFD packet to send [03:51:18]OFD Sender: No OFD packet to send [03:51:23]OFD Sender: No OFD packet to send [03:51:28]OFD Sender: No OFD packet to send [03:51:33]OFD Sender: No OFD packet to send [03:51:38]OFD Sender: No OFD packet to send [03:51:43]OFD Sender: No OFD packet to send [03:51:48]OFD Sender: No OFD packet to send [03:51:53]OFD Sender: No OFD packet to send [03:51:58]OFD Sender: No OFD packet to send [03:52:03]OFD Sender: No OFD packet to send [03:52:08]OFD Sender: No OFD packet to send [03:52:13]OFD Sender: No OFD packet to send [03:52:18]OFD Sender: No OFD packet to send [03:52:23]OFD Sender: No OFD packet to send [03:52:28]OFD Sender: No OFD packet to send [03:52:33]OFD Sender: No OFD packet to send [03:52:38]OFD Sender: No OFD packet to send [03:52:43]OFD Sender: No OFD packet to send [03:52:48]OFD Sender: No OFD packet to send [03:52:53]OFD Sender: No OFD packet to send [03:52:58]OFD Sender: No OFD packet to send [03:53:03]OFD Sender: No OFD packet to send [03:53:08]OFD Sender: No OFD packet to send [03:53:13]OFD Sender: No OFD packet to send [03:53:18]OFD Sender: No OFD packet to send [03:53:23]OFD Sender: No OFD packet to send [03:53:28]OFD Sender: No OFD packet to send [03:53:33]OFD Sender: No OFD packet to send [03:53:38]OFD Sender: No OFD packet to send [03:53:43]OFD Sender: No OFD packet to send [03:53:48]OFD Sender: No OFD packet to send [03:53:53]OFD Sender: No OFD packet to send [03:53:58]OFD Sender: No OFD packet to send [03:54:03]OFD Sender: No OFD packet to send [03:54:08]OFD Sender: No OFD packet to send [03:54:13]OFD Sender: No OFD packet to send [03:54:18]OFD Sender: No OFD packet to send [03:54:23]OFD Sender: No OFD packet to send [03:54:28]OFD Sender: No OFD packet to send [03:54:33]OFD Sender: No OFD packet to send [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:58]OFD Sender: No OFD packet to send [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:03]OFD Sender: No OFD packet to send [04:07:08]OFD Sender: No OFD packet to send [04:07:13]OFD Sender: No OFD packet to send [04:07:18]OFD Sender: No OFD packet to send [04:07:23]OFD Sender: No OFD packet to send [04:07:28]OFD Sender: No OFD packet to send [04:07:33]OFD Sender: No OFD packet to send [04:07:38]OFD Sender: No OFD packet to send [04:07:43]OFD Sender: No OFD packet to send [04:07:48]OFD Sender: No OFD packet to send [04:07:53]OFD Sender: No OFD packet to send [04:07:58]OFD Sender: No OFD packet to send [04:08:03]OFD Sender: No OFD packet to send [04:08:08]OFD Sender: No OFD packet to send [04:08:13]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:34]OFD Sender: No OFD packet to send [04:09:39]OFD Sender: No OFD packet to send [04:09:44]OFD Sender: No OFD packet to send [04:09:49]OFD Sender: No OFD packet to send [04:09:54]OFD Sender: No OFD packet to send [04:09:59]OFD Sender: No OFD packet to send [04:10:04]OFD Sender: No OFD packet to send [04:10:09]OFD Sender: No OFD packet to send [04:10:14]OFD Sender: No OFD packet to send [04:10:19]OFD Sender: No OFD packet to send [04:10:24]OFD Sender: No OFD packet to send [04:10:29]OFD Sender: No OFD packet to send [04:10:34]OFD Sender: No OFD packet to send [04:10:39]OFD Sender: No OFD packet to send [04:10:44]OFD Sender: No OFD packet to send [04:10:49]OFD Sender: No OFD packet to send [04:10:54]OFD Sender: No OFD packet to send [04:10:59]OFD Sender: No OFD packet to send [04:11:04]OFD Sender: No OFD packet to send [04:11:09]OFD Sender: No OFD packet to send [04:11:14]OFD Sender: No OFD packet to send [04:11:19]OFD Sender: No OFD packet to send [04:11:24]OFD Sender: No OFD packet to send [04:11:29]OFD Sender: No OFD packet to send [04:11:34]OFD Sender: No OFD packet to send [04:11:39]OFD Sender: No OFD packet to send [04:11:44]OFD Sender: No OFD packet to send [04:11:49]OFD Sender: No OFD packet to send [04:11:54]OFD Sender: No OFD packet to send [04:11:59]OFD Sender: No OFD packet to send [04:12:04]OFD Sender: No OFD packet to send [04:12:09]OFD Sender: No OFD packet to send [04:12:14]OFD Sender: No OFD packet to send [04:12:19]OFD Sender: No OFD packet to send [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]OFD Sender: No OFD packet to send [04:21:19]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:07]accept exits with 7 [04:24:07]New connection [04:24:07]New thread 3067497828 created [04:24:07]Thread 3067354468 joined [04:24:07]Waiting for new connection... [04:24:07] Sock 7.Parse request [04:24:07]Sock 7.Check first char [04:24:07]Sock 7.First char is OK [04:24:07]request: POST /json_proto HTTP/1.0 [04:24:07]Method: POST [04:24:07]URL: /json_proto [04:24:07]Method is POST - this is cgi request [04:24:07]url: /json_proto [04:24:07]query_string will be loaded in cgi processing [04:24:07]execute_cgi json_proto POST (null) [04:24:07]execute_cgi path=json_proto method=POST [04:24:07]POST find Content-Length [04:24:07]Host: 172.17.42.3:8080 [04:24:07]Content-Length: 678 [04:24:07]Content-Type: application/json [04:24:07] [04:24:07]POST finish read [04:24:07]Found Content-Length = 678 [04:24:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46311", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 39.370, "sum" : 2999.99, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 2999.00, "payments": [ { "type": 0, "sum" : 2999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:24:07]execute_script... [04:24: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)46311", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 39.370, "sum" : 2999.99, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 2999.00, "payments": [ { "type": 0, "sum" : 2999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:24:07]POST & json_proto [04:24:07]process_json_proto [04:24:07]json parsed OK: [04:24:07]protocol is kg_v1.0 [04:24:07]action value=close_receipt [04:24:07]process_action close_receipt [04:24:07]cmd_close_receipt [04:24:07]MH_GetDate [04:24:07]Write to MH i2c: F0 00 00 A7 14 AA [04:24:07]Write i2c OK [04:24:07]MH_I2C_Read... [04:24:07]Read from MH i2c: F0 [04:24:07]MH_I2C_Read... [04:24:07]Read from MH i2c: F0 09 00 [04:24:07]MH_I2C_Read... [04:24:07]Read from MH i2c: F0 09 00 A7 14 00 69 63 20 67 0E CB 1F 67 65 [04:24:07]GetLastDocTimeStamp 1730173347 [04:24:07]current date 1730175849 [04:24:07]FM_GetShiftState [04:24:07]SAM_PROTO_GetShiftState [04:24:07]wFMCommunicate request_size=4 [04:24:07]MH_SAM_APDU [04:24:07]CAPDU: 80 13 01 00 [04:24:07]Write to MH i2c: E2 08 00 A8 14 80 13 01 00 00 00 00 00 39 [04:24:07]Write i2c OK [04:24:07]MH_I2C_Read... [04:24:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:24:07]Read from MH i2c: E2 [04:24:07]MH_I2C_Read... [04:24:07]Read from MH i2c: E2 0E 00 [04:24:07]MH_I2C_Read... [04:24:07]Read from MH i2c: E2 0E 00 A8 14 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 E9 [04:24:07]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [04:24:07]wFMCommunicate OK [04:24:07]SAM_PROTO_GetShiftState done [04:24:07]FM_GetShiftState done [04:24:07]opened in 1730160885 [04:24:07]opened+sec_in_day 1730247285 [04:24:07]quantity*price = 299999 [04:24:07]sum+1 = 300000 [04:24:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.99 ИТОГО: 2999.00 Внесено: 3000.00 СДАЧА: 1.00 НСП 1% : 26.55 НДС 12% : 318.58 Наличными: 2999.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 13 29.10.2024 04:24 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68290 ФПД: 194660155981112 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T042409&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68290&fm=194660155981112&tin=02508201610067®Number=0000000000091759&sum=299900 [04:24:08]StoreToDocumentArchive [04:24:08]shift 548 fd 68290 [04:24:08]save to /storage/0548/doc_00068290 [04:24:08]save last doc name /storage/0548/doc_00068290 to /storage/kkm_last_doc_name [04:24:08]save OK [04:24:08]Clear old archive folders... [04:24:08]ProcessDocumentItem done err = 0, tmpTLVsize=248 [04:24:08]tlvbuf is B6F2D090 [04:24:08]SAM_PROTO_ClearQueue [04:24:08]wFMCommunicate request_size=4 [04:24:08]MH_SAM_APDU [04:24:08]CAPDU: 80 09 00 00 [04:24:08]Write to MH i2c: E2 08 00 B5 14 80 09 00 00 00 00 00 00 3B [04:24:08]Write i2c OK [04:24:08]MH_I2C_Read... [04:24:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:24:08]Read from MH i2c: E2 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 03 00 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 03 00 B5 14 00 90 00 3D [04:24:08]RAPDU: 90 00 [04:24:08]wFMCommunicate OK [04:24:08]SAM_PROTO_ClearQueue done [04:24:08]KKMCreateOFDPacket [04:24:08]OFDProtocolAddRootSTLVToBuf [04:24:08]FM_MakeSignedData [04:24:08]FM_MakeSignedData [04:24:08]SAM_PROTO_SignData [04:24:08]wFMCommunicate request_size=4 [04:24:08]MH_SAM_APDU [04:24:08]CAPDU: 80 0D 01 02 [04:24:08]Write to MH i2c: E2 08 00 B6 14 80 0D 01 02 00 00 00 00 43 [04:24:08]Write i2c OK [04:24:08]MH_I2C_Read... [04:24:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:24:08]Read from MH i2c: E2 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 03 00 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 03 00 B6 14 00 90 00 3E [04:24:08]RAPDU: 90 00 [04:24:08]wFMCommunicate OK [04:24:08]wFMCommunicate request_size=255 [04:24:08]MH_SAM_APDU [04:24:08]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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 69 63 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C2 0A 01 00 35 04 06 00 B1 0A D9 72 [04:24:08]Write to MH i2c: E2 02 01 B7 14 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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 69 63 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C2 0A 01 00 35 04 06 00 B1 0A D9 72 00 00 3A [04:24:08]Write i2c OK [04:24:08]MH_I2C_Read... [04:24:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:24:08]Read from MH i2c: E2 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 03 00 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 03 00 B7 14 00 90 00 3F [04:24:08]RAPDU: 90 00 [04:24:08]wFMCommunicate OK [04:24:08]wFMCommunicate request_size=7 [04:24:08]MH_SAM_APDU [04:24:08]CAPDU: 80 0D 02 02 02 FD 38 [04:24:08]Write to MH i2c: E2 0A 00 B8 14 80 0D 02 02 02 00 FD 38 00 00 7F [04:24:08]Write i2c OK [04:24:08]MH_I2C_Read... [04:24:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:24:08]Read from MH i2c: E2 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 03 00 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 03 00 B8 14 00 90 00 40 [04:24:08]RAPDU: 90 00 [04:24:08]wFMCommunicate OK [04:24:08]wFMCommunicate request_size=4 [04:24:08]MH_SAM_APDU [04:24:08]CAPDU: 80 0D 03 02 [04:24:08]Write to MH i2c: E2 08 00 B9 14 80 0D 03 02 00 00 00 00 48 [04:24:08]Write i2c OK [04:24:08]MH_I2C_Read... [04:24:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:24:08]Read from MH i2c: E2 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 0B 00 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 0B 00 B9 14 00 1D 52 2F 20 86 2D 51 86 90 00 91 [04:24:08]RAPDU: 1D 52 2F 20 86 2D 51 86 90 00 [04:24:08]wFMCommunicate OK [04:24:08]SAM_PROTO_SignData done [04:24:08]FM_MakeSignedData done [04:24:08]CreateOFDProtocolMessage [04:24:08]wFMCommunicate request_size=4 [04:24:08]MH_SAM_APDU [04:24:08]CAPDU: 80 11 00 00 [04:24:08]Write to MH i2c: E2 08 00 BA 14 80 11 00 00 00 00 00 00 48 [04:24:08]Write i2c OK [04:24:08]MH_I2C_Read... [04:24:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:24:08]Read from MH i2c: E2 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 17 00 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: E2 17 00 BA 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9F [04:24:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:24:08]wFMCommunicate OK [04:24:08]CreateOFDProtocolMessage done [04:24:08]OFDSenderStorePacket 68290 [04:24:08]StoreOFDPacket docnum=68290 [04:24:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 77 49 04 01 2A 8A 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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 69 63 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C2 0A 01 00 35 04 06 00 B1 0A D9 72 FD 38 1D 52 2F 20 86 2D 51 86 [04:24:08]CheckFolder [04:24:08]dirname=/storage/ofd_packets [04:24:08]CheckFolder done [04:24:08]ProducePacketName [04:24:08]name=ofd_packets/00068290 [04:24:08]NVStorageSaveData ofd_packets/00068290 [04:24:08]File name is /storage/ofd_packets/00068290 [04:24:08]Write 298 bytes [04:24:08]NVStorageSaveData done [04:24:08]OFDSenderStorePacket done [04:24:08]KKMCreateOFDPacket done [04:24:08]NVStorageSaveData kkm_last_timestamp [04:24:08]File name is /storage/kkm_last_timestamp [04:24:08]Write 4 bytes [04:24:08]NVStorageSaveData done [04:24:08]ExternCall_PrintAddStr [04:24:08]wPrintStart [04:24:08]Write to MH i2c: 01 00 00 BB 14 CF [04:24:08]Write i2c OK [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: 01 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: 01 07 00 [04:24:08]MH_I2C_Read... [04:24:08]Read from MH i2c: 01 07 00 BB 14 00 00 00 00 00 FF 0F E4 [04:24:08]RasterBufferAndPrint [04:24:08]line Счет N : (1)46311 [04:24:08]line ИНН: 02508201610067 [04:24:08]line Контрольно-Кассовый Чек [04:24:08]line ПРОДАЖА [04:24:08]line ТРК (МРК, ГНК) : 11 [04:24:08]line Товар: 2710194210 [04:24:08]line ДТ-К-5 [04:24:08]line 39.370 * 76.20 [04:24:08]line = 2999.99 [04:24:08]line НДС 12% НСП 1% [04:24:08]line > о реализуемом товаре [04:24:08]line ОКРУГЛЕНИЕ: -0.99 [04:24:08]line ИТОГО: 2999.00 [04:24:08]line Внесено: 3000.00 [04:24:08]line СДАЧА: 1.00 [04:24:08]line НСП 1% : 26.55 [04:24:08]line НДС 12% : 318.58 [04:24:08]line Наличными: 2999.00 [04:24:08]line Безнал.: 0.00 [04:24:08]line Место: АЗС № 160 "Партнер Нефть" [04:24:08]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [04:24:08]line СНО: Общий режим [04:24:08]line Чек 13 29.10.2024 04:24 [04:24:08]line Смена: 548 ФФД: 1.0 [04:24:08]line ЗНМ: 0300000093 [04:24:08]line РНМ: 0000000000091759 [04:24:08]line Версия ККМ: 001 [04:24:08]line ФМ: 0000000000871758 [04:24:08]line ФД: 68290 [04:24:08]line ФПД: 194660155981112 [04:24:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T042409&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68290&fm=194660155981112&tin=02508201610067®Number=0000000000091759&sum=299900 [04:24:09]OFD Sender: Processing packet 68290 [packets to send 27, broken 26] [04:24:09]ProducePacketName [04:24:09]name=ofd_packets/00068290 [04:24:09]OFD Sender: To server: pG, [04:24:09]CommunicateWithHost lk.salyk.kg:30040 [04:24:09]ConnectInit lk.salyk.kg [04:24:09]written 0, free lines is 4095 [04:24:09]Connected sock=10 [04:24:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 77 49 04 01 2A 8A 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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 69 63 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C2 0A 01 00 35 04 06 00 B1 0A D9 72 FD 38 1D 52 2F 20 86 2D 51 86 [04:24:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 83 C9 47 00 71 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C2 0A 01 00 F4 03 04 00 48 0F 20 67 B6 04 01 00 00 D0 26 89 2A 4C 88 55 F6 [04:24:09]CommunicateWithHost err = 0 [04:24:09]CheckOFDResponse [04:24:09]1017 (14) - 77093643461234 [04:24:09]1041 (16) - 0000000000871758 [04:24:09]1040 (4) - 68290 [04:24:09]1012 (4) - 28.10.2024 22:25 [04:24:09]1206 (1) - 0 [04:24:09]OFD Sender: Remove packet 68290 [04:24:09]ProducePacketName [04:24:09]name=ofd_packets/00068290 [04:24:09]NVStorageDeleteData [04:24:09]Write to MH i2c: 01 00 00 E5 14 F9 [04:24:09]Write i2c OK [04:24:09]MH_I2C_Read... [04:24:09]Read from MH i2c: 01 [04:24:09]MH_I2C_Read... [04:24:09]Read from MH i2c: 01 07 00 [04:24:09]MH_I2C_Read... [04:24:09]Read from MH i2c: 01 07 00 E5 14 00 00 00 00 00 B3 0C BF [04:24:09]RasterBufferAndPrint [04:24:09]line [04:24:09]line [04:24:09]line [04:24:09]line [04:24:09]line [04:24:09]written 0, free lines is 3255 [04:24:09]MH_Cut [04:24:09]Write to MH i2c: D1 01 00 EC 14 01 D2 [04:24:09]Write i2c OK [04:24:09]MH_I2C_Read... [04:24:09]Read from MH i2c: D1 [04:24:09]MH_I2C_Read... [04:24:09]Read from MH i2c: D1 01 00 [04:24:09]MH_I2C_Read... [04:24:09]Read from MH i2c: D1 01 00 EC 14 00 D1 [04:24:09]Write to MH i2c: 01 00 00 ED 14 01 [04:24:09]Write i2c OK [04:24:09]MH_I2C_Read... [04:24:09]OFD Sender: No OFD packet to send [04:24:10]*** Cut start [04:24:10]*** Partial cut [04:24:10]*** CUTSNS_PIN = 1 [04:24:10]*** CUTSNS_PIN = 0 [04:24:10]*** Brake cut motor [04:24:10]Read from MH i2c: 01 [04:24:10]MH_I2C_Read... [04:24:10]*** Stop cut motor [04:24:10]*** Cut end [04:24:10]Read from MH i2c: 01 07 00 [04:24:10]MH_I2C_Read... [04:24:10]Read from MH i2c: 01 07 00 ED 14 00 00 00 00 00 FF 0F 16 [04:24:10]process_action close_receipt done [04:24:10]requested_data is exist [04:24:10]produce_requested_data [04:24:10]requested_item fm.sn is exist - process it [04:24:10]wFMCommunicate request_size=4 [04:24:10]MH_SAM_APDU [04:24:10]CAPDU: 80 11 00 00 [04:24:10]Write to MH i2c: E2 08 00 EE 14 80 11 00 00 00 00 00 00 7C [04:24:10]Write i2c OK [04:24:10]MH_I2C_Read... [04:24:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:24:11]Read from MH i2c: E2 [04:24:11]MH_I2C_Read... [04:24:11]Read from MH i2c: E2 17 00 [04:24:11]MH_I2C_Read... [04:24:11]Read from MH i2c: E2 17 00 EE 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D3 [04:24:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:24:11]wFMCommunicate OK [04:24:11]requested_item fd.num is exist - process it [04:24:11]SAM_PROTO_GetFieldsCounters [04:24:11]wFMCommunicate request_size=4 [04:24:11]MH_SAM_APDU [04:24:11]CAPDU: 80 13 00 00 [04:24:11]Write to MH i2c: E2 08 00 EF 14 80 13 00 00 00 00 00 00 7F [04:24:11]Write i2c OK [04:24:11]MH_I2C_Read... [04:24:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:24:11]Read from MH i2c: E2 [04:24:11]MH_I2C_Read... [04:24:11]Read from MH i2c: E2 62 00 [04:24:11]MH_I2C_Read... [04:24:11]Read from MH i2c: E2 62 00 EF 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C2 0A 01 00 0E 04 04 00 24 02 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 C4 [04:24:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C2 0A 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:24:11]wFMCommunicate OK [04:24:11]SAM_PROTO_GetFieldsCounters done [04:24:11]requested_item shift.num is exist - process it [04:24:11]requested_item shift.opened is exist - process it [04:24:11]req_shift_opened [04:24:11]FM_GetShiftState [04:24:11]SAM_PROTO_GetShiftState [04:24:11]wFMCommunicate request_size=4 [04:24:11]MH_SAM_APDU [04:24:11]CAPDU: 80 13 01 00 [04:24:11]Write to MH i2c: E2 08 00 F0 14 80 13 01 00 00 00 00 00 81 [04:24:11]Write i2c OK [04:24:11]MH_I2C_Read... [04:24:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:24:11]Read from MH i2c: E2 [04:24:11]MH_I2C_Read... [04:24:11]Read from MH i2c: E2 0E 00 [04:24:11]MH_I2C_Read... [04:24:11]Read from MH i2c: E2 0E 00 F0 14 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 31 [04:24:11]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [04:24:11]wFMCommunicate OK [04:24:11]SAM_PROTO_GetShiftState done [04:24:11]FM_GetShiftState done [04:24:11]req_shift_opened done [04:24:11]requested_item shift.open_date is exist - process it [04:24:11]req_shift_open_date [04:24:11]req_shift_open_date done [04:24:11]produce_requested_data done [04:24:11]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68290,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [04:24:11]process_action_free close_receipt [04:24:11]json_value_free [04:24:11]json_value_free done [04:24:11]process_json_proto returns [04:24:11]Send response to host [04:24:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68290,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [04:24:11]free response buf [04:24:11]execute_script done [04:24:11]execute_script returns [04:24:11]free content buf [04:24:11]Sock 7.Close socket [04:24:11]Sock 7.Thread stoped [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:33]accept exits with 9 [04:43:33]New connection [04:43:33]New thread 3067354468 created [04:43:33]Thread 3067497828 joined [04:43:33]Waiting for new connection... [04:43:33] Sock 9.Parse request [04:43:33]Sock 9.Check first char [04:43:33]Sock 9.First char is OK [04:43:33]request: POST /json_proto HTTP/1.0 [04:43:33]Method: POST [04:43:33]URL: /json_proto [04:43:33]Method is POST - this is cgi request [04:43:33]url: /json_proto [04:43:33]query_string will be loaded in cgi processing [04:43:33]execute_cgi json_proto POST (null) [04:43:33]execute_cgi path=json_proto method=POST [04:43:33]POST find Content-Length [04:43:33]Host: 172.17.42.3:8080 [04:43:33]Content-Length: 674 [04:43:33]Content-Type: application/json [04:43:33] [04:43:33]POST finish read [04:43:33]Found Content-Length = 674 [04:43:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46312", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 29.240, "sum" : 2000.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:43:33]execute_script... [04:43: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)46312", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 29.240, "sum" : 2000.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:43:33]POST & json_proto [04:43:33]process_json_proto [04:43:33]json parsed OK: [04:43:33]protocol is kg_v1.0 [04:43:33]action value=close_receipt [04:43:33]process_action close_receipt [04:43:33]cmd_close_receipt [04:43:33]MH_GetDate [04:43:33]Write to MH i2c: F0 00 00 F1 14 F4 [04:43:33]Write i2c OK [04:43:33]MH_I2C_Read... [04:43:33]Read from MH i2c: F0 [04:43:33]MH_I2C_Read... [04:43:33]Read from MH i2c: F0 09 00 [04:43:33]MH_I2C_Read... [04:43:33]Read from MH i2c: F0 09 00 F1 14 00 F8 67 20 67 0E CB 1F 67 42 [04:43:33]GetLastDocTimeStamp 1730175849 [04:43:33]current date 1730177016 [04:43:33]FM_GetShiftState [04:43:33]SAM_PROTO_GetShiftState [04:43:33]wFMCommunicate request_size=4 [04:43:33]MH_SAM_APDU [04:43:33]CAPDU: 80 13 01 00 [04:43:33]Write to MH i2c: E2 08 00 F2 14 80 13 01 00 00 00 00 00 83 [04:43:33]Write i2c OK [04:43:33]MH_I2C_Read... [04:43:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:43:33]Read from MH i2c: E2 [04:43:33]MH_I2C_Read... [04:43:33]Read from MH i2c: E2 0E 00 [04:43:33]MH_I2C_Read... [04:43:33]Read from MH i2c: E2 0E 00 F2 14 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 33 [04:43:33]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [04:43:33]wFMCommunicate OK [04:43:33]SAM_PROTO_GetShiftState done [04:43:33]FM_GetShiftState done [04:43:33]opened in 1730160885 [04:43:33]opened+sec_in_day 1730247285 [04:43:33]quantity*price = 200001 [04:43:33]sum+1 = 200003 [04:43:33]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.39 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 14 29.10.2024 04:43 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68291 ФПД: 223673685458405 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T044336&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68291&fm=223673685458405&tin=02508201610067®Number=0000000000091759&sum=200000 [04:43:35]StoreToDocumentArchive [04:43:35]shift 548 fd 68291 [04:43:35]save to /storage/0548/doc_00068291 [04:43:35]save last doc name /storage/0548/doc_00068291 to /storage/kkm_last_doc_name [04:43:35]save OK [04:43:35]Clear old archive folders... [04:43:35]ProcessDocumentItem done err = 0, tmpTLVsize=252 [04:43:35]tlvbuf is 005F1710 [04:43:35]SAM_PROTO_ClearQueue [04:43:35]wFMCommunicate request_size=4 [04:43:35]MH_SAM_APDU [04:43:35]CAPDU: 80 09 00 00 [04:43:35]Write to MH i2c: E2 08 00 FF 14 80 09 00 00 00 00 00 00 85 [04:43:35]Write i2c OK [04:43:35]MH_I2C_Read... [04:43:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:43:35]Read from MH i2c: E2 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 03 00 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 03 00 FF 14 00 90 00 87 [04:43:35]RAPDU: 90 00 [04:43:35]wFMCommunicate OK [04:43:35]SAM_PROTO_ClearQueue done [04:43:35]KKMCreateOFDPacket [04:43:35]OFDProtocolAddRootSTLVToBuf [04:43:35]FM_MakeSignedData [04:43:35]FM_MakeSignedData [04:43:35]SAM_PROTO_SignData [04:43:35]wFMCommunicate request_size=4 [04:43:35]MH_SAM_APDU [04:43:35]CAPDU: 80 0D 01 02 [04:43:35]Write to MH i2c: E2 08 00 00 15 80 0D 01 02 00 00 00 00 8E [04:43:35]Write i2c OK [04:43:35]MH_I2C_Read... [04:43:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:43:35]Read from MH i2c: E2 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 03 00 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 03 00 00 15 00 90 00 89 [04:43:35]RAPDU: 90 00 [04:43:35]wFMCommunicate OK [04:43:35]wFMCommunicate request_size=255 [04:43:35]MH_SAM_APDU [04:43:35]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 F8 67 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C3 0A 01 00 35 04 06 00 [04:43:35]Write to MH i2c: E2 02 01 01 15 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 F8 67 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C3 0A 01 00 35 04 06 00 00 00 DB [04:43:35]Write i2c OK [04:43:35]MH_I2C_Read... [04:43:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:43:35]Read from MH i2c: E2 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 03 00 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 03 00 01 15 00 90 00 8A [04:43:35]RAPDU: 90 00 [04:43:35]wFMCommunicate OK [04:43:35]wFMCommunicate request_size=11 [04:43:35]MH_SAM_APDU [04:43:35]CAPDU: 80 0D 02 02 06 CB 6E 16 91 3D E5 [04:43:35]Write to MH i2c: E2 0E 00 02 15 80 0D 02 02 06 00 CB 6E 16 91 3D E5 00 00 9F [04:43:35]Write i2c OK [04:43:35]MH_I2C_Read... [04:43:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:43:35]Read from MH i2c: E2 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 03 00 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 03 00 02 15 00 90 00 8B [04:43:35]RAPDU: 90 00 [04:43:35]wFMCommunicate OK [04:43:35]wFMCommunicate request_size=4 [04:43:35]MH_SAM_APDU [04:43:35]CAPDU: 80 0D 03 02 [04:43:35]Write to MH i2c: E2 08 00 03 15 80 0D 03 02 00 00 00 00 93 [04:43:35]Write i2c OK [04:43:35]MH_I2C_Read... [04:43:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:43:35]Read from MH i2c: E2 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 0B 00 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 0B 00 03 15 00 34 09 D7 F5 A6 74 97 77 90 00 C5 [04:43:35]RAPDU: 34 09 D7 F5 A6 74 97 77 90 00 [04:43:35]wFMCommunicate OK [04:43:35]SAM_PROTO_SignData done [04:43:35]FM_MakeSignedData done [04:43:35]CreateOFDProtocolMessage [04:43:35]wFMCommunicate request_size=4 [04:43:35]MH_SAM_APDU [04:43:35]CAPDU: 80 11 00 00 [04:43:35]Write to MH i2c: E2 08 00 04 15 80 11 00 00 00 00 00 00 93 [04:43:35]Write i2c OK [04:43:35]MH_I2C_Read... [04:43:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:43:35]Read from MH i2c: E2 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 17 00 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: E2 17 00 04 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 EA [04:43:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:43:35]wFMCommunicate OK [04:43:35]CreateOFDProtocolMessage done [04:43:35]OFDSenderStorePacket 68291 [04:43:35]StoreOFDPacket docnum=68291 [04:43:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 0E BA 08 01 CA CA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 F8 67 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C3 0A 01 00 35 04 06 00 CB 6E 16 91 3D E5 34 09 D7 F5 A6 74 97 77 [04:43:35]CheckFolder [04:43:35]dirname=/storage/ofd_packets [04:43:35]CheckFolder done [04:43:35]ProducePacketName [04:43:35]name=ofd_packets/00068291 [04:43:35]NVStorageSaveData ofd_packets/00068291 [04:43:35]File name is /storage/ofd_packets/00068291 [04:43:35]Write 302 bytes [04:43:35]NVStorageSaveData done [04:43:35]OFDSenderStorePacket done [04:43:35]KKMCreateOFDPacket done [04:43:35]NVStorageSaveData kkm_last_timestamp [04:43:35]File name is /storage/kkm_last_timestamp [04:43:35]Write 4 bytes [04:43:35]NVStorageSaveData done [04:43:35]ExternCall_PrintAddStr [04:43:35]wPrintStart [04:43:35]Write to MH i2c: 01 00 00 05 15 1A [04:43:35]Write i2c OK [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: 01 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: 01 07 00 [04:43:35]MH_I2C_Read... [04:43:35]Read from MH i2c: 01 07 00 05 15 00 00 00 00 00 FF 0F 2F [04:43:35]RasterBufferAndPrint [04:43:35]line Счет N : (1)46312 [04:43:35]line ИНН: 02508201610067 [04:43:35]line Контрольно-Кассовый Чек [04:43:35]line ПРОДАЖА [04:43:35]line ТРК (МРК, ГНК) : 42 [04:43:35]line Товар: 2710124130 [04:43:35]line SUPER-92-К-5 [04:43:35]line 29.240 * 68.40 [04:43:35]line = 2000.02 [04:43:35]line НДС 12% НСП 1% [04:43:35]line > о реализуемом товаре [04:43:35]line ОКРУГЛЕНИЕ: -0.02 [04:43:35]line ИТОГО: 2000.00 [04:43:35]line Внесено: 2000.00 [04:43:35]line СДАЧА: 0.00 [04:43:35]line НСП 1% : 17.70 [04:43:35]line НДС 12% : 212.39 [04:43:35]line Наличными: 2000.00 [04:43:35]line Безнал.: 0.00 [04:43:35]line Место: АЗС № 160 "Партнер Нефть" [04:43:35]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [04:43:35]line СНО: Общий режим [04:43:35]line Чек 14 29.10.2024 04:43 [04:43:35]line Смена: 548 ФФД: 1.0 [04:43:35]line ЗНМ: 0300000093 [04:43:35]line РНМ: 0000000000091759 [04:43:35]line Версия ККМ: 001 [04:43:35]line ФМ: 0000000000871758 [04:43:35]line ФД: 68291 [04:43:35]line ФПД: 223673685458405 [04:43:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T044336&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68291&fm=223673685458405&tin=02508201610067®Number=0000000000091759&sum=200000 [04:43:35]OFD Sender: Processing packet 68291 [packets to send 27, broken 26] [04:43:35]ProducePacketName [04:43:35]name=ofd_packets/00068291 [04:43:35]OFD Sender: To server: pG, [04:43:35]CommunicateWithHost lk.salyk.kg:30040 [04:43:35]ConnectInit lk.salyk.kg [04:43:35]written 0, free lines is 4095 [04:43:35]Connected sock=10 [04:43:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 0E BA 08 01 CA CA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 F8 67 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C3 0A 01 00 35 04 06 00 CB 6E 16 91 3D E5 34 09 D7 F5 A6 74 97 77 [04:43:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 AC 5E 47 00 52 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C3 0A 01 00 F4 03 04 00 D7 13 20 67 B6 04 01 00 00 70 EB 93 D3 1C 3C FA F5 [04:43:36]CommunicateWithHost err = 0 [04:43:36]CheckOFDResponse [04:43:36]1017 (14) - 77093643461234 [04:43:36]1041 (16) - 0000000000871758 [04:43:36]1040 (4) - 68291 [04:43:36]1012 (4) - 28.10.2024 22:44 [04:43:36]1206 (1) - 0 [04:43:36]OFD Sender: Remove packet 68291 [04:43:36]ProducePacketName [04:43:36]name=ofd_packets/00068291 [04:43:36]NVStorageDeleteData [04:43:36]Write to MH i2c: 01 00 00 2F 15 44 [04:43:36]Write i2c OK [04:43:36]MH_I2C_Read... [04:43:36]Read from MH i2c: 01 [04:43:36]MH_I2C_Read... [04:43:36]Read from MH i2c: 01 07 00 [04:43:36]MH_I2C_Read... [04:43:36]Read from MH i2c: 01 07 00 2F 15 00 00 00 00 00 B3 0C 0A [04:43:36]RasterBufferAndPrint [04:43:36]line [04:43:36]line [04:43:36]line [04:43:36]line [04:43:36]line [04:43:36]written 0, free lines is 3257 [04:43:36]MH_Cut [04:43:36]Write to MH i2c: D1 01 00 36 15 01 1D [04:43:36]Write i2c OK [04:43:36]MH_I2C_Read... [04:43:36]Read from MH i2c: D1 [04:43:36]MH_I2C_Read... [04:43:36]Read from MH i2c: D1 01 00 [04:43:36]MH_I2C_Read... [04:43:36]Read from MH i2c: D1 01 00 36 15 00 1C [04:43:36]Write to MH i2c: 01 00 00 37 15 4C [04:43:36]Write i2c OK [04:43:36]MH_I2C_Read... [04:43:36]OFD Sender: No OFD packet to send [04:43:37]*** Cut start [04:43:37]*** Partial cut [04:43:37]*** CUTSNS_PIN = 1 [04:43:37]*** CUTSNS_PIN = 0 [04:43:37]*** Brake cut motor [04:43:37]Read from MH i2c: 01 [04:43:37]MH_I2C_Read... [04:43:37]*** Stop cut motor [04:43:37]*** Cut end [04:43:37]Read from MH i2c: 01 07 00 [04:43:37]MH_I2C_Read... [04:43:37]Read from MH i2c: 01 07 00 37 15 00 00 00 00 00 FF 0F 61 [04:43:37]process_action close_receipt done [04:43:37]requested_data is exist [04:43:37]produce_requested_data [04:43:37]requested_item fm.sn is exist - process it [04:43:37]wFMCommunicate request_size=4 [04:43:37]MH_SAM_APDU [04:43:37]CAPDU: 80 11 00 00 [04:43:37]Write to MH i2c: E2 08 00 38 15 80 11 00 00 00 00 00 00 C7 [04:43:37]Write i2c OK [04:43:37]MH_I2C_Read... [04:43:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:43:37]Read from MH i2c: E2 [04:43:37]MH_I2C_Read... [04:43:37]Read from MH i2c: E2 17 00 [04:43:37]MH_I2C_Read... [04:43:37]Read from MH i2c: E2 17 00 38 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 1E [04:43:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:43:37]wFMCommunicate OK [04:43:37]requested_item fd.num is exist - process it [04:43:37]SAM_PROTO_GetFieldsCounters [04:43:37]wFMCommunicate request_size=4 [04:43:37]MH_SAM_APDU [04:43:37]CAPDU: 80 13 00 00 [04:43:37]Write to MH i2c: E2 08 00 39 15 80 13 00 00 00 00 00 00 CA [04:43:37]Write i2c OK [04:43:37]MH_I2C_Read... [04:43:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:43:37]Read from MH i2c: E2 [04:43:37]MH_I2C_Read... [04:43:37]Read from MH i2c: E2 62 00 [04:43:37]MH_I2C_Read... [04:43:37]Read from MH i2c: E2 62 00 39 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C3 0A 01 00 0E 04 04 00 24 02 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 13 [04:43:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C3 0A 01 00 0E 04 04 00 24 02 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 [04:43:37]wFMCommunicate OK [04:43:37]SAM_PROTO_GetFieldsCounters done [04:43:37]requested_item shift.num is exist - process it [04:43:37]requested_item shift.opened is exist - process it [04:43:37]req_shift_opened [04:43:37]FM_GetShiftState [04:43:37]SAM_PROTO_GetShiftState [04:43:37]wFMCommunicate request_size=4 [04:43:37]MH_SAM_APDU [04:43:37]CAPDU: 80 13 01 00 [04:43:37]Write to MH i2c: E2 08 00 3A 15 80 13 01 00 00 00 00 00 CC [04:43:37]Write i2c OK [04:43:37]MH_I2C_Read... [04:43:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:43:38]Read from MH i2c: E2 [04:43:38]MH_I2C_Read... [04:43:38]Read from MH i2c: E2 0E 00 [04:43:38]MH_I2C_Read... [04:43:38]Read from MH i2c: E2 0E 00 3A 15 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 7C [04:43:38]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [04:43:38]wFMCommunicate OK [04:43:38]SAM_PROTO_GetShiftState done [04:43:38]FM_GetShiftState done [04:43:38]req_shift_opened done [04:43:38]requested_item shift.open_date is exist - process it [04:43:38]req_shift_open_date [04:43:38]req_shift_open_date done [04:43:38]produce_requested_data done [04:43:38]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68291,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [04:43:38]process_action_free close_receipt [04:43:38]json_value_free [04:43:38]json_value_free done [04:43:38]process_json_proto returns [04:43:38]Send response to host [04:43:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68291,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [04:43:38]free response buf [04:43:38]execute_script done [04:43:38]execute_script returns [04:43:38]free content buf [04:43:38]Sock 9.Close socket [04:43:38]Sock 9.Thread stoped [04:43:41]OFD Sender: No OFD packet to send [04:43:46]OFD Sender: No OFD packet to send [04:43:51]OFD Sender: No OFD packet to send [04:43:52]accept exits with 7 [04:43:52]New connection [04:43:52]New thread 3067497828 created [04:43:52]Thread 3067354468 joined [04:43:52]Waiting for new connection... [04:43:52] Sock 7.Parse request [04:43:52]Sock 7.Check first char [04:43:52]Sock 7.First char is OK [04:43:52]request: POST /json_proto HTTP/1.0 [04:43:52]Method: POST [04:43:52]URL: /json_proto [04:43:52]Method is POST - this is cgi request [04:43:52]url: /json_proto [04:43:52]query_string will be loaded in cgi processing [04:43:52]execute_cgi json_proto POST (null) [04:43:52]execute_cgi path=json_proto method=POST [04:43:52]POST find Content-Length [04:43:52]Host: 172.17.42.3:8080 [04:43:52]Content-Length: 674 [04:43:52]Content-Type: application/json [04:43:52] [04:43:52]POST finish read [04:43:52]Found Content-Length = 674 [04:43:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46313", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "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 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:43:52]execute_script... [04:43:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46313", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "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 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:43:52]POST & json_proto [04:43:52]process_json_proto [04:43:52]json parsed OK: [04:43:52]protocol is kg_v1.0 [04:43:52]action value=close_receipt [04:43:52]process_action close_receipt [04:43:52]cmd_close_receipt [04:43:52]MH_GetDate [04:43:52]Write to MH i2c: F0 00 00 3B 15 3F [04:43:52]Write i2c OK [04:43:52]MH_I2C_Read... [04:43:52]Read from MH i2c: F0 [04:43:52]MH_I2C_Read... [04:43:52]Read from MH i2c: F0 09 00 [04:43:52]MH_I2C_Read... [04:43:52]Read from MH i2c: F0 09 00 3B 15 00 0B 68 20 67 0E CB 1F 67 A1 [04:43:52]GetLastDocTimeStamp 1730177016 [04:43:52]current date 1730177035 [04:43:52]FM_GetShiftState [04:43:52]SAM_PROTO_GetShiftState [04:43:52]wFMCommunicate request_size=4 [04:43:52]MH_SAM_APDU [04:43:52]CAPDU: 80 13 01 00 [04:43:52]Write to MH i2c: E2 08 00 3C 15 80 13 01 00 00 00 00 00 CE [04:43:52]Write i2c OK [04:43:52]MH_I2C_Read... [04:43:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:43:52]Read from MH i2c: E2 [04:43:52]MH_I2C_Read... [04:43:52]Read from MH i2c: E2 0E 00 [04:43:52]MH_I2C_Read... [04:43:52]Read from MH i2c: E2 0E 00 3C 15 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 7E [04:43:52]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [04:43:52]wFMCommunicate OK [04:43:52]SAM_PROTO_GetShiftState done [04:43:52]FM_GetShiftState done [04:43:52]opened in 1730160885 [04:43:52]opened+sec_in_day 1730247285 [04:43:52]quantity*price = 200001 [04:43:52]sum+1 = 200003 [04:43:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.39 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 15 29.10.2024 04:43 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68292 ФПД: 134218151497213 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T044355&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68292&fm=134218151497213&tin=02508201610067®Number=0000000000091759&sum=200000 [04:43:53]StoreToDocumentArchive [04:43:53]shift 548 fd 68292 [04:43:53]save to /storage/0548/doc_00068292 [04:43:53]save last doc name /storage/0548/doc_00068292 to /storage/kkm_last_doc_name [04:43:53]save OK [04:43:53]Clear old archive folders... [04:43:53]ProcessDocumentItem done err = 0, tmpTLVsize=252 [04:43:53]tlvbuf is 005F15D0 [04:43:53]SAM_PROTO_ClearQueue [04:43:53]wFMCommunicate request_size=4 [04:43:53]MH_SAM_APDU [04:43:53]CAPDU: 80 09 00 00 [04:43:53]Write to MH i2c: E2 08 00 49 15 80 09 00 00 00 00 00 00 D0 [04:43:53]Write i2c OK [04:43:53]MH_I2C_Read... [04:43:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:43:53]Read from MH i2c: E2 [04:43:53]MH_I2C_Read... [04:43:53]Read from MH i2c: E2 03 00 [04:43:53]MH_I2C_Read... [04:43:53]Read from MH i2c: E2 03 00 49 15 00 90 00 D2 [04:43:53]RAPDU: 90 00 [04:43:53]wFMCommunicate OK [04:43:53]SAM_PROTO_ClearQueue done [04:43:53]KKMCreateOFDPacket [04:43:53]OFDProtocolAddRootSTLVToBuf [04:43:53]FM_MakeSignedData [04:43:53]FM_MakeSignedData [04:43:53]SAM_PROTO_SignData [04:43:53]wFMCommunicate request_size=4 [04:43:53]MH_SAM_APDU [04:43:53]CAPDU: 80 0D 01 02 [04:43:53]Write to MH i2c: E2 08 00 4A 15 80 0D 01 02 00 00 00 00 D8 [04:43:53]Write i2c OK [04:43:53]MH_I2C_Read... [04:43:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:43:54]Read from MH i2c: E2 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 03 00 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 03 00 4A 15 00 90 00 D3 [04:43:54]RAPDU: 90 00 [04:43:54]wFMCommunicate OK [04:43:54]wFMCommunicate request_size=255 [04:43:54]MH_SAM_APDU [04:43:54]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 0B 68 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C4 0A 01 00 35 04 06 00 [04:43:54]Write to MH i2c: E2 02 01 4B 15 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 0B 68 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C4 0A 01 00 35 04 06 00 00 00 3B [04:43:54]Write i2c OK [04:43:54]MH_I2C_Read... [04:43:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:43:54]Read from MH i2c: E2 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 03 00 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 03 00 4B 15 00 90 00 D4 [04:43:54]RAPDU: 90 00 [04:43:54]wFMCommunicate OK [04:43:54]wFMCommunicate request_size=11 [04:43:54]MH_SAM_APDU [04:43:54]CAPDU: 80 0D 02 02 06 7A 12 19 3E 0D FD [04:43:54]Write to MH i2c: E2 0E 00 4C 15 80 0D 02 02 06 00 7A 12 19 3E 0D FD 00 00 D4 [04:43:54]Write i2c OK [04:43:54]MH_I2C_Read... [04:43:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:43:54]Read from MH i2c: E2 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 03 00 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 03 00 4C 15 00 90 00 D5 [04:43:54]RAPDU: 90 00 [04:43:54]wFMCommunicate OK [04:43:54]wFMCommunicate request_size=4 [04:43:54]MH_SAM_APDU [04:43:54]CAPDU: 80 0D 03 02 [04:43:54]Write to MH i2c: E2 08 00 4D 15 80 0D 03 02 00 00 00 00 DD [04:43:54]Write i2c OK [04:43:54]MH_I2C_Read... [04:43:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:43:54]Read from MH i2c: E2 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 0B 00 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 0B 00 4D 15 00 57 92 A1 9D 4D 81 B2 07 90 00 8C [04:43:54]RAPDU: 57 92 A1 9D 4D 81 B2 07 90 00 [04:43:54]wFMCommunicate OK [04:43:54]SAM_PROTO_SignData done [04:43:54]FM_MakeSignedData done [04:43:54]CreateOFDProtocolMessage [04:43:54]wFMCommunicate request_size=4 [04:43:54]MH_SAM_APDU [04:43:54]CAPDU: 80 11 00 00 [04:43:54]Write to MH i2c: E2 08 00 4E 15 80 11 00 00 00 00 00 00 DD [04:43:54]Write i2c OK [04:43:54]MH_I2C_Read... [04:43:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:43:54]Read from MH i2c: E2 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 17 00 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: E2 17 00 4E 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 34 [04:43:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:43:54]wFMCommunicate OK [04:43:54]CreateOFDProtocolMessage done [04:43:54]OFDSenderStorePacket 68292 [04:43:54]StoreOFDPacket docnum=68292 [04:43:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 C3 F9 08 01 EC D0 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 0B 68 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C4 0A 01 00 35 04 06 00 7A 12 19 3E 0D FD 57 92 A1 9D 4D 81 B2 07 [04:43:54]CheckFolder [04:43:54]dirname=/storage/ofd_packets [04:43:54]CheckFolder done [04:43:54]ProducePacketName [04:43:54]name=ofd_packets/00068292 [04:43:54]NVStorageSaveData ofd_packets/00068292 [04:43:54]File name is /storage/ofd_packets/00068292 [04:43:54]Write 302 bytes [04:43:54]NVStorageSaveData done [04:43:54]OFDSenderStorePacket done [04:43:54]KKMCreateOFDPacket done [04:43:54]NVStorageSaveData kkm_last_timestamp [04:43:54]File name is /storage/kkm_last_timestamp [04:43:54]Write 4 bytes [04:43:54]NVStorageSaveData done [04:43:54]ExternCall_PrintAddStr [04:43:54]wPrintStart [04:43:54]Write to MH i2c: 01 00 00 4F 15 64 [04:43:54]Write i2c OK [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: 01 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: 01 07 00 [04:43:54]MH_I2C_Read... [04:43:54]Read from MH i2c: 01 07 00 4F 15 00 00 00 00 00 FF 0F 79 [04:43:54]RasterBufferAndPrint [04:43:54]line Счет N : (1)46313 [04:43:54]line ИНН: 02508201610067 [04:43:54]line Контрольно-Кассовый Чек [04:43:54]line ПРОДАЖА [04:43:54]line ТРК (МРК, ГНК) : 22 [04:43:54]line Товар: 2710124130 [04:43:54]line SUPER-92-К-5 [04:43:54]line 29.240 * 68.40 [04:43:54]line = 2000.02 [04:43:54]line НДС 12% НСП 1% [04:43:54]line > о реализуемом товаре [04:43:54]line ОКРУГЛЕНИЕ: -0.02 [04:43:54]line ИТОГО: 2000.00 [04:43:54]line Внесено: 2000.00 [04:43:54]line СДАЧА: 0.00 [04:43:54]line НСП 1% : 17.70 [04:43:54]line НДС 12% : 212.39 [04:43:54]line Наличными: 2000.00 [04:43:54]line Безнал.: 0.00 [04:43:54]line Место: АЗС № 160 "Партнер Нефть" [04:43:54]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [04:43:54]line СНО: Общий режим [04:43:54]line Чек 15 29.10.2024 04:43 [04:43:54]line Смена: 548 ФФД: 1.0 [04:43:54]line ЗНМ: 0300000093 [04:43:54]line РНМ: 0000000000091759 [04:43:54]line Версия ККМ: 001 [04:43:54]line ФМ: 0000000000871758 [04:43:54]line ФД: 68292 [04:43:54]line ФПД: 134218151497213 [04:43:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T044355&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68292&fm=134218151497213&tin=02508201610067®Number=0000000000091759&sum=200000 [04:43:54]written 0, free lines is 4095 [04:43:54]OFD Sender: Processing packet 68292 [packets to send 27, broken 26] [04:43:54]ProducePacketName [04:43:54]name=ofd_packets/00068292 [04:43:54]OFD Sender: To server: pG, [04:43:54]CommunicateWithHost lk.salyk.kg:30040 [04:43:54]ConnectInit lk.salyk.kg [04:43:54]Connected sock=9 [04:43:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 C3 F9 08 01 EC D0 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 0B 68 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C4 0A 01 00 35 04 06 00 7A 12 19 3E 0D FD 57 92 A1 9D 4D 81 B2 07 [04:43:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 DE D5 47 00 7C 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C4 0A 01 00 F4 03 04 00 EA 13 20 67 B6 04 01 00 00 69 99 B1 D9 25 DA 4E 3C [04:43:55]CommunicateWithHost err = 0 [04:43:55]CheckOFDResponse [04:43:55]1017 (14) - 77093643461234 [04:43:55]1041 (16) - 0000000000871758 [04:43:55]1040 (4) - 68292 [04:43:55]1012 (4) - 28.10.2024 22:44 [04:43:55]1206 (1) - 0 [04:43:55]OFD Sender: Remove packet 68292 [04:43:55]ProducePacketName [04:43:55]name=ofd_packets/00068292 [04:43:55]NVStorageDeleteData [04:43:55]Write to MH i2c: 01 00 00 79 15 8E [04:43:55]Write i2c OK [04:43:55]MH_I2C_Read... [04:43:55]Read from MH i2c: 01 [04:43:55]MH_I2C_Read... [04:43:55]Read from MH i2c: 01 07 00 [04:43:55]MH_I2C_Read... [04:43:55]Read from MH i2c: 01 07 00 79 15 00 00 00 00 00 B8 0C 59 [04:43:55]RasterBufferAndPrint [04:43:55]line [04:43:55]line [04:43:55]line [04:43:55]line [04:43:55]line [04:43:55]written 0, free lines is 3260 [04:43:55]MH_Cut [04:43:55]Write to MH i2c: D1 01 00 80 15 01 67 [04:43:55]Write i2c OK [04:43:55]MH_I2C_Read... [04:43:55]Read from MH i2c: D1 [04:43:55]MH_I2C_Read... [04:43:55]Read from MH i2c: D1 01 00 [04:43:55]MH_I2C_Read... [04:43:55]Read from MH i2c: D1 01 00 80 15 00 66 [04:43:55]Write to MH i2c: 01 00 00 81 15 96 [04:43:55]Write i2c OK [04:43:55]MH_I2C_Read... [04:43:55]OFD Sender: No OFD packet to send [04:43:56]*** Cut start [04:43:56]*** Partial cut [04:43:56]*** CUTSNS_PIN = 1 [04:43:56]*** CUTSNS_PIN = 0 [04:43:56]*** Brake cut motor [04:43:56]Read from MH i2c: 01 [04:43:56]MH_I2C_Read... [04:43:56]*** Stop cut motor [04:43:56]*** Cut end [04:43:56]Read from MH i2c: 01 07 00 [04:43:56]MH_I2C_Read... [04:43:56]Read from MH i2c: 01 07 00 81 15 00 00 00 00 00 FF 0F AB [04:43:56]process_action close_receipt done [04:43:56]requested_data is exist [04:43:56]produce_requested_data [04:43:56]requested_item fm.sn is exist - process it [04:43:56]wFMCommunicate request_size=4 [04:43:56]MH_SAM_APDU [04:43:56]CAPDU: 80 11 00 00 [04:43:56]Write to MH i2c: E2 08 00 82 15 80 11 00 00 00 00 00 00 11 [04:43:56]Write i2c OK [04:43:56]MH_I2C_Read... [04:43:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:43:56]Read from MH i2c: E2 [04:43:56]MH_I2C_Read... [04:43:56]Read from MH i2c: E2 17 00 [04:43:56]MH_I2C_Read... [04:43:56]Read from MH i2c: E2 17 00 82 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 68 [04:43:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:43:56]wFMCommunicate OK [04:43:56]requested_item fd.num is exist - process it [04:43:56]SAM_PROTO_GetFieldsCounters [04:43:56]wFMCommunicate request_size=4 [04:43:56]MH_SAM_APDU [04:43:56]CAPDU: 80 13 00 00 [04:43:56]Write to MH i2c: E2 08 00 83 15 80 13 00 00 00 00 00 00 14 [04:43:56]Write i2c OK [04:43:56]MH_I2C_Read... [04:43:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:43:56]Read from MH i2c: E2 [04:43:56]MH_I2C_Read... [04:43:56]Read from MH i2c: E2 62 00 [04:43:56]MH_I2C_Read... [04:43:56]Read from MH i2c: E2 62 00 83 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C4 0A 01 00 0E 04 04 00 24 02 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 61 [04:43:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C4 0A 01 00 0E 04 04 00 24 02 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 [04:43:56]wFMCommunicate OK [04:43:56]SAM_PROTO_GetFieldsCounters done [04:43:56]requested_item shift.num is exist - process it [04:43:56]requested_item shift.opened is exist - process it [04:43:56]req_shift_opened [04:43:56]FM_GetShiftState [04:43:56]SAM_PROTO_GetShiftState [04:43:56]wFMCommunicate request_size=4 [04:43:56]MH_SAM_APDU [04:43:56]CAPDU: 80 13 01 00 [04:43:56]Write to MH i2c: E2 08 00 84 15 80 13 01 00 00 00 00 00 16 [04:43:56]Write i2c OK [04:43:56]MH_I2C_Read... [04:43:56]Read from MH i2c: E2 [04:43:56]MH_I2C_Read... [04:43:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:43:56]Read from MH i2c: E2 0E 00 [04:43:56]MH_I2C_Read... [04:43:56]Read from MH i2c: E2 0E 00 84 15 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 C6 [04:43:56]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [04:43:56]wFMCommunicate OK [04:43:56]SAM_PROTO_GetShiftState done [04:43:56]FM_GetShiftState done [04:43:56]req_shift_opened done [04:43:56]requested_item shift.open_date is exist - process it [04:43:56]req_shift_open_date [04:43:56]req_shift_open_date done [04:43:56]produce_requested_data done [04:43:56]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68292,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [04:43:56]process_action_free close_receipt [04:43:56]json_value_free [04:43:56]json_value_free done [04:43:56]process_json_proto returns [04:43:56]Send response to host [04:43:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68292,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [04:43:56]free response buf [04:43:56]execute_script done [04:43:56]execute_script returns [04:43:56]free content buf [04:43:56]Sock 7.Close socket [04:43:56]Sock 7.Thread stoped [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:05]OFD Sender: No OFD packet to send [04:45:10]OFD Sender: No OFD packet to send [04:45:15]OFD Sender: No OFD packet to send [04:45:20]OFD Sender: No OFD packet to send [04:45:23]accept exits with 10 [04:45:23]New connection [04:45:23]New thread 3067354468 created [04:45:23]Thread 3067497828 joined [04:45:23]Waiting for new connection... [04:45:23] Sock 10.Parse request [04:45:23]Sock 10.Check first char [04:45:23]Sock 10.First char is OK [04:45:23]request: POST /json_proto HTTP/1.0 [04:45:23]Method: POST [04:45:23]URL: /json_proto [04:45:23]Method is POST - this is cgi request [04:45:23]url: /json_proto [04:45:23]query_string will be loaded in cgi processing [04:45:23]execute_cgi json_proto POST (null) [04:45:23]execute_cgi path=json_proto method=POST [04:45:23]POST find Content-Length [04:45:23]Host: 172.17.42.3:8080 [04:45:23]Content-Length: 674 [04:45:23]Content-Type: application/json [04:45:23] [04:45:23]POST finish read [04:45:23]Found Content-Length = 674 [04:45:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46314", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 30.560, "sum" : 2090.30, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2090.00, "total" : 2090.00, "payments": [ { "type": 0, "sum" : 2090.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:45:23]execute_script... [04:45:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46314", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 30.560, "sum" : 2090.30, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2090.00, "total" : 2090.00, "payments": [ { "type": 0, "sum" : 2090.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:45:23]POST & json_proto [04:45:23]process_json_proto [04:45:23]json parsed OK: [04:45:23]protocol is kg_v1.0 [04:45:23]action value=close_receipt [04:45:23]process_action close_receipt [04:45:23]cmd_close_receipt [04:45:23]MH_GetDate [04:45:23]Write to MH i2c: F0 00 00 85 15 89 [04:45:23]Write i2c OK [04:45:23]MH_I2C_Read... [04:45:23]Read from MH i2c: F0 [04:45:23]MH_I2C_Read... [04:45:23]Read from MH i2c: F0 09 00 [04:45:23]MH_I2C_Read... [04:45:23]Read from MH i2c: F0 09 00 85 15 00 66 68 20 67 0E CB 1F 67 46 [04:45:23]GetLastDocTimeStamp 1730177035 [04:45:23]current date 1730177126 [04:45:23]FM_GetShiftState [04:45:23]SAM_PROTO_GetShiftState [04:45:23]wFMCommunicate request_size=4 [04:45:23]MH_SAM_APDU [04:45:23]CAPDU: 80 13 01 00 [04:45:23]Write to MH i2c: E2 08 00 86 15 80 13 01 00 00 00 00 00 18 [04:45:23]Write i2c OK [04:45:23]MH_I2C_Read... [04:45:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:45:23]Read from MH i2c: E2 [04:45:23]MH_I2C_Read... [04:45:23]Read from MH i2c: E2 0E 00 [04:45:23]MH_I2C_Read... [04:45:23]Read from MH i2c: E2 0E 00 86 15 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 C8 [04:45:23]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [04:45:23]wFMCommunicate OK [04:45:23]SAM_PROTO_GetShiftState done [04:45:23]FM_GetShiftState done [04:45:23]opened in 1730160885 [04:45:23]opened+sec_in_day 1730247285 [04:45:23]quantity*price = 209030 [04:45:23]sum+1 = 209031 [04:45:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.30 ИТОГО: 2090.00 Внесено: 2090.00 СДАЧА: 0.00 НСП 1% : 18.50 НДС 12% : 221.98 Наличными: 2090.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 16 29.10.2024 04:45 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68293 ФПД: 229107762285780 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T044526&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68293&fm=229107762285780&tin=02508201610067®Number=0000000000091759&sum=209000 [04:45:25]StoreToDocumentArchive [04:45:25]shift 548 fd 68293 [04:45:25]save to /storage/0548/doc_00068293 [04:45:25]save last doc name /storage/0548/doc_00068293 to /storage/kkm_last_doc_name [04:45:25]save OK [04:45:25]Clear old archive folders... [04:45:25]ProcessDocumentItem done err = 0, tmpTLVsize=252 [04:45:25]tlvbuf is 005CD700 [04:45:25]SAM_PROTO_ClearQueue [04:45:25]wFMCommunicate request_size=4 [04:45:25]MH_SAM_APDU [04:45:25]CAPDU: 80 09 00 00 [04:45:25]Write to MH i2c: E2 08 00 93 15 80 09 00 00 00 00 00 00 1A [04:45:25]Write i2c OK [04:45:25]MH_I2C_Read... [04:45:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:45:25]Read from MH i2c: E2 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 03 00 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 03 00 93 15 00 90 00 1C [04:45:25]RAPDU: 90 00 [04:45:25]wFMCommunicate OK [04:45:25]SAM_PROTO_ClearQueue done [04:45:25]KKMCreateOFDPacket [04:45:25]OFDProtocolAddRootSTLVToBuf [04:45:25]FM_MakeSignedData [04:45:25]FM_MakeSignedData [04:45:25]SAM_PROTO_SignData [04:45:25]wFMCommunicate request_size=4 [04:45:25]MH_SAM_APDU [04:45:25]CAPDU: 80 0D 01 02 [04:45:25]Write to MH i2c: E2 08 00 94 15 80 0D 01 02 00 00 00 00 22 [04:45:25]Write i2c OK [04:45:25]MH_I2C_Read... [04:45:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:45:25]Read from MH i2c: E2 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 03 00 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 03 00 94 15 00 90 00 1D [04:45:25]RAPDU: 90 00 [04:45:25]wFMCommunicate OK [04:45:25]wFMCommunicate request_size=255 [04:45:25]MH_SAM_APDU [04:45:25]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 77 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 86 30 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 30 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 56 00 00 00 00 07 04 06 00 68 30 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 66 68 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C5 0A 01 00 35 04 06 00 [04:45:25]Write to MH i2c: E2 02 01 95 15 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 77 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 86 30 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 30 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 56 00 00 00 00 07 04 06 00 68 30 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 66 68 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C5 0A 01 00 35 04 06 00 00 00 20 [04:45:25]Write i2c OK [04:45:25]MH_I2C_Read... [04:45:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:45:25]Read from MH i2c: E2 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 03 00 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 03 00 95 15 00 90 00 1E [04:45:25]RAPDU: 90 00 [04:45:25]wFMCommunicate OK [04:45:25]wFMCommunicate request_size=11 [04:45:25]MH_SAM_APDU [04:45:25]CAPDU: 80 0D 02 02 06 D0 5F 4E C9 4C D4 [04:45:25]Write to MH i2c: E2 0E 00 96 15 80 0D 02 02 06 00 D0 5F 4E C9 4C D4 00 00 97 [04:45:25]Write i2c OK [04:45:25]MH_I2C_Read... [04:45:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:45:25]Read from MH i2c: E2 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 03 00 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 03 00 96 15 00 90 00 1F [04:45:25]RAPDU: 90 00 [04:45:25]wFMCommunicate OK [04:45:25]wFMCommunicate request_size=4 [04:45:25]MH_SAM_APDU [04:45:25]CAPDU: 80 0D 03 02 [04:45:25]Write to MH i2c: E2 08 00 97 15 80 0D 03 02 00 00 00 00 27 [04:45:25]Write i2c OK [04:45:25]MH_I2C_Read... [04:45:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:45:25]Read from MH i2c: E2 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 0B 00 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 0B 00 97 15 00 F7 68 F2 47 41 56 93 25 90 00 0F [04:45:25]RAPDU: F7 68 F2 47 41 56 93 25 90 00 [04:45:25]wFMCommunicate OK [04:45:25]SAM_PROTO_SignData done [04:45:25]FM_MakeSignedData done [04:45:25]CreateOFDProtocolMessage [04:45:25]wFMCommunicate request_size=4 [04:45:25]MH_SAM_APDU [04:45:25]CAPDU: 80 11 00 00 [04:45:25]Write to MH i2c: E2 08 00 98 15 80 11 00 00 00 00 00 00 27 [04:45:25]Write i2c OK [04:45:25]MH_I2C_Read... [04:45:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:45:25]Read from MH i2c: E2 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 17 00 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: E2 17 00 98 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 7E [04:45:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:45:25]wFMCommunicate OK [04:45:25]CreateOFDProtocolMessage done [04:45:25]OFDSenderStorePacket 68293 [04:45:25]StoreOFDPacket docnum=68293 [04:45:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 A2 16 08 01 C3 6B 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 77 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 86 30 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 30 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 56 00 00 00 00 07 04 06 00 68 30 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 66 68 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C5 0A 01 00 35 04 06 00 D0 5F 4E C9 4C D4 F7 68 F2 47 41 56 93 25 [04:45:25]CheckFolder [04:45:25]dirname=/storage/ofd_packets [04:45:25]CheckFolder done [04:45:25]ProducePacketName [04:45:25]name=ofd_packets/00068293 [04:45:25]NVStorageSaveData ofd_packets/00068293 [04:45:25]File name is /storage/ofd_packets/00068293 [04:45:25]Write 302 bytes [04:45:25]NVStorageSaveData done [04:45:25]OFDSenderStorePacket done [04:45:25]KKMCreateOFDPacket done [04:45:25]NVStorageSaveData kkm_last_timestamp [04:45:25]File name is /storage/kkm_last_timestamp [04:45:25]Write 4 bytes [04:45:25]NVStorageSaveData done [04:45:25]OFD Sender: Processing packet 68293 [packets to send 27, broken 26] [04:45:25]ProducePacketName [04:45:25]name=ofd_packets/00068293 [04:45:25]OFD Sender: To server: pG, [04:45:25]CommunicateWithHost lk.salyk.kg:30040 [04:45:25]ConnectInit lk.salyk.kg [04:45:25]ExternCall_PrintAddStr [04:45:25]wPrintStart [04:45:25]Write to MH i2c: 01 00 00 99 15 AE [04:45:25]Write i2c OK [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: 01 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: 01 07 00 [04:45:25]MH_I2C_Read... [04:45:25]Read from MH i2c: 01 07 00 99 15 00 00 00 00 00 FF 0F C3 [04:45:25]RasterBufferAndPrint [04:45:25]line Счет N : (1)46314 [04:45:25]line ИНН: 02508201610067 [04:45:25]line Контрольно-Кассовый Чек [04:45:25]line ПРОДАЖА [04:45:25]line ТРК (МРК, ГНК) : 12 [04:45:25]line Товар: 2710124130 [04:45:25]line SUPER-92-К-5 [04:45:25]line 30.560 * 68.40 [04:45:25]line = 2090.30 [04:45:25]line НДС 12% НСП 1% [04:45:25]line > о реализуемом товаре [04:45:25]line ОКРУГЛЕНИЕ: -0.30 [04:45:25]line ИТОГО: 2090.00 [04:45:25]line Внесено: 2090.00 [04:45:25]line СДАЧА: 0.00 [04:45:25]line НСП 1% : 18.50 [04:45:25]line НДС 12% : 221.98 [04:45:25]line Наличными: 2090.00 [04:45:25]line Безнал.: 0.00 [04:45:25]line Место: АЗС № 160 "Партнер Нефть" [04:45:25]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [04:45:25]line СНО: Общий режим [04:45:25]line Чек 16 29.10.2024 04:45 [04:45:25]line Смена: 548 ФФД: 1.0 [04:45:25]line ЗНМ: 0300000093 [04:45:25]line РНМ: 0000000000091759 [04:45:25]line Версия ККМ: 001 [04:45:25]line ФМ: 0000000000871758 [04:45:25]line ФД: 68293 [04:45:25]line ФПД: 229107762285780 [04:45:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T044526&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68293&fm=229107762285780&tin=02508201610067®Number=0000000000091759&sum=209000 [04:45:25]Connected sock=11 [04:45:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 A2 16 08 01 C3 6B 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 77 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 86 30 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 30 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 56 00 00 00 00 07 04 06 00 68 30 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 66 68 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C5 0A 01 00 35 04 06 00 D0 5F 4E C9 4C D4 F7 68 F2 47 41 56 93 25 [04:45:25]written 0, free lines is 4095 [04:45:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 22 AE 47 00 F1 AA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C5 0A 01 00 F4 03 04 00 45 14 20 67 B6 04 01 00 00 61 2A CE 71 F1 B8 8A 97 [04:45:26]CommunicateWithHost err = 0 [04:45:26]CheckOFDResponse [04:45:26]1017 (14) - 77093643461234 [04:45:26]1041 (16) - 0000000000871758 [04:45:26]1040 (4) - 68293 [04:45:26]1012 (4) - 28.10.2024 22:46 [04:45:26]1206 (1) - 0 [04:45:26]OFD Sender: Remove packet 68293 [04:45:26]ProducePacketName [04:45:26]name=ofd_packets/00068293 [04:45:26]NVStorageDeleteData [04:45:26]Write to MH i2c: 01 00 00 C3 15 D8 [04:45:26]Write i2c OK [04:45:26]MH_I2C_Read... [04:45:26]Read from MH i2c: 01 [04:45:26]MH_I2C_Read... [04:45:26]Read from MH i2c: 01 07 00 [04:45:26]MH_I2C_Read... [04:45:26]Read from MH i2c: 01 07 00 C3 15 00 00 00 00 00 B5 0C A0 [04:45:26]RasterBufferAndPrint [04:45:26]line [04:45:26]line [04:45:26]line [04:45:26]line [04:45:26]line [04:45:26]written 0, free lines is 3259 [04:45:26]MH_Cut [04:45:26]Write to MH i2c: D1 01 00 CA 15 01 B1 [04:45:26]Write i2c OK [04:45:26]MH_I2C_Read... [04:45:26]Read from MH i2c: D1 [04:45:26]MH_I2C_Read... [04:45:26]Read from MH i2c: D1 01 00 [04:45:26]MH_I2C_Read... [04:45:26]Read from MH i2c: D1 01 00 CA 15 00 B0 [04:45:26]Write to MH i2c: 01 00 00 CB 15 E0 [04:45:26]Write i2c OK [04:45:26]MH_I2C_Read... [04:45:26]OFD Sender: No OFD packet to send [04:45:27]*** Cut start [04:45:27]*** Partial cut [04:45:27]*** CUTSNS_PIN = 1 [04:45:27]*** CUTSNS_PIN = 0 [04:45:27]*** Brake cut motor [04:45:27]Read from MH i2c: 01 [04:45:27]MH_I2C_Read... [04:45:27]*** Stop cut motor [04:45:27]*** Cut end [04:45:27]Read from MH i2c: 01 07 00 [04:45:27]MH_I2C_Read... [04:45:27]Read from MH i2c: 01 07 00 CB 15 00 00 00 00 00 FF 0F F5 [04:45:27]process_action close_receipt done [04:45:27]requested_data is exist [04:45:27]produce_requested_data [04:45:27]requested_item fm.sn is exist - process it [04:45:27]wFMCommunicate request_size=4 [04:45:27]MH_SAM_APDU [04:45:27]CAPDU: 80 11 00 00 [04:45:27]Write to MH i2c: E2 08 00 CC 15 80 11 00 00 00 00 00 00 5B [04:45:27]Write i2c OK [04:45:27]MH_I2C_Read... [04:45:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:45:27]Read from MH i2c: E2 [04:45:27]MH_I2C_Read... [04:45:27]Read from MH i2c: E2 17 00 [04:45:27]MH_I2C_Read... [04:45:27]Read from MH i2c: E2 17 00 CC 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B2 [04:45:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:45:27]wFMCommunicate OK [04:45:27]requested_item fd.num is exist - process it [04:45:27]SAM_PROTO_GetFieldsCounters [04:45:27]wFMCommunicate request_size=4 [04:45:27]MH_SAM_APDU [04:45:27]CAPDU: 80 13 00 00 [04:45:27]Write to MH i2c: E2 08 00 CD 15 80 13 00 00 00 00 00 00 5E [04:45:27]Write i2c OK [04:45:27]MH_I2C_Read... [04:45:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:45:28]Read from MH i2c: E2 [04:45:28]MH_I2C_Read... [04:45:28]Read from MH i2c: E2 62 00 [04:45:28]MH_I2C_Read... [04:45:28]Read from MH i2c: E2 62 00 CD 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C5 0A 01 00 0E 04 04 00 24 02 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 AF [04:45:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C5 0A 01 00 0E 04 04 00 24 02 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 [04:45:28]wFMCommunicate OK [04:45:28]SAM_PROTO_GetFieldsCounters done [04:45:28]requested_item shift.num is exist - process it [04:45:28]requested_item shift.opened is exist - process it [04:45:28]req_shift_opened [04:45:28]FM_GetShiftState [04:45:28]SAM_PROTO_GetShiftState [04:45:28]wFMCommunicate request_size=4 [04:45:28]MH_SAM_APDU [04:45:28]CAPDU: 80 13 01 00 [04:45:28]Write to MH i2c: E2 08 00 CE 15 80 13 01 00 00 00 00 00 60 [04:45:28]Write i2c OK [04:45:28]MH_I2C_Read... [04:45:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:45:28]Read from MH i2c: E2 [04:45:28]MH_I2C_Read... [04:45:28]Read from MH i2c: E2 0E 00 [04:45:28]MH_I2C_Read... [04:45:28]Read from MH i2c: E2 0E 00 CE 15 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 10 [04:45:28]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [04:45:28]wFMCommunicate OK [04:45:28]SAM_PROTO_GetShiftState done [04:45:28]FM_GetShiftState done [04:45:28]req_shift_opened done [04:45:28]requested_item shift.open_date is exist - process it [04:45:28]req_shift_open_date [04:45:28]req_shift_open_date done [04:45:28]produce_requested_data done [04:45:28]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68293,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [04:45:28]process_action_free close_receipt [04:45:28]json_value_free [04:45:28]json_value_free done [04:45:28]process_json_proto returns [04:45:28]Send response to host [04:45:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68293,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [04:45:28]free response buf [04:45:28]execute_script done [04:45:28]execute_script returns [04:45:28]free content buf [04:45:28]Sock 10.Close socket [04:45:28]Sock 10.Thread stoped [04:45:31]OFD Sender: No OFD packet to send [04:45:36]OFD Sender: No OFD packet to send [04:45:41]OFD Sender: No OFD packet to send [04:45:46]OFD Sender: No OFD packet to send [04:45:51]OFD Sender: No OFD packet to send [04:45:56]OFD Sender: No OFD packet to send [04:46:01]OFD Sender: No OFD packet to send [04:46:06]OFD Sender: No OFD packet to send [04:46:11]OFD Sender: No OFD packet to send [04:46:16]OFD Sender: No OFD packet to send [04:46:21]OFD Sender: No OFD packet to send [04:46:26]OFD Sender: No OFD packet to send [04:46:31]OFD Sender: No OFD packet to send [04:46:36]OFD Sender: No OFD packet to send [04:46:41]OFD Sender: No OFD packet to send [04:46:46]OFD Sender: No OFD packet to send [04:46:51]OFD Sender: No OFD packet to send [04:46:56]OFD Sender: No OFD packet to send [04:47:01]OFD Sender: No OFD packet to send [04:47:06]OFD Sender: No OFD packet to send [04:47:11]OFD Sender: No OFD packet to send [04:47:16]OFD Sender: No OFD packet to send [04:47:21]OFD Sender: No OFD packet to send [04:47:26]OFD Sender: No OFD packet to send [04:47:31]OFD Sender: No OFD packet to send [04:47:36]OFD Sender: No OFD packet to send [04:47:41]OFD Sender: No OFD packet to send [04:47:46]OFD Sender: No OFD packet to send [04:47:51]OFD Sender: No OFD packet to send [04:47:56]OFD Sender: No OFD packet to send [04:48:01]OFD Sender: No OFD packet to send [04:48:06]OFD Sender: No OFD packet to send [04:48:11]OFD Sender: No OFD packet to send [04:48:16]OFD Sender: No OFD packet to send [04:48:21]OFD Sender: No OFD packet to send [04:48:26]OFD Sender: No OFD packet to send [04:48:31]OFD Sender: No OFD packet to send [04:48:36]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:27]OFD Sender: No OFD packet to send [04:52:32]OFD Sender: No OFD packet to send [04:52:37]OFD Sender: No OFD packet to send [04:52:42]OFD Sender: No OFD packet to send [04:52:47]OFD Sender: No OFD packet to send [04:52:52]OFD Sender: No OFD packet to send [04:52:57]OFD Sender: No OFD packet to send [04:53:02]OFD Sender: No OFD packet to send [04:53:07]OFD Sender: No OFD packet to send [04:53:12]OFD Sender: No OFD packet to send [04:53:17]OFD Sender: No OFD packet to send [04:53:22]OFD Sender: No OFD packet to send [04:53:27]OFD Sender: No OFD packet to send [04:53:32]OFD Sender: No OFD packet to send [04:53:37]OFD Sender: No OFD packet to send [04:53:42]OFD Sender: No OFD packet to send [04:53:47]OFD Sender: No OFD packet to send [04:53:52]OFD Sender: No OFD packet to send [04:53:57]OFD Sender: No OFD packet to send [04:54:02]OFD Sender: No OFD packet to send [04:54:07]OFD Sender: No OFD packet to send [04:54:12]OFD Sender: No OFD packet to send [04:54:17]OFD Sender: No OFD packet to send [04:54:22]OFD Sender: No OFD packet to send [04:54:27]OFD Sender: No OFD packet to send [04:54:32]OFD Sender: No OFD packet to send [04:54:37]OFD Sender: No OFD packet to send [04:54:42]OFD Sender: No OFD packet to send [04:54:47]OFD Sender: No OFD packet to send [04:54:52]OFD Sender: No OFD packet to send [04:54:57]OFD Sender: No OFD packet to send [04:55:02]OFD Sender: No OFD packet to send [04:55:07]OFD Sender: No OFD packet to send [04:55:12]OFD Sender: No OFD packet to send [04:55:17]OFD Sender: No OFD packet to send [04:55:22]OFD Sender: No OFD packet to send [04:55:27]OFD Sender: No OFD packet to send [04:55:32]OFD Sender: No OFD packet to send [04:55:37]OFD Sender: No OFD packet to send [04:55:42]OFD Sender: No OFD packet to send [04:55:47]OFD Sender: No OFD packet to send [04:55:52]OFD Sender: No OFD packet to send [04:55:57]OFD Sender: No OFD packet to send [04:56:02]OFD Sender: No OFD packet to send [04:56:07]OFD Sender: No OFD packet to send [04:56:12]OFD Sender: No OFD packet to send [04:56:17]OFD Sender: No OFD packet to send [04:56:22]OFD Sender: No OFD packet to send [04:56:27]OFD Sender: No OFD packet to send [04:56:32]OFD Sender: No OFD packet to send [04:56:37]OFD Sender: No OFD packet to send [04:56:42]OFD Sender: No OFD packet to send [04:56:47]OFD Sender: No OFD packet to send [04:56:52]OFD Sender: No OFD packet to send [04:56:57]OFD Sender: No OFD packet to send [04:57:02]OFD Sender: No OFD packet to send [04:57:07]OFD Sender: No OFD packet to send [04:57:12]OFD Sender: No OFD packet to send [04:57:17]OFD Sender: No OFD packet to send [04:57:22]OFD Sender: No OFD packet to send [04:57:27]OFD Sender: No OFD packet to send [04:57:32]OFD Sender: No OFD packet to send [04:57:37]OFD Sender: No OFD packet to send [04:57:42]OFD Sender: No OFD packet to send [04:57:47]OFD Sender: No OFD packet to send [04:57:52]OFD Sender: No OFD packet to send [04:57:57]OFD Sender: No OFD packet to send [04:58:02]OFD Sender: No OFD packet to send [04:58:07]OFD Sender: No OFD packet to send [04:58:12]OFD Sender: No OFD packet to send [04:58:17]OFD Sender: No OFD packet to send [04:58:22]OFD Sender: No OFD packet to send [04:58:27]OFD Sender: No OFD packet to send [04:58:32]OFD Sender: No OFD packet to send [04:58:37]OFD Sender: No OFD packet to send [04:58:42]OFD Sender: No OFD packet to send [04:58:47]OFD Sender: No OFD packet to send [04:58:52]OFD Sender: No OFD packet to send [04:58:57]OFD Sender: No OFD packet to send [04:59:02]OFD Sender: No OFD packet to send [04:59:07]OFD Sender: No OFD packet to send [04:59:12]OFD Sender: No OFD packet to send [04:59:17]OFD Sender: No OFD packet to send [04:59:22]OFD Sender: No OFD packet to send [04:59:27]OFD Sender: No OFD packet to send [04:59:32]OFD Sender: No OFD packet to send [04:59:37]OFD Sender: No OFD packet to send [04:59:42]OFD Sender: No OFD packet to send [04:59:47]OFD Sender: No OFD packet to send [04:59:52]OFD Sender: No OFD packet to send [04:59:57]OFD Sender: No OFD packet to send [05:00:02]OFD Sender: No OFD packet to send [05:00:07]OFD Sender: No OFD packet to send [05:00:12]OFD Sender: No OFD packet to send [05:00:17]OFD Sender: No OFD packet to send [05:00:22]OFD Sender: No OFD packet to send [05:00:27]OFD Sender: No OFD packet to send [05:00:32]OFD Sender: No OFD packet to send [05:00:37]OFD Sender: No OFD packet to send [05:00:42]OFD Sender: No OFD packet to send [05:00:47]OFD Sender: No OFD packet to send [05:00:52]OFD Sender: No OFD packet to send [05:00:57]OFD Sender: No OFD packet to send [05:01:02]OFD Sender: No OFD packet to send [05:01:07]OFD Sender: No OFD packet to send [05:01:12]OFD Sender: No OFD packet to send [05:01:17]OFD Sender: No OFD packet to send [05:01:22]OFD Sender: No OFD packet to send [05:01:27]OFD Sender: No OFD packet to send [05:01:32]OFD Sender: No OFD packet to send [05:01:37]OFD Sender: No OFD packet to send [05:01:42]OFD Sender: No OFD packet to send [05:01:47]OFD Sender: No OFD packet to send [05:01:52]OFD Sender: No OFD packet to send [05:01:57]OFD Sender: No OFD packet to send [05:02:02]OFD Sender: No OFD packet to send [05:02:07]OFD Sender: No OFD packet to send [05:02:12]OFD Sender: No OFD packet to send [05:02:17]OFD Sender: No OFD packet to send [05:02:22]OFD Sender: No OFD packet to send [05:02:27]OFD Sender: No OFD packet to send [05:02:32]OFD Sender: No OFD packet to send [05:02:37]OFD Sender: No OFD packet to send [05:02:42]OFD Sender: No OFD packet to send [05:02:47]OFD Sender: No OFD packet to send [05:02:52]OFD Sender: No OFD packet to send [05:02:57]OFD Sender: No OFD packet to send [05:03:02]OFD Sender: No OFD packet to send [05:03:07]OFD Sender: No OFD packet to send [05:03:12]OFD Sender: No OFD packet to send [05:03:17]OFD Sender: No OFD packet to send [05:03:22]OFD Sender: No OFD packet to send [05:03:27]OFD Sender: No OFD packet to send [05:03:32]OFD Sender: No OFD packet to send [05:03:37]OFD Sender: No OFD packet to send [05:03:42]OFD Sender: No OFD packet to send [05:03:47]OFD Sender: No OFD packet to send [05:03:52]OFD Sender: No OFD packet to send [05:03:57]OFD Sender: No OFD packet to send [05:04:02]OFD Sender: No OFD packet to send [05:04:07]OFD Sender: No OFD packet to send [05:04:12]OFD Sender: No OFD packet to send [05:04:17]OFD Sender: No OFD packet to send [05:04:22]OFD Sender: No OFD packet to send [05:04:27]OFD Sender: No OFD packet to send [05:04:32]OFD Sender: No OFD packet to send [05:04:37]OFD Sender: No OFD packet to send [05:04:42]OFD Sender: No OFD packet to send [05:04:47]OFD Sender: No OFD packet to send [05:04:52]OFD Sender: No OFD packet to send [05:04:57]OFD Sender: No OFD packet to send [05:05:02]OFD Sender: No OFD packet to send [05:05:07]OFD Sender: No OFD packet to send [05:05:12]OFD Sender: No OFD packet to send [05:05:17]OFD Sender: No OFD packet to send [05:05:22]OFD Sender: No OFD packet to send [05:05:27]OFD Sender: No OFD packet to send [05:05:32]OFD Sender: No OFD packet to send [05:05:37]OFD Sender: No OFD packet to send [05:05:42]OFD Sender: No OFD packet to send [05:05:47]OFD Sender: No OFD packet to send [05:05:52]OFD Sender: No OFD packet to send [05:05:57]OFD Sender: No OFD packet to send [05:06:02]OFD Sender: No OFD packet to send [05:06:07]OFD Sender: No OFD packet to send [05:06:12]OFD Sender: No OFD packet to send [05:06:17]OFD Sender: No OFD packet to send [05:06:22]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:55]accept exits with 7 [05:07:55]New connection [05:07:55]New thread 3067497828 created [05:07:55]Thread 3067354468 joined [05:07:55]Waiting for new connection... [05:07:55] Sock 7.Parse request [05:07:55]Sock 7.Check first char [05:07:55]Sock 7.First char is OK [05:07:55]request: POST /json_proto HTTP/1.0 [05:07:55]Method: POST [05:07:55]URL: /json_proto [05:07:55]Method is POST - this is cgi request [05:07:55]url: /json_proto [05:07:55]query_string will be loaded in cgi processing [05:07:55]execute_cgi json_proto POST (null) [05:07:55]execute_cgi path=json_proto method=POST [05:07:55]POST find Content-Length [05:07:55]Host: 172.17.42.3:8080 [05:07:55]Content-Length: 621 [05:07:55]Content-Type: application/json [05:07:55] [05:07:55]POST finish read [05:07:55]Found Content-Length = 621 [05:07:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17217", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:07:55]execute_script... [05:07:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17217", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:07:55]POST & json_proto [05:07:55]process_json_proto [05:07:55]json parsed OK: [05:07:55]protocol is kg_v1.0 [05:07:55]action value=close_receipt [05:07:55]process_action close_receipt [05:07:55]cmd_close_receipt [05:07:55]MH_GetDate [05:07:55]Write to MH i2c: F0 00 00 CF 15 D3 [05:07:55]Write i2c OK [05:07:55]MH_I2C_Read... [05:07:55]Read from MH i2c: F0 [05:07:55]MH_I2C_Read... [05:07:55]Read from MH i2c: F0 09 00 [05:07:55]MH_I2C_Read... [05:07:55]Read from MH i2c: F0 09 00 CF 15 00 AE 6D 20 67 0E CB 1F 67 DD [05:07:55]GetLastDocTimeStamp 1730177126 [05:07:55]current date 1730178478 [05:07:55]FM_GetShiftState [05:07:55]SAM_PROTO_GetShiftState [05:07:55]wFMCommunicate request_size=4 [05:07:55]MH_SAM_APDU [05:07:55]CAPDU: 80 13 01 00 [05:07:55]Write to MH i2c: E2 08 00 D0 15 80 13 01 00 00 00 00 00 62 [05:07:55]Write i2c OK [05:07:55]MH_I2C_Read... [05:07:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:07:55]Read from MH i2c: E2 [05:07:55]MH_I2C_Read... [05:07:55]Read from MH i2c: E2 0E 00 [05:07:55]MH_I2C_Read... [05:07:55]Read from MH i2c: E2 0E 00 D0 15 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 12 [05:07:55]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [05:07:55]wFMCommunicate OK [05:07:55]SAM_PROTO_GetShiftState done [05:07:55]FM_GetShiftState done [05:07:55]opened in 1730160885 [05:07:55]opened+sec_in_day 1730247285 [05:07:55]quantity*price = 15900 [05:07:55]sum+1 = 15901 [05:07:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 17 29.10.2024 05:07 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68294 ФПД: 111173005582674 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T050758&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68294&fm=111173005582674&tin=02508201610067®Number=0000000000091759&sum=15900 0 [05:07:56]StoreToDocumentArchive [05:07:56]shift 548 fd 68294 [05:07:56]save to /storage/0548/doc_00068294 [05:07:56]save last doc name /storage/0548/doc_00068294 to /storage/kkm_last_doc_name [05:07:56]save OK [05:07:56]Clear old archive folders... [05:07:56]ProcessDocumentItem done err = 0, tmpTLVsize=274 [05:07:56]tlvbuf is B6F2D0E0 [05:07:56]SAM_PROTO_ClearQueue [05:07:56]wFMCommunicate request_size=4 [05:07:56]MH_SAM_APDU [05:07:56]CAPDU: 80 09 00 00 [05:07:56]Write to MH i2c: E2 08 00 DD 15 80 09 00 00 00 00 00 00 64 [05:07:56]Write i2c OK [05:07:56]MH_I2C_Read... [05:07:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:07:56]Read from MH i2c: E2 [05:07:56]MH_I2C_Read... [05:07:56]Read from MH i2c: E2 03 00 [05:07:56]MH_I2C_Read... [05:07:56]Read from MH i2c: E2 03 00 DD 15 00 90 00 66 [05:07:56]RAPDU: 90 00 [05:07:56]wFMCommunicate OK [05:07:56]SAM_PROTO_ClearQueue done [05:07:56]KKMCreateOFDPacket [05:07:56]OFDProtocolAddRootSTLVToBuf [05:07:56]FM_MakeSignedData [05:07:56]FM_MakeSignedData [05:07:56]SAM_PROTO_SignData [05:07:56]wFMCommunicate request_size=4 [05:07:56]MH_SAM_APDU [05:07:56]CAPDU: 80 0D 01 02 [05:07:56]Write to MH i2c: E2 08 00 DE 15 80 0D 01 02 00 00 00 00 6C [05:07:56]Write i2c OK [05:07:56]MH_I2C_Read... [05:07:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:07:56]Read from MH i2c: E2 [05:07:56]MH_I2C_Read... [05:07:56]Read from MH i2c: E2 03 00 [05:07:56]MH_I2C_Read... [05:07:56]Read from MH i2c: E2 03 00 DE 15 00 90 00 67 [05:07:56]RAPDU: 90 00 [05:07:56]wFMCommunicate OK [05:07:56]wFMCommunicate request_size=255 [05:07:56]MH_SAM_APDU [05:07:56]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 AE 6D 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 [05:07:56]Write to MH i2c: E2 02 01 DF 15 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 AE 6D 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 00 00 6F [05:07:56]Write i2c OK [05:07:56]MH_I2C_Read... [05:07:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:07:56]Read from MH i2c: E2 [05:07:56]MH_I2C_Read... [05:07:56]Read from MH i2c: E2 03 00 [05:07:56]MH_I2C_Read... [05:07:56]Read from MH i2c: E2 03 00 DF 15 00 90 00 68 [05:07:56]RAPDU: 90 00 [05:07:56]wFMCommunicate OK [05:07:56]wFMCommunicate request_size=33 [05:07:56]MH_SAM_APDU [05:07:56]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C6 0A 01 00 35 04 06 00 65 1C 7B 81 A1 52 [05:07:56]Write to MH i2c: E2 24 00 E0 15 80 0D 02 02 1C 00 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C6 0A 01 00 35 04 06 00 65 1C 7B 81 A1 52 00 00 43 [05:07:56]Write i2c OK [05:07:56]MH_I2C_Read... [05:07:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:07:57]Read from MH i2c: E2 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: E2 03 00 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: E2 03 00 E0 15 00 90 00 69 [05:07:57]RAPDU: 90 00 [05:07:57]wFMCommunicate OK [05:07:57]wFMCommunicate request_size=4 [05:07:57]MH_SAM_APDU [05:07:57]CAPDU: 80 0D 03 02 [05:07:57]Write to MH i2c: E2 08 00 E1 15 80 0D 03 02 00 00 00 00 71 [05:07:57]Write i2c OK [05:07:57]MH_I2C_Read... [05:07:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:07:57]Read from MH i2c: E2 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: E2 0B 00 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: E2 0B 00 E1 15 00 FB 45 A3 97 2C 2F 94 54 90 00 2F [05:07:57]RAPDU: FB 45 A3 97 2C 2F 94 54 90 00 [05:07:57]wFMCommunicate OK [05:07:57]SAM_PROTO_SignData done [05:07:57]FM_MakeSignedData done [05:07:57]CreateOFDProtocolMessage [05:07:57]wFMCommunicate request_size=4 [05:07:57]MH_SAM_APDU [05:07:57]CAPDU: 80 11 00 00 [05:07:57]Write to MH i2c: E2 08 00 E2 15 80 11 00 00 00 00 00 00 71 [05:07:57]Write i2c OK [05:07:57]MH_I2C_Read... [05:07:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:07:57]Read from MH i2c: E2 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: E2 17 00 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: E2 17 00 E2 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C8 [05:07:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [05:07:57]wFMCommunicate OK [05:07:57]CreateOFDProtocolMessage done [05:07:57]OFDSenderStorePacket 68294 [05:07:57]StoreOFDPacket docnum=68294 [05:07:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 26 01 00 00 3F 96 1E 01 29 17 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 AE 6D 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C6 0A 01 00 35 04 06 00 65 1C 7B 81 A1 52 FB 45 A3 97 2C 2F 94 54 [05:07:57]CheckFolder [05:07:57]dirname=/storage/ofd_packets [05:07:57]CheckFolder done [05:07:57]ProducePacketName [05:07:57]name=ofd_packets/00068294 [05:07:57]NVStorageSaveData ofd_packets/00068294 [05:07:57]File name is /storage/ofd_packets/00068294 [05:07:57]Write 324 bytes [05:07:57]NVStorageSaveData done [05:07:57]OFDSenderStorePacket done [05:07:57]KKMCreateOFDPacket done [05:07:57]NVStorageSaveData kkm_last_timestamp [05:07:57]File name is /storage/kkm_last_timestamp [05:07:57]Write 4 bytes [05:07:57]NVStorageSaveData done [05:07:57]ExternCall_PrintAddStr [05:07:57]wPrintStart [05:07:57]Write to MH i2c: 01 00 00 E3 15 F8 [05:07:57]Write i2c OK [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: 01 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: 01 07 00 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: 01 07 00 E3 15 00 00 00 00 00 FF 0F 0D [05:07:57]RasterBufferAndPrint [05:07:57]line Счет N : (3)17217 [05:07:57]line ИНН: 02508201610067 [05:07:57]line Контрольно-Кассовый Чек [05:07:57]line ПРОДАЖА [05:07:57]line Товар: 4640030091645 [05:07:57]line Сигареты ESSE Exchange M [05:07:57]line 1.000 * 159.00 [05:07:57]line = 159.00 [05:07:57]line НДС 12% НСП 1% [05:07:57]line > о реализуемом товаре [05:07:57]line ИТОГО: 159.00 [05:07:57]line НСП 1% : 1.41 [05:07:57]line НДС 12% : 16.88 [05:07:57]line Наличными: 159.00 [05:07:57]line Безнал.: 0.00 [05:07:57]line Место: АЗС № 160 "Партнер Нефть" [05:07:57]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [05:07:57]line СНО: Общий режим [05:07:57]line Чек 17 29.10.2024 05:07 [05:07:57]line Смена: 548 ФФД: 1.0 [05:07:57]line ЗНМ: 0300000093 [05:07:57]line РНМ: 0000000000091759 [05:07:57]line Версия ККМ: 001 [05:07:57]line ФМ: 0000000000871758 [05:07:57]line ФД: 68294 [05:07:57]line ФПД: 111173005582674 [05:07:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T050758&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68294&fm=111173005582674&tin=02508201610067®Number=0000000000091759&sum=15900 [05:07:57]OFD Sender: Processing packet 68294 [packets to send 27, broken 26] [05:07:57]ProducePacketName [05:07:57]name=ofd_packets/00068294 [05:07:57]OFD Sender: To server: pG, [05:07:57]CommunicateWithHost lk.salyk.kg:30040 [05:07:57]ConnectInit lk.salyk.kg [05:07:57]line 0 [05:07:57]written 0, free lines is 4095 [05:07:57]Connected sock=10 [05:07:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 26 01 00 00 3F 96 1E 01 29 17 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 AE 6D 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C6 0A 01 00 35 04 06 00 65 1C 7B 81 A1 52 FB 45 A3 97 2C 2F 94 54 [05:07:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 12 94 47 00 30 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C6 0A 01 00 F4 03 04 00 8C 19 20 67 B6 04 01 00 00 78 C5 0C 54 47 2F C7 F4 [05:07:57]CommunicateWithHost err = 0 [05:07:57]CheckOFDResponse [05:07:57]1017 (14) - 77093643461234 [05:07:57]1041 (16) - 0000000000871758 [05:07:57]1040 (4) - 68294 [05:07:57]1012 (4) - 28.10.2024 23:09 [05:07:57]1206 (1) - 0 [05:07:57]OFD Sender: Remove packet 68294 [05:07:57]ProducePacketName [05:07:57]name=ofd_packets/00068294 [05:07:57]NVStorageDeleteData [05:07:57]Write to MH i2c: 01 00 00 0A 16 20 [05:07:57]Write i2c OK [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: 01 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: 01 07 00 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: 01 07 00 0A 16 00 00 00 00 00 CD 0C 00 [05:07:57]RasterBufferAndPrint [05:07:57]line [05:07:57]line [05:07:57]line [05:07:57]line [05:07:57]line [05:07:57]written 0, free lines is 3282 [05:07:57]MH_Cut [05:07:57]Write to MH i2c: D1 01 00 11 16 01 F9 [05:07:57]Write i2c OK [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: D1 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: D1 01 00 [05:07:57]MH_I2C_Read... [05:07:57]Read from MH i2c: D1 01 00 11 16 00 F8 [05:07:57]Write to MH i2c: 01 00 00 12 16 28 [05:07:57]Write i2c OK [05:07:57]MH_I2C_Read... [05:07:58]OFD Sender: No OFD packet to send [05:07:58]*** Cut start [05:07:58]*** Partial cut [05:07:58]*** CUTSNS_PIN = 1 [05:07:58]*** CUTSNS_PIN = 0 [05:07:59]*** Brake cut motor [05:07:59]Read from MH i2c: 01 [05:07:59]MH_I2C_Read... [05:07:59]*** Stop cut motor [05:07:59]*** Cut end [05:07:59]Read from MH i2c: 01 07 00 [05:07:59]MH_I2C_Read... [05:07:59]Read from MH i2c: 01 07 00 12 16 00 00 00 00 00 FF 0F 3D [05:07:59]process_action close_receipt done [05:07:59]requested_data is exist [05:07:59]produce_requested_data [05:07:59]requested_item fm.sn is exist - process it [05:07:59]wFMCommunicate request_size=4 [05:07:59]MH_SAM_APDU [05:07:59]CAPDU: 80 11 00 00 [05:07:59]Write to MH i2c: E2 08 00 13 16 80 11 00 00 00 00 00 00 A3 [05:07:59]Write i2c OK [05:07:59]MH_I2C_Read... [05:07:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:07:59]Read from MH i2c: E2 [05:07:59]MH_I2C_Read... [05:07:59]Read from MH i2c: E2 17 00 [05:07:59]MH_I2C_Read... [05:07:59]Read from MH i2c: E2 17 00 13 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 FA [05:07:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [05:07:59]wFMCommunicate OK [05:07:59]requested_item fd.num is exist - process it [05:07:59]SAM_PROTO_GetFieldsCounters [05:07:59]wFMCommunicate request_size=4 [05:07:59]MH_SAM_APDU [05:07:59]CAPDU: 80 13 00 00 [05:07:59]Write to MH i2c: E2 08 00 14 16 80 13 00 00 00 00 00 00 A6 [05:07:59]Write i2c OK [05:07:59]MH_I2C_Read... [05:07:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:07:59]Read from MH i2c: E2 [05:07:59]MH_I2C_Read... [05:07:59]Read from MH i2c: E2 62 00 [05:07:59]MH_I2C_Read... [05:07:59]Read from MH i2c: E2 62 00 14 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C6 0A 01 00 0E 04 04 00 24 02 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 FB [05:07:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C6 0A 01 00 0E 04 04 00 24 02 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 [05:07:59]wFMCommunicate OK [05:07:59]SAM_PROTO_GetFieldsCounters done [05:07:59]requested_item shift.num is exist - process it [05:07:59]requested_item shift.opened is exist - process it [05:07:59]req_shift_opened [05:07:59]FM_GetShiftState [05:07:59]SAM_PROTO_GetShiftState [05:07:59]wFMCommunicate request_size=4 [05:07:59]MH_SAM_APDU [05:07:59]CAPDU: 80 13 01 00 [05:07:59]Write to MH i2c: E2 08 00 15 16 80 13 01 00 00 00 00 00 A8 [05:07:59]Write i2c OK [05:07:59]MH_I2C_Read... [05:07:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:07:59]Read from MH i2c: E2 [05:07:59]MH_I2C_Read... [05:07:59]Read from MH i2c: E2 0E 00 [05:07:59]MH_I2C_Read... [05:07:59]Read from MH i2c: E2 0E 00 15 16 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 58 [05:07:59]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [05:07:59]wFMCommunicate OK [05:07:59]SAM_PROTO_GetShiftState done [05:07:59]FM_GetShiftState done [05:07:59]req_shift_opened done [05:07:59]requested_item shift.open_date is exist - process it [05:07:59]req_shift_open_date [05:07:59]req_shift_open_date done [05:07:59]produce_requested_data done [05:07:59]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68294,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [05:07:59]process_action_free close_receipt [05:07:59]json_value_free [05:07:59]json_value_free done [05:07:59]process_json_proto returns [05:07:59]Send response to host [05:07:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68294,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [05:07:59]free response buf [05:07:59]execute_script done [05:07:59]execute_script returns [05:07:59]free content buf [05:07:59]Sock 7.Close socket [05:07:59]Sock 7.Thread stoped [05:08:03]OFD Sender: No OFD packet to send [05:08:08]OFD Sender: No OFD packet to send [05:08:13]OFD Sender: No OFD packet to send [05:08:18]OFD Sender: No OFD packet to send [05:08:23]OFD Sender: No OFD packet to send [05:08:28]OFD Sender: No OFD packet to send [05:08:33]OFD Sender: No OFD packet to send [05:08:38]OFD Sender: No OFD packet to send [05:08:43]OFD Sender: No OFD packet to send [05:08:48]OFD Sender: No OFD packet to send [05:08:53]OFD Sender: No OFD packet to send [05:08:58]OFD Sender: No OFD packet to send [05:09:03]OFD Sender: No OFD packet to send [05:09:08]OFD Sender: No OFD packet to send [05:09:13]OFD Sender: No OFD packet to send [05:09:18]OFD Sender: No OFD packet to send [05:09:23]OFD Sender: No OFD packet to send [05:09:28]OFD Sender: No OFD packet to send [05:09:33]OFD Sender: No OFD packet to send [05:09:38]OFD Sender: No OFD packet to send [05:09:43]OFD Sender: No OFD packet to send [05:09:48]OFD Sender: No OFD packet to send [05:09:53]OFD Sender: No OFD packet to send [05:09:58]OFD Sender: No OFD packet to send [05:10:03]OFD Sender: No OFD packet to send [05:10:08]OFD Sender: No OFD packet to send [05:10:13]OFD Sender: No OFD packet to send [05:10:18]OFD Sender: No OFD packet to send [05:10:23]OFD Sender: No OFD packet to send [05:10:28]OFD Sender: No OFD packet to send [05:10:33]OFD Sender: No OFD packet to send [05:10:38]OFD Sender: No OFD packet to send [05:10:43]OFD Sender: No OFD packet to send [05:10:48]OFD Sender: No OFD packet to send [05:10:53]OFD Sender: No OFD packet to send [05:10:58]OFD Sender: No OFD packet to send [05:11:03]OFD Sender: No OFD packet to send [05:11:08]OFD Sender: No OFD packet to send [05:11:13]OFD Sender: No OFD packet to send [05:11:18]OFD Sender: No OFD packet to send [05:11:23]OFD Sender: No OFD packet to send [05:11:28]OFD Sender: No OFD packet to send [05:11:33]OFD Sender: No OFD packet to send [05:11:38]OFD Sender: No OFD packet to send [05:11:43]OFD Sender: No OFD packet to send [05:11:48]OFD Sender: No OFD packet to send [05:11:53]OFD Sender: No OFD packet to send [05:11:58]OFD Sender: No OFD packet to send [05:12:03]OFD Sender: No OFD packet to send [05:12:08]OFD Sender: No OFD packet to send [05:12:13]OFD Sender: No OFD packet to send [05:12:18]OFD Sender: No OFD packet to send [05:12:23]OFD Sender: No OFD packet to send [05:12:28]OFD Sender: No OFD packet to send [05:12:33]OFD Sender: No OFD packet to send [05:12:38]OFD Sender: No OFD packet to send [05:12:43]OFD Sender: No OFD packet to send [05:12:48]OFD Sender: No OFD packet to send [05:12:53]OFD Sender: No OFD packet to send [05:12:58]OFD Sender: No OFD packet to send [05:13:03]OFD Sender: No OFD packet to send [05:13:08]OFD Sender: No OFD packet to send [05:13:13]OFD Sender: No OFD packet to send [05:13:18]OFD Sender: No OFD packet to send [05:13:23]OFD Sender: No OFD packet to send [05:13:28]OFD Sender: No OFD packet to send [05:13:33]OFD Sender: No OFD packet to send [05:13:38]OFD Sender: No OFD packet to send [05:13:43]OFD Sender: No OFD packet to send [05:13:48]OFD Sender: No OFD packet to send [05:13:53]OFD Sender: No OFD packet to send [05:13:58]OFD Sender: No OFD packet to send [05:14:03]OFD Sender: No OFD packet to send [05:14:08]OFD Sender: No OFD packet to send [05:14:13]OFD Sender: No OFD packet to send [05:14:18]OFD Sender: No OFD packet to send [05:14:23]OFD Sender: No OFD packet to send [05:14:28]OFD Sender: No OFD packet to send [05:14:33]OFD Sender: No OFD packet to send [05:14:38]OFD Sender: No OFD packet to send [05:14:43]OFD Sender: No OFD packet to send [05:14:48]OFD Sender: No OFD packet to send [05:14:53]OFD Sender: No OFD packet to send [05:14:58]OFD Sender: No OFD packet to send [05:15:03]OFD Sender: No OFD packet to send [05:15:08]OFD Sender: No OFD packet to send [05:15:13]OFD Sender: No OFD packet to send [05:15:18]OFD Sender: No OFD packet to send [05:15:23]OFD Sender: No OFD packet to send [05:15:28]OFD Sender: No OFD packet to send [05:15:33]OFD Sender: No OFD packet to send [05:15:38]OFD Sender: No OFD packet to send [05:15:43]OFD Sender: No OFD packet to send [05:15:48]OFD Sender: No OFD packet to send [05:15:53]OFD Sender: No OFD packet to send [05:15:58]OFD Sender: No OFD packet to send [05:16:03]OFD Sender: No OFD packet to send [05:16:08]OFD Sender: No OFD packet to send [05:16:13]OFD Sender: No OFD packet to send [05:16:18]OFD Sender: No OFD packet to send [05:16:23]OFD Sender: No OFD packet to send [05:16:28]OFD Sender: No OFD packet to send [05:16:33]OFD Sender: No OFD packet to send [05:16:38]OFD Sender: No OFD packet to send [05:16:43]OFD Sender: No OFD packet to send [05:16:48]OFD Sender: No OFD packet to send [05:16:53]OFD Sender: No OFD packet to send [05:16:58]OFD Sender: No OFD packet to send [05:17:03]OFD Sender: No OFD packet to send [05:17:08]OFD Sender: No OFD packet to send [05:17:13]OFD Sender: No OFD packet to send [05:17:18]OFD Sender: No OFD packet to send [05:17:23]OFD Sender: No OFD packet to send [05:17:28]OFD Sender: No OFD packet to send [05:17:33]OFD Sender: No OFD packet to send [05:17:38]OFD Sender: No OFD packet to send [05:17:43]OFD Sender: No OFD packet to send [05:17:48]OFD Sender: No OFD packet to send [05:17:53]OFD Sender: No OFD packet to send [05:17:58]OFD Sender: No OFD packet to send [05:18:03]OFD Sender: No OFD packet to send [05:18:08]OFD Sender: No OFD packet to send [05:18:13]OFD Sender: No OFD packet to send [05:18:18]OFD Sender: No OFD packet to send [05:18:23]OFD Sender: No OFD packet to send [05:18:28]OFD Sender: No OFD packet to send [05:18:33]OFD Sender: No OFD packet to send [05:18:38]OFD Sender: No OFD packet to send [05:18:43]OFD Sender: No OFD packet to send [05:18:48]OFD Sender: No OFD packet to send [05:18:53]OFD Sender: No OFD packet to send [05:18:58]OFD Sender: No OFD packet to send [05:19:03]OFD Sender: No OFD packet to send [05:19:08]OFD Sender: No OFD packet to send [05:19:13]OFD Sender: No OFD packet to send [05:19:18]OFD Sender: No OFD packet to send [05:19:23]OFD Sender: No OFD packet to send [05:19:28]OFD Sender: No OFD packet to send [05:19:33]OFD Sender: No OFD packet to send [05:19:38]OFD Sender: No OFD packet to send [05:19:43]OFD Sender: No OFD packet to send [05:19:48]OFD Sender: No OFD packet to send [05:19:53]OFD Sender: No OFD packet to send [05:19:58]OFD Sender: No OFD packet to send [05:20:03]OFD Sender: No OFD packet to send [05:20:08]OFD Sender: No OFD packet to send [05:20:13]OFD Sender: No OFD packet to send [05:20:18]OFD Sender: No OFD packet to send [05:20:23]OFD Sender: No OFD packet to send [05:20:28]OFD Sender: No OFD packet to send [05:20:33]OFD Sender: No OFD packet to send [05:20:38]OFD Sender: No OFD packet to send [05:20:43]OFD Sender: No OFD packet to send [05:20:48]OFD Sender: No OFD packet to send [05:20:53]OFD Sender: No OFD packet to send [05:20:58]OFD Sender: No OFD packet to send [05:21:03]OFD Sender: No OFD packet to send [05:21:08]OFD Sender: No OFD packet to send [05:21:13]OFD Sender: No OFD packet to send [05:21:18]OFD Sender: No OFD packet to send [05:21:23]OFD Sender: No OFD packet to send [05:21:28]OFD Sender: No OFD packet to send [05:21:33]OFD Sender: No OFD packet to send [05:21:38]OFD Sender: No OFD packet to send [05:21:43]OFD Sender: No OFD packet to send [05:21:48]OFD Sender: No OFD packet to send [05:21:53]OFD Sender: No OFD packet to send [05:21: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:25]accept exits with 9 [05:24:25]New connection [05:24:25]New thread 3067354468 created [05:24:25]Thread 3067497828 joined [05:24:25]Waiting for new connection... [05:24:25] Sock 9.Parse request [05:24:25]Sock 9.Check first char [05:24:25]Sock 9.First char is OK [05:24:25]request: POST /json_proto HTTP/1.0 [05:24:25]Method: POST [05:24:25]URL: /json_proto [05:24:25]Method is POST - this is cgi request [05:24:25]url: /json_proto [05:24:25]query_string will be loaded in cgi processing [05:24:25]execute_cgi json_proto POST (null) [05:24:25]execute_cgi path=json_proto method=POST [05:24:25]POST find Content-Length [05:24:25]Host: 172.17.42.3:8080 [05:24:25]Content-Length: 676 [05:24:25]Content-Type: application/json [05:24:25] [05:24:25]POST finish read [05:24:25]Found Content-Length = 676 [05:24:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46315", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.480, "sum" : 299.71, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 299.00, "payments": [ { "type": 0, "sum" : 299.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:24:25]execute_script... [05:24: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)46315", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.480, "sum" : 299.71, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 299.00, "payments": [ { "type": 0, "sum" : 299.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:24:25]POST & json_proto [05:24:25]process_json_proto [05:24:25]json parsed OK: [05:24:25]protocol is kg_v1.0 [05:24:25]action value=close_receipt [05:24:25]process_action close_receipt [05:24:25]cmd_close_receipt [05:24:25]MH_GetDate [05:24:25]Write to MH i2c: F0 00 00 16 16 1B [05:24:25]Write i2c OK [05:24:25]MH_I2C_Read... [05:24:25]Read from MH i2c: F0 [05:24:25]MH_I2C_Read... [05:24:25]Read from MH i2c: F0 09 00 [05:24:25]MH_I2C_Read... [05:24:25]Read from MH i2c: F0 09 00 16 16 00 8B 71 20 67 0E CB 1F 67 06 [05:24:25]GetLastDocTimeStamp 1730178478 [05:24:25]current date 1730179467 [05:24:25]FM_GetShiftState [05:24:25]SAM_PROTO_GetShiftState [05:24:25]wFMCommunicate request_size=4 [05:24:25]MH_SAM_APDU [05:24:25]CAPDU: 80 13 01 00 [05:24:25]Write to MH i2c: E2 08 00 17 16 80 13 01 00 00 00 00 00 AA [05:24:25]Write i2c OK [05:24:25]MH_I2C_Read... [05:24:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:24:25]Read from MH i2c: E2 [05:24:25]MH_I2C_Read... [05:24:25]Read from MH i2c: E2 0E 00 [05:24:25]MH_I2C_Read... [05:24:25]Read from MH i2c: E2 0E 00 17 16 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 5A [05:24:25]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [05:24:25]wFMCommunicate OK [05:24:25]SAM_PROTO_GetShiftState done [05:24:25]FM_GetShiftState done [05:24:25]opened in 1730160885 [05:24:25]opened+sec_in_day 1730247285 [05:24:25]quantity*price = 29971 [05:24:25]sum+1 = 29972 [05:24:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.71 ИТОГО: 299.00 Внесено: 300.00 СДАЧА: 1.00 НСП 1% : 2.65 НДС 12% : 31.83 Наличными: 299.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 18 29.10.2024 05:24 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68295 ФПД: 129076255857223 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T052427&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68295&fm=129076255857223&tin=02508201610067®Number=0000000000091759&sum=29900 [05:24:26]StoreToDocumentArchive [05:24:26]shift 548 fd 68295 [05:24:26]save to /storage/0548/doc_00068295 [05:24:26]save last doc name /storage/0548/doc_00068295 to /storage/kkm_last_doc_name [05:24:26]save OK [05:24:26]Clear old archive folders... [05:24:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [05:24:26]tlvbuf is 006095A0 [05:24:26]SAM_PROTO_ClearQueue [05:24:26]wFMCommunicate request_size=4 [05:24:26]MH_SAM_APDU [05:24:26]CAPDU: 80 09 00 00 [05:24:26]Write to MH i2c: E2 08 00 24 16 80 09 00 00 00 00 00 00 AC [05:24:26]Write i2c OK [05:24:26]MH_I2C_Read... [05:24:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:24:26]Read from MH i2c: E2 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 03 00 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 03 00 24 16 00 90 00 AE [05:24:26]RAPDU: 90 00 [05:24:26]wFMCommunicate OK [05:24:26]SAM_PROTO_ClearQueue done [05:24:26]KKMCreateOFDPacket [05:24:26]OFDProtocolAddRootSTLVToBuf [05:24:26]FM_MakeSignedData [05:24:26]FM_MakeSignedData [05:24:26]SAM_PROTO_SignData [05:24:26]wFMCommunicate request_size=4 [05:24:26]MH_SAM_APDU [05:24:26]CAPDU: 80 0D 01 02 [05:24:26]Write to MH i2c: E2 08 00 25 16 80 0D 01 02 00 00 00 00 B4 [05:24:26]Write i2c OK [05:24:26]MH_I2C_Read... [05:24:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:24:26]Read from MH i2c: E2 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 03 00 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 03 00 25 16 00 90 00 AF [05:24:26]RAPDU: 90 00 [05:24:26]wFMCommunicate OK [05:24:26]wFMCommunicate request_size=255 [05:24:26]MH_SAM_APDU [05:24:26]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 8B 71 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C7 0A 01 00 35 04 06 00 75 [05:24:26]Write to MH i2c: E2 02 01 26 16 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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 8B 71 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C7 0A 01 00 35 04 06 00 75 00 00 24 [05:24:26]Write i2c OK [05:24:26]MH_I2C_Read... [05:24:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:24:26]Read from MH i2c: E2 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 03 00 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 03 00 26 16 00 90 00 B0 [05:24:26]RAPDU: 90 00 [05:24:26]wFMCommunicate OK [05:24:26]wFMCommunicate request_size=10 [05:24:26]MH_SAM_APDU [05:24:26]CAPDU: 80 0D 02 02 05 64 E8 61 1A 47 [05:24:26]Write to MH i2c: E2 0D 00 27 16 80 0D 02 02 05 00 64 E8 61 1A 47 00 00 CF [05:24:26]Write i2c OK [05:24:26]MH_I2C_Read... [05:24:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:24:26]Read from MH i2c: E2 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 03 00 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 03 00 27 16 00 90 00 B1 [05:24:26]RAPDU: 90 00 [05:24:26]wFMCommunicate OK [05:24:26]wFMCommunicate request_size=4 [05:24:26]MH_SAM_APDU [05:24:26]CAPDU: 80 0D 03 02 [05:24:26]Write to MH i2c: E2 08 00 28 16 80 0D 03 02 00 00 00 00 B9 [05:24:26]Write i2c OK [05:24:26]MH_I2C_Read... [05:24:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:24:26]Read from MH i2c: E2 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 0B 00 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 0B 00 28 16 00 A2 66 33 10 33 25 BD 69 90 00 83 [05:24:26]RAPDU: A2 66 33 10 33 25 BD 69 90 00 [05:24:26]wFMCommunicate OK [05:24:26]SAM_PROTO_SignData done [05:24:26]FM_MakeSignedData done [05:24:26]CreateOFDProtocolMessage [05:24:26]wFMCommunicate request_size=4 [05:24:26]MH_SAM_APDU [05:24:26]CAPDU: 80 11 00 00 [05:24:26]Write to MH i2c: E2 08 00 29 16 80 11 00 00 00 00 00 00 B9 [05:24:26]Write i2c OK [05:24:26]MH_I2C_Read... [05:24:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:24:26]Read from MH i2c: E2 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 17 00 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: E2 17 00 29 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 10 [05:24:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [05:24:26]wFMCommunicate OK [05:24:26]CreateOFDProtocolMessage done [05:24:26]OFDSenderStorePacket 68295 [05:24:26]StoreOFDPacket docnum=68295 [05:24:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 32 C3 07 01 CA 11 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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 8B 71 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C7 0A 01 00 35 04 06 00 75 64 E8 61 1A 47 A2 66 33 10 33 25 BD 69 [05:24:26]CheckFolder [05:24:26]dirname=/storage/ofd_packets [05:24:26]CheckFolder done [05:24:26]ProducePacketName [05:24:26]name=ofd_packets/00068295 [05:24:26]NVStorageSaveData ofd_packets/00068295 [05:24:26]File name is /storage/ofd_packets/00068295 [05:24:26]Write 301 bytes [05:24:26]NVStorageSaveData done [05:24:26]OFDSenderStorePacket done [05:24:26]KKMCreateOFDPacket done [05:24:26]NVStorageSaveData kkm_last_timestamp [05:24:26]File name is /storage/kkm_last_timestamp [05:24:26]Write 4 bytes [05:24:26]NVStorageSaveData done [05:24:26]ExternCall_PrintAddStr [05:24:26]wPrintStart [05:24:26]Write to MH i2c: 01 00 00 2A 16 40 [05:24:26]Write i2c OK [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: 01 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: 01 07 00 [05:24:26]MH_I2C_Read... [05:24:26]Read from MH i2c: 01 07 00 2A 16 00 00 00 00 00 FF 0F 55 [05:24:26]RasterBufferAndPrint [05:24:26]line Счет N : (1)46315 [05:24:26]line ИНН: 02508201610067 [05:24:26]line Контрольно-Кассовый Чек [05:24:26]line ПРОДАЖА [05:24:26]line ТРК (МРК, ГНК) : 13 [05:24:26]line Товар: 2710124130 [05:24:26]line Аи-92-К-5 [05:24:26]line 4.480 * 66.90 [05:24:26]line = 299.71 [05:24:26]line НДС 12% НСП 1% [05:24:26]line > о реализуемом товаре [05:24:26]line ОКРУГЛЕНИЕ: -0.71 [05:24:26]line ИТОГО: 299.00 [05:24:26]line Внесено: 300.00 [05:24:26]line СДАЧА: 1.00 [05:24:26]line НСП 1% : 2.65 [05:24:26]line НДС 12% : 31.83 [05:24:26]line Наличными: 299.00 [05:24:26]line Безнал.: 0.00 [05:24:26]line Место: АЗС № 160 "Партнер Нефть" [05:24:26]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [05:24:26]line СНО: Общий режим [05:24:26]line Чек 18 29.10.2024 05:24 [05:24:26]line Смена: 548 ФФД: 1.0 [05:24:26]line ЗНМ: 0300000093 [05:24:26]line РНМ: 0000000000091759 [05:24:26]line Версия ККМ: 001 [05:24:26]line ФМ: 0000000000871758 [05:24:26]line ФД: 68295 [05:24:26]line ФПД: 129076255857223 [05:24:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T052427&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68295&fm=129076255857223&tin=02508201610067®Number=0000000000091759&sum=29900 [05:24:26]written 0, free lines is 4095 [05:24:26]OFD Sender: Processing packet 68295 [packets to send 27, broken 26] [05:24:26]ProducePacketName [05:24:26]name=ofd_packets/00068295 [05:24:27]OFD Sender: To server: pG, [05:24:27]CommunicateWithHost lk.salyk.kg:30040 [05:24:27]ConnectInit lk.salyk.kg [05:24:27]Connected sock=10 [05:24:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 32 C3 07 01 CA 11 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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 8B 71 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C7 0A 01 00 35 04 06 00 75 64 E8 61 1A 47 A2 66 33 10 33 25 BD 69 [05:24:27]Write to MH i2c: 01 00 00 54 16 6A [05:24:27]Write i2c OK [05:24:27]MH_I2C_Read... [05:24:27]Read from MH i2c: 01 [05:24:27]MH_I2C_Read... [05:24:27]Read from MH i2c: 01 07 00 [05:24:27]MH_I2C_Read... [05:24:27]Read from MH i2c: 01 07 00 54 16 00 00 00 00 00 B9 0C 36 [05:24:27]RasterBufferAndPrint [05:24:27]line [05:24:27]line [05:24:27]line [05:24:27]line [05:24:27]line [05:24:27]written 0, free lines is 3265 [05:24:27]MH_Cut [05:24:27]Write to MH i2c: D1 01 00 5B 16 01 43 [05:24:27]Write i2c OK [05:24:27]MH_I2C_Read... [05:24:27]Read from MH i2c: D1 [05:24:27]MH_I2C_Read... [05:24:27]Read from MH i2c: D1 01 00 [05:24:27]MH_I2C_Read... [05:24:27]Read from MH i2c: D1 01 00 5B 16 00 42 [05:24:27]Write to MH i2c: 01 00 00 5C 16 72 [05:24:27]Write i2c OK [05:24:27]MH_I2C_Read... [05:24:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 22 86 47 00 ED 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C7 0A 01 00 F4 03 04 00 6A 1D 20 67 B6 04 01 00 00 A2 50 D9 D9 2E BC 4D 97 [05:24:27]CommunicateWithHost err = 0 [05:24:27]CheckOFDResponse [05:24:27]1017 (14) - 77093643461234 [05:24:27]1041 (16) - 0000000000871758 [05:24:27]1040 (4) - 68295 [05:24:27]1012 (4) - 28.10.2024 23:25 [05:24:27]1206 (1) - 0 [05:24:27]OFD Sender: Remove packet 68295 [05:24:27]ProducePacketName [05:24:27]name=ofd_packets/00068295 [05:24:27]NVStorageDeleteData [05:24:27]OFD Sender: No OFD packet to send [05:24:28]*** Cut start [05:24:28]*** Partial cut [05:24:28]*** CUTSNS_PIN = 1 [05:24:28]*** CUTSNS_PIN = 0 [05:24:28]*** Brake cut motor [05:24:28]Read from MH i2c: 01 [05:24:28]MH_I2C_Read... [05:24:28]*** Stop cut motor [05:24:28]*** Cut end [05:24:28]Read from MH i2c: 01 07 00 [05:24:28]MH_I2C_Read... [05:24:28]Read from MH i2c: 01 07 00 5C 16 00 00 00 00 00 FF 0F 87 [05:24:28]process_action close_receipt done [05:24:28]requested_data is exist [05:24:28]produce_requested_data [05:24:28]requested_item fm.sn is exist - process it [05:24:28]wFMCommunicate request_size=4 [05:24:28]MH_SAM_APDU [05:24:28]CAPDU: 80 11 00 00 [05:24:28]Write to MH i2c: E2 08 00 5D 16 80 11 00 00 00 00 00 00 ED [05:24:28]Write i2c OK [05:24:28]MH_I2C_Read... [05:24:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:24:28]Read from MH i2c: E2 [05:24:28]MH_I2C_Read... [05:24:28]Read from MH i2c: E2 17 00 [05:24:28]MH_I2C_Read... [05:24:28]Read from MH i2c: E2 17 00 5D 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 44 [05:24:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [05:24:28]wFMCommunicate OK [05:24:28]requested_item fd.num is exist - process it [05:24:28]SAM_PROTO_GetFieldsCounters [05:24:28]wFMCommunicate request_size=4 [05:24:28]MH_SAM_APDU [05:24:28]CAPDU: 80 13 00 00 [05:24:28]Write to MH i2c: E2 08 00 5E 16 80 13 00 00 00 00 00 00 F0 [05:24:28]Write i2c OK [05:24:28]MH_I2C_Read... [05:24:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:24:28]Read from MH i2c: E2 [05:24:28]MH_I2C_Read... [05:24:28]Read from MH i2c: E2 62 00 [05:24:28]MH_I2C_Read... [05:24:28]Read from MH i2c: E2 62 00 5E 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C7 0A 01 00 0E 04 04 00 24 02 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 49 [05:24:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C7 0A 01 00 0E 04 04 00 24 02 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 [05:24:28]wFMCommunicate OK [05:24:28]SAM_PROTO_GetFieldsCounters done [05:24:28]requested_item shift.num is exist - process it [05:24:28]requested_item shift.opened is exist - process it [05:24:28]req_shift_opened [05:24:28]FM_GetShiftState [05:24:28]SAM_PROTO_GetShiftState [05:24:28]wFMCommunicate request_size=4 [05:24:28]MH_SAM_APDU [05:24:28]CAPDU: 80 13 01 00 [05:24:28]Write to MH i2c: E2 08 00 5F 16 80 13 01 00 00 00 00 00 F2 [05:24:28]Write i2c OK [05:24:28]MH_I2C_Read... [05:24:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:24:28]Read from MH i2c: E2 [05:24:28]MH_I2C_Read... [05:24:28]Read from MH i2c: E2 0E 00 [05:24:28]MH_I2C_Read... [05:24:28]Read from MH i2c: E2 0E 00 5F 16 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 A2 [05:24:28]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [05:24:28]wFMCommunicate OK [05:24:28]SAM_PROTO_GetShiftState done [05:24:28]FM_GetShiftState done [05:24:28]req_shift_opened done [05:24:28]requested_item shift.open_date is exist - process it [05:24:28]req_shift_open_date [05:24:28]req_shift_open_date done [05:24:28]produce_requested_data done [05:24:28]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68295,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [05:24:28]process_action_free close_receipt [05:24:28]json_value_free [05:24:28]json_value_free done [05:24:28]process_json_proto returns [05:24:28]Send response to host [05:24:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68295,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [05:24:28]free response buf [05:24:28]execute_script done [05:24:28]execute_script returns [05:24:28]free content buf [05:24:28]Sock 9.Close socket [05:24:28]Sock 9.Thread stoped [05:24:32]OFD Sender: No OFD packet to send [05:24:37]OFD Sender: No OFD packet to send [05:24:42]OFD Sender: No OFD packet to send [05:24:47]OFD Sender: No OFD packet to send [05:24:52]OFD Sender: No OFD packet to send [05:24:57]OFD Sender: No OFD packet to send [05:25:02]OFD Sender: No OFD packet to send [05:25:07]OFD Sender: No OFD packet to send [05:25:12]OFD Sender: No OFD packet to send [05:25:17]OFD Sender: No OFD packet to send [05:25:22]OFD Sender: No OFD packet to send [05:25:27]OFD Sender: No OFD packet to send [05:25:32]OFD Sender: No OFD packet to send [05:25:37]OFD Sender: No OFD packet to send [05:25:42]OFD Sender: No OFD packet to send [05:25:47]OFD Sender: No OFD packet to send [05:25:52]OFD Sender: No OFD packet to send [05:25:57]OFD Sender: No OFD packet to send [05:26:02]OFD Sender: No OFD packet to send [05:26:07]OFD Sender: No OFD packet to send [05:26:12]OFD Sender: No OFD packet to send [05:26:17]OFD Sender: No OFD packet to send [05:26:22]OFD Sender: No OFD packet to send [05:26:27]OFD Sender: No OFD packet to send [05:26:32]OFD Sender: No OFD packet to send [05:26:37]OFD Sender: No OFD packet to send [05:26:42]OFD Sender: No OFD packet to send [05:26:47]OFD Sender: No OFD packet to send [05:26:52]OFD Sender: No OFD packet to send [05:26:57]OFD Sender: No OFD packet to send [05:27:02]OFD Sender: No OFD packet to send [05:27:08]OFD Sender: No OFD packet to send [05:27:13]OFD Sender: No OFD packet to send [05:27:18]OFD Sender: No OFD packet to send [05:27:23]OFD Sender: No OFD packet to send [05:27:28]OFD Sender: No OFD packet to send [05:27:33]OFD Sender: No OFD packet to send [05:27:38]OFD Sender: No OFD packet to send [05:27:43]OFD Sender: No OFD packet to send [05:27:48]OFD Sender: No OFD packet to send [05:27:53]OFD Sender: No OFD packet to send [05:27:58]OFD Sender: No OFD packet to send [05:28:03]OFD Sender: No OFD packet to send [05:28:08]OFD Sender: No OFD packet to send [05:28:13]OFD Sender: No OFD packet to send [05:28:18]OFD Sender: No OFD packet to send [05:28:23]OFD Sender: No OFD packet to send [05:28:28]OFD Sender: No OFD packet to send [05:28:33]OFD Sender: No OFD packet to send [05:28:38]OFD Sender: No OFD packet to send [05:28:43]OFD Sender: No OFD packet to send [05:28:48]OFD Sender: No OFD packet to send [05:28:53]OFD Sender: No OFD packet to send [05:28:58]OFD Sender: No OFD packet to send [05:29:03]OFD Sender: No OFD packet to send [05:29:08]OFD Sender: No OFD packet to send [05:29:13]OFD Sender: No OFD packet to send [05:29:18]OFD Sender: No OFD packet to send [05:29:23]OFD Sender: No OFD packet to send [05:29:28]OFD Sender: No OFD packet to send [05:29:33]OFD Sender: No OFD packet to send [05:29:38]OFD Sender: No OFD packet to send [05:29:43]OFD Sender: No OFD packet to send [05:29:48]OFD Sender: No OFD packet to send [05:29:53]OFD Sender: No OFD packet to send [05:29:58]OFD Sender: No OFD packet to send [05:30:03]OFD Sender: No OFD packet to send [05:30:08]OFD Sender: No OFD packet to send [05:30:13]OFD Sender: No OFD packet to send [05:30:18]OFD Sender: No OFD packet to send [05:30:23]OFD Sender: No OFD packet to send [05:30:28]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:03]OFD Sender: No OFD packet to send [05:36:08]OFD Sender: No OFD packet to send [05:36:13]OFD Sender: No OFD packet to send [05:36:18]OFD Sender: No OFD packet to send [05:36:23]OFD Sender: No OFD packet to send [05:36:28]OFD Sender: No OFD packet to send [05:36:33]OFD Sender: No OFD packet to send [05:36:38]OFD Sender: No OFD packet to send [05:36:43]OFD Sender: No OFD packet to send [05:36:48]OFD Sender: No OFD packet to send [05:36:53]OFD Sender: No OFD packet to send [05:36:58]OFD Sender: No OFD packet to send [05:37:03]OFD Sender: No OFD packet to send [05:37:08]OFD Sender: No OFD packet to send [05:37:13]OFD Sender: No OFD packet to send [05:37:18]OFD Sender: No OFD packet to send [05:37:23]OFD Sender: No OFD packet to send [05:37:28]OFD Sender: No OFD packet to send [05:37:33]OFD Sender: No OFD packet to send [05:37:38]OFD Sender: No OFD packet to send [05:37:43]OFD Sender: No OFD packet to send [05:37:48]OFD Sender: No OFD packet to send [05:37:53]OFD Sender: No OFD packet to send [05:37:58]OFD Sender: No OFD packet to send [05:38:03]OFD Sender: No OFD packet to send [05:38:08]OFD Sender: No OFD packet to send [05:38:13]OFD Sender: No OFD packet to send [05:38:18]OFD Sender: No OFD packet to send [05:38:23]OFD Sender: No OFD packet to send [05:38:28]OFD Sender: No OFD packet to send [05:38:33]OFD Sender: No OFD packet to send [05:38:38]OFD Sender: No OFD packet to send [05:38:43]OFD Sender: No OFD packet to send [05:38:48]OFD Sender: No OFD packet to send [05:38:53]OFD Sender: No OFD packet to send [05:38:58]OFD Sender: No OFD packet to send [05:39:03]OFD Sender: No OFD packet to send [05:39:08]OFD Sender: No OFD packet to send [05:39:13]OFD Sender: No OFD packet to send [05:39:18]OFD Sender: No OFD packet to send [05:39:23]OFD Sender: No OFD packet to send [05:39:28]OFD Sender: No OFD packet to send [05:39:33]OFD Sender: No OFD packet to send [05:39:38]OFD Sender: No OFD packet to send [05:39:43]OFD Sender: No OFD packet to send [05:39:48]OFD Sender: No OFD packet to send [05:39:53]OFD Sender: No OFD packet to send [05:39:58]OFD Sender: No OFD packet to send [05:40:03]OFD Sender: No OFD packet to send [05:40:08]OFD Sender: No OFD packet to send [05:40:13]OFD Sender: No OFD packet to send [05:40:18]OFD Sender: No OFD packet to send [05:40:23]OFD Sender: No OFD packet to send [05:40:28]OFD Sender: No OFD packet to send [05:40:33]OFD Sender: No OFD packet to send [05:40:38]OFD Sender: No OFD packet to send [05:40:43]OFD Sender: No OFD packet to send [05:40:48]OFD Sender: No OFD packet to send [05:40:53]OFD Sender: No OFD packet to send [05:40:58]OFD Sender: No OFD packet to send [05:41:03]OFD Sender: No OFD packet to send [05:41:08]OFD Sender: No OFD packet to send [05:41:13]OFD Sender: No OFD packet to send [05:41:18]OFD Sender: No OFD packet to send [05:41:23]OFD Sender: No OFD packet to send [05:41:28]OFD Sender: No OFD packet to send [05:41:33]OFD Sender: No OFD packet to send [05:41:38]OFD Sender: No OFD packet to send [05:41:43]OFD Sender: No OFD packet to send [05:41:48]OFD Sender: No OFD packet to send [05:41:53]OFD Sender: No OFD packet to send [05:41:58]OFD Sender: No OFD packet to send [05:42:03]OFD Sender: No OFD packet to send [05:42:08]OFD Sender: No OFD packet to send [05:42:13]OFD Sender: No OFD packet to send [05:42:18]OFD Sender: No OFD packet to send [05:42:23]OFD Sender: No OFD packet to send [05:42:28]OFD Sender: No OFD packet to send [05:42:33]OFD Sender: No OFD packet to send [05:42:38]OFD Sender: No OFD packet to send [05:42:43]OFD Sender: No OFD packet to send [05:42:48]OFD Sender: No OFD packet to send [05:42:53]OFD Sender: No OFD packet to send [05:42:58]OFD Sender: No OFD packet to send [05:43:03]OFD Sender: No OFD packet to send [05:43:08]OFD Sender: No OFD packet to send [05:43:13]OFD Sender: No OFD packet to send [05:43:18]OFD Sender: No OFD packet to send [05:43:23]OFD Sender: No OFD packet to send [05:43:28]OFD Sender: No OFD packet to send [05:43:33]OFD Sender: No OFD packet to send [05:43:38]OFD Sender: No OFD packet to send [05:43:43]OFD Sender: No OFD packet to send [05:43:48]OFD Sender: No OFD packet to send [05:43:53]OFD Sender: No OFD packet to send [05:43:58]OFD Sender: No OFD packet to send [05:44:03]OFD Sender: No OFD packet to send [05:44:08]OFD Sender: No OFD packet to send [05:44:13]OFD Sender: No OFD packet to send [05:44:18]OFD Sender: No OFD packet to send [05:44:23]OFD Sender: No OFD packet to send [05:44:28]OFD Sender: No OFD packet to send [05:44:33]OFD Sender: No OFD packet to send [05:44:38]OFD Sender: No OFD packet to send [05:44:43]OFD Sender: No OFD packet to send [05:44:48]OFD Sender: No OFD packet to send [05:44:53]OFD Sender: No OFD packet to send [05:44:58]OFD Sender: No OFD packet to send [05:45:03]OFD Sender: No OFD packet to send [05:45:08]OFD Sender: No OFD packet to send [05:45:13]OFD Sender: No OFD packet to send [05:45:18]OFD Sender: No OFD packet to send [05:45:23]OFD Sender: No OFD packet to send [05:45:28]OFD Sender: No OFD packet to send [05:45:33]OFD Sender: No OFD packet to send [05:45:38]OFD Sender: No OFD packet to send [05:45:43]OFD Sender: No OFD packet to send [05:45:48]OFD Sender: No OFD packet to send [05:45:53]OFD Sender: No OFD packet to send [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:38]OFD Sender: No OFD packet to send [05:46:43]OFD Sender: No OFD packet to send [05:46:48]OFD Sender: No OFD packet to send [05:46:53]OFD Sender: No OFD packet to send [05:46:58]OFD Sender: No OFD packet to send [05:47:03]OFD Sender: No OFD packet to send [05:47:08]OFD Sender: No OFD packet to send [05:47:14]OFD Sender: No OFD packet to send [05:47:19]OFD Sender: No OFD packet to send [05:47:24]OFD Sender: No OFD packet to send [05:47:29]OFD Sender: No OFD packet to send [05:47:34]OFD Sender: No OFD packet to send [05:47:39]OFD Sender: No OFD packet to send [05:47:44]OFD Sender: No OFD packet to send [05:47:49]OFD Sender: No OFD packet to send [05:47:54]OFD Sender: No OFD packet to send [05:47:59]OFD Sender: No OFD packet to send [05:48:04]OFD Sender: No OFD packet to send [05:48:09]OFD Sender: No OFD packet to send [05:48:14]OFD Sender: No OFD packet to send [05:48:19]OFD Sender: No OFD packet to send [05:48:24]OFD Sender: No OFD packet to send [05:48:29]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:20]accept exits with 7 [05:53:20]New connection [05:53:20]New thread 3067497828 created [05:53:20]Thread 3067354468 joined [05:53:20]Waiting for new connection... [05:53:20] Sock 7.Parse request [05:53:20]Sock 7.Check first char [05:53:20]Sock 7.First char is OK [05:53:20]request: POST /json_proto HTTP/1.0 [05:53:20]Method: POST [05:53:20]URL: /json_proto [05:53:20]Method is POST - this is cgi request [05:53:20]url: /json_proto [05:53:20]query_string will be loaded in cgi processing [05:53:20]execute_cgi json_proto POST (null) [05:53:20]execute_cgi path=json_proto method=POST [05:53:20]POST find Content-Length [05:53:20]Host: 172.17.42.3:8080 [05:53:20]Content-Length: 761 [05:53:20]Content-Type: application/json [05:53:20] [05:53:20]POST finish read [05:53:20]Found Content-Length = 761 [05:53:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46316", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "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", "payments": [ { "type": 1, "sum" : 1000.01 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:53:20]execute_script... [05:53:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46316", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "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", "payments": [ { "type": 1, "sum" : 1000.01 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:53:20]POST & json_proto [05:53:20]process_json_proto [05:53:20]json parsed OK: [05:53:20]protocol is kg_v1.0 [05:53:20]action value=close_receipt [05:53:20]process_action close_receipt [05:53:20]cmd_close_receipt [05:53:20]MH_GetDate [05:53:20]Write to MH i2c: F0 00 00 60 16 65 [05:53:20]Write i2c OK [05:53:20]MH_I2C_Read... [05:53:20]Read from MH i2c: F0 [05:53:20]MH_I2C_Read... [05:53:20]Read from MH i2c: F0 09 00 [05:53:20]MH_I2C_Read... [05:53:20]Read from MH i2c: F0 09 00 60 16 00 53 78 20 67 0E CB 1F 67 1F [05:53:20]GetLastDocTimeStamp 1730179467 [05:53:20]current date 1730181203 [05:53:20]FM_GetShiftState [05:53:20]SAM_PROTO_GetShiftState [05:53:20]wFMCommunicate request_size=4 [05:53:20]MH_SAM_APDU [05:53:20]CAPDU: 80 13 01 00 [05:53:20]Write to MH i2c: E2 08 00 61 16 80 13 01 00 00 00 00 00 F4 [05:53:20]Write i2c OK [05:53:20]MH_I2C_Read... [05:53:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:53:20]Read from MH i2c: E2 [05:53:20]MH_I2C_Read... [05:53:20]Read from MH i2c: E2 0E 00 [05:53:20]MH_I2C_Read... [05:53:20]Read from MH i2c: E2 0E 00 61 16 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 A4 [05:53:20]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [05:53:20]wFMCommunicate OK [05:53:20]SAM_PROTO_GetShiftState done [05:53:20]FM_GetShiftState done [05:53:20]opened in 1730160885 [05:53:20]opened+sec_in_day 1730247285 [05:53:20]quantity*price = 100000 [05:53:20]sum+1 = 100002 [05:53:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.01 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 0.00 Безнал.: 1000.01 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 19 29.10.2024 05:53 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68296 ФПД: 169869020915332 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T055323&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68296&fm=169869020915332&tin=02508201610067®Number=0000000000091759&sum=100001 [05:53:22]StoreToDocumentArchive [05:53:22]shift 548 fd 68296 [05:53:22]save to /storage/0548/doc_00068296 [05:53:22]save last doc name /storage/0548/doc_00068296 to /storage/kkm_last_doc_name [05:53:22]save OK [05:53:22]Clear old archive folders... [05:53:22]ProcessDocumentItem done err = 0, tmpTLVsize=252 [05:53:22]tlvbuf is 005CD7D0 [05:53:22]SAM_PROTO_ClearQueue [05:53:22]wFMCommunicate request_size=4 [05:53:22]MH_SAM_APDU [05:53:22]CAPDU: 80 09 00 00 [05:53:22]Write to MH i2c: E2 08 00 6E 16 80 09 00 00 00 00 00 00 F6 [05:53:22]Write i2c OK [05:53:22]MH_I2C_Read... [05:53:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:53:22]Read from MH i2c: E2 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 03 00 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 03 00 6E 16 00 90 00 F8 [05:53:22]RAPDU: 90 00 [05:53:22]wFMCommunicate OK [05:53:22]SAM_PROTO_ClearQueue done [05:53:22]KKMCreateOFDPacket [05:53:22]OFDProtocolAddRootSTLVToBuf [05:53:22]FM_MakeSignedData [05:53:22]FM_MakeSignedData [05:53:22]SAM_PROTO_SignData [05:53:22]wFMCommunicate request_size=4 [05:53:22]MH_SAM_APDU [05:53:22]CAPDU: 80 0D 01 02 [05:53:22]Write to MH i2c: E2 08 00 6F 16 80 0D 01 02 00 00 00 00 FE [05:53:22]Write i2c OK [05:53:22]MH_I2C_Read... [05:53:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:53:22]Read from MH i2c: E2 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 03 00 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 03 00 6F 16 00 90 00 F9 [05:53:22]RAPDU: 90 00 [05:53:22]wFMCommunicate OK [05:53:22]wFMCommunicate request_size=255 [05:53:22]MH_SAM_APDU [05:53:22]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 A1 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 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 53 78 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C8 0A 01 00 35 04 06 00 [05:53:22]Write to MH i2c: E2 02 01 70 16 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 A1 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 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 53 78 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C8 0A 01 00 35 04 06 00 00 00 D6 [05:53:22]Write i2c OK [05:53:22]MH_I2C_Read... [05:53:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:53:22]Read from MH i2c: E2 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 03 00 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 03 00 70 16 00 90 00 FA [05:53:22]RAPDU: 90 00 [05:53:22]wFMCommunicate OK [05:53:22]wFMCommunicate request_size=11 [05:53:22]MH_SAM_APDU [05:53:22]CAPDU: 80 0D 02 02 06 9A 7E B6 A6 66 84 [05:53:22]Write to MH i2c: E2 0E 00 71 16 80 0D 02 02 06 00 9A 7E B6 A6 66 84 00 00 6B [05:53:22]Write i2c OK [05:53:22]MH_I2C_Read... [05:53:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:53:22]Read from MH i2c: E2 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 03 00 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 03 00 71 16 00 90 00 FB [05:53:22]RAPDU: 90 00 [05:53:22]wFMCommunicate OK [05:53:22]wFMCommunicate request_size=4 [05:53:22]MH_SAM_APDU [05:53:22]CAPDU: 80 0D 03 02 [05:53:22]Write to MH i2c: E2 08 00 72 16 80 0D 03 02 00 00 00 00 03 [05:53:22]Write i2c OK [05:53:22]MH_I2C_Read... [05:53:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:53:22]Read from MH i2c: E2 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 0B 00 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 0B 00 72 16 00 8D 00 6D 7B CC A5 9E 23 90 00 AB [05:53:22]RAPDU: 8D 00 6D 7B CC A5 9E 23 90 00 [05:53:22]wFMCommunicate OK [05:53:22]SAM_PROTO_SignData done [05:53:22]FM_MakeSignedData done [05:53:22]CreateOFDProtocolMessage [05:53:22]wFMCommunicate request_size=4 [05:53:22]MH_SAM_APDU [05:53:22]CAPDU: 80 11 00 00 [05:53:22]Write to MH i2c: E2 08 00 73 16 80 11 00 00 00 00 00 00 03 [05:53:22]Write i2c OK [05:53:22]MH_I2C_Read... [05:53:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:53:22]Read from MH i2c: E2 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 17 00 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: E2 17 00 73 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 5A [05:53:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [05:53:22]wFMCommunicate OK [05:53:22]CreateOFDProtocolMessage done [05:53:22]OFDSenderStorePacket 68296 [05:53:22]StoreOFDPacket docnum=68296 [05:53:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 91 08 08 01 1F 3C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 A1 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 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 53 78 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C8 0A 01 00 35 04 06 00 9A 7E B6 A6 66 84 8D 00 6D 7B CC A5 9E 23 [05:53:22]CheckFolder [05:53:22]dirname=/storage/ofd_packets [05:53:22]CheckFolder done [05:53:22]ProducePacketName [05:53:22]name=ofd_packets/00068296 [05:53:22]NVStorageSaveData ofd_packets/00068296 [05:53:22]File name is /storage/ofd_packets/00068296 [05:53:22]Write 302 bytes [05:53:22]NVStorageSaveData done [05:53:22]OFDSenderStorePacket done [05:53:22]KKMCreateOFDPacket done [05:53:22]NVStorageSaveData kkm_last_timestamp [05:53:22]File name is /storage/kkm_last_timestamp [05:53:22]Write 4 bytes [05:53:22]NVStorageSaveData done [05:53:22]ExternCall_PrintAddStr [05:53:22]wPrintStart [05:53:22]Write to MH i2c: 01 00 00 74 16 8A [05:53:22]Write i2c OK [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: 01 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: 01 07 00 [05:53:22]MH_I2C_Read... [05:53:22]Read from MH i2c: 01 07 00 74 16 00 00 00 00 00 FF 0F 9F [05:53:22]RasterBufferAndPrint [05:53:22]line Счет N : (1)46316 [05:53:22]line ИНН: 02508201610067 [05:53:22]line Контрольно-Кассовый Чек [05:53:22]line ПРОДАЖА [05:53:22]line ТРК (МРК, ГНК) : 22 [05:53:22]line Товар: 2710124130 [05:53:22]line SUPER-92-К-5 [05:53:22]line 14.620 * 68.40 [05:53:22]line = 1000.01 [05:53:22]line НДС 12% НСП 1% [05:53:22]line > о реализуемом товаре [05:53:22]line ИТОГО: 1000.01 [05:53:22]line НСП 1% : 8.85 [05:53:22]line НДС 12% : 106.20 [05:53:22]line Наличными: 0.00 [05:53:22]line Безнал.: 1000.01 [05:53:22]line Место: АЗС № 160 "Партнер Нефть" [05:53:22]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [05:53:22]line СНО: Общий режим [05:53:22]line Чек 19 29.10.2024 05:53 [05:53:22]line Смена: 548 ФФД: 1.0 [05:53:22]line ЗНМ: 0300000093 [05:53:22]line РНМ: 0000000000091759 [05:53:22]line Версия ККМ: 001 [05:53:22]line Платежная система: Mbank [05:53:22]line ФМ: 0000000000871758 [05:53:22]line ФД: 68296 [05:53:22]line ФПД: 169869020915332 [05:53:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T055323&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68296&fm=169869020915332&tin=02508201610067®Number=0000000000091759&sum=100001 [05:53:22]OFD Sender: Processing packet 68296 [packets to send 27, broken 26] [05:53:22]ProducePacketName [05:53:22]name=ofd_packets/00068296 [05:53:22]OFD Sender: To server: pG, [05:53:22]CommunicateWithHost lk.salyk.kg:30040 [05:53:22]ConnectInit lk.salyk.kg [05:53:22]written 0, free lines is 4095 [05:53:23]Connected sock=10 [05:53:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 91 08 08 01 1F 3C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 A1 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 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 53 78 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C8 0A 01 00 35 04 06 00 9A 7E B6 A6 66 84 8D 00 6D 7B CC A5 9E 23 [05:53:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 DF C0 47 00 42 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C8 0A 01 00 F4 03 04 00 32 24 20 67 B6 04 01 00 00 B5 0F B0 B2 48 10 64 BC [05:53:23]CommunicateWithHost err = 0 [05:53:23]CheckOFDResponse [05:53:23]1017 (14) - 77093643461234 [05:53:23]1041 (16) - 0000000000871758 [05:53:23]1040 (4) - 68296 [05:53:23]1012 (4) - 28.10.2024 23:54 [05:53:23]1206 (1) - 0 [05:53:23]OFD Sender: Remove packet 68296 [05:53:23]ProducePacketName [05:53:23]name=ofd_packets/00068296 [05:53:23]NVStorageDeleteData [05:53:23]Write to MH i2c: 01 00 00 9C 16 B2 [05:53:23]Write i2c OK [05:53:23]MH_I2C_Read... [05:53:23]Read from MH i2c: 01 [05:53:23]MH_I2C_Read... [05:53:23]Read from MH i2c: 01 07 00 [05:53:23]MH_I2C_Read... [05:53:23]Read from MH i2c: 01 07 00 9C 16 00 00 00 00 00 E4 0C A9 [05:53:23]RasterBufferAndPrint [05:53:23]line [05:53:23]line [05:53:23]line [05:53:23]line [05:53:23]line [05:53:23]written 0, free lines is 3304 [05:53:23]MH_Cut [05:53:23]Write to MH i2c: D1 01 00 A3 16 01 8B [05:53:23]Write i2c OK [05:53:23]MH_I2C_Read... [05:53:23]Read from MH i2c: D1 [05:53:23]MH_I2C_Read... [05:53:23]Read from MH i2c: D1 01 00 [05:53:23]MH_I2C_Read... [05:53:23]Read from MH i2c: D1 01 00 A3 16 00 8A [05:53:23]Write to MH i2c: 01 00 00 A4 16 BA [05:53:23]Write i2c OK [05:53:23]MH_I2C_Read... [05:53:23]OFD Sender: No OFD packet to send [05:53:24]*** Cut start [05:53:24]*** Partial cut [05:53:24]*** CUTSNS_PIN = 1 [05:53:24]*** CUTSNS_PIN = 0 [05:53:24]*** Brake cut motor [05:53:24]Read from MH i2c: 01 [05:53:24]MH_I2C_Read... [05:53:24]*** Stop cut motor [05:53:24]*** Cut end [05:53:24]Read from MH i2c: 01 07 00 [05:53:24]MH_I2C_Read... [05:53:24]Read from MH i2c: 01 07 00 A4 16 00 00 00 00 00 FF 0F CF [05:53:24]process_action close_receipt done [05:53:24]requested_data is exist [05:53:24]produce_requested_data [05:53:24]requested_item fm.sn is exist - process it [05:53:24]wFMCommunicate request_size=4 [05:53:24]MH_SAM_APDU [05:53:24]CAPDU: 80 11 00 00 [05:53:24]Write to MH i2c: E2 08 00 A5 16 80 11 00 00 00 00 00 00 35 [05:53:24]Write i2c OK [05:53:24]MH_I2C_Read... [05:53:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:53:24]Read from MH i2c: E2 [05:53:24]MH_I2C_Read... [05:53:24]Read from MH i2c: E2 17 00 [05:53:24]MH_I2C_Read... [05:53:24]Read from MH i2c: E2 17 00 A5 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 8C [05:53:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [05:53:24]wFMCommunicate OK [05:53:24]requested_item fd.num is exist - process it [05:53:24]SAM_PROTO_GetFieldsCounters [05:53:24]wFMCommunicate request_size=4 [05:53:24]MH_SAM_APDU [05:53:24]CAPDU: 80 13 00 00 [05:53:24]Write to MH i2c: E2 08 00 A6 16 80 13 00 00 00 00 00 00 38 [05:53:24]Write i2c OK [05:53:24]MH_I2C_Read... [05:53:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:53:24]Read from MH i2c: E2 [05:53:24]MH_I2C_Read... [05:53:24]Read from MH i2c: E2 62 00 [05:53:24]MH_I2C_Read... [05:53:24]Read from MH i2c: E2 62 00 A6 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C8 0A 01 00 0E 04 04 00 24 02 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 95 [05:53:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C8 0A 01 00 0E 04 04 00 24 02 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 [05:53:24]wFMCommunicate OK [05:53:24]SAM_PROTO_GetFieldsCounters done [05:53:24]requested_item shift.num is exist - process it [05:53:24]requested_item shift.opened is exist - process it [05:53:24]req_shift_opened [05:53:24]FM_GetShiftState [05:53:24]SAM_PROTO_GetShiftState [05:53:24]wFMCommunicate request_size=4 [05:53:24]MH_SAM_APDU [05:53:24]CAPDU: 80 13 01 00 [05:53:24]Write to MH i2c: E2 08 00 A7 16 80 13 01 00 00 00 00 00 3A [05:53:24]Write i2c OK [05:53:24]MH_I2C_Read... [05:53:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:53:25]Read from MH i2c: E2 [05:53:25]MH_I2C_Read... [05:53:25]Read from MH i2c: E2 0E 00 [05:53:25]MH_I2C_Read... [05:53:25]Read from MH i2c: E2 0E 00 A7 16 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 EA [05:53:25]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [05:53:25]wFMCommunicate OK [05:53:25]SAM_PROTO_GetShiftState done [05:53:25]FM_GetShiftState done [05:53:25]req_shift_opened done [05:53:25]requested_item shift.open_date is exist - process it [05:53:25]req_shift_open_date [05:53:25]req_shift_open_date done [05:53:25]produce_requested_data done [05:53:25]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68296,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [05:53:25]process_action_free close_receipt [05:53:25]json_value_free [05:53:25]json_value_free done [05:53:25]process_json_proto returns [05:53:25]Send response to host [05:53:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68296,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [05:53:25]free response buf [05:53:25]execute_script done [05:53:25]execute_script returns [05:53:25]free content buf [05:53:25]Sock 7.Close socket [05:53:25]Sock 7.Thread stoped [05:53:28]OFD Sender: No OFD packet to send [05:53:33]OFD Sender: No OFD packet to send [05:53:38]OFD Sender: No OFD packet to send [05:53:43]OFD Sender: No OFD packet to send [05:53:48]OFD Sender: No OFD packet to send [05:53:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:18]OFD Sender: No OFD packet to send [05:56:23]OFD Sender: No OFD packet to send [05:56:28]OFD Sender: No OFD packet to send [05:56:33]OFD Sender: No OFD packet to send [05:56:38]OFD Sender: No OFD packet to send [05:56:43]OFD Sender: No OFD packet to send [05:56:48]OFD Sender: No OFD packet to send [05:56:53]OFD Sender: No OFD packet to send [05:56:58]OFD Sender: No OFD packet to send [05:57:03]OFD Sender: No OFD packet to send [05:57:08]OFD Sender: No OFD packet to send [05:57:13]OFD Sender: No OFD packet to send [05:57:18]OFD Sender: No OFD packet to send [05:57:23]OFD Sender: No OFD packet to send [05:57:28]OFD Sender: No OFD packet to send [05:57:33]OFD Sender: No OFD packet to send [05:57:38]OFD Sender: No OFD packet to send [05:57:43]OFD Sender: No OFD packet to send [05:57:48]OFD Sender: No OFD packet to send [05:57:53]OFD Sender: No OFD packet to send [05:57:58]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08:29]OFD Sender: No OFD packet to send [06:08:34]OFD Sender: No OFD packet to send [06:08:39]OFD Sender: No OFD packet to send [06:08:44]OFD Sender: No OFD packet to send [06:08:49]OFD Sender: No OFD packet to send [06:08:54]OFD Sender: No OFD packet to send [06:08:59]OFD Sender: No OFD packet to send [06:09:04]OFD Sender: No OFD packet to send [06:09:09]OFD Sender: No OFD packet to send [06:09:14]OFD Sender: No OFD packet to send [06:09:19]OFD Sender: No OFD packet to send [06:09:24]OFD Sender: No OFD packet to send [06:09:29]OFD Sender: No OFD packet to send [06:09:34]OFD Sender: No OFD packet to send [06:09:39]OFD Sender: No OFD packet to send [06:09:44]OFD Sender: No OFD packet to send [06:09:49]OFD Sender: No OFD packet to send [06:09:54]OFD Sender: No OFD packet to send [06:09:59]OFD Sender: No OFD packet to send [06:10:04]OFD Sender: No OFD packet to send [06:10:09]OFD Sender: No OFD packet to send [06:10:14]OFD Sender: No OFD packet to send [06:10:19]OFD Sender: No OFD packet to send [06:10:24]OFD Sender: No OFD packet to send [06:10:29]OFD Sender: No OFD packet to send [06:10:34]OFD Sender: No OFD packet to send [06:10:39]OFD Sender: No OFD packet to send [06:10:44]OFD Sender: No OFD packet to send [06:10:49]OFD Sender: No OFD packet to send [06:10:54]OFD Sender: No OFD packet to send [06:10:59]OFD Sender: No OFD packet to send [06:11:04]OFD Sender: No OFD packet to send [06:11:09]OFD Sender: No OFD packet to send [06:11:14]OFD Sender: No OFD packet to send [06:11:19]OFD Sender: No OFD packet to send [06:11:24]OFD Sender: No OFD packet to send [06:11:29]OFD Sender: No OFD packet to send [06:11:34]OFD Sender: No OFD packet to send [06:11:39]OFD Sender: No OFD packet to send [06:11:44]OFD Sender: No OFD packet to send [06:11:49]OFD Sender: No OFD packet to send [06:11:54]OFD Sender: No OFD packet to send [06:11:59]OFD Sender: No OFD packet to send [06:12:04]OFD Sender: No OFD packet to send [06:12:09]OFD Sender: No OFD packet to send [06:12:14]OFD Sender: No OFD packet to send [06:12:19]OFD Sender: No OFD packet to send [06:12:24]OFD Sender: No OFD packet to send [06:12:29]OFD Sender: No OFD packet to send [06:12:34]OFD Sender: No OFD packet to send [06:12:39]OFD Sender: No OFD packet to send [06:12:44]OFD Sender: No OFD packet to send [06:12:49]OFD Sender: No OFD packet to send [06:12:54]OFD Sender: No OFD packet to send [06:12:59]OFD Sender: No OFD packet to send [06:13:04]OFD Sender: No OFD packet to send [06:13:09]OFD Sender: No OFD packet to send [06:13:14]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:34]OFD Sender: No OFD packet to send [06:13:39]OFD Sender: No OFD packet to send [06:13:44]OFD Sender: No OFD packet to send [06:13:49]OFD Sender: No OFD packet to send [06:13:54]OFD Sender: No OFD packet to send [06:13:59]OFD Sender: No OFD packet to send [06:14:04]OFD Sender: No OFD packet to send [06:14:09]OFD Sender: No OFD packet to send [06:14:14]OFD Sender: No OFD packet to send [06:14:19]OFD Sender: No OFD packet to send [06:14:24]OFD Sender: No OFD packet to send [06:14:29]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:54]OFD Sender: No OFD packet to send [06:14:59]OFD Sender: No OFD packet to send [06:15:04]OFD Sender: No OFD packet to send [06:15:09]OFD Sender: No OFD packet to send [06:15:14]OFD Sender: No OFD packet to send [06:15:19]OFD Sender: No OFD packet to send [06:15:24]OFD Sender: No OFD packet to send [06:15:29]OFD Sender: No OFD packet to send [06:15:34]OFD Sender: No OFD packet to send [06:15:39]OFD Sender: No OFD packet to send [06:15:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]OFD Sender: No OFD packet to send [06:15:59]OFD Sender: No OFD packet to send [06:16:04]OFD Sender: No OFD packet to send [06:16:09]OFD Sender: No OFD packet to send [06:16:14]OFD Sender: No OFD packet to send [06:16:19]OFD Sender: No OFD packet to send [06:16:24]OFD Sender: No OFD packet to send [06:16:29]OFD Sender: No OFD packet to send [06:16:34]OFD Sender: No OFD packet to send [06:16:39]OFD Sender: No OFD packet to send [06:16:44]OFD Sender: No OFD packet to send [06:16:49]OFD Sender: No OFD packet to send [06:16:54]OFD Sender: No OFD packet to send [06:16:59]OFD Sender: No OFD packet to send [06:17:04]OFD Sender: No OFD packet to send [06:17:09]OFD Sender: No OFD packet to send [06:17:14]OFD Sender: No OFD packet to send [06:17:19]OFD Sender: No OFD packet to send [06:17:24]OFD Sender: No OFD packet to send [06:17:29]OFD Sender: No OFD packet to send [06:17:34]OFD Sender: No OFD packet to send [06:17:39]OFD Sender: No OFD packet to send [06:17:44]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:40]OFD Sender: No OFD packet to send [06:18:45]OFD Sender: No OFD packet to send [06:18:50]OFD Sender: No OFD packet to send [06:18:55]OFD Sender: No OFD packet to send [06:19:00]OFD Sender: No OFD packet to send [06:19:05]OFD Sender: No OFD packet to send [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:30]OFD Sender: No OFD packet to send [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27:05]OFD Sender: No OFD packet to send [06:27:10]OFD Sender: No OFD packet to send [06:27:15]OFD Sender: No OFD packet to send [06:27:20]OFD Sender: No OFD packet to send [06:27:25]OFD Sender: No OFD packet to send [06:27:30]OFD Sender: No OFD packet to send [06:27:35]OFD Sender: No OFD packet to send [06:27:40]OFD Sender: No OFD packet to send [06:27:45]OFD Sender: No OFD packet to send [06:27:50]OFD Sender: No OFD packet to send [06:27:55]OFD Sender: No OFD packet to send [06:28:00]OFD Sender: No OFD packet to send [06:28:05]OFD Sender: No OFD packet to send [06:28:10]OFD Sender: No OFD packet to send [06:28:15]OFD Sender: No OFD packet to send [06:28:20]OFD Sender: No OFD packet to send [06:28:25]OFD Sender: No OFD packet to send [06:28:30]OFD Sender: No OFD packet to send [06:28:35]OFD Sender: No OFD packet to send [06:28:40]OFD Sender: No OFD packet to send [06:28:45]OFD Sender: No OFD packet to send [06:28:50]OFD Sender: No OFD packet to send [06:28:55]OFD Sender: No OFD packet to send [06:29:00]OFD Sender: No OFD packet to send [06:29:05]OFD Sender: No OFD packet to send [06:29:10]OFD Sender: No OFD packet to send [06:29:15]OFD Sender: No OFD packet to send [06:29:20]OFD Sender: No OFD packet to send [06:29:25]OFD Sender: No OFD packet to send [06:29:30]OFD Sender: No OFD packet to send [06:29:35]OFD Sender: No OFD packet to send [06:29:40]OFD Sender: No OFD packet to send [06:29:45]OFD Sender: No OFD packet to send [06:29:50]OFD Sender: No OFD packet to send [06:29:55]OFD Sender: No OFD packet to send [06:30:00]OFD Sender: No OFD packet to send [06:30:05]OFD Sender: No OFD packet to send [06:30:10]OFD Sender: No OFD packet to send [06:30:15]OFD Sender: No OFD packet to send [06:30:20]OFD Sender: No OFD packet to send [06:30:25]OFD Sender: No OFD packet to send [06:30:30]OFD Sender: No OFD packet to send [06:30:35]OFD Sender: No OFD packet to send [06:30:40]OFD Sender: No OFD packet to send [06:30:45]OFD Sender: No OFD packet to send [06:30:50]OFD Sender: No OFD packet to send [06:30:55]OFD Sender: No OFD packet to send [06:31:00]OFD Sender: No OFD packet to send [06:31:05]OFD Sender: No OFD packet to send [06:31:10]OFD Sender: No OFD packet to send [06:31:15]OFD Sender: No OFD packet to send [06:31:20]OFD Sender: No OFD packet to send [06:31:25]OFD Sender: No OFD packet to send [06:31:30]OFD Sender: No OFD packet to send [06:31:35]OFD Sender: No OFD packet to send [06:31:40]OFD Sender: No OFD packet to send [06:31:45]OFD Sender: No OFD packet to send [06:31:50]OFD Sender: No OFD packet to send [06:31:55]OFD Sender: No OFD packet to send [06:32:00]OFD Sender: No OFD packet to send [06:32:05]OFD Sender: No OFD packet to send [06:32:10]OFD Sender: No OFD packet to send [06:32:15]OFD Sender: No OFD packet to send [06:32:20]OFD Sender: No OFD packet to send [06:32:25]OFD Sender: No OFD packet to send [06:32:30]OFD Sender: No OFD packet to send [06:32:35]OFD Sender: No OFD packet to send [06:32:40]OFD Sender: No OFD packet to send [06:32:45]OFD Sender: No OFD packet to send [06:32:50]OFD Sender: No OFD packet to send [06:32:55]OFD Sender: No OFD packet to send [06:33:00]OFD Sender: No OFD packet to send [06:33:05]OFD Sender: No OFD packet to send [06:33:10]OFD Sender: No OFD packet to send [06:33:15]OFD Sender: No OFD packet to send [06:33:20]OFD Sender: No OFD packet to send [06:33:25]OFD Sender: No OFD packet to send [06:33:30]OFD Sender: No OFD packet to send [06:33:35]OFD Sender: No OFD packet to send [06:33:40]OFD Sender: No OFD packet to send [06:33:45]OFD Sender: No OFD packet to send [06:33:50]OFD Sender: No OFD packet to send [06:33:55]OFD Sender: No OFD packet to send [06:34:00]OFD Sender: No OFD packet to send [06:34:05]OFD Sender: No OFD packet to send [06:34:10]OFD Sender: No OFD packet to send [06:34:15]OFD Sender: No OFD packet to send [06:34:20]OFD Sender: No OFD packet to send [06:34:25]OFD Sender: No OFD packet to send [06:34:30]OFD Sender: No OFD packet to send [06:34:35]OFD Sender: No OFD packet to send [06:34:40]OFD Sender: No OFD packet to send [06:34:45]OFD Sender: No OFD packet to send [06:34:50]OFD Sender: No OFD packet to send [06:34:55]OFD Sender: No OFD packet to send [06:35:00]OFD Sender: No OFD packet to send [06:35:05]OFD Sender: No OFD packet to send [06:35:10]OFD Sender: No OFD packet to send [06:35:15]OFD Sender: No OFD packet to send [06:35:20]OFD Sender: No OFD packet to send [06:35:25]OFD Sender: No OFD packet to send [06:35:30]OFD Sender: No OFD packet to send [06:35:35]OFD Sender: No OFD packet to send [06:35:40]OFD Sender: No OFD packet to send [06:35:45]OFD Sender: No OFD packet to send [06:35:50]OFD Sender: No OFD packet to send [06:35:55]OFD Sender: No OFD packet to send [06:36:00]OFD Sender: No OFD packet to send [06:36:05]OFD Sender: No OFD packet to send [06:36:10]OFD Sender: No OFD packet to send [06:36:15]OFD Sender: No OFD packet to send [06:36:20]OFD Sender: No OFD packet to send [06:36:25]OFD Sender: No OFD packet to send [06:36:30]OFD Sender: No OFD packet to send [06:36:35]OFD Sender: No OFD packet to send [06:36:40]OFD Sender: No OFD packet to send [06:36:45]OFD Sender: No OFD packet to send [06:36:50]OFD Sender: No OFD packet to send [06:36:55]OFD Sender: No OFD packet to send [06:37:00]OFD Sender: No OFD packet to send [06:37:05]OFD Sender: No OFD packet to send [06:37:10]OFD Sender: No OFD packet to send [06:37:15]OFD Sender: No OFD packet to send [06:37:20]OFD Sender: No OFD packet to send [06:37:25]OFD Sender: No OFD packet to send [06:37:30]OFD Sender: No OFD packet to send [06:37:35]OFD Sender: No OFD packet to send [06:37:40]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]OFD Sender: No OFD packet to send [06:46:31]OFD Sender: No OFD packet to send [06:46:36]OFD Sender: No OFD packet to send [06:46:41]OFD Sender: No OFD packet to send [06:46:46]OFD Sender: No OFD packet to send [06:46:51]OFD Sender: No OFD packet to send [06:46:56]OFD Sender: No OFD packet to send [06:47:01]OFD Sender: No OFD packet to send [06:47:06]OFD Sender: No OFD packet to send [06:47:11]OFD Sender: No OFD packet to send [06:47:16]OFD Sender: No OFD packet to send [06:47:21]OFD Sender: No OFD packet to send [06:47:26]OFD Sender: No OFD packet to send [06:47:31]OFD Sender: No OFD packet to send [06:47:36]OFD Sender: No OFD packet to send [06:47:41]OFD Sender: No OFD packet to send [06:47:46]OFD Sender: No OFD packet to send [06:47:51]OFD Sender: No OFD packet to send [06:47:56]OFD Sender: No OFD packet to send [06:48:01]OFD Sender: No OFD packet to send [06:48:06]OFD Sender: No OFD packet to send [06:48:11]OFD Sender: No OFD packet to send [06:48:16]OFD Sender: No OFD packet to send [06:48:21]OFD Sender: No OFD packet to send [06:48:26]OFD Sender: No OFD packet to send [06:48:31]OFD Sender: No OFD packet to send [06:48:36]OFD Sender: No OFD packet to send [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:11]OFD Sender: No OFD packet to send [06:50:16]OFD Sender: No OFD packet to send [06:50:21]OFD Sender: No OFD packet to send [06:50:26]OFD Sender: No OFD packet to send [06:50:31]OFD Sender: No OFD packet to send [06:50:36]OFD Sender: No OFD packet to send [06:50:41]OFD Sender: No OFD packet to send [06:50:46]OFD Sender: No OFD packet to send [06:50:51]OFD Sender: No OFD packet to send [06:50:56]OFD Sender: No OFD packet to send [06:51:01]OFD Sender: No OFD packet to send [06:51:06]OFD Sender: No OFD packet to send [06:51:11]OFD Sender: No OFD packet to send [06:51:16]OFD Sender: No OFD packet to send [06:51:21]OFD Sender: No OFD packet to send [06:51:26]OFD Sender: No OFD packet to send [06:51:31]OFD Sender: No OFD packet to send [06:51:36]OFD Sender: No OFD packet to send [06:51:41]OFD Sender: No OFD packet to send [06:51:46]OFD Sender: No OFD packet to send [06:51:51]OFD Sender: No OFD packet to send [06:51:56]OFD Sender: No OFD packet to send [06:52:01]OFD Sender: No OFD packet to send [06:52:06]OFD Sender: No OFD packet to send [06:52:11]OFD Sender: No OFD packet to send [06:52:16]OFD Sender: No OFD packet to send [06:52:21]OFD Sender: No OFD packet to send [06:52:26]OFD Sender: No OFD packet to send [06:52:31]OFD Sender: No OFD packet to send [06:52:36]OFD Sender: No OFD packet to send [06:52:41]OFD Sender: No OFD packet to send [06:52:46]OFD Sender: No OFD packet to send [06:52:51]OFD Sender: No OFD packet to send [06:52:56]OFD Sender: No OFD packet to send [06:53:01]OFD Sender: No OFD packet to send [06:53:06]OFD Sender: No OFD packet to send [06:53:11]OFD Sender: No OFD packet to send [06:53:16]OFD Sender: No OFD packet to send [06:53:21]OFD Sender: No OFD packet to send [06:53:26]OFD Sender: No OFD packet to send [06:53:31]OFD Sender: No OFD packet to send [06:53:36]OFD Sender: No OFD packet to send [06:53:41]OFD Sender: No OFD packet to send [06:53:46]OFD Sender: No OFD packet to send [06:53:51]OFD Sender: No OFD packet to send [06:53:56]OFD Sender: No OFD packet to send [06:54:01]OFD Sender: No OFD packet to send [06:54:06]OFD Sender: No OFD packet to send [06:54:11]OFD Sender: No OFD packet to send [06:54:16]OFD Sender: No OFD packet to send [06:54:21]OFD Sender: No OFD packet to send [06:54:26]OFD Sender: No OFD packet to send [06:54:31]OFD Sender: No OFD packet to send [06:54:36]OFD Sender: No OFD packet to send [06:54:41]OFD Sender: No OFD packet to send [06:54:46]OFD Sender: No OFD packet to send [06:54:51]OFD Sender: No OFD packet to send [06:54:56]OFD Sender: No OFD packet to send [06:55:01]OFD Sender: No OFD packet to send [06:55:06]OFD Sender: No OFD packet to send [06:55:11]OFD Sender: No OFD packet to send [06:55:16]OFD Sender: No OFD packet to send [06:55:21]OFD Sender: No OFD packet to send [06:55:26]OFD Sender: No OFD packet to send [06:55:31]OFD Sender: No OFD packet to send [06:55:36]OFD Sender: No OFD packet to send [06:55:41]OFD Sender: No OFD packet to send [06:55:46]OFD Sender: No OFD packet to send [06:55:51]OFD Sender: No OFD packet to send [06:55:56]OFD Sender: No OFD packet to send [06:56:01]OFD Sender: No OFD packet to send [06:56:06]OFD Sender: No OFD packet to send [06:56:11]OFD Sender: No OFD packet to send [06:56:16]OFD Sender: No OFD packet to send [06:56:21]OFD Sender: No OFD packet to send [06:56:26]OFD Sender: No OFD packet to send [06:56:31]OFD Sender: No OFD packet to send [06:56:36]OFD Sender: No OFD packet to send [06:56:41]OFD Sender: No OFD packet to send [06:56:46]OFD Sender: No OFD packet to send [06:56:51]OFD Sender: No OFD packet to send [06:56:56]OFD Sender: No OFD packet to send [06:57:01]OFD Sender: No OFD packet to send [06:57:06]OFD Sender: No OFD packet to send [06:57:11]OFD Sender: No OFD packet to send [06:57:16]OFD Sender: No OFD packet to send [06:57:21]OFD Sender: No OFD packet to send [06:57:26]OFD Sender: No OFD packet to send [06:57:31]OFD Sender: No OFD packet to send [06:57:36]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:02]OFD Sender: No OFD packet to send [07:06:07]OFD Sender: No OFD packet to send [07:06:12]OFD Sender: No OFD packet to send [07:06:17]OFD Sender: No OFD packet to send [07:06:22]OFD Sender: No OFD packet to send [07:06:27]OFD Sender: No OFD packet to send [07:06:32]OFD Sender: No OFD packet to send [07:06:37]OFD Sender: No OFD packet to send [07:06:42]OFD Sender: No OFD packet to send [07:06:47]OFD Sender: No OFD packet to send [07:06:52]OFD Sender: No OFD packet to send [07:06:57]OFD Sender: No OFD packet to send [07:07:02]OFD Sender: No OFD packet to send [07:07:07]OFD Sender: No OFD packet to send [07:07:12]OFD Sender: No OFD packet to send [07:07:17]OFD Sender: No OFD packet to send [07:07:22]OFD Sender: No OFD packet to send [07:07:27]OFD Sender: No OFD packet to send [07:07:32]OFD Sender: No OFD packet to send [07:07:37]OFD Sender: No OFD packet to send [07:07:42]OFD Sender: No OFD packet to send [07:07:47]OFD Sender: No OFD packet to send [07:07:52]OFD Sender: No OFD packet to send [07:07:57]OFD Sender: No OFD packet to send [07:08:02]OFD Sender: No OFD packet to send [07:08:07]OFD Sender: No OFD packet to send [07:08:12]OFD Sender: No OFD packet to send [07:08:17]OFD Sender: No OFD packet to send [07:08:22]OFD Sender: No OFD packet to send [07:08:27]OFD Sender: No OFD packet to send [07:08:32]OFD Sender: No OFD packet to send [07:08:37]OFD Sender: No OFD packet to send [07:08:42]OFD Sender: No OFD packet to send [07:08:47]OFD Sender: No OFD packet to send [07:08:52]OFD Sender: No OFD packet to send [07:08:57]OFD Sender: No OFD packet to send [07:09:02]OFD Sender: No OFD packet to send [07:09:07]OFD Sender: No OFD packet to send [07:09:12]OFD Sender: No OFD packet to send [07:09:17]OFD Sender: No OFD packet to send [07:09:22]OFD Sender: No OFD packet to send [07:09:27]OFD Sender: No OFD packet to send [07:09:32]OFD Sender: No OFD packet to send [07:09:37]OFD Sender: No OFD packet to send [07:09:42]OFD Sender: No OFD packet to send [07:09:47]OFD Sender: No OFD packet to send [07:09:52]OFD Sender: No OFD packet to send [07:09:57]OFD Sender: No OFD packet to send [07:10:02]OFD Sender: No OFD packet to send [07:10:07]OFD Sender: No OFD packet to send [07:10:12]OFD Sender: No OFD packet to send [07:10:17]OFD Sender: No OFD packet to send [07:10:22]OFD Sender: No OFD packet to send [07:10:27]OFD Sender: No OFD packet to send [07:10:32]OFD Sender: No OFD packet to send [07:10:37]OFD Sender: No OFD packet to send [07:10:42]OFD Sender: No OFD packet to send [07:10:47]OFD Sender: No OFD packet to send [07:10:52]OFD Sender: No OFD packet to send [07:10:57]OFD Sender: No OFD packet to send [07:11:02]OFD Sender: No OFD packet to send [07:11:07]OFD Sender: No OFD packet to send [07:11:12]OFD Sender: No OFD packet to send [07:11:17]OFD Sender: No OFD packet to send [07:11:22]OFD Sender: No OFD packet to send [07:11:27]OFD Sender: No OFD packet to send [07:11:32]OFD Sender: No OFD packet to send [07:11:37]OFD Sender: No OFD packet to send [07:11:42]OFD Sender: No OFD packet to send [07:11:47]OFD Sender: No OFD packet to send [07:11:52]OFD Sender: No OFD packet to send [07:11:57]OFD Sender: No OFD packet to send [07:12:02]OFD Sender: No OFD packet to send [07:12:07]OFD Sender: No OFD packet to send [07:12:12]OFD Sender: No OFD packet to send [07:12:17]OFD Sender: No OFD packet to send [07:12:22]OFD Sender: No OFD packet to send [07:12:27]OFD Sender: No OFD packet to send [07:12:32]OFD Sender: No OFD packet to send [07:12:37]OFD Sender: No OFD packet to send [07:12:42]OFD Sender: No OFD packet to send [07:12:47]OFD Sender: No OFD packet to send [07:12:52]OFD Sender: No OFD packet to send [07:12:57]OFD Sender: No OFD packet to send [07:13:02]OFD Sender: No OFD packet to send [07:13:07]OFD Sender: No OFD packet to send [07:13:12]OFD Sender: No OFD packet to send [07:13:17]OFD Sender: No OFD packet to send [07:13:22]OFD Sender: No OFD packet to send [07:13:27]OFD Sender: No OFD packet to send [07:13:32]OFD Sender: No OFD packet to send [07:13:37]OFD Sender: No OFD packet to send [07:13:42]OFD Sender: No OFD packet to send [07:13:47]OFD Sender: No OFD packet to send [07:13:52]OFD Sender: No OFD packet to send [07:13:57]OFD Sender: No OFD packet to send [07:14:02]OFD Sender: No OFD packet to send [07:14:07]OFD Sender: No OFD packet to send [07:14:12]OFD Sender: No OFD packet to send [07:14:17]OFD Sender: No OFD packet to send [07:14:22]OFD Sender: No OFD packet to send [07:14:27]OFD Sender: No OFD packet to send [07:14:32]OFD Sender: No OFD packet to send [07:14:37]OFD Sender: No OFD packet to send [07:14:42]OFD Sender: No OFD packet to send [07:14:47]OFD Sender: No OFD packet to send [07:14:52]OFD Sender: No OFD packet to send [07:14:57]OFD Sender: No OFD packet to send [07:15:02]OFD Sender: No OFD packet to send [07:15:07]OFD Sender: No OFD packet to send [07:15:12]OFD Sender: No OFD packet to send [07:15:17]OFD Sender: No OFD packet to send [07:15:22]OFD Sender: No OFD packet to send [07:15:27]OFD Sender: No OFD packet to send [07:15:32]OFD Sender: No OFD packet to send [07:15:37]OFD Sender: No OFD packet to send [07:15:42]OFD Sender: No OFD packet to send [07:15:47]OFD Sender: No OFD packet to send [07:15:52]OFD Sender: No OFD packet to send [07:15:57]OFD Sender: No OFD packet to send [07:16:02]OFD Sender: No OFD packet to send [07:16:07]OFD Sender: No OFD packet to send [07:16:12]OFD Sender: No OFD packet to send [07:16:17]OFD Sender: No OFD packet to send [07:16:22]OFD Sender: No OFD packet to send [07:16:27]OFD Sender: No OFD packet to send [07:16:32]OFD Sender: No OFD packet to send [07:16:37]OFD Sender: No OFD packet to send [07:16:42]OFD Sender: No OFD packet to send [07:16:47]OFD Sender: No OFD packet to send [07:16:52]OFD Sender: No OFD packet to send [07:16:57]OFD Sender: No OFD packet to send [07:17:02]OFD Sender: No OFD packet to send [07:17:07]accept exits with 9 [07:17:07]New connection [07:17:07]New thread 3067354468 created [07:17:07]Thread 3067497828 joined [07:17:07]Waiting for new connection... [07:17:07] Sock 9.Parse request [07:17:07]Sock 9.Check first char [07:17:07]Sock 9.First char is OK [07:17:07]request: POST /json_proto HTTP/1.0 [07:17:07]Method: POST [07:17:07]URL: /json_proto [07:17:07]Method is POST - this is cgi request [07:17:07]url: /json_proto [07:17:07]query_string will be loaded in cgi processing [07:17:07]execute_cgi json_proto POST (null) [07:17:07]execute_cgi path=json_proto method=POST [07:17:07]POST find Content-Length [07:17:07]Host: 172.17.42.3:8080 [07:17:07]Content-Length: 676 [07:17:07]Content-Type: application/json [07:17:07] [07:17:07]POST finish read [07:17:07]Found Content-Length = 676 [07:17:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46317", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 9.430, "sum" : 699.71, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 699.00, "payments": [ { "type": 0, "sum" : 699.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:17:07]execute_script... [07:17: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)46317", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 9.430, "sum" : 699.71, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 699.00, "payments": [ { "type": 0, "sum" : 699.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:17:07]POST & json_proto [07:17:07]process_json_proto [07:17:07]json parsed OK: [07:17:07]protocol is kg_v1.0 [07:17:07]action value=close_receipt [07:17:07]process_action close_receipt [07:17:07]cmd_close_receipt [07:17:07]MH_GetDate [07:17:07]Write to MH i2c: F0 00 00 A8 16 AD [07:17:07]Write i2c OK [07:17:07]MH_I2C_Read... [07:17:07]Read from MH i2c: F0 [07:17:07]MH_I2C_Read... [07:17:07]Read from MH i2c: F0 09 00 [07:17:07]MH_I2C_Read... [07:17:07]Read from MH i2c: F0 09 00 A8 16 00 F6 8B 20 67 0E CB 1F 67 1D [07:17:07]GetLastDocTimeStamp 1730181203 [07:17:07]current date 1730186230 [07:17:07]FM_GetShiftState [07:17:07]SAM_PROTO_GetShiftState [07:17:07]wFMCommunicate request_size=4 [07:17:07]MH_SAM_APDU [07:17:07]CAPDU: 80 13 01 00 [07:17:07]Write to MH i2c: E2 08 00 A9 16 80 13 01 00 00 00 00 00 3C [07:17:07]Write i2c OK [07:17:07]MH_I2C_Read... [07:17:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:17:07]Read from MH i2c: E2 [07:17:07]MH_I2C_Read... [07:17:07]Read from MH i2c: E2 0E 00 [07:17:07]MH_I2C_Read... [07:17:07]Read from MH i2c: E2 0E 00 A9 16 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 EC [07:17:07]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [07:17:07]wFMCommunicate OK [07:17:07]SAM_PROTO_GetShiftState done [07:17:07]FM_GetShiftState done [07:17:07]opened in 1730160885 [07:17:07]opened+sec_in_day 1730247285 [07:17:07]quantity*price = 69970 [07:17:07]sum+1 = 69972 [07:17:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.71 ИТОГО: 699.00 Внесено: 700.00 СДАЧА: 1.00 НСП 1% : 6.19 НДС 12% : 74.30 Наличными: 699.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 20 29.10.2024 07:17 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68297 ФПД: 53338111604530 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T071710&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68297&fm=53338111604530&tin=02508201610067®Number=0000000000091759&sum=69900 [07:17:08]StoreToDocumentArchive [07:17:08]shift 548 fd 68297 [07:17:08]save to /storage/0548/doc_00068297 [07:17:08]save last doc name /storage/0548/doc_00068297 to /storage/kkm_last_doc_name [07:17:08]save OK [07:17:08]Clear old archive folders... [07:17:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [07:17:08]tlvbuf is 005CD6C0 [07:17:08]SAM_PROTO_ClearQueue [07:17:08]wFMCommunicate request_size=4 [07:17:08]MH_SAM_APDU [07:17:08]CAPDU: 80 09 00 00 [07:17:08]Write to MH i2c: E2 08 00 B6 16 80 09 00 00 00 00 00 00 3E [07:17:08]Write i2c OK [07:17:08]MH_I2C_Read... [07:17:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:17:08]Read from MH i2c: E2 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 03 00 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 03 00 B6 16 00 90 00 40 [07:17:08]RAPDU: 90 00 [07:17:08]wFMCommunicate OK [07:17:08]SAM_PROTO_ClearQueue done [07:17:08]KKMCreateOFDPacket [07:17:08]OFDProtocolAddRootSTLVToBuf [07:17:08]FM_MakeSignedData [07:17:08]FM_MakeSignedData [07:17:08]SAM_PROTO_SignData [07:17:08]wFMCommunicate request_size=4 [07:17:08]MH_SAM_APDU [07:17:08]CAPDU: 80 0D 01 02 [07:17:08]Write to MH i2c: E2 08 00 B7 16 80 0D 01 02 00 00 00 00 46 [07:17:08]Write i2c OK [07:17:08]MH_I2C_Read... [07:17:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:17:08]Read from MH i2c: E2 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 03 00 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 03 00 B7 16 00 90 00 41 [07:17:08]RAPDU: 90 00 [07:17:08]wFMCommunicate OK [07:17:08]wFMCommunicate request_size=255 [07:17:08]MH_SAM_APDU [07:17:08]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 33 FF 03 08 00 03 D6 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 53 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 06 1D 00 00 00 00 07 04 06 00 0C 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 F6 8B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C9 0A 01 00 35 04 06 00 30 [07:17:08]Write to MH i2c: E2 02 01 B8 16 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 33 FF 03 08 00 03 D6 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 53 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 06 1D 00 00 00 00 07 04 06 00 0C 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 F6 8B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C9 0A 01 00 35 04 06 00 30 00 00 E5 [07:17:08]Write i2c OK [07:17:08]MH_I2C_Read... [07:17:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:17:08]Read from MH i2c: E2 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 03 00 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 03 00 B8 16 00 90 00 42 [07:17:08]RAPDU: 90 00 [07:17:08]wFMCommunicate OK [07:17:08]wFMCommunicate request_size=10 [07:17:08]MH_SAM_APDU [07:17:08]CAPDU: 80 0D 02 02 05 82 BF 31 F7 32 [07:17:08]Write to MH i2c: E2 0D 00 B9 16 80 0D 02 02 05 00 82 BF 31 F7 32 00 00 EE [07:17:08]Write i2c OK [07:17:08]MH_I2C_Read... [07:17:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:17:08]Read from MH i2c: E2 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 03 00 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 03 00 B9 16 00 90 00 43 [07:17:08]RAPDU: 90 00 [07:17:08]wFMCommunicate OK [07:17:08]wFMCommunicate request_size=4 [07:17:08]MH_SAM_APDU [07:17:08]CAPDU: 80 0D 03 02 [07:17:08]Write to MH i2c: E2 08 00 BA 16 80 0D 03 02 00 00 00 00 4B [07:17:08]Write i2c OK [07:17:08]MH_I2C_Read... [07:17:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:17:08]Read from MH i2c: E2 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 0B 00 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 0B 00 BA 16 00 EC E2 55 CE 00 60 FA 9E 90 00 35 [07:17:08]RAPDU: EC E2 55 CE 00 60 FA 9E 90 00 [07:17:08]wFMCommunicate OK [07:17:08]SAM_PROTO_SignData done [07:17:08]FM_MakeSignedData done [07:17:08]CreateOFDProtocolMessage [07:17:08]wFMCommunicate request_size=4 [07:17:08]MH_SAM_APDU [07:17:08]CAPDU: 80 11 00 00 [07:17:08]Write to MH i2c: E2 08 00 BB 16 80 11 00 00 00 00 00 00 4B [07:17:08]Write i2c OK [07:17:08]MH_I2C_Read... [07:17:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:17:08]Read from MH i2c: E2 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 17 00 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: E2 17 00 BB 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 A2 [07:17:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [07:17:08]wFMCommunicate OK [07:17:08]CreateOFDProtocolMessage done [07:17:08]OFDSenderStorePacket 68297 [07:17:08]StoreOFDPacket docnum=68297 [07:17:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 D1 49 07 01 2E 57 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 33 FF 03 08 00 03 D6 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 53 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 06 1D 00 00 00 00 07 04 06 00 0C 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 F6 8B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C9 0A 01 00 35 04 06 00 30 82 BF 31 F7 32 EC E2 55 CE 00 60 FA 9E [07:17:08]CheckFolder [07:17:08]dirname=/storage/ofd_packets [07:17:08]CheckFolder done [07:17:08]ProducePacketName [07:17:08]name=ofd_packets/00068297 [07:17:08]NVStorageSaveData ofd_packets/00068297 [07:17:08]File name is /storage/ofd_packets/00068297 [07:17:08]Write 301 bytes [07:17:08]NVStorageSaveData done [07:17:08]OFDSenderStorePacket done [07:17:08]KKMCreateOFDPacket done [07:17:08]NVStorageSaveData kkm_last_timestamp [07:17:08]File name is /storage/kkm_last_timestamp [07:17:08]Write 4 bytes [07:17:08]NVStorageSaveData done [07:17:08]ExternCall_PrintAddStr [07:17:08]wPrintStart [07:17:08]Write to MH i2c: 01 00 00 BC 16 D2 [07:17:08]Write i2c OK [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: 01 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: 01 07 00 [07:17:08]MH_I2C_Read... [07:17:08]Read from MH i2c: 01 07 00 BC 16 00 00 00 00 00 FF 0F E7 [07:17:08]RasterBufferAndPrint [07:17:08]line Счет N : (1)46317 [07:17:08]line ИНН: 02508201610067 [07:17:08]line Контрольно-Кассовый Чек [07:17:08]line ПРОДАЖА [07:17:08]line ТРК (МРК, ГНК) : 14 [07:17:08]line Товар: 2710124500 [07:17:08]line Аи-95-К-3 [07:17:08]line 9.430 * 74.20 [07:17:08]line = 699.71 [07:17:08]line НДС 12% НСП 1% [07:17:08]line > о реализуемом товаре [07:17:09]line ОКРУГЛЕНИЕ: -0.71 [07:17:09]line ИТОГО: 699.00 [07:17:09]line Внесено: 700.00 [07:17:09]line СДАЧА: 1.00 [07:17:09]line НСП 1% : 6.19 [07:17:09]line НДС 12% : 74.30 [07:17:09]line Наличными: 699.00 [07:17:09]line Безнал.: 0.00 [07:17:09]line Место: АЗС № 160 "Партнер Нефть" [07:17:09]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [07:17:09]line СНО: Общий режим [07:17:09]line Чек 20 29.10.2024 07:17 [07:17:09]line Смена: 548 ФФД: 1.0 [07:17:09]line ЗНМ: 0300000093 [07:17:09]line РНМ: 0000000000091759 [07:17:09]line Версия ККМ: 001 [07:17:09]line ФМ: 0000000000871758 [07:17:09]line ФД: 68297 [07:17:09]line ФПД: 53338111604530 [07:17:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T071710&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68297&fm=53338111604530&tin=02508201610067®Number=0000000000091759&sum=69900 [07:17:09]written 0, free lines is 4095 [07:17:09]OFD Sender: Processing packet 68297 [packets to send 27, broken 26] [07:17:09]ProducePacketName [07:17:09]name=ofd_packets/00068297 [07:17:09]OFD Sender: To server: pG, [07:17:09]CommunicateWithHost lk.salyk.kg:30040 [07:17:09]ConnectInit lk.salyk.kg [07:17:09]Connected sock=7 [07:17:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 D1 49 07 01 2E 57 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 33 FF 03 08 00 03 D6 24 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 53 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 06 1D 00 00 00 00 07 04 06 00 0C 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 F6 8B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C9 0A 01 00 35 04 06 00 30 82 BF 31 F7 32 EC E2 55 CE 00 60 FA 9E [07:17:09]Write to MH i2c: 01 00 00 E6 16 FC [07:17:09]Write i2c OK [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: 01 [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: 01 07 00 [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: 01 07 00 E6 16 00 00 00 00 00 B1 0C C0 [07:17:09]RasterBufferAndPrint [07:17:09]line [07:17:09]line [07:17:09]line [07:17:09]line [07:17:09]line [07:17:09]written 0, free lines is 3255 [07:17:09]MH_Cut [07:17:09]Write to MH i2c: D1 01 00 ED 16 01 D5 [07:17:09]Write i2c OK [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: D1 [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: D1 01 00 [07:17:09]MH_I2C_Read... [07:17:09]Read from MH i2c: D1 01 00 ED 16 00 D4 [07:17:09]Write to MH i2c: 01 00 00 EE 16 04 [07:17:09]Write i2c OK [07:17:09]MH_I2C_Read... [07:17:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BC A6 47 00 2D 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 C9 0A 01 00 F4 03 04 00 D4 37 20 67 B6 04 01 00 00 20 2C 12 26 D7 F9 D5 96 [07:17:09]CommunicateWithHost err = 0 [07:17:09]CheckOFDResponse [07:17:09]1017 (14) - 77093643461234 [07:17:09]1041 (16) - 0000000000871758 [07:17:09]1040 (4) - 68297 [07:17:09]1012 (4) - 29.10.2024 01:18 [07:17:09]1206 (1) - 0 [07:17:09]OFD Sender: Remove packet 68297 [07:17:09]ProducePacketName [07:17:09]name=ofd_packets/00068297 [07:17:09]NVStorageDeleteData [07:17:10]OFD Sender: No OFD packet to send [07:17:10]*** Cut start [07:17:10]*** Partial cut [07:17:10]*** CUTSNS_PIN = 1 [07:17:10]*** CUTSNS_PIN = 0 [07:17:10]*** Brake cut motor [07:17:10]Read from MH i2c: 01 [07:17:10]MH_I2C_Read... [07:17:10]*** Stop cut motor [07:17:10]*** Cut end [07:17:10]Read from MH i2c: 01 07 00 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: 01 07 00 EE 16 00 00 00 00 00 FF 0F 19 [07:17:10]process_action close_receipt done [07:17:10]requested_data is exist [07:17:10]produce_requested_data [07:17:10]requested_item fm.sn is exist - process it [07:17:10]wFMCommunicate request_size=4 [07:17:10]MH_SAM_APDU [07:17:10]CAPDU: 80 11 00 00 [07:17:10]Write to MH i2c: E2 08 00 EF 16 80 11 00 00 00 00 00 00 7F [07:17:10]Write i2c OK [07:17:10]MH_I2C_Read... [07:17:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:17:10]Read from MH i2c: E2 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 17 00 [07:17:10]MH_I2C_Read... [07:17:10]Read from MH i2c: E2 17 00 EF 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D6 [07:17:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [07:17:10]wFMCommunicate OK [07:17:10]requested_item fd.num is exist - process it [07:17:10]SAM_PROTO_GetFieldsCounters [07:17:10]wFMCommunicate request_size=4 [07:17:10]MH_SAM_APDU [07:17:10]CAPDU: 80 13 00 00 [07:17:10]Write to MH i2c: E2 08 00 F0 16 80 13 00 00 00 00 00 00 82 [07:17:10]Write i2c OK [07:17:10]MH_I2C_Read... [07:17:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:17:11]Read from MH i2c: E2 [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: E2 62 00 [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: E2 62 00 F0 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C9 0A 01 00 0E 04 04 00 24 02 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 E3 [07:17:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 C9 0A 01 00 0E 04 04 00 24 02 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 [07:17:11]wFMCommunicate OK [07:17:11]SAM_PROTO_GetFieldsCounters done [07:17:11]requested_item shift.num is exist - process it [07:17:11]requested_item shift.opened is exist - process it [07:17:11]req_shift_opened [07:17:11]FM_GetShiftState [07:17:11]SAM_PROTO_GetShiftState [07:17:11]wFMCommunicate request_size=4 [07:17:11]MH_SAM_APDU [07:17:11]CAPDU: 80 13 01 00 [07:17:11]Write to MH i2c: E2 08 00 F1 16 80 13 01 00 00 00 00 00 84 [07:17:11]Write i2c OK [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: E2 [07:17:11]MH_I2C_Read... [07:17:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:17:11]Read from MH i2c: E2 0E 00 [07:17:11]MH_I2C_Read... [07:17:11]Read from MH i2c: E2 0E 00 F1 16 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 34 [07:17:11]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [07:17:11]wFMCommunicate OK [07:17:11]SAM_PROTO_GetShiftState done [07:17:11]FM_GetShiftState done [07:17:11]req_shift_opened done [07:17:11]requested_item shift.open_date is exist - process it [07:17:11]req_shift_open_date [07:17:11]req_shift_open_date done [07:17:11]produce_requested_data done [07:17:11]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68297,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [07:17:11]process_action_free close_receipt [07:17:11]json_value_free [07:17:11]json_value_free done [07:17:11]process_json_proto returns [07:17:11]Send response to host [07:17:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68297,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [07:17:11]free response buf [07:17:11]execute_script done [07:17:11]execute_script returns [07:17:11]free content buf [07:17:11]Sock 9.Close socket [07:17:11]Sock 9.Thread stoped [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:21]int [07:27:21]Write to MH i2c: 01 00 00 F2 16 08 [07:27:21]*** FLAG_PRN_KEY set [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 F2 16 00 08 00 00 00 FF 0F 25 [07:27:21]state=0 [07:27:21]Key pressed [07:27:21]Feed [07:27:21]Write to MH i2c: D8 00 00 F3 16 E0 [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: D8 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: D8 01 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: D8 01 00 F3 16 00 E1 [07:27:21]int [07:27:21]Write to MH i2c: 01 00 00 F4 16 0A [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 F4 16 00 48 00 00 00 3C 00 95 [07:27:21]state=2 [07:27:21]Key pressed [07:27:21]int [07:27:21]Write to MH i2c: 01 00 00 F5 16 0B [07:27:21]*** FLAG_PRN_KEY reset [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 F5 16 00 00 00 00 00 F6 0F 17 [07:27:21]state=2 [07:27:21]Stop feed [07:27:21]int [07:27:21]Write to MH i2c: 01 00 00 F6 16 0C [07:27:21]*** FLAG_PRN_KEY set [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 F6 16 00 08 00 00 00 FF 0F 29 [07:27:21]state=0 [07:27:21]Key pressed [07:27:21]Feed [07:27:21]Write to MH i2c: D8 00 00 F7 16 E4 [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: D8 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: D8 01 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: D8 01 00 F7 16 00 E5 [07:27:21]int [07:27:21]Write to MH i2c: 01 00 00 F8 16 0E [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 F8 16 00 48 00 00 00 3C 00 99 [07:27:21]state=2 [07:27:21]Key pressed [07:27:21]int [07:27:21]Write to MH i2c: 01 00 00 F9 16 0F [07:27:21]*** FLAG_PRN_KEY reset [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 F9 16 00 00 00 00 00 F5 0F 1A [07:27:21]state=2 [07:27:21]Stop feed [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:36]OFD Sender: No OFD packet to send [07:34:41]OFD Sender: No OFD packet to send [07:34:46]OFD Sender: No OFD packet to send [07:34:51]OFD Sender: No OFD packet to send [07:34:56]OFD Sender: No OFD packet to send [07:35:01]OFD Sender: No OFD packet to send [07:35:06]OFD Sender: No OFD packet to send [07:35:11]OFD Sender: No OFD packet to send [07:35:16]OFD Sender: No OFD packet to send [07:35:21]OFD Sender: No OFD packet to send [07:35:26]OFD Sender: No OFD packet to send [07:35:31]OFD Sender: No OFD packet to send [07:35:36]OFD Sender: No OFD packet to send [07:35:41]OFD Sender: No OFD packet to send [07:35:46]OFD Sender: No OFD packet to send [07:35:51]OFD Sender: No OFD packet to send [07:35:56]OFD Sender: No OFD packet to send [07:36:01]OFD Sender: No OFD packet to send [07:36:06]OFD Sender: No OFD packet to send [07:36:11]OFD Sender: No OFD packet to send [07:36:16]OFD Sender: No OFD packet to send [07:36:21]OFD Sender: No OFD packet to send [07:36:26]OFD Sender: No OFD packet to send [07:36:31]OFD Sender: No OFD packet to send [07:36:36]OFD Sender: No OFD packet to send [07:36:41]OFD Sender: No OFD packet to send [07:36:46]OFD Sender: No OFD packet to send [07:36:51]OFD Sender: No OFD packet to send [07:36:56]OFD Sender: No OFD packet to send [07:37:01]OFD Sender: No OFD packet to send [07:37:06]OFD Sender: No OFD packet to send [07:37:11]OFD Sender: No OFD packet to send [07:37:16]OFD Sender: No OFD packet to send [07:37:21]OFD Sender: No OFD packet to send [07:37:26]OFD Sender: No OFD packet to send [07:37:31]OFD Sender: No OFD packet to send [07:37:36]OFD Sender: No OFD packet to send [07:37:41]OFD Sender: No OFD packet to send [07:37:46]OFD Sender: No OFD packet to send [07:37:51]OFD Sender: No OFD packet to send [07:37:56]OFD Sender: No OFD packet to send [07:38:01]OFD Sender: No OFD packet to send [07:38:06]OFD Sender: No OFD packet to send [07:38:11]OFD Sender: No OFD packet to send [07:38:16]OFD Sender: No OFD packet to send [07:38:21]OFD Sender: No OFD packet to send [07:38:26]OFD Sender: No OFD packet to send [07:38:31]OFD Sender: No OFD packet to send [07:38:36]OFD Sender: No OFD packet to send [07:38:41]OFD Sender: No OFD packet to send [07:38:46]OFD Sender: No OFD packet to send [07:38:51]OFD Sender: No OFD packet to send [07:38:56]OFD Sender: No OFD packet to send [07:39:01]OFD Sender: No OFD packet to send [07:39:06]OFD Sender: No OFD packet to send [07:39:11]OFD Sender: No OFD packet to send [07:39:16]OFD Sender: No OFD packet to send [07:39:21]OFD Sender: No OFD packet to send [07:39:26]OFD Sender: No OFD packet to send [07:39:31]OFD Sender: No OFD packet to send [07:39:36]OFD Sender: No OFD packet to send [07:39:41]OFD Sender: No OFD packet to send [07:39:46]OFD Sender: No OFD packet to send [07:39:51]OFD Sender: No OFD packet to send [07:39:56]OFD Sender: No OFD packet to send [07:40:01]OFD Sender: No OFD packet to send [07:40:06]OFD Sender: No OFD packet to send [07:40:11]OFD Sender: No OFD packet to send [07:40:16]OFD Sender: No OFD packet to send [07:40:21]OFD Sender: No OFD packet to send [07:40:26]OFD Sender: No OFD packet to send [07:40:31]OFD Sender: No OFD packet to send [07:40:36]OFD Sender: No OFD packet to send [07:40:41]OFD Sender: No OFD packet to send [07:40:46]OFD Sender: No OFD packet to send [07:40:51]OFD Sender: No OFD packet to send [07:40:56]OFD Sender: No OFD packet to send [07:41:01]OFD Sender: No OFD packet to send [07:41:06]OFD Sender: No OFD packet to send [07:41:11]OFD Sender: No OFD packet to send [07:41:16]OFD Sender: No OFD packet to send [07:41:21]OFD Sender: No OFD packet to send [07:41:26]OFD Sender: No OFD packet to send [07:41:31]OFD Sender: No OFD packet to send [07:41:36]OFD Sender: No OFD packet to send [07:41:41]OFD Sender: No OFD packet to send [07:41:46]OFD Sender: No OFD packet to send [07:41:51]OFD Sender: No OFD packet to send [07:41:56]OFD Sender: No OFD packet to send [07:42:01]OFD Sender: No OFD packet to send [07:42:06]OFD Sender: No OFD packet to send [07:42:11]OFD Sender: No OFD packet to send [07:42:16]OFD Sender: No OFD packet to send [07:42:21]OFD Sender: No OFD packet to send [07:42:26]OFD Sender: No OFD packet to send [07:42:31]OFD Sender: No OFD packet to send [07:42:36]OFD Sender: No OFD packet to send [07:42:41]OFD Sender: No OFD packet to send [07:42:46]OFD Sender: No OFD packet to send [07:42:51]OFD Sender: No OFD packet to send [07:42:56]OFD Sender: No OFD packet to send [07:43:01]OFD Sender: No OFD packet to send [07:43:06]OFD Sender: No OFD packet to send [07:43:11]OFD Sender: No OFD packet to send [07:43:16]OFD Sender: No OFD packet to send [07:43:21]OFD Sender: No OFD packet to send [07:43:26]OFD Sender: No OFD packet to send [07:43:31]OFD Sender: No OFD packet to send [07:43:36]OFD Sender: No OFD packet to send [07:43:41]OFD Sender: No OFD packet to send [07:43:46]OFD Sender: No OFD packet to send [07:43:51]OFD Sender: No OFD packet to send [07:43:56]OFD Sender: No OFD packet to send [07:44:01]OFD Sender: No OFD packet to send [07:44:06]OFD Sender: No OFD packet to send [07:44:11]OFD Sender: No OFD packet to send [07:44:16]OFD Sender: No OFD packet to send [07:44:21]OFD Sender: No OFD packet to send [07:44:26]OFD Sender: No OFD packet to send [07:44:31]OFD Sender: No OFD packet to send [07:44:36]OFD Sender: No OFD packet to send [07:44:41]OFD Sender: No OFD packet to send [07:44:46]OFD Sender: No OFD packet to send [07:44:51]OFD Sender: No OFD packet to send [07:44:56]OFD Sender: No OFD packet to send [07:45:01]OFD Sender: No OFD packet to send [07:45:06]OFD Sender: No OFD packet to send [07:45:11]OFD Sender: No OFD packet to send [07:45:16]OFD Sender: No OFD packet to send [07:45:21]OFD Sender: No OFD packet to send [07:45:26]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:46]OFD Sender: No OFD packet to send [07:45:51]OFD Sender: No OFD packet to send [07:45:56]OFD Sender: No OFD packet to send [07:46:01]OFD Sender: No OFD packet to send [07:46:06]OFD Sender: No OFD packet to send [07:46:11]OFD Sender: No OFD packet to send [07:46:16]OFD Sender: No OFD packet to send [07:46:21]OFD Sender: No OFD packet to send [07:46:26]OFD Sender: No OFD packet to send [07:46:31]OFD Sender: No OFD packet to send [07:46:36]OFD Sender: No OFD packet to send [07:46:41]OFD Sender: No OFD packet to send [07:46:46]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:29]accept exits with 10 [07:48:29]New connection [07:48:29]New thread 3067497828 created [07:48:29]Thread 3067354468 joined [07:48:29]Waiting for new connection... [07:48:29] Sock 10.Parse request [07:48:29]Sock 10.Check first char [07:48:29]Sock 10.First char is OK [07:48:29]request: POST /json_proto HTTP/1.0 [07:48:29]Method: POST [07:48:29]URL: /json_proto [07:48:29]Method is POST - this is cgi request [07:48:29]url: /json_proto [07:48:29]query_string will be loaded in cgi processing [07:48:29]execute_cgi json_proto POST (null) [07:48:29]execute_cgi path=json_proto method=POST [07:48:29]POST find Content-Length [07:48:29]Host: 172.17.42.3:8080 [07:48:29]Content-Length: 678 [07:48:29]Content-Type: application/json [07:48:29] [07:48:29]POST finish read [07:48:29]Found Content-Length = 678 [07:48:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46318", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 12.470, "sum" : 925.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 925.00, "payments": [ { "type": 0, "sum" : 925.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:48:29]execute_script... [07:48:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46318", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 12.470, "sum" : 925.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 925.00, "payments": [ { "type": 0, "sum" : 925.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:48:29]POST & json_proto [07:48:29]process_json_proto [07:48:29]json parsed OK: [07:48:29]protocol is kg_v1.0 [07:48:29]action value=close_receipt [07:48:29]process_action close_receipt [07:48:29]cmd_close_receipt [07:48:29]MH_GetDate [07:48:29]Write to MH i2c: F0 00 00 FA 16 FF [07:48:29]Write i2c OK [07:48:29]MH_I2C_Read... [07:48:29]Read from MH i2c: F0 [07:48:29]MH_I2C_Read... [07:48:29]Read from MH i2c: F0 09 00 [07:48:29]MH_I2C_Read... [07:48:29]Read from MH i2c: F0 09 00 FA 16 00 50 93 20 67 0E CB 1F 67 D1 [07:48:29]GetLastDocTimeStamp 1730186230 [07:48:29]current date 1730188112 [07:48:29]FM_GetShiftState [07:48:29]SAM_PROTO_GetShiftState [07:48:29]wFMCommunicate request_size=4 [07:48:29]MH_SAM_APDU [07:48:29]CAPDU: 80 13 01 00 [07:48:29]Write to MH i2c: E2 08 00 FB 16 80 13 01 00 00 00 00 00 8E [07:48:29]Write i2c OK [07:48:29]MH_I2C_Read... [07:48:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:48:29]Read from MH i2c: E2 [07:48:29]MH_I2C_Read... [07:48:29]Read from MH i2c: E2 0E 00 [07:48:29]MH_I2C_Read... [07:48:29]Read from MH i2c: E2 0E 00 FB 16 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 3E [07:48:29]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [07:48:29]wFMCommunicate OK [07:48:29]SAM_PROTO_GetShiftState done [07:48:29]FM_GetShiftState done [07:48:29]opened in 1730160885 [07:48:29]opened+sec_in_day 1730247285 [07:48:29]quantity*price = 92527 [07:48:29]sum+1 = 92528 [07:48:29]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.27 ИТОГО: 925.00 Внесено: 5000.00 СДАЧА: 4075.00 НСП 1% : 8.19 НДС 12% : 98.26 Наличными: 925.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 21 29.10.2024 07:48 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68298 ФПД: 56687769097174 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T074832&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68298&fm=56687769097174&tin=02508201610067®Number=0000000000091759&sum=92500 [07:48:30]StoreToDocumentArchive [07:48:30]shift 548 fd 68298 [07:48:30]save to /storage/0548/doc_00068298 [07:48:30]save last doc name /storage/0548/doc_00068298 to /storage/kkm_last_doc_name [07:48:30]save OK [07:48:30]Clear old archive folders... [07:48:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [07:48:30]tlvbuf is 005F5990 [07:48:30]SAM_PROTO_ClearQueue [07:48:30]wFMCommunicate request_size=4 [07:48:30]MH_SAM_APDU [07:48:30]CAPDU: 80 09 00 00 [07:48:30]Write to MH i2c: E2 08 00 08 17 80 09 00 00 00 00 00 00 91 [07:48:30]Write i2c OK [07:48:30]MH_I2C_Read... [07:48:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:48:30]Read from MH i2c: E2 [07:48:30]MH_I2C_Read... [07:48:30]Read from MH i2c: E2 03 00 [07:48:30]MH_I2C_Read... [07:48:30]Read from MH i2c: E2 03 00 08 17 00 90 00 93 [07:48:30]RAPDU: 90 00 [07:48:30]wFMCommunicate OK [07:48:30]SAM_PROTO_ClearQueue done [07:48:30]KKMCreateOFDPacket [07:48:30]OFDProtocolAddRootSTLVToBuf [07:48:30]FM_MakeSignedData [07:48:30]FM_MakeSignedData [07:48:30]SAM_PROTO_SignData [07:48:30]wFMCommunicate request_size=4 [07:48:30]MH_SAM_APDU [07:48:30]CAPDU: 80 0D 01 02 [07:48:30]Write to MH i2c: E2 08 00 09 17 80 0D 01 02 00 00 00 00 99 [07:48:30]Write i2c OK [07:48:30]MH_I2C_Read... [07:48:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:48:30]Read from MH i2c: E2 [07:48:30]MH_I2C_Read... [07:48:30]Read from MH i2c: E2 03 00 [07:48:30]MH_I2C_Read... [07:48:30]Read from MH i2c: E2 03 00 09 17 00 90 00 94 [07:48:30]RAPDU: 90 00 [07:48:30]wFMCommunicate OK [07:48:30]wFMCommunicate request_size=255 [07:48:30]MH_SAM_APDU [07:48: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 33 FF 03 08 00 03 B6 30 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6F 69 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 69 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 26 00 00 00 00 07 04 06 00 54 69 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 50 93 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CA 0A 01 00 35 04 06 00 33 [07:48:30]Write to MH i2c: E2 02 01 0A 17 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 B6 30 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6F 69 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 69 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 26 00 00 00 00 07 04 06 00 54 69 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 50 93 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CA 0A 01 00 35 04 06 00 33 00 00 6D [07:48:30]Write i2c OK [07:48:30]MH_I2C_Read... [07:48:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:48:31]Read from MH i2c: E2 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: E2 03 00 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: E2 03 00 0A 17 00 90 00 95 [07:48:31]RAPDU: 90 00 [07:48:31]wFMCommunicate OK [07:48:31]wFMCommunicate request_size=10 [07:48:31]MH_SAM_APDU [07:48:31]CAPDU: 80 0D 02 02 05 8E A6 57 13 D6 [07:48:31]Write to MH i2c: E2 0D 00 0B 17 80 0D 02 02 05 00 8E A6 57 13 D6 00 00 1A [07:48:31]Write i2c OK [07:48:31]MH_I2C_Read... [07:48:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:48:31]Read from MH i2c: E2 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: E2 03 00 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: E2 03 00 0B 17 00 90 00 96 [07:48:31]RAPDU: 90 00 [07:48:31]wFMCommunicate OK [07:48:31]wFMCommunicate request_size=4 [07:48:31]MH_SAM_APDU [07:48:31]CAPDU: 80 0D 03 02 [07:48:31]Write to MH i2c: E2 08 00 0C 17 80 0D 03 02 00 00 00 00 9E [07:48:31]Write i2c OK [07:48:31]MH_I2C_Read... [07:48:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:48:31]Read from MH i2c: E2 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: E2 0B 00 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: E2 0B 00 0C 17 00 A7 6B C4 70 63 59 50 D8 90 00 C9 [07:48:31]RAPDU: A7 6B C4 70 63 59 50 D8 90 00 [07:48:31]wFMCommunicate OK [07:48:31]SAM_PROTO_SignData done [07:48:31]FM_MakeSignedData done [07:48:31]CreateOFDProtocolMessage [07:48:31]wFMCommunicate request_size=4 [07:48:31]MH_SAM_APDU [07:48:31]CAPDU: 80 11 00 00 [07:48:31]Write to MH i2c: E2 08 00 0D 17 80 11 00 00 00 00 00 00 9E [07:48:31]Write i2c OK [07:48:31]MH_I2C_Read... [07:48:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:48:31]Read from MH i2c: E2 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: E2 17 00 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: E2 17 00 0D 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F5 [07:48:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [07:48:31]wFMCommunicate OK [07:48:31]CreateOFDProtocolMessage done [07:48:31]OFDSenderStorePacket 68298 [07:48:31]StoreOFDPacket docnum=68298 [07:48:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 F0 C8 07 01 31 89 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 33 FF 03 08 00 03 B6 30 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6F 69 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 69 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 26 00 00 00 00 07 04 06 00 54 69 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 50 93 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CA 0A 01 00 35 04 06 00 33 8E A6 57 13 D6 A7 6B C4 70 63 59 50 D8 [07:48:31]CheckFolder [07:48:31]dirname=/storage/ofd_packets [07:48:31]CheckFolder done [07:48:31]ProducePacketName [07:48:31]name=ofd_packets/00068298 [07:48:31]NVStorageSaveData ofd_packets/00068298 [07:48:31]File name is /storage/ofd_packets/00068298 [07:48:31]Write 301 bytes [07:48:31]NVStorageSaveData done [07:48:31]OFDSenderStorePacket done [07:48:31]KKMCreateOFDPacket done [07:48:31]NVStorageSaveData kkm_last_timestamp [07:48:31]File name is /storage/kkm_last_timestamp [07:48:31]Write 4 bytes [07:48:31]NVStorageSaveData done [07:48:31]ExternCall_PrintAddStr [07:48:31]wPrintStart [07:48:31]Write to MH i2c: 01 00 00 0E 17 25 [07:48:31]Write i2c OK [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: 01 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: 01 07 00 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: 01 07 00 0E 17 00 00 00 00 00 FF 0F 3A [07:48:31]RasterBufferAndPrint [07:48:31]line Счет N : (1)46318 [07:48:31]line ИНН: 02508201610067 [07:48:31]line Контрольно-Кассовый Чек [07:48:31]line ПРОДАЖА [07:48:31]line ТРК (МРК, ГНК) : 24 [07:48:31]line Товар: 2710124500 [07:48:31]line Аи-95-К-3 [07:48:31]line 12.470 * 74.20 [07:48:31]line = 925.27 [07:48:31]line НДС 12% НСП 1% [07:48:31]line > о реализуемом товаре [07:48:31]line ОКРУГЛЕНИЕ: -0.27 [07:48:31]line ИТОГО: 925.00 [07:48:31]line Внесено: 5000.00 [07:48:31]line СДАЧА: 4075.00 [07:48:31]line НСП 1% : 8.19 [07:48:31]line НДС 12% : 98.26 [07:48:31]line Наличными: 925.00 [07:48:31]line Безнал.: 0.00 [07:48:31]line Место: АЗС № 160 "Партнер Нефть" [07:48:31]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [07:48:31]line СНО: Общий режим [07:48:31]line Чек 21 29.10.2024 07:48 [07:48:31]line Смена: 548 ФФД: 1.0 [07:48:31]line ЗНМ: 0300000093 [07:48:31]line РНМ: 0000000000091759 [07:48:31]line Версия ККМ: 001 [07:48:31]line ФМ: 0000000000871758 [07:48:31]line ФД: 68298 [07:48:31]line ФПД: 56687769097174 [07:48:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T074832&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68298&fm=56687769097174&tin=02508201610067®Number=0000000000091759&sum=92500 [07:48:31]written 0, free lines is 4095 [07:48:31]OFD Sender: Processing packet 68298 [packets to send 27, broken 26] [07:48:31]ProducePacketName [07:48:31]name=ofd_packets/00068298 [07:48:31]OFD Sender: To server: pG, [07:48:31]CommunicateWithHost lk.salyk.kg:30040 [07:48:31]ConnectInit lk.salyk.kg [07:48:31]Connected sock=9 [07:48:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 F0 C8 07 01 31 89 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 33 FF 03 08 00 03 B6 30 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6F 69 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 69 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 26 00 00 00 00 07 04 06 00 54 69 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 50 93 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CA 0A 01 00 35 04 06 00 33 8E A6 57 13 D6 A7 6B C4 70 63 59 50 D8 [07:48:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 48 DC 47 00 CE 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CA 0A 01 00 F4 03 04 00 2F 3F 20 67 B6 04 01 00 00 9D 4D 93 AD 44 14 93 5D [07:48:31]CommunicateWithHost err = 0 [07:48:31]CheckOFDResponse [07:48:31]1017 (14) - 77093643461234 [07:48:31]1041 (16) - 0000000000871758 [07:48:31]1040 (4) - 68298 [07:48:31]1012 (4) - 29.10.2024 01:49 [07:48:31]1206 (1) - 0 [07:48:31]OFD Sender: Remove packet 68298 [07:48:31]ProducePacketName [07:48:31]name=ofd_packets/00068298 [07:48:31]NVStorageDeleteData [07:48:31]Write to MH i2c: 01 00 00 38 17 4F [07:48:31]Write i2c OK [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: 01 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: 01 07 00 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: 01 07 00 38 17 00 00 00 00 00 C5 0C 27 [07:48:31]RasterBufferAndPrint [07:48:31]line [07:48:31]line [07:48:31]line [07:48:31]line [07:48:31]line [07:48:31]written 0, free lines is 3275 [07:48:31]MH_Cut [07:48:31]Write to MH i2c: D1 01 00 3F 17 01 28 [07:48:31]Write i2c OK [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: D1 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: D1 01 00 [07:48:31]MH_I2C_Read... [07:48:31]Read from MH i2c: D1 01 00 3F 17 00 27 [07:48:31]Write to MH i2c: 01 00 00 40 17 57 [07:48:31]Write i2c OK [07:48:31]MH_I2C_Read... [07:48:32]OFD Sender: No OFD packet to send [07:48:32]*** Cut start [07:48:32]*** Partial cut [07:48:32]*** CUTSNS_PIN = 1 [07:48:32]*** CUTSNS_PIN = 0 [07:48:32]*** Brake cut motor [07:48:33]Read from MH i2c: 01 [07:48:33]MH_I2C_Read... [07:48:33]*** Stop cut motor [07:48:33]*** Cut end [07:48:33]Read from MH i2c: 01 07 00 [07:48:33]MH_I2C_Read... [07:48:33]Read from MH i2c: 01 07 00 40 17 00 00 00 00 00 FF 0F 6C [07:48:33]process_action close_receipt done [07:48:33]requested_data is exist [07:48:33]produce_requested_data [07:48:33]requested_item fm.sn is exist - process it [07:48:33]wFMCommunicate request_size=4 [07:48:33]MH_SAM_APDU [07:48:33]CAPDU: 80 11 00 00 [07:48:33]Write to MH i2c: E2 08 00 41 17 80 11 00 00 00 00 00 00 D2 [07:48:33]Write i2c OK [07:48:33]MH_I2C_Read... [07:48:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:48:33]Read from MH i2c: E2 [07:48:33]MH_I2C_Read... [07:48:33]Read from MH i2c: E2 17 00 [07:48:33]MH_I2C_Read... [07:48:33]Read from MH i2c: E2 17 00 41 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 29 [07:48:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [07:48:33]wFMCommunicate OK [07:48:33]requested_item fd.num is exist - process it [07:48:33]SAM_PROTO_GetFieldsCounters [07:48:33]wFMCommunicate request_size=4 [07:48:33]MH_SAM_APDU [07:48:33]CAPDU: 80 13 00 00 [07:48:33]Write to MH i2c: E2 08 00 42 17 80 13 00 00 00 00 00 00 D5 [07:48:33]Write i2c OK [07:48:33]MH_I2C_Read... [07:48:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:48:33]Read from MH i2c: E2 [07:48:33]MH_I2C_Read... [07:48:33]Read from MH i2c: E2 62 00 [07:48:33]MH_I2C_Read... [07:48:33]Read from MH i2c: E2 62 00 42 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 CA 0A 01 00 0E 04 04 00 24 02 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 3A [07:48:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 CA 0A 01 00 0E 04 04 00 24 02 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 [07:48:33]wFMCommunicate OK [07:48:33]SAM_PROTO_GetFieldsCounters done [07:48:33]requested_item shift.num is exist - process it [07:48:33]requested_item shift.opened is exist - process it [07:48:33]req_shift_opened [07:48:33]FM_GetShiftState [07:48:33]SAM_PROTO_GetShiftState [07:48:33]wFMCommunicate request_size=4 [07:48:33]MH_SAM_APDU [07:48:33]CAPDU: 80 13 01 00 [07:48:33]Write to MH i2c: E2 08 00 43 17 80 13 01 00 00 00 00 00 D7 [07:48:33]Write i2c OK [07:48:33]MH_I2C_Read... [07:48:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:48:33]Read from MH i2c: E2 [07:48:33]MH_I2C_Read... [07:48:33]Read from MH i2c: E2 0E 00 [07:48:33]MH_I2C_Read... [07:48:33]Read from MH i2c: E2 0E 00 43 17 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 87 [07:48:33]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [07:48:33]wFMCommunicate OK [07:48:33]SAM_PROTO_GetShiftState done [07:48:33]FM_GetShiftState done [07:48:33]req_shift_opened done [07:48:33]requested_item shift.open_date is exist - process it [07:48:33]req_shift_open_date [07:48:33]req_shift_open_date done [07:48:33]produce_requested_data done [07:48:33]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68298,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [07:48:33]process_action_free close_receipt [07:48:33]json_value_free [07:48:33]json_value_free done [07:48:33]process_json_proto returns [07:48:33]Send response to host [07:48:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68298,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [07:48:33]free response buf [07:48:33]execute_script done [07:48:33]execute_script returns [07:48:33]free content buf [07:48:33]Sock 10.Close socket [07:48:33]Sock 10.Thread stoped [07:48:37]OFD Sender: No OFD packet to send [07:48:42]OFD Sender: No OFD packet to send [07:48:47]OFD Sender: No OFD packet to send [07:48:52]OFD Sender: No OFD packet to send [07:48:57]OFD Sender: No OFD packet to send [07:49:02]OFD Sender: No OFD packet to send [07:49:07]OFD Sender: No OFD packet to send [07:49:12]OFD Sender: No OFD packet to send [07:49:17]OFD Sender: No OFD packet to send [07:49:22]OFD Sender: No OFD packet to send [07:49:27]OFD Sender: No OFD packet to send [07:49:32]OFD Sender: No OFD packet to send [07:49:37]OFD Sender: No OFD packet to send [07:49:42]OFD Sender: No OFD packet to send [07:49:47]OFD Sender: No OFD packet to send [07:49:52]OFD Sender: No OFD packet to send [07:49:57]OFD Sender: No OFD packet to send [07:50:02]OFD Sender: No OFD packet to send [07:50:07]OFD Sender: No OFD packet to send [07:50:12]OFD Sender: No OFD packet to send [07:50:17]OFD Sender: No OFD packet to send [07:50:22]OFD Sender: No OFD packet to send [07:50:27]OFD Sender: No OFD packet to send [07:50:32]OFD Sender: No OFD packet to send [07:50:37]OFD Sender: No OFD packet to send [07:50:42]OFD Sender: No OFD packet to send [07:50:47]OFD Sender: No OFD packet to send [07:50:52]OFD Sender: No OFD packet to send [07:50:57]OFD Sender: No OFD packet to send [07:51:02]OFD Sender: No OFD packet to send [07:51:07]OFD Sender: No OFD packet to send [07:51:12]OFD Sender: No OFD packet to send [07:51:17]OFD Sender: No OFD packet to send [07:51:22]OFD Sender: No OFD packet to send [07:51:27]OFD Sender: No OFD packet to send [07:51:32]OFD Sender: No OFD packet to send [07:51:37]OFD Sender: No OFD packet to send [07:51:42]OFD Sender: No OFD packet to send [07:51:47]OFD Sender: No OFD packet to send [07:51:52]OFD Sender: No OFD packet to send [07:51:57]OFD Sender: No OFD packet to send [07:52:02]OFD Sender: No OFD packet to send [07:52:07]OFD Sender: No OFD packet to send [07:52:12]OFD Sender: No OFD packet to send [07:52:17]OFD Sender: No OFD packet to send [07:52:22]OFD Sender: No OFD packet to send [07:52:27]OFD Sender: No OFD packet to send [07:52:32]OFD Sender: No OFD packet to send [07:52:37]OFD Sender: No OFD packet to send [07:52:42]OFD Sender: No OFD packet to send [07:52:47]OFD Sender: No OFD packet to send [07:52:52]OFD Sender: No OFD packet to send [07:52:57]OFD Sender: No OFD packet to send [07:53:02]OFD Sender: No OFD packet to send [07:53:07]OFD Sender: No OFD packet to send [07:53:12]OFD Sender: No OFD packet to send [07:53:17]OFD Sender: No OFD packet to send [07:53:22]OFD Sender: No OFD packet to send [07:53:27]OFD Sender: No OFD packet to send [07:53:32]OFD Sender: No OFD packet to send [07:53:37]OFD Sender: No OFD packet to send [07:53:42]OFD Sender: No OFD packet to send [07:53:47]OFD Sender: No OFD packet to send [07:53:52]OFD Sender: No OFD packet to send [07:53:57]OFD Sender: No OFD packet to send [07:54:02]OFD Sender: No OFD packet to send [07:54:07]OFD Sender: No OFD packet to send [07:54:12]OFD Sender: No OFD packet to send [07:54:17]OFD Sender: No OFD packet to send [07:54:22]OFD Sender: No OFD packet to send [07:54:27]OFD Sender: No OFD packet to send [07:54:32]OFD Sender: No OFD packet to send [07:54:37]OFD Sender: No OFD packet to send [07:54:42]OFD Sender: No OFD packet to send [07:54:47]OFD Sender: No OFD packet to send [07:54:52]OFD Sender: No OFD packet to send [07:54:57]OFD Sender: No OFD packet to send [07:55:02]OFD Sender: No OFD packet to send [07:55:07]OFD Sender: No OFD packet to send [07:55:12]OFD Sender: No OFD packet to send [07:55:17]OFD Sender: No OFD packet to send [07:55:22]OFD Sender: No OFD packet to send [07:55:27]OFD Sender: No OFD packet to send [07:55:32]OFD Sender: No OFD packet to send [07:55:37]OFD Sender: No OFD packet to send [07:55:42]OFD Sender: No OFD packet to send [07:55:47]OFD Sender: No OFD packet to send [07:55:52]OFD Sender: No OFD packet to send [07:55:57]OFD Sender: No OFD packet to send [07:56:02]OFD Sender: No OFD packet to send [07:56:07]OFD Sender: No OFD packet to send [07:56:12]OFD Sender: No OFD packet to send [07:56:17]OFD Sender: No OFD packet to send [07:56:22]OFD Sender: No OFD packet to send [07:56:27]OFD Sender: No OFD packet to send [07:56:32]OFD Sender: No OFD packet to send [07:56:37]OFD Sender: No OFD packet to send [07:56:42]OFD Sender: No OFD packet to send [07:56:47]OFD Sender: No OFD packet to send [07:56:52]OFD Sender: No OFD packet to send [07:56:57]OFD Sender: No OFD packet to send [07:57:02]OFD Sender: No OFD packet to send [07:57:07]OFD Sender: No OFD packet to send [07:57:12]OFD Sender: No OFD packet to send [07:57:17]OFD Sender: No OFD packet to send [07:57:22]OFD Sender: No OFD packet to send [07:57:27]OFD Sender: No OFD packet to send [07:57:32]OFD Sender: No OFD packet to send [07:57:37]OFD Sender: No OFD packet to send [07:57:42]OFD Sender: No OFD packet to send [07:57:47]OFD Sender: No OFD packet to send [07:57:52]OFD Sender: No OFD packet to send [07:57:57]OFD Sender: No OFD packet to send [07:58:02]OFD Sender: No OFD packet to send [07:58:07]OFD Sender: No OFD packet to send [07:58:12]OFD Sender: No OFD packet to send [07:58:17]OFD Sender: No OFD packet to send [07:58:22]OFD Sender: No OFD packet to send [07:58:27]OFD Sender: No OFD packet to send [07:58:32]OFD Sender: No OFD packet to send [07:58:37]OFD Sender: No OFD packet to send [07:58:42]OFD Sender: No OFD packet to send [07:58:47]OFD Sender: No OFD packet to send [07:58:52]OFD Sender: No OFD packet to send [07:58:57]OFD Sender: No OFD packet to send [07:59:02]OFD Sender: No OFD packet to send [07:59:07]OFD Sender: No OFD packet to send [07:59:12]OFD Sender: No OFD packet to send [07:59:17]OFD Sender: No OFD packet to send [07:59:22]OFD Sender: No OFD packet to send [07:59:27]OFD Sender: No OFD packet to send [07:59:32]OFD Sender: No OFD packet to send [07:59:37]OFD Sender: No OFD packet to send [07:59:42]OFD Sender: No OFD packet to send [07:59:47]OFD Sender: No OFD packet to send [07:59:52]OFD Sender: No OFD packet to send [07:59:57]OFD Sender: No OFD packet to send [08:00:02]OFD Sender: No OFD packet to send [08:00:07]OFD Sender: No OFD packet to send [08:00:12]OFD Sender: No OFD packet to send [08:00:17]OFD Sender: No OFD packet to send [08:00:22]OFD Sender: No OFD packet to send [08:00:27]OFD Sender: No OFD packet to send [08:00:32]OFD Sender: No OFD packet to send [08:00:37]OFD Sender: No OFD packet to send [08:00:42]OFD Sender: No OFD packet to send [08:00:47]OFD Sender: No OFD packet to send [08:00:52]OFD Sender: No OFD packet to send [08:00:57]OFD Sender: No OFD packet to send [08:01:02]OFD Sender: No OFD packet to send [08:01:07]OFD Sender: No OFD packet to send [08:01:12]OFD Sender: No OFD packet to send [08:01:17]OFD Sender: No OFD packet to send [08:01:22]OFD Sender: No OFD packet to send [08:01:27]OFD Sender: No OFD packet to send [08:01:32]OFD Sender: No OFD packet to send [08:01:37]OFD Sender: No OFD packet to send [08:01:42]accept exits with 7 [08:01:42]New connection [08:01:42]New thread 3067354468 created [08:01:42]Thread 3067497828 joined [08:01:42]Waiting for new connection... [08:01:42] Sock 7.Parse request [08:01:42]Sock 7.Check first char [08:01:42]Sock 7.First char is OK [08:01:42]request: POST /json_proto HTTP/1.0 [08:01:42]Method: POST [08:01:42]URL: /json_proto [08:01:42]Method is POST - this is cgi request [08:01:42]url: /json_proto [08:01:42]query_string will be loaded in cgi processing [08:01:42]execute_cgi json_proto POST (null) [08:01:42]execute_cgi path=json_proto method=POST [08:01:42]POST find Content-Length [08:01:42]Host: 172.17.42.3:8080 [08:01:42]Content-Length: 678 [08:01:42]Content-Type: application/json [08:01:42] [08:01:42]POST finish read [08:01:42]Found Content-Length = 678 [08:01:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46319", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 39.370, "sum" : 2999.99, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 2999.00, "payments": [ { "type": 0, "sum" : 2999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:01:42]execute_script... [08:01: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)46319", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 39.370, "sum" : 2999.99, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 2999.00, "payments": [ { "type": 0, "sum" : 2999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:01:42]POST & json_proto [08:01:42]process_json_proto [08:01:42]json parsed OK: [08:01:42]protocol is kg_v1.0 [08:01:42]action value=close_receipt [08:01:42]process_action close_receipt [08:01:42]cmd_close_receipt [08:01:42]MH_GetDate [08:01:42]Write to MH i2c: F0 00 00 44 17 4A [08:01:42]Write i2c OK [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: F0 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: F0 09 00 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: F0 09 00 44 17 00 6A 96 20 67 0E CB 1F 67 39 [08:01:42]GetLastDocTimeStamp 1730188112 [08:01:42]current date 1730188906 [08:01:42]FM_GetShiftState [08:01:42]SAM_PROTO_GetShiftState [08:01:42]wFMCommunicate request_size=4 [08:01:42]MH_SAM_APDU [08:01:42]CAPDU: 80 13 01 00 [08:01:42]Write to MH i2c: E2 08 00 45 17 80 13 01 00 00 00 00 00 D9 [08:01:42]Write i2c OK [08:01:42]MH_I2C_Read... [08:01:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:42]Read from MH i2c: E2 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 0E 00 [08:01:42]MH_I2C_Read... [08:01:42]Read from MH i2c: E2 0E 00 45 17 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 89 [08:01:42]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [08:01:42]wFMCommunicate OK [08:01:42]SAM_PROTO_GetShiftState done [08:01:42]FM_GetShiftState done [08:01:42]opened in 1730160885 [08:01:42]opened+sec_in_day 1730247285 [08:01:42]quantity*price = 299999 [08:01:42]sum+1 = 300000 [08:01:42]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.99 ИТОГО: 2999.00 Внесено: 3000.00 СДАЧА: 1.00 НСП 1% : 26.55 НДС 12% : 318.58 Наличными: 2999.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 22 29.10.2024 08:01 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68299 ФПД: 29662503619478 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T080146&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68299&fm=29662503619478&tin=02508201610067®Number=0000000000091759&sum=299900 [08:01:43]StoreToDocumentArchive [08:01:43]shift 548 fd 68299 [08:01:43]save to /storage/0548/doc_00068299 [08:01:43]save last doc name /storage/0548/doc_00068299 to /storage/kkm_last_doc_name [08:01:43]save OK [08:01:43]Clear old archive folders... [08:01:43]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:01:43]tlvbuf is 005F6100 [08:01:43]SAM_PROTO_ClearQueue [08:01:43]wFMCommunicate request_size=4 [08:01:43]MH_SAM_APDU [08:01:43]CAPDU: 80 09 00 00 [08:01:43]Write to MH i2c: E2 08 00 52 17 80 09 00 00 00 00 00 00 DB [08:01:43]Write i2c OK [08:01:43]MH_I2C_Read... [08:01:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:01:43]Read from MH i2c: E2 [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: E2 03 00 [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: E2 03 00 52 17 00 90 00 DD [08:01:43]RAPDU: 90 00 [08:01:43]wFMCommunicate OK [08:01:43]SAM_PROTO_ClearQueue done [08:01:43]KKMCreateOFDPacket [08:01:43]OFDProtocolAddRootSTLVToBuf [08:01:43]FM_MakeSignedData [08:01:43]FM_MakeSignedData [08:01:43]SAM_PROTO_SignData [08:01:43]wFMCommunicate request_size=4 [08:01:43]MH_SAM_APDU [08:01:43]CAPDU: 80 0D 01 02 [08:01:43]Write to MH i2c: E2 08 00 53 17 80 0D 01 02 00 00 00 00 E3 [08:01:43]Write i2c OK [08:01:43]MH_I2C_Read... [08:01:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:01:43]Read from MH i2c: E2 [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: E2 03 00 [08:01:43]MH_I2C_Read... [08:01:43]Read from MH i2c: E2 03 00 53 17 00 90 00 DE [08:01:43]RAPDU: 90 00 [08:01:43]wFMCommunicate OK [08:01:43]wFMCommunicate request_size=255 [08:01:43]MH_SAM_APDU [08:01:43]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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 6A 96 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CB 0A 01 00 35 04 06 00 1A FA 56 FD [08:01:43]Write to MH i2c: E2 02 01 54 17 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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 6A 96 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CB 0A 01 00 35 04 06 00 1A FA 56 FD 00 00 81 [08:01:44]Write i2c OK [08:01:44]MH_I2C_Read... [08:01:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:44]Read from MH i2c: E2 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: E2 03 00 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: E2 03 00 54 17 00 90 00 DF [08:01:44]RAPDU: 90 00 [08:01:44]wFMCommunicate OK [08:01:44]wFMCommunicate request_size=7 [08:01:44]MH_SAM_APDU [08:01:44]CAPDU: 80 0D 02 02 02 CB 96 [08:01:44]Write to MH i2c: E2 0A 00 55 17 80 0D 02 02 02 00 CB 96 00 00 4B [08:01:44]Write i2c OK [08:01:44]MH_I2C_Read... [08:01:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:01:44]Read from MH i2c: E2 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: E2 03 00 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: E2 03 00 55 17 00 90 00 E0 [08:01:44]RAPDU: 90 00 [08:01:44]wFMCommunicate OK [08:01:44]wFMCommunicate request_size=4 [08:01:44]MH_SAM_APDU [08:01:44]CAPDU: 80 0D 03 02 [08:01:44]Write to MH i2c: E2 08 00 56 17 80 0D 03 02 00 00 00 00 E8 [08:01:44]Write i2c OK [08:01:44]MH_I2C_Read... [08:01:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:01:44]Read from MH i2c: E2 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: E2 0B 00 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: E2 0B 00 56 17 00 6F 6E 76 9D 02 69 50 E4 90 00 78 [08:01:44]RAPDU: 6F 6E 76 9D 02 69 50 E4 90 00 [08:01:44]wFMCommunicate OK [08:01:44]SAM_PROTO_SignData done [08:01:44]FM_MakeSignedData done [08:01:44]CreateOFDProtocolMessage [08:01:44]wFMCommunicate request_size=4 [08:01:44]MH_SAM_APDU [08:01:44]CAPDU: 80 11 00 00 [08:01:44]Write to MH i2c: E2 08 00 57 17 80 11 00 00 00 00 00 00 E8 [08:01:44]Write i2c OK [08:01:44]MH_I2C_Read... [08:01:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:44]Read from MH i2c: E2 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: E2 17 00 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: E2 17 00 57 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 3F [08:01:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [08:01:44]wFMCommunicate OK [08:01:44]CreateOFDProtocolMessage done [08:01:44]OFDSenderStorePacket 68299 [08:01:44]StoreOFDPacket docnum=68299 [08:01:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 8D 43 04 01 91 20 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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 6A 96 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CB 0A 01 00 35 04 06 00 1A FA 56 FD CB 96 6F 6E 76 9D 02 69 50 E4 [08:01:44]CheckFolder [08:01:44]dirname=/storage/ofd_packets [08:01:44]CheckFolder done [08:01:44]ProducePacketName [08:01:44]name=ofd_packets/00068299 [08:01:44]NVStorageSaveData ofd_packets/00068299 [08:01:44]File name is /storage/ofd_packets/00068299 [08:01:44]Write 298 bytes [08:01:44]NVStorageSaveData done [08:01:44]OFDSenderStorePacket done [08:01:44]KKMCreateOFDPacket done [08:01:44]NVStorageSaveData kkm_last_timestamp [08:01:44]File name is /storage/kkm_last_timestamp [08:01:44]Write 4 bytes [08:01:44]NVStorageSaveData done [08:01:44]ExternCall_PrintAddStr [08:01:44]wPrintStart [08:01:44]Write to MH i2c: 01 00 00 58 17 6F [08:01:44]Write i2c OK [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: 01 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: 01 07 00 [08:01:44]MH_I2C_Read... [08:01:44]Read from MH i2c: 01 07 00 58 17 00 00 00 00 00 FF 0F 84 [08:01:44]RasterBufferAndPrint [08:01:44]line Счет N : (1)46319 [08:01:44]line ИНН: 02508201610067 [08:01:44]line Контрольно-Кассовый Чек [08:01:44]line ПРОДАЖА [08:01:44]line ТРК (МРК, ГНК) : 11 [08:01:44]line Товар: 2710194210 [08:01:44]line ДТ-К-5 [08:01:44]line 39.370 * 76.20 [08:01:44]line = 2999.99 [08:01:44]line НДС 12% НСП 1% [08:01:44]line > о реализуемом товаре [08:01:44]line ОКРУГЛЕНИЕ: -0.99 [08:01:44]line ИТОГО: 2999.00 [08:01:44]line Внесено: 3000.00 [08:01:44]line СДАЧА: 1.00 [08:01:44]line НСП 1% : 26.55 [08:01:44]line НДС 12% : 318.58 [08:01:44]line Наличными: 2999.00 [08:01:44]line Безнал.: 0.00 [08:01:44]line Место: АЗС № 160 "Партнер Нефть" [08:01:44]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [08:01:44]line СНО: Общий режим [08:01:44]line Чек 22 29.10.2024 08:01 [08:01:44]line Смена: 548 ФФД: 1.0 [08:01:44]line ЗНМ: 0300000093 [08:01:44]line РНМ: 0000000000091759 [08:01:44]line Версия ККМ: 001 [08:01:44]line ФМ: 0000000000871758 [08:01:44]line ФД: 68299 [08:01:44]line ФПД: 29662503619478 [08:01:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T080146&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68299&fm=29662503619478&tin=02508201610067®Number=0000000000091759&sum=299900 [08:01:44]OFD Sender: Processing packet 68299 [packets to send 27, broken 26] [08:01:44]ProducePacketName [08:01:44]name=ofd_packets/00068299 [08:01:44]OFD Sender: To server: pG, [08:01:44]CommunicateWithHost lk.salyk.kg:30040 [08:01:44]ConnectInit lk.salyk.kg [08:01:44]written 0, free lines is 4095 [08:01:44]Connected sock=10 [08:01:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 8D 43 04 01 91 20 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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 6A 96 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CB 0A 01 00 35 04 06 00 1A FA 56 FD CB 96 6F 6E 76 9D 02 69 50 E4 [08:01:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 92 8D 47 00 19 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CB 0A 01 00 F4 03 04 00 48 42 20 67 B6 04 01 00 00 63 3D 29 98 40 CC 94 87 [08:01:45]CommunicateWithHost err = 0 [08:01:45]CheckOFDResponse [08:01:45]1017 (14) - 77093643461234 [08:01:45]1041 (16) - 0000000000871758 [08:01:45]1040 (4) - 68299 [08:01:45]1012 (4) - 29.10.2024 02:02 [08:01:45]1206 (1) - 0 [08:01:45]OFD Sender: Remove packet 68299 [08:01:45]ProducePacketName [08:01:45]name=ofd_packets/00068299 [08:01:45]NVStorageDeleteData [08:01:45]Write to MH i2c: 01 00 00 82 17 99 [08:01:45]Write i2c OK [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: 01 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: 01 07 00 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: 01 07 00 82 17 00 00 00 00 00 C0 0C 6C [08:01:45]RasterBufferAndPrint [08:01:45]line [08:01:45]line [08:01:45]line [08:01:45]line [08:01:45]line [08:01:45]written 0, free lines is 3270 [08:01:45]MH_Cut [08:01:45]Write to MH i2c: D1 01 00 89 17 01 72 [08:01:45]Write i2c OK [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: D1 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: D1 01 00 [08:01:45]MH_I2C_Read... [08:01:45]Read from MH i2c: D1 01 00 89 17 00 71 [08:01:45]Write to MH i2c: 01 00 00 8A 17 A1 [08:01:45]Write i2c OK [08:01:45]MH_I2C_Read... [08:01:45]OFD Sender: No OFD packet to send [08:01:46]*** Cut start [08:01:46]*** Partial cut [08:01:46]*** CUTSNS_PIN = 1 [08:01:46]*** CUTSNS_PIN = 0 [08:01:46]*** Brake cut motor [08:01:46]Read from MH i2c: 01 [08:01:46]MH_I2C_Read... [08:01:46]*** Stop cut motor [08:01:46]*** Cut end [08:01:46]Read from MH i2c: 01 07 00 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: 01 07 00 8A 17 00 00 00 00 00 FF 0F B6 [08:01:46]process_action close_receipt done [08:01:46]requested_data is exist [08:01:46]produce_requested_data [08:01:46]requested_item fm.sn is exist - process it [08:01:46]wFMCommunicate request_size=4 [08:01:46]MH_SAM_APDU [08:01:46]CAPDU: 80 11 00 00 [08:01:46]Write to MH i2c: E2 08 00 8B 17 80 11 00 00 00 00 00 00 1C [08:01:46]Write i2c OK [08:01:46]MH_I2C_Read... [08:01:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:01:46]Read from MH i2c: E2 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 17 00 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 17 00 8B 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 73 [08:01:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [08:01:46]wFMCommunicate OK [08:01:46]requested_item fd.num is exist - process it [08:01:46]SAM_PROTO_GetFieldsCounters [08:01:46]wFMCommunicate request_size=4 [08:01:46]MH_SAM_APDU [08:01:46]CAPDU: 80 13 00 00 [08:01:46]Write to MH i2c: E2 08 00 8C 17 80 13 00 00 00 00 00 00 1F [08:01:46]Write i2c OK [08:01:46]MH_I2C_Read... [08:01:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:01:46]Read from MH i2c: E2 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 62 00 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 62 00 8C 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 CB 0A 01 00 0E 04 04 00 24 02 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 88 [08:01:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 CB 0A 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:01:46]wFMCommunicate OK [08:01:46]SAM_PROTO_GetFieldsCounters done [08:01:46]requested_item shift.num is exist - process it [08:01:46]requested_item shift.opened is exist - process it [08:01:46]req_shift_opened [08:01:46]FM_GetShiftState [08:01:46]SAM_PROTO_GetShiftState [08:01:46]wFMCommunicate request_size=4 [08:01:46]MH_SAM_APDU [08:01:46]CAPDU: 80 13 01 00 [08:01:46]Write to MH i2c: E2 08 00 8D 17 80 13 01 00 00 00 00 00 21 [08:01:46]Write i2c OK [08:01:46]MH_I2C_Read... [08:01:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:01:46]Read from MH i2c: E2 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 0E 00 [08:01:46]MH_I2C_Read... [08:01:46]Read from MH i2c: E2 0E 00 8D 17 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D1 [08:01:46]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [08:01:46]wFMCommunicate OK [08:01:46]SAM_PROTO_GetShiftState done [08:01:46]FM_GetShiftState done [08:01:46]req_shift_opened done [08:01:46]requested_item shift.open_date is exist - process it [08:01:46]req_shift_open_date [08:01:46]req_shift_open_date done [08:01:46]produce_requested_data done [08:01:46]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68299,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [08:01:46]process_action_free close_receipt [08:01:46]json_value_free [08:01:46]json_value_free done [08:01:46]process_json_proto returns [08:01:46]Send response to host [08:01:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68299,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [08:01:46]free response buf [08:01:46]execute_script done [08:01:46]execute_script returns [08:01:46]free content buf [08:01:46]Sock 7.Close socket [08:01:46]Sock 7.Thread stoped [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:40]OFD Sender: No OFD packet to send [08:03:45]OFD Sender: No OFD packet to send [08:03:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:41]OFD Sender: No OFD packet to send [08:10:46]OFD Sender: No OFD packet to send [08:10:51]OFD Sender: No OFD packet to send [08:10:56]OFD Sender: No OFD packet to send [08:11:01]OFD Sender: No OFD packet to send [08:11:06]OFD Sender: No OFD packet to send [16:53:33]ConnectInit Can't connect to host [16:53:33]ConnectInit Can't take IP for lk.salyk.kg [16:53:33]CommunicateWithHost connect error [16:53:33]CommunicateWithHost err = -1 [16:53:33]OFD Sender: Server communicate error [16:53:38]OFD Sender: Processing packet 68300 [packets to send 114, broken 27] [16:53:38]ProducePacketName [16:53:38]name=ofd_packets/00068300 [16:53:38]OFD Sender: To server: pG, [16:53:38]CommunicateWithHost lk.salyk.kg:30040 [16:53:38]ConnectInit lk.salyk.kg [16:53:38]Connected sock=7 [16:53:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 2B CD 04 01 DD 2D 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 17 00 00 00 F4 03 04 00 49 A1 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CC 0A 01 00 35 04 06 00 06 5C AE E9 75 5C 37 5B F2 C1 4B 1D 8A 74 [16:53:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 7C 53 47 00 D0 80 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CC 0A 01 00 F4 03 04 00 B9 BE 20 67 B6 04 01 00 00 51 D7 62 41 CE E2 F3 36 [16:53:38]CommunicateWithHost err = 0 [16:53:38]CheckOFDResponse [16:53:38]1017 (14) - 77093643461234 [16:53:38]1041 (16) - 0000000000871758 [16:53:38]1040 (4) - 68300 [16:53:38]1012 (4) - 29.10.2024 10:53 [16:53:38]1206 (1) - 0 [16:53:38]OFD Sender: Remove packet 68300 [16:53:38]ProducePacketName [16:53:38]name=ofd_packets/00068300 [16:53:38]NVStorageDeleteData [16:53:39]OFD Sender: Processing packet 68301 [packets to send 113, broken 27] [16:53:39]ProducePacketName [16:53:39]name=ofd_packets/00068301 [16:53:39]OFD Sender: To server: pG, [16:53:39]CommunicateWithHost lk.salyk.kg:30040 [16:53:39]ConnectInit lk.salyk.kg [16:53:39]Connected sock=6 [16:53:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 A1 99 04 01 ED A2 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 16 4A 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 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 BC A1 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CD 0A 01 00 35 04 06 00 70 E6 86 5E FE D7 63 47 79 BC B6 DD DB A4 [16:53:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EE 2A 47 00 11 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CD 0A 01 00 F4 03 04 00 BA BE 20 67 B6 04 01 00 00 F6 CE D0 A3 2C 0A 45 1B [16:53:39]CommunicateWithHost err = 0 [16:53:39]CheckOFDResponse [16:53:39]1017 (14) - 77093643461234 [16:53:39]1041 (16) - 0000000000871758 [16:53:39]1040 (4) - 68301 [16:53:39]1012 (4) - 29.10.2024 10:53 [16:53:39]1206 (1) - 0 [16:53:39]OFD Sender: Remove packet 68301 [16:53:39]ProducePacketName [16:53:39]name=ofd_packets/00068301 [16:53:39]NVStorageDeleteData [16:53:39]OFD Sender: Processing packet 68302 [packets to send 112, broken 27] [16:53:39]ProducePacketName [16:53:39]name=ofd_packets/00068302 [16:53:39]OFD Sender: To server: pG, [16:53:39]CommunicateWithHost lk.salyk.kg:30040 [16:53:39]ConnectInit lk.salyk.kg [16:53:40]Connected sock=6 [16:53:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 8D 01 00 00 48 80 85 01 FE B8 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 0B 00 00 00 00 07 04 06 00 8C 6E 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 A5 A2 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CE 0A 01 00 35 04 06 00 66 9C AE 02 DA 62 CB 11 7D 58 17 80 1E 5C [16:53:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 92 C9 47 00 80 A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CE 0A 01 00 F4 03 04 00 BA BE 20 67 B6 04 01 00 00 BF B4 48 0E F1 11 CD D2 [16:53:40]CommunicateWithHost err = 0 [16:53:40]CheckOFDResponse [16:53:40]1017 (14) - 77093643461234 [16:53:40]1041 (16) - 0000000000871758 [16:53:40]1040 (4) - 68302 [16:53:40]1012 (4) - 29.10.2024 10:53 [16:53:40]1206 (1) - 0 [16:53:40]OFD Sender: Remove packet 68302 [16:53:40]ProducePacketName [16:53:40]name=ofd_packets/00068302 [16:53:40]NVStorageDeleteData [16:53:40]OFD Sender: Processing packet 68303 [packets to send 111, broken 27] [16:53:40]ProducePacketName [16:53:40]name=ofd_packets/00068303 [16:53:40]OFD Sender: To server: pG, [16:53:40]CommunicateWithHost lk.salyk.kg:30040 [16:53:40]ConnectInit lk.salyk.kg [16:53:40]Connected sock=6 [16:53:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 2B DC 07 01 96 51 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 8E 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 47 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 58 A4 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CF 0A 01 00 35 04 06 00 51 9A 58 2D 3F 25 C7 4E 66 6C A5 41 04 95 [16:53:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F6 8F 47 00 AF EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 CF 0A 01 00 F4 03 04 00 BB BE 20 67 B6 04 01 00 00 C1 0F C1 16 5B 29 E0 17 [16:53:41]CommunicateWithHost err = 0 [16:53:41]CheckOFDResponse [16:53:41]1017 (14) - 77093643461234 [16:53:41]1041 (16) - 0000000000871758 [16:53:41]1040 (4) - 68303 [16:53:41]1012 (4) - 29.10.2024 10:53 [16:53:41]1206 (1) - 0 [16:53:41]OFD Sender: Remove packet 68303 [16:53:41]ProducePacketName [16:53:41]name=ofd_packets/00068303 [16:53:41]NVStorageDeleteData [16:53:41]OFD Sender: Processing packet 68304 [packets to send 110, broken 27] [16:53:41]ProducePacketName [16:53:41]name=ofd_packets/00068304 [16:53:41]OFD Sender: To server: pG, [16:53:41]CommunicateWithHost lk.salyk.kg:30040 [16:53:41]ConnectInit lk.salyk.kg [16:53:41]Connected sock=6 [16:53:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 02 00 00 44 83 20 02 47 97 5A 03 01 00 03 00 14 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 44 0E 00 00 00 00 07 04 06 00 60 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 D6 A4 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D0 0A 01 00 35 04 06 00 6D 50 08 92 39 14 8D AE 78 1A E5 51 C5 83 [16:53:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 5B E2 47 00 0B 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D0 0A 01 00 F4 03 04 00 BC BE 20 67 B6 04 01 00 00 21 1A 0D 07 BB 39 0D 2F [16:53:41]CommunicateWithHost err = 0 [16:53:41]CheckOFDResponse [16:53:41]1017 (14) - 77093643461234 [16:53:41]1041 (16) - 0000000000871758 [16:53:41]1040 (4) - 68304 [16:53:41]1012 (4) - 29.10.2024 10:53 [16:53:41]1206 (1) - 0 [16:53:41]OFD Sender: Remove packet 68304 [16:53:41]ProducePacketName [16:53:41]name=ofd_packets/00068304 [16:53:41]NVStorageDeleteData [16:53:42]OFD Sender: Processing packet 68305 [packets to send 109, broken 27] [16:53:42]ProducePacketName [16:53:42]name=ofd_packets/00068305 [16:53:42]OFD Sender: To server: pG, [16:53:42]CommunicateWithHost lk.salyk.kg:30040 [16:53:42]ConnectInit lk.salyk.kg [16:53:42]Connected sock=6 [16:53:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 DE F4 04 01 D2 2F 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 80 1A 06 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 1C 00 00 00 F4 03 04 00 43 A5 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D1 0A 01 00 35 04 06 00 21 CD 86 0B 41 27 A0 A7 39 69 2D B0 22 D6 [16:53:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F4 03 47 00 53 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D1 0A 01 00 F4 03 04 00 BD BE 20 67 B6 04 01 00 00 A1 0C 0C F0 9A BE CE 6F [16:53:42]CommunicateWithHost err = 0 [16:53:42]CheckOFDResponse [16:53:42]1017 (14) - 77093643461234 [16:53:42]1041 (16) - 0000000000871758 [16:53:42]1040 (4) - 68305 [16:53:42]1012 (4) - 29.10.2024 10:53 [16:53:42]1206 (1) - 0 [16:53:42]OFD Sender: Remove packet 68305 [16:53:42]ProducePacketName [16:53:42]name=ofd_packets/00068305 [16:53:42]NVStorageDeleteData [16:53:43]OFD Sender: Processing packet 68306 [packets to send 108, broken 27] [16:53:43]ProducePacketName [16:53:43]name=ofd_packets/00068306 [16:53:43]OFD Sender: To server: pG, [16:53:43]CommunicateWithHost lk.salyk.kg:30040 [16:53:43]ConnectInit lk.salyk.kg [16:53:43]Connected sock=6 [16:53:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E2 80 04 01 5F 95 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 1D 00 00 00 F4 03 04 00 64 A9 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D2 0A 01 00 35 04 06 00 EE D8 8B 08 D3 C7 DB 3E 21 8A DA DB 30 C6 [16:53:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EE 46 47 00 94 ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D2 0A 01 00 F4 03 04 00 BE BE 20 67 B6 04 01 00 00 5C 97 F2 33 9E 6D 30 79 [16:53:43]CommunicateWithHost err = 0 [16:53:43]CheckOFDResponse [16:53:43]1017 (14) - 77093643461234 [16:53:43]1041 (16) - 0000000000871758 [16:53:43]1040 (4) - 68306 [16:53:43]1012 (4) - 29.10.2024 10:53 [16:53:43]1206 (1) - 0 [16:53:43]OFD Sender: Remove packet 68306 [16:53:43]ProducePacketName [16:53:43]name=ofd_packets/00068306 [16:53:43]NVStorageDeleteData [16:53:43]OFD Sender: Processing packet 68307 [packets to send 107, broken 27] [16:53:43]ProducePacketName [16:53:43]name=ofd_packets/00068307 [16:53:43]OFD Sender: To server: pG, [16:53:43]CommunicateWithHost lk.salyk.kg:30040 [16:53:43]ConnectInit lk.salyk.kg [16:53:43]Connected sock=6 [16:53:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 15 ED 07 01 1D BA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 1E 00 00 00 F4 03 04 00 AF B0 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D3 0A 01 00 35 04 06 00 41 E9 18 19 30 12 97 04 A5 A2 01 74 97 27 [16:53:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 97 0A 47 00 6E 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D3 0A 01 00 F4 03 04 00 BE BE 20 67 B6 04 01 00 00 17 23 64 5E 53 51 16 7F [16:53:44]CommunicateWithHost err = 0 [16:53:44]CheckOFDResponse [16:53:44]1017 (14) - 77093643461234 [16:53:44]1041 (16) - 0000000000871758 [16:53:44]1040 (4) - 68307 [16:53:44]1012 (4) - 29.10.2024 10:53 [16:53:44]1206 (1) - 0 [16:53:44]OFD Sender: Remove packet 68307 [16:53:44]ProducePacketName [16:53:44]name=ofd_packets/00068307 [16:53:44]NVStorageDeleteData [16:53:44]OFD Sender: Processing packet 68308 [packets to send 106, broken 27] [16:53:44]ProducePacketName [16:53:44]name=ofd_packets/00068308 [16:53:44]OFD Sender: To server: pG, [16:53:44]CommunicateWithHost lk.salyk.kg:30040 [16:53:44]ConnectInit lk.salyk.kg [16:53:44]Connected sock=6 [16:53:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 27 02 00 00 02 AA 1F 02 F8 A5 5A 03 01 00 03 00 13 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 0E 00 00 00 00 07 04 06 00 D0 84 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 F9 B5 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D4 0A 01 00 35 04 06 00 33 7C 70 D0 F3 91 E6 54 CD 3B DF 88 B4 97 [16:53:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 5A 31 47 00 2B 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D4 0A 01 00 F4 03 04 00 BF BE 20 67 B6 04 01 00 00 AE F5 01 C1 F2 06 3F C9 [16:53:44]CommunicateWithHost err = 0 [16:53:44]CheckOFDResponse [16:53:44]1017 (14) - 77093643461234 [16:53:44]1041 (16) - 0000000000871758 [16:53:44]1040 (4) - 68308 [16:53:44]1012 (4) - 29.10.2024 10:53 [16:53:44]1206 (1) - 0 [16:53:44]OFD Sender: Remove packet 68308 [16:53:44]ProducePacketName [16:53:44]name=ofd_packets/00068308 [16:53:44]NVStorageDeleteData [16:53:45]OFD Sender: Processing packet 68309 [packets to send 105, broken 27] [16:53:45]ProducePacketName [16:53:45]name=ofd_packets/00068309 [16:53:45]OFD Sender: To server: pG, [16:53:45]CommunicateWithHost lk.salyk.kg:30040 [16:53:45]ConnectInit lk.salyk.kg [16:53:45]Connected sock=6 [16:53:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 BB 01 00 00 47 68 B3 01 5C 37 5A 03 01 00 03 00 A7 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 37 BD 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D5 0A 01 00 35 04 06 00 30 77 31 4E 39 1F F9 22 68 43 1A C1 26 C1 [16:53:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 57 59 47 00 55 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D5 0A 01 00 F4 03 04 00 C0 BE 20 67 B6 04 01 00 00 DB 8E 79 3E B1 45 58 F4 [16:53:45]CommunicateWithHost err = 0 [16:53:45]CheckOFDResponse [16:53:45]1017 (14) - 77093643461234 [16:53:45]1041 (16) - 0000000000871758 [16:53:45]1040 (4) - 68309 [16:53:45]1012 (4) - 29.10.2024 10:53 [16:53:45]1206 (1) - 0 [16:53:45]OFD Sender: Remove packet 68309 [16:53:45]ProducePacketName [16:53:45]name=ofd_packets/00068309 [16:53:45]NVStorageDeleteData [16:53:46]OFD Sender: Processing packet 68310 [packets to send 104, broken 27] [16:53:46]ProducePacketName [16:53:46]name=ofd_packets/00068310 [16:53:46]OFD Sender: To server: pG, [16:53:46]CommunicateWithHost lk.salyk.kg:30040 [16:53:46]ConnectInit lk.salyk.kg [16:53:46]Connected sock=6 [16:53:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 89 01 00 00 D7 E1 81 01 31 50 5A 03 01 00 03 00 75 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 54 BD 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D6 0A 01 00 35 04 06 00 ED 37 8D 20 F1 2F FE 51 B1 47 6E 2B F9 83 [16:53:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3E 95 47 00 1D F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D6 0A 01 00 F4 03 04 00 C1 BE 20 67 B6 04 01 00 00 DA 7F 30 D7 85 85 62 73 [16:53:46]CommunicateWithHost err = 0 [16:53:46]CheckOFDResponse [16:53:46]1017 (14) - 77093643461234 [16:53:46]1041 (16) - 0000000000871758 [16:53:46]1040 (4) - 68310 [16:53:46]1012 (4) - 29.10.2024 10:53 [16:53:46]1206 (1) - 0 [16:53:46]OFD Sender: Remove packet 68310 [16:53:46]ProducePacketName [16:53:46]name=ofd_packets/00068310 [16:53:46]NVStorageDeleteData [16:53:47]OFD Sender: Processing packet 68311 [packets to send 103, broken 27] [16:53:47]ProducePacketName [16:53:47]name=ofd_packets/00068311 [16:53:47]OFD Sender: To server: pG, [16:53:47]CommunicateWithHost lk.salyk.kg:30040 [16:53:47]ConnectInit lk.salyk.kg [16:53:47]Connected sock=6 [16:53:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 09 8A 04 01 FF 6E 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 82 F9 01 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 F8 0B 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 0B 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0F 99 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 0B 0F 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 A9 BD 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D7 0A 01 00 35 04 06 00 A8 63 E9 01 0F 1C 8D 26 78 DB C0 55 D3 FD [16:53:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B9 21 47 00 3F E8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D7 0A 01 00 F4 03 04 00 C2 BE 20 67 B6 04 01 00 00 FC 89 36 51 B5 8E 0B C8 [16:53:47]CommunicateWithHost err = 0 [16:53:47]CheckOFDResponse [16:53:47]1017 (14) - 77093643461234 [16:53:47]1041 (16) - 0000000000871758 [16:53:47]1040 (4) - 68311 [16:53:47]1012 (4) - 29.10.2024 10:53 [16:53:47]1206 (1) - 0 [16:53:47]OFD Sender: Remove packet 68311 [16:53:47]ProducePacketName [16:53:47]name=ofd_packets/00068311 [16:53:47]NVStorageDeleteData [16:53:47]OFD Sender: Processing packet 68312 [packets to send 102, broken 27] [16:53:47]ProducePacketName [16:53:47]name=ofd_packets/00068312 [16:53:47]OFD Sender: To server: pG, [16:53:47]CommunicateWithHost lk.salyk.kg:30040 [16:53:47]ConnectInit lk.salyk.kg [16:53:47]Connected sock=6 [16:53:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 46 05 04 01 8D B8 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 E8 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 C4 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 0F BF 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D8 0A 01 00 35 04 06 00 1E 28 6E DB 5D 3B 11 F4 7B 9C DC BD 90 4B [16:53:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 80 5C 47 00 CD 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D8 0A 01 00 F4 03 04 00 C2 BE 20 67 B6 04 01 00 00 28 F3 C5 66 A0 44 A3 D6 [16:53:48]CommunicateWithHost err = 0 [16:53:48]CheckOFDResponse [16:53:48]1017 (14) - 77093643461234 [16:53:48]1041 (16) - 0000000000871758 [16:53:48]1040 (4) - 68312 [16:53:48]1012 (4) - 29.10.2024 10:53 [16:53:48]1206 (1) - 0 [16:53:48]OFD Sender: Remove packet 68312 [16:53:48]ProducePacketName [16:53:48]name=ofd_packets/00068312 [16:53:48]NVStorageDeleteData [16:53:48]OFD Sender: Processing packet 68313 [packets to send 101, broken 27] [16:53:48]ProducePacketName [16:53:48]name=ofd_packets/00068313 [16:53:48]OFD Sender: To server: pG, [16:53:48]CommunicateWithHost lk.salyk.kg:30040 [16:53:48]ConnectInit lk.salyk.kg [16:53:48]Connected sock=6 [16:53:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 BB 01 00 00 B5 88 B3 01 9E D8 5A 03 01 00 03 00 A7 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 8C BF 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D9 0A 01 00 35 04 06 00 4F 42 FC A7 DC A3 CC 02 42 38 12 93 C6 27 [16:53:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 09 8F 47 00 BF E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 D9 0A 01 00 F4 03 04 00 C3 BE 20 67 B6 04 01 00 00 BE D3 E5 6B C4 E2 D4 BF [16:53:48]CommunicateWithHost err = 0 [16:53:48]CheckOFDResponse [16:53:48]1017 (14) - 77093643461234 [16:53:48]1041 (16) - 0000000000871758 [16:53:48]1040 (4) - 68313 [16:53:48]1012 (4) - 29.10.2024 10:53 [16:53:48]1206 (1) - 0 [16:53:48]OFD Sender: Remove packet 68313 [16:53:48]ProducePacketName [16:53:48]name=ofd_packets/00068313 [16:53:48]NVStorageDeleteData [16:53:49]OFD Sender: Processing packet 68314 [packets to send 100, broken 27] [16:53:49]ProducePacketName [16:53:49]name=ofd_packets/00068314 [16:53:49]OFD Sender: To server: pG, [16:53:49]CommunicateWithHost lk.salyk.kg:30040 [16:53:49]ConnectInit lk.salyk.kg [16:53:49]Connected sock=6 [16:53:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 87 4A 07 01 27 A1 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 8E 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 47 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 C8 C0 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DA 0A 01 00 35 04 06 00 C5 12 BA 33 6A A1 FD 8A 79 1D 13 8F F1 16 [16:53:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 12 83 47 00 8C B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DA 0A 01 00 F4 03 04 00 C4 BE 20 67 B6 04 01 00 00 08 4B EF 6A 22 5F E2 54 [16:53:49]CommunicateWithHost err = 0 [16:53:49]CheckOFDResponse [16:53:49]1017 (14) - 77093643461234 [16:53:49]1041 (16) - 0000000000871758 [16:53:49]1040 (4) - 68314 [16:53:49]1012 (4) - 29.10.2024 10:53 [16:53:49]1206 (1) - 0 [16:53:49]OFD Sender: Remove packet 68314 [16:53:49]ProducePacketName [16:53:49]name=ofd_packets/00068314 [16:53:49]NVStorageDeleteData [16:53:50]OFD Sender: Processing packet 68315 [packets to send 99, broken 27] [16:53:50]ProducePacketName [16:53:50]name=ofd_packets/00068315 [16:53:50]OFD Sender: To server: pG, [16:53:50]CommunicateWithHost lk.salyk.kg:30040 [16:53:50]ConnectInit lk.salyk.kg [16:53:50]Connected sock=6 [16:53:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 5E F2 08 01 DA A8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 EC 77 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 44 34 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 33 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 57 00 00 00 00 07 04 06 00 EC 33 03 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 D6 C2 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DB 0A 01 00 35 04 06 00 F9 78 88 5B EB FC 3A 55 70 7F 12 B2 A1 88 [16:53:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3B 90 47 00 AB 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DB 0A 01 00 F4 03 04 00 C5 BE 20 67 B6 04 01 00 00 36 B9 F1 CD AA AD 1C E8 [16:53:50]CommunicateWithHost err = 0 [16:53:50]CheckOFDResponse [16:53:50]1017 (14) - 77093643461234 [16:53:50]1041 (16) - 0000000000871758 [16:53:50]1040 (4) - 68315 [16:53:50]1012 (4) - 29.10.2024 10:53 [16:53:50]1206 (1) - 0 [16:53:50]OFD Sender: Remove packet 68315 [16:53:50]ProducePacketName [16:53:50]name=ofd_packets/00068315 [16:53:50]NVStorageDeleteData [16:53:50]OFD Sender: Processing packet 68316 [packets to send 98, broken 27] [16:53:50]ProducePacketName [16:53:50]name=ofd_packets/00068316 [16:53:50]OFD Sender: To server: pG, [16:53:50]CommunicateWithHost lk.salyk.kg:30040 [16:53:50]ConnectInit lk.salyk.kg [16:53:51]Connected sock=6 [16:53:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 3E 81 04 01 72 D8 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 80 1A 06 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 27 00 00 00 F4 03 04 00 70 CA 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DC 0A 01 00 35 04 06 00 93 5D 88 0D AE 34 C9 3F 49 C2 5F E4 14 02 [16:53:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A3 13 47 00 DA CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DC 0A 01 00 F4 03 04 00 C6 BE 20 67 B6 04 01 00 00 F1 D2 03 94 27 5D FD 58 [16:53:51]CommunicateWithHost err = 0 [16:53:51]CheckOFDResponse [16:53:51]1017 (14) - 77093643461234 [16:53:51]1041 (16) - 0000000000871758 [16:53:51]1040 (4) - 68316 [16:53:51]1012 (4) - 29.10.2024 10:53 [16:53:51]1206 (1) - 0 [16:53:51]OFD Sender: Remove packet 68316 [16:53:51]ProducePacketName [16:53:51]name=ofd_packets/00068316 [16:53:51]NVStorageDeleteData [16:53:51]OFD Sender: Processing packet 68317 [packets to send 97, broken 27] [16:53:51]ProducePacketName [16:53:51]name=ofd_packets/00068317 [16:53:51]OFD Sender: To server: pG, [16:53:51]CommunicateWithHost lk.salyk.kg:30040 [16:53:51]ConnectInit lk.salyk.kg [16:53:51]Connected sock=6 [16:53:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 B1 BF 07 01 FB 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 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 28 00 00 00 F4 03 04 00 6A CC 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DD 0A 01 00 35 04 06 00 A2 14 1B 64 09 AD 48 CB 63 CF 33 1C 27 2E [16:53:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 31 FF 47 00 03 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DD 0A 01 00 F4 03 04 00 C6 BE 20 67 B6 04 01 00 00 67 2D C7 0F 04 60 66 0C [16:53:52]CommunicateWithHost err = 0 [16:53:52]CheckOFDResponse [16:53:52]1017 (14) - 77093643461234 [16:53:52]1041 (16) - 0000000000871758 [16:53:52]1040 (4) - 68317 [16:53:52]1012 (4) - 29.10.2024 10:53 [16:53:52]1206 (1) - 0 [16:53:52]OFD Sender: Remove packet 68317 [16:53:52]ProducePacketName [16:53:52]name=ofd_packets/00068317 [16:53:52]NVStorageDeleteData [16:53:52]OFD Sender: Processing packet 68318 [packets to send 96, broken 27] [16:53:52]ProducePacketName [16:53:52]name=ofd_packets/00068318 [16:53:52]OFD Sender: To server: pG, [16:53:52]CommunicateWithHost lk.salyk.kg:30040 [16:53:52]ConnectInit lk.salyk.kg [16:53:52]Connected sock=6 [16:53:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 CC CE 07 01 B2 84 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 6D 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 29 00 00 00 00 07 04 06 00 3C 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 29 00 00 00 F4 03 04 00 91 CE 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DE 0A 01 00 35 04 06 00 7B 8F 81 15 F4 AA 14 24 75 75 01 C9 DE 71 [16:53:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D8 80 47 00 BF 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DE 0A 01 00 F4 03 04 00 C7 BE 20 67 B6 04 01 00 00 0E 46 BE CF 71 3E FA 9C [16:53:52]CommunicateWithHost err = 0 [16:53:52]CheckOFDResponse [16:53:52]1017 (14) - 77093643461234 [16:53:52]1041 (16) - 0000000000871758 [16:53:52]1040 (4) - 68318 [16:53:52]1012 (4) - 29.10.2024 10:53 [16:53:52]1206 (1) - 0 [16:53:52]OFD Sender: Remove packet 68318 [16:53:52]ProducePacketName [16:53:52]name=ofd_packets/00068318 [16:53:52]NVStorageDeleteData [16:53:53]OFD Sender: Processing packet 68319 [packets to send 95, broken 27] [16:53:53]ProducePacketName [16:53:53]name=ofd_packets/00068319 [16:53:53]OFD Sender: To server: pG, [16:53:53]CommunicateWithHost lk.salyk.kg:30040 [16:53:53]ConnectInit lk.salyk.kg [16:53:53]Connected sock=6 [16:53:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 FA 6D 07 01 E8 31 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5F 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 5F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 46 CF 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DF 0A 01 00 35 04 06 00 B8 B8 03 9B D5 DF FE 9A EA 58 6E 42 6D 68 [16:53:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3A 8A 47 00 59 AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 DF 0A 01 00 F4 03 04 00 C8 BE 20 67 B6 04 01 00 00 08 84 BC 36 E3 0F 34 52 [16:53:53]CommunicateWithHost err = 0 [16:53:53]CheckOFDResponse [16:53:53]1017 (14) - 77093643461234 [16:53:53]1041 (16) - 0000000000871758 [16:53:53]1040 (4) - 68319 [16:53:53]1012 (4) - 29.10.2024 10:54 [16:53:53]1206 (1) - 0 [16:53:53]OFD Sender: Remove packet 68319 [16:53:53]ProducePacketName [16:53:53]name=ofd_packets/00068319 [16:53:53]NVStorageDeleteData [16:53:54]OFD Sender: Processing packet 68320 [packets to send 94, broken 27] [16:53:54]ProducePacketName [16:53:54]name=ofd_packets/00068320 [16:53:54]OFD Sender: To server: pG, [16:53:54]CommunicateWithHost lk.salyk.kg:30040 [16:53:54]ConnectInit lk.salyk.kg [16:53:54]Connected sock=7 [16:53:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 2A 66 04 01 70 F9 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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 90 D0 03 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 52 D1 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E0 0A 01 00 35 04 06 00 1A 7F BE 3C 45 FE CE 0D A9 70 DD DC 5C 17 [16:53:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B7 F4 47 00 E1 E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E0 0A 01 00 F4 03 04 00 C9 BE 20 67 B6 04 01 00 00 0F 11 F4 CC 18 E7 F8 46 [16:53:54]CommunicateWithHost err = 0 [16:53:54]CheckOFDResponse [16:53:54]1017 (14) - 77093643461234 [16:53:54]1041 (16) - 0000000000871758 [16:53:54]1040 (4) - 68320 [16:53:54]1012 (4) - 29.10.2024 10:54 [16:53:54]1206 (1) - 0 [16:53:54]OFD Sender: Remove packet 68320 [16:53:54]ProducePacketName [16:53:54]name=ofd_packets/00068320 [16:53:54]NVStorageDeleteData [16:53:54]OFD Sender: Processing packet 68321 [packets to send 93, broken 27] [16:53:54]ProducePacketName [16:53:54]name=ofd_packets/00068321 [16:53:54]OFD Sender: To server: pG, [16:53:54]CommunicateWithHost lk.salyk.kg:30040 [16:53:54]ConnectInit lk.salyk.kg [16:53:55]Connected sock=6 [16:53:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 03 02 00 00 06 CE FB 01 6F 97 5A 03 01 00 03 00 EF 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 02 00 00 00 00 13 04 06 00 08 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 08 00 00 00 00 07 04 06 00 F4 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 60 D1 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E1 0A 01 00 35 04 06 00 4B 1C 81 AC 0E 43 14 09 89 1D BA 6B E3 0D [16:53:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E2 7F 47 00 0B A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E1 0A 01 00 F4 03 04 00 C9 BE 20 67 B6 04 01 00 00 BE 51 99 CB D7 9D 10 09 [16:53:55]CommunicateWithHost err = 0 [16:53:55]CheckOFDResponse [16:53:55]1017 (14) - 77093643461234 [16:53:55]1041 (16) - 0000000000871758 [16:53:55]1040 (4) - 68321 [16:53:55]1012 (4) - 29.10.2024 10:54 [16:53:55]1206 (1) - 0 [16:53:55]OFD Sender: Remove packet 68321 [16:53:55]ProducePacketName [16:53:55]name=ofd_packets/00068321 [16:53:55]NVStorageDeleteData [16:53:55]OFD Sender: Processing packet 68322 [packets to send 92, broken 27] [16:53:55]ProducePacketName [16:53:55]name=ofd_packets/00068322 [16:53:55]OFD Sender: To server: pG, [16:53:55]CommunicateWithHost lk.salyk.kg:30040 [16:53:55]ConnectInit lk.salyk.kg [16:53:55]Connected sock=6 [16:53:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 19 DD 07 01 91 03 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 34 D2 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E2 0A 01 00 35 04 06 00 44 BB C8 79 AA C4 A1 D4 E5 19 81 88 17 09 [16:53:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3A 91 47 00 9B 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E2 0A 01 00 F4 03 04 00 CA BE 20 67 B6 04 01 00 00 96 29 0C 5D E4 4B 25 35 [16:53:55]CommunicateWithHost err = 0 [16:53:55]CheckOFDResponse [16:53:55]1017 (14) - 77093643461234 [16:53:55]1041 (16) - 0000000000871758 [16:53:55]1040 (4) - 68322 [16:53:55]1012 (4) - 29.10.2024 10:54 [16:53:55]1206 (1) - 0 [16:53:55]OFD Sender: Remove packet 68322 [16:53:55]ProducePacketName [16:53:55]name=ofd_packets/00068322 [16:53:55]NVStorageDeleteData [16:53:56]OFD Sender: Processing packet 68323 [packets to send 91, broken 27] [16:53:56]ProducePacketName [16:53:56]name=ofd_packets/00068323 [16:53:56]OFD Sender: To server: pG, [16:53:56]CommunicateWithHost lk.salyk.kg:30040 [16:53:56]ConnectInit lk.salyk.kg [16:53:56]Connected sock=6 [16:53:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 DD 53 08 01 7C D0 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 A1 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 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 A7 D3 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E3 0A 01 00 35 04 06 00 01 66 7E 09 5E 8C 10 5D C3 70 46 24 2D B3 [16:53:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E4 6D 47 00 C0 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E3 0A 01 00 F4 03 04 00 CB BE 20 67 B6 04 01 00 00 DE 92 BC C0 45 A9 18 2E [16:53:56]CommunicateWithHost err = 0 [16:53:56]CheckOFDResponse [16:53:56]1017 (14) - 77093643461234 [16:53:56]1041 (16) - 0000000000871758 [16:53:56]1040 (4) - 68323 [16:53:56]1012 (4) - 29.10.2024 10:54 [16:53:56]1206 (1) - 0 [16:53:56]OFD Sender: Remove packet 68323 [16:53:56]ProducePacketName [16:53:56]name=ofd_packets/00068323 [16:53:56]NVStorageDeleteData [16:53:57]OFD Sender: Processing packet 68324 [packets to send 90, broken 27] [16:53:57]ProducePacketName [16:53:57]name=ofd_packets/00068324 [16:53:57]OFD Sender: To server: pG, [16:53:57]CommunicateWithHost lk.salyk.kg:30040 [16:53:57]ConnectInit lk.salyk.kg [16:53:57]Connected sock=6 [16:53:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 D6 2E 07 01 18 94 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 2F 00 00 00 F4 03 04 00 EA D3 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E4 0A 01 00 35 04 06 00 8A 5A B2 67 1C A1 61 87 3F 64 2D C8 41 90 [16:53:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A3 68 47 00 A5 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E4 0A 01 00 F4 03 04 00 CC BE 20 67 B6 04 01 00 00 93 4A 27 6B 20 3B 62 7B [16:53:57]CommunicateWithHost err = 0 [16:53:57]CheckOFDResponse [16:53:57]1017 (14) - 77093643461234 [16:53:57]1041 (16) - 0000000000871758 [16:53:57]1040 (4) - 68324 [16:53:57]1012 (4) - 29.10.2024 10:54 [16:53:57]1206 (1) - 0 [16:53:57]OFD Sender: Remove packet 68324 [16:53:57]ProducePacketName [16:53:57]name=ofd_packets/00068324 [16:53:57]NVStorageDeleteData [16:53:58]OFD Sender: Processing packet 68325 [packets to send 89, broken 27] [16:53:58]ProducePacketName [16:53:58]name=ofd_packets/00068325 [16:53:58]OFD Sender: To server: pG, [16:53:58]CommunicateWithHost lk.salyk.kg:30040 [16:53:58]ConnectInit lk.salyk.kg [16:53:58]Connected sock=6 [16:53:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 27 01 00 00 25 FC 1F 01 4C 32 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 64 D5 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E5 0A 01 00 35 04 06 00 B8 BB 8A 98 82 BE C3 84 AC 8E 44 AA 15 83 [16:53:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BC 6F 47 00 FF 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 38 37 31 37 35 38 10 04 04 00 E5 0A 01 00 F4 03 04 00 CD BE 20 67 B6 04 01 00 00 77 1C 3B 90 9F E8 78 F4 [16:53:58]CommunicateWithHost err = 0 [16:53:58]CheckOFDResponse [16:53:58]1017 (14) - 77093643461234 [16:53:58]1041 (16) - 0000000000871758 [16:53:58]1040 (4) - 68325 [16:53:58]1012 (4) - 29.10.2024 10:54 [16:53:58]1206 (1) - 0 [16:53:58]OFD Sender: Remove packet 68325 [16:53:58]ProducePacketName [16:53:58]name=ofd_packets/00068325 [16:53:58]NVStorageDeleteData [16:53:58]OFD Sender: Processing packet 68326 [packets to send 88, broken 27] [16:53:58]ProducePacketName [16:53:58]name=ofd_packets/00068326 [16:53:58]OFD Sender: To server: pG, [16:53:58]CommunicateWithHost lk.salyk.kg:30040 [16:53:58]ConnectInit lk.salyk.kg [16:53:59]Connected sock=6 [16:53:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 27 01 00 00 89 1B 1F 01 57 09 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 75 D5 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E6 0A 01 00 35 04 06 00 39 C2 E8 9E 6D 4C 08 5F F7 FF 8F FE 25 16 [16:53:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 1D BA 47 00 D2 C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E6 0A 01 00 F4 03 04 00 CE BE 20 67 B6 04 01 00 00 55 D5 4E 31 69 5B F6 F0 [16:53:59]CommunicateWithHost err = 0 [16:53:59]CheckOFDResponse [16:53:59]1017 (14) - 77093643461234 [16:53:59]1041 (16) - 0000000000871758 [16:53:59]1040 (4) - 68326 [16:53:59]1012 (4) - 29.10.2024 10:54 [16:53:59]1206 (1) - 0 [16:53:59]OFD Sender: Remove packet 68326 [16:53:59]ProducePacketName [16:53:59]name=ofd_packets/00068326 [16:53:59]NVStorageDeleteData [16:53:59]OFD Sender: Processing packet 68327 [packets to send 87, broken 27] [16:53:59]ProducePacketName [16:53:59]name=ofd_packets/00068327 [16:53:59]OFD Sender: To server: pG, [16:53:59]CommunicateWithHost lk.salyk.kg:30040 [16:53:59]ConnectInit lk.salyk.kg [16:53:59]Connected sock=6 [16:53:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 A0 C9 08 01 88 79 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 36 9C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 7C 2C 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2C 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 78 71 00 00 00 00 07 04 06 00 5C 2C 04 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 E8 D5 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E7 0A 01 00 35 04 06 00 59 BA 91 B3 DA 07 26 15 C0 63 E3 E7 4E 5D [16:54:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E2 9D 47 00 77 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E7 0A 01 00 F4 03 04 00 CE BE 20 67 B6 04 01 00 00 1C F5 E5 ED 83 70 56 28 [16:54:00]CommunicateWithHost err = 0 [16:54:00]CheckOFDResponse [16:54:00]1017 (14) - 77093643461234 [16:54:00]1041 (16) - 0000000000871758 [16:54:00]1040 (4) - 68327 [16:54:00]1012 (4) - 29.10.2024 10:54 [16:54:00]1206 (1) - 0 [16:54:00]OFD Sender: Remove packet 68327 [16:54:00]ProducePacketName [16:54:00]name=ofd_packets/00068327 [16:54:00]NVStorageDeleteData [16:54:00]OFD Sender: Processing packet 68328 [packets to send 86, broken 27] [16:54:00]ProducePacketName [16:54:00]name=ofd_packets/00068328 [16:54:00]OFD Sender: To server: pG, [16:54:00]CommunicateWithHost lk.salyk.kg:30040 [16:54:00]ConnectInit lk.salyk.kg [16:54:00]Connected sock=6 [16:54:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 59 9E 07 01 31 B9 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 33 00 00 00 F4 03 04 00 4A D6 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E8 0A 01 00 35 04 06 00 19 2F 1C 74 D2 57 43 E5 0C 9D 79 FC 25 F9 [16:54:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A5 31 47 00 7D 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E8 0A 01 00 F4 03 04 00 CF BE 20 67 B6 04 01 00 00 B2 2A 16 EF 20 11 E6 32 [16:54:00]CommunicateWithHost err = 0 [16:54:00]CheckOFDResponse [16:54:00]1017 (14) - 77093643461234 [16:54:00]1041 (16) - 0000000000871758 [16:54:00]1040 (4) - 68328 [16:54:00]1012 (4) - 29.10.2024 10:54 [16:54:00]1206 (1) - 0 [16:54:00]OFD Sender: Remove packet 68328 [16:54:00]ProducePacketName [16:54:00]name=ofd_packets/00068328 [16:54:00]NVStorageDeleteData [16:54:01]OFD Sender: Processing packet 68329 [packets to send 85, broken 27] [16:54:01]ProducePacketName [16:54:01]name=ofd_packets/00068329 [16:54:01]OFD Sender: To server: pG, [16:54:01]CommunicateWithHost lk.salyk.kg:30040 [16:54:01]ConnectInit lk.salyk.kg [16:54:01]Connected sock=6 [16:54:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 E9 7E 07 01 E6 6E 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 C0 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 90 0E 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 0E 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 53 00 00 00 00 07 04 06 00 6C 0E 03 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 BD D6 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E9 0A 01 00 35 04 06 00 F0 5B DF 31 B4 7B DB EF 49 BA 55 C5 D8 9E [16:54:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 01 3C 47 00 19 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 E9 0A 01 00 F4 03 04 00 D0 BE 20 67 B6 04 01 00 00 38 74 DD 5E 59 89 D4 84 [16:54:01]CommunicateWithHost err = 0 [16:54:01]CheckOFDResponse [16:54:01]1017 (14) - 77093643461234 [16:54:01]1041 (16) - 0000000000871758 [16:54:01]1040 (4) - 68329 [16:54:01]1012 (4) - 29.10.2024 10:54 [16:54:01]1206 (1) - 0 [16:54:01]OFD Sender: Remove packet 68329 [16:54:01]ProducePacketName [16:54:01]name=ofd_packets/00068329 [16:54:01]NVStorageDeleteData [16:54:02]OFD Sender: Processing packet 68330 [packets to send 84, broken 27] [16:54:02]ProducePacketName [16:54:02]name=ofd_packets/00068330 [16:54:02]OFD Sender: To server: pG, [16:54:02]CommunicateWithHost lk.salyk.kg:30040 [16:54:02]ConnectInit lk.salyk.kg [16:54:02]Connected sock=6 [16:54:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 1E 01 00 00 69 D0 16 01 22 84 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 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 24 D8 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EA 0A 01 00 35 04 06 00 EC 33 FC 17 EE D5 E4 27 00 F4 BF 04 16 B1 [16:54:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 AD 3F 47 00 99 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EA 0A 01 00 F4 03 04 00 D1 BE 20 67 B6 04 01 00 00 E6 AE CA D4 52 72 15 8C [16:54:02]CommunicateWithHost err = 0 [16:54:02]CheckOFDResponse [16:54:02]1017 (14) - 77093643461234 [16:54:02]1041 (16) - 0000000000871758 [16:54:02]1040 (4) - 68330 [16:54:02]1012 (4) - 29.10.2024 10:54 [16:54:02]1206 (1) - 0 [16:54:02]OFD Sender: Remove packet 68330 [16:54:02]ProducePacketName [16:54:02]name=ofd_packets/00068330 [16:54:02]NVStorageDeleteData [16:54:03]OFD Sender: Processing packet 68331 [packets to send 83, broken 27] [16:54:03]ProducePacketName [16:54:03]name=ofd_packets/00068331 [16:54:03]OFD Sender: To server: pG, [16:54:03]CommunicateWithHost lk.salyk.kg:30040 [16:54:03]ConnectInit lk.salyk.kg [16:54:03]Connected sock=6 [16:54:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 66 86 20 01 38 C6 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 4F D8 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EB 0A 01 00 35 04 06 00 AB 47 8C 9B 37 FD EB 31 7F FF 11 2D 6E 9A [16:54:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 22 67 47 00 00 A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EB 0A 01 00 F4 03 04 00 D2 BE 20 67 B6 04 01 00 00 A0 59 B7 66 E4 D2 47 CF [16:54:03]CommunicateWithHost err = 0 [16:54:03]CheckOFDResponse [16:54:03]1017 (14) - 77093643461234 [16:54:03]1041 (16) - 0000000000871758 [16:54:03]1040 (4) - 68331 [16:54:03]1012 (4) - 29.10.2024 10:54 [16:54:03]1206 (1) - 0 [16:54:03]OFD Sender: Remove packet 68331 [16:54:03]ProducePacketName [16:54:03]name=ofd_packets/00068331 [16:54:03]NVStorageDeleteData [16:54:03]OFD Sender: Processing packet 68332 [packets to send 82, broken 27] [16:54:03]ProducePacketName [16:54:03]name=ofd_packets/00068332 [16:54:03]OFD Sender: To server: pG, [16:54:03]CommunicateWithHost lk.salyk.kg:30040 [16:54:03]ConnectInit lk.salyk.kg [16:54:04]Connected sock=6 [16:54:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 F9 C7 07 01 01 D5 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 F8 25 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 03 FE 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 1A 00 00 00 00 07 04 06 00 E8 FD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 6F D8 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EC 0A 01 00 35 04 06 00 8B 67 2B 87 77 21 A1 C6 24 E9 AD 47 55 45 [16:54:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 80 F9 47 00 9A 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EC 0A 01 00 F4 03 04 00 D3 BE 20 67 B6 04 01 00 00 50 97 82 7D F5 C1 E9 78 [16:54:04]CommunicateWithHost err = 0 [16:54:04]CheckOFDResponse [16:54:04]1017 (14) - 77093643461234 [16:54:04]1041 (16) - 0000000000871758 [16:54:04]1040 (4) - 68332 [16:54:04]1012 (4) - 29.10.2024 10:54 [16:54:04]1206 (1) - 0 [16:54:04]OFD Sender: Remove packet 68332 [16:54:04]ProducePacketName [16:54:04]name=ofd_packets/00068332 [16:54:04]NVStorageDeleteData [16:54:04]OFD Sender: Processing packet 68333 [packets to send 81, broken 27] [16:54:04]ProducePacketName [16:54:04]name=ofd_packets/00068333 [16:54:04]OFD Sender: To server: pG, [16:54:04]CommunicateWithHost lk.salyk.kg:30040 [16:54:04]ConnectInit lk.salyk.kg [16:54:04]Connected sock=6 [16:54:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 0A 37 07 01 AE BD 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 33 FF 03 08 00 03 42 B8 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 31 57 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 31 57 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 0C 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 91 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 31 57 05 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 D7 DC 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 ED 0A 01 00 35 04 06 00 1F A9 AE 4E B5 B0 26 18 6D AC E9 BE BE BB [16:54:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 DE 13 47 00 62 D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 ED 0A 01 00 F4 03 04 00 D3 BE 20 67 B6 04 01 00 00 97 6A FB 26 06 5A 02 E4 [16:54:05]CommunicateWithHost err = 0 [16:54:05]CheckOFDResponse [16:54:05]1017 (14) - 77093643461234 [16:54:05]1041 (16) - 0000000000871758 [16:54:05]1040 (4) - 68333 [16:54:05]1012 (4) - 29.10.2024 10:54 [16:54:05]1206 (1) - 0 [16:54:05]OFD Sender: Remove packet 68333 [16:54:05]ProducePacketName [16:54:05]name=ofd_packets/00068333 [16:54:05]NVStorageDeleteData [16:54:05]OFD Sender: Processing packet 68334 [packets to send 80, broken 27] [16:54:05]ProducePacketName [16:54:05]name=ofd_packets/00068334 [16:54:05]OFD Sender: To server: pG, [16:54:05]CommunicateWithHost lk.salyk.kg:30040 [16:54:05]ConnectInit lk.salyk.kg [16:54:05]Connected sock=6 [16:54:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 33 01 00 00 1A 9A 2B 01 EB BE 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 70 17 00 00 00 00 00 37 04 06 00 58 02 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 01 00 00 00 00 07 04 06 00 10 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 F2 DC 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EE 0A 01 00 35 04 06 00 B3 7E 82 B7 59 B8 4B 78 C5 32 91 1A B3 92 [16:54:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 C6 07 47 00 C3 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EE 0A 01 00 F4 03 04 00 D4 BE 20 67 B6 04 01 00 00 A6 64 3F 43 25 3B FF BB [16:54:05]CommunicateWithHost err = 0 [16:54:05]CheckOFDResponse [16:54:05]1017 (14) - 77093643461234 [16:54:05]1041 (16) - 0000000000871758 [16:54:05]1040 (4) - 68334 [16:54:05]1012 (4) - 29.10.2024 10:54 [16:54:05]1206 (1) - 0 [16:54:05]OFD Sender: Remove packet 68334 [16:54:05]ProducePacketName [16:54:05]name=ofd_packets/00068334 [16:54:05]NVStorageDeleteData [16:54:06]OFD Sender: Processing packet 68335 [packets to send 79, broken 27] [16:54:06]ProducePacketName [16:54:06]name=ofd_packets/00068335 [16:54:06]OFD Sender: To server: pG, [16:54:06]CommunicateWithHost lk.salyk.kg:30040 [16:54:06]ConnectInit lk.salyk.kg [16:54:06]Connected sock=6 [16:54:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 AA D6 07 01 4C 17 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 33 FF 03 08 00 03 A6 45 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 CB 04 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 04 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 93 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 36 00 00 00 00 07 04 06 00 68 04 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 2B DE 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EF 0A 01 00 35 04 06 00 DE 18 59 5C 54 A8 09 93 4C F8 E8 B6 2C A8 [16:54:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 22 FD 47 00 92 B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 EF 0A 01 00 F4 03 04 00 D5 BE 20 67 B6 04 01 00 00 EF 77 B1 9D 80 0F BF 40 [16:54:06]CommunicateWithHost err = 0 [16:54:06]CheckOFDResponse [16:54:06]1017 (14) - 77093643461234 [16:54:06]1041 (16) - 0000000000871758 [16:54:06]1040 (4) - 68335 [16:54:06]1012 (4) - 29.10.2024 10:54 [16:54:06]1206 (1) - 0 [16:54:06]OFD Sender: Remove packet 68335 [16:54:06]ProducePacketName [16:54:06]name=ofd_packets/00068335 [16:54:06]NVStorageDeleteData [16:54:07]OFD Sender: Processing packet 68336 [packets to send 78, broken 27] [16:54:07]ProducePacketName [16:54:07]name=ofd_packets/00068336 [16:54:07]OFD Sender: To server: pG, [16:54:07]CommunicateWithHost lk.salyk.kg:30040 [16:54:07]ConnectInit lk.salyk.kg [16:54:07]Connected sock=6 [16:54:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 AE 01 00 00 9D 68 A6 01 CC E9 5A 03 01 00 03 00 9A 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 74 DE 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F0 0A 01 00 35 04 06 00 2B 7B 98 4A E8 38 E8 A0 F7 8F 56 03 F7 A0 [16:54:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F6 02 47 00 C7 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F0 0A 01 00 F4 03 04 00 D6 BE 20 67 B6 04 01 00 00 63 5C 34 5A 8F 96 ED 27 [16:54:07]CommunicateWithHost err = 0 [16:54:07]CheckOFDResponse [16:54:07]1017 (14) - 77093643461234 [16:54:07]1041 (16) - 0000000000871758 [16:54:07]1040 (4) - 68336 [16:54:07]1012 (4) - 29.10.2024 10:54 [16:54:07]1206 (1) - 0 [16:54:07]OFD Sender: Remove packet 68336 [16:54:07]ProducePacketName [16:54:07]name=ofd_packets/00068336 [16:54:07]NVStorageDeleteData [16:54:08]OFD Sender: Processing packet 68337 [packets to send 77, broken 27] [16:54:08]ProducePacketName [16:54:08]name=ofd_packets/00068337 [16:54:08]OFD Sender: To server: pG, [16:54:08]CommunicateWithHost lk.salyk.kg:30040 [16:54:08]ConnectInit lk.salyk.kg [16:54:08]Connected sock=6 [16:54:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 76 5A 04 01 07 A3 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 74 07 02 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 4A 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 9E 01 00 00 00 07 04 06 00 40 42 0F 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 79 DE 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F1 0A 01 00 35 04 06 00 FF 18 43 FD B0 86 72 4B C5 23 74 DC FC 55 [16:54:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B2 B9 47 00 93 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F1 0A 01 00 F4 03 04 00 D7 BE 20 67 B6 04 01 00 00 0B 83 FC 40 A0 9A 06 C1 [16:54:08]CommunicateWithHost err = 0 [16:54:08]CheckOFDResponse [16:54:08]1017 (14) - 77093643461234 [16:54:08]1041 (16) - 0000000000871758 [16:54:08]1040 (4) - 68337 [16:54:08]1012 (4) - 29.10.2024 10:54 [16:54:08]1206 (1) - 0 [16:54:08]OFD Sender: Remove packet 68337 [16:54:08]ProducePacketName [16:54:08]name=ofd_packets/00068337 [16:54:08]NVStorageDeleteData [16:54:08]OFD Sender: Processing packet 68338 [packets to send 76, broken 27] [16:54:08]ProducePacketName [16:54:08]name=ofd_packets/00068338 [16:54:08]OFD Sender: To server: pG, [16:54:08]CommunicateWithHost lk.salyk.kg:30040 [16:54:08]ConnectInit lk.salyk.kg [16:54:08]Connected sock=6 [16:54:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E3 6F 04 01 1E 04 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 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 3D 00 00 00 F4 03 04 00 3D DF 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F2 0A 01 00 35 04 06 00 C7 56 D5 39 62 DE 43 94 F3 F9 4A BD C1 60 [16:54:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 88 80 47 00 39 7D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F2 0A 01 00 F4 03 04 00 D7 BE 20 67 B6 04 01 00 00 B4 CC C0 ED A3 E2 DA 2D [16:54:09]CommunicateWithHost err = 0 [16:54:09]CheckOFDResponse [16:54:09]1017 (14) - 77093643461234 [16:54:09]1041 (16) - 0000000000871758 [16:54:09]1040 (4) - 68338 [16:54:09]1012 (4) - 29.10.2024 10:54 [16:54:09]1206 (1) - 0 [16:54:09]OFD Sender: Remove packet 68338 [16:54:09]ProducePacketName [16:54:09]name=ofd_packets/00068338 [16:54:09]NVStorageDeleteData [16:54:09]OFD Sender: Processing packet 68339 [packets to send 75, broken 27] [16:54:09]ProducePacketName [16:54:09]name=ofd_packets/00068339 [16:54:09]OFD Sender: To server: pG, [16:54:09]CommunicateWithHost lk.salyk.kg:30040 [16:54:09]ConnectInit lk.salyk.kg [16:54:09]Connected sock=7 [16:54:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 93 34 07 01 F0 DC 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 2E 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 36 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 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 BB 14 00 00 00 00 07 04 06 00 EC C2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 93 E1 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F3 0A 01 00 35 04 06 00 48 96 BF 7F EC C9 24 E2 C1 B2 37 BE D9 87 [16:54:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BE 16 47 00 C3 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F3 0A 01 00 F4 03 04 00 D8 BE 20 67 B6 04 01 00 00 E4 C6 16 3F EE DA 6C 15 [16:54:10]CommunicateWithHost err = 0 [16:54:10]CheckOFDResponse [16:54:10]1017 (14) - 77093643461234 [16:54:10]1041 (16) - 0000000000871758 [16:54:10]1040 (4) - 68339 [16:54:10]1012 (4) - 29.10.2024 10:54 [16:54:10]1206 (1) - 0 [16:54:10]OFD Sender: Remove packet 68339 [16:54:10]ProducePacketName [16:54:10]name=ofd_packets/00068339 [16:54:10]NVStorageDeleteData [16:54:10]OFD Sender: Processing packet 68340 [packets to send 74, broken 27] [16:54:10]ProducePacketName [16:54:10]name=ofd_packets/00068340 [16:54:10]OFD Sender: To server: pG, [16:54:10]CommunicateWithHost lk.salyk.kg:30040 [16:54:10]ConnectInit lk.salyk.kg [16:54:10]Connected sock=6 [16:54:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 F8 90 04 01 16 29 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 D4 E2 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F4 0A 01 00 35 04 06 00 04 44 60 50 E2 C9 21 D0 36 0F 17 7A 39 17 [16:54:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 04 11 47 00 D6 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F4 0A 01 00 F4 03 04 00 D9 BE 20 67 B6 04 01 00 00 43 3C C0 C7 E6 E1 F4 DF [16:54:10]CommunicateWithHost err = 0 [16:54:10]CheckOFDResponse [16:54:10]1017 (14) - 77093643461234 [16:54:10]1041 (16) - 0000000000871758 [16:54:10]1040 (4) - 68340 [16:54:10]1012 (4) - 29.10.2024 10:54 [16:54:10]1206 (1) - 0 [16:54:10]OFD Sender: Remove packet 68340 [16:54:10]ProducePacketName [16:54:10]name=ofd_packets/00068340 [16:54:10]NVStorageDeleteData [16:54:11]OFD Sender: Processing packet 68341 [packets to send 73, broken 27] [16:54:11]ProducePacketName [16:54:11]name=ofd_packets/00068341 [16:54:11]OFD Sender: To server: pG, [16:54:11]CommunicateWithHost lk.salyk.kg:30040 [16:54:11]ConnectInit lk.salyk.kg [16:54:11]Connected sock=6 [16:54:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 3C 7E 08 01 22 F4 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F1 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F1 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 A7 E3 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F5 0A 01 00 35 04 06 00 64 9D 32 D0 7E 4C 88 6B 99 55 D8 D4 68 9F [16:54:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EA DB 47 00 57 F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F5 0A 01 00 F4 03 04 00 DA BE 20 67 B6 04 01 00 00 CF 77 39 3A 9C 9C F5 BB [16:54:11]CommunicateWithHost err = 0 [16:54:11]CheckOFDResponse [16:54:11]1017 (14) - 77093643461234 [16:54:11]1041 (16) - 0000000000871758 [16:54:11]1040 (4) - 68341 [16:54:11]1012 (4) - 29.10.2024 10:54 [16:54:11]1206 (1) - 0 [16:54:11]OFD Sender: Remove packet 68341 [16:54:11]ProducePacketName [16:54:11]name=ofd_packets/00068341 [16:54:11]NVStorageDeleteData [16:54:12]OFD Sender: Processing packet 68342 [packets to send 72, broken 27] [16:54:12]ProducePacketName [16:54:12]name=ofd_packets/00068342 [16:54:12]OFD Sender: To server: pG, [16:54:12]CommunicateWithHost lk.salyk.kg:30040 [16:54:12]ConnectInit lk.salyk.kg [16:54:12]Connected sock=6 [16:54:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 3E C2 08 01 07 3C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 9A 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 9A 11 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 6C E4 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F6 0A 01 00 35 04 06 00 0F E7 8A BA 4B 76 8D 15 74 CB 1C 44 B4 11 [16:54:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 1B E0 47 00 DD 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F6 0A 01 00 F4 03 04 00 DB BE 20 67 B6 04 01 00 00 88 36 54 F6 DB 10 BE 9C [16:54:12]CommunicateWithHost err = 0 [16:54:12]CheckOFDResponse [16:54:12]1017 (14) - 77093643461234 [16:54:12]1041 (16) - 0000000000871758 [16:54:12]1040 (4) - 68342 [16:54:12]1012 (4) - 29.10.2024 10:54 [16:54:12]1206 (1) - 0 [16:54:12]OFD Sender: Remove packet 68342 [16:54:12]ProducePacketName [16:54:12]name=ofd_packets/00068342 [16:54:12]NVStorageDeleteData [16:54:12]OFD Sender: Processing packet 68343 [packets to send 71, broken 27] [16:54:12]ProducePacketName [16:54:12]name=ofd_packets/00068343 [16:54:12]OFD Sender: To server: pG, [16:54:12]CommunicateWithHost lk.salyk.kg:30040 [16:54:12]ConnectInit lk.salyk.kg [16:54:13]Connected sock=6 [16:54:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 30 CD 04 01 02 59 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 50 C3 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 42 00 00 00 F4 03 04 00 16 E5 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F7 0A 01 00 35 04 06 00 34 94 57 28 9F 4C AD C8 F7 0B 2E 38 0E 13 [16:54:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 93 3E 47 00 A7 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F7 0A 01 00 F4 03 04 00 DC BE 20 67 B6 04 01 00 00 87 CD CB 95 D2 CD 14 4A [16:54:13]CommunicateWithHost err = 0 [16:54:13]CheckOFDResponse [16:54:13]1017 (14) - 77093643461234 [16:54:13]1041 (16) - 0000000000871758 [16:54:13]1040 (4) - 68343 [16:54:13]1012 (4) - 29.10.2024 10:54 [16:54:13]1206 (1) - 0 [16:54:13]OFD Sender: Remove packet 68343 [16:54:13]ProducePacketName [16:54:13]name=ofd_packets/00068343 [16:54:13]NVStorageDeleteData [16:54:13]OFD Sender: Processing packet 68344 [packets to send 70, broken 27] [16:54:13]ProducePacketName [16:54:13]name=ofd_packets/00068344 [16:54:13]OFD Sender: To server: pG, [16:54:13]CommunicateWithHost lk.salyk.kg:30040 [16:54:13]ConnectInit lk.salyk.kg [16:54:13]Connected sock=6 [16:54:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 33 16 04 01 40 4C 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 9C 04 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 20 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 49 E5 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F8 0A 01 00 35 04 06 00 DB 9C E8 46 70 DD 99 35 42 E4 A4 C2 CE D4 [16:54:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0D 41 47 00 3C 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F8 0A 01 00 F4 03 04 00 DC BE 20 67 B6 04 01 00 00 6C 04 09 7B 0D 5B F0 21 [16:54:14]CommunicateWithHost err = 0 [16:54:14]CheckOFDResponse [16:54:14]1017 (14) - 77093643461234 [16:54:14]1041 (16) - 0000000000871758 [16:54:14]1040 (4) - 68344 [16:54:14]1012 (4) - 29.10.2024 10:54 [16:54:14]1206 (1) - 0 [16:54:14]OFD Sender: Remove packet 68344 [16:54:14]ProducePacketName [16:54:14]name=ofd_packets/00068344 [16:54:14]NVStorageDeleteData [16:54:14]OFD Sender: Processing packet 68345 [packets to send 69, broken 27] [16:54:14]ProducePacketName [16:54:14]name=ofd_packets/00068345 [16:54:14]OFD Sender: To server: pG, [16:54:14]CommunicateWithHost lk.salyk.kg:30040 [16:54:14]ConnectInit lk.salyk.kg [16:54:14]Connected sock=6 [16:54:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 E9 C6 07 01 B3 FC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 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 44 00 00 00 F4 03 04 00 4A E9 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F9 0A 01 00 35 04 06 00 FF B2 DE 7D 73 71 4E FE CD F1 87 DB 20 68 [16:54:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FC E3 47 00 B5 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 F9 0A 01 00 F4 03 04 00 DD BE 20 67 B6 04 01 00 00 3A 34 32 E0 C9 E3 AC B7 [16:54:14]CommunicateWithHost err = 0 [16:54:14]CheckOFDResponse [16:54:14]1017 (14) - 77093643461234 [16:54:14]1041 (16) - 0000000000871758 [16:54:14]1040 (4) - 68345 [16:54:14]1012 (4) - 29.10.2024 10:54 [16:54:14]1206 (1) - 0 [16:54:14]OFD Sender: Remove packet 68345 [16:54:14]ProducePacketName [16:54:14]name=ofd_packets/00068345 [16:54:14]NVStorageDeleteData [16:54:15]OFD Sender: Processing packet 68346 [packets to send 68, broken 27] [16:54:15]ProducePacketName [16:54:15]name=ofd_packets/00068346 [16:54:15]OFD Sender: To server: pG, [16:54:15]CommunicateWithHost lk.salyk.kg:30040 [16:54:15]ConnectInit lk.salyk.kg [16:54:15]Connected sock=6 [16:54:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 24 01 00 00 79 3A 1C 01 B1 63 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 87 E9 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FA 0A 01 00 35 04 06 00 24 17 29 98 B5 2B 47 AA 6D 6F BA 6A 03 2F [16:54:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 DD 4F 47 00 4A C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FA 0A 01 00 F4 03 04 00 DE BE 20 67 B6 04 01 00 00 A5 FA DF 46 3A A6 7D 74 [16:54:15]CommunicateWithHost err = 0 [16:54:15]CheckOFDResponse [16:54:15]1017 (14) - 77093643461234 [16:54:15]1041 (16) - 0000000000871758 [16:54:15]1040 (4) - 68346 [16:54:15]1012 (4) - 29.10.2024 10:54 [16:54:15]1206 (1) - 0 [16:54:15]OFD Sender: Remove packet 68346 [16:54:15]ProducePacketName [16:54:15]name=ofd_packets/00068346 [16:54:15]NVStorageDeleteData [16:54:16]OFD Sender: Processing packet 68347 [packets to send 67, broken 27] [16:54:16]ProducePacketName [16:54:16]name=ofd_packets/00068347 [16:54:16]OFD Sender: To server: pG, [16:54:16]CommunicateWithHost lk.salyk.kg:30040 [16:54:16]ConnectInit lk.salyk.kg [16:54:16]Connected sock=6 [16:54:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 96 40 07 01 C7 AB 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 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 69 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 69 EA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 AC E9 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FB 0A 01 00 35 04 06 00 40 EF F4 35 E5 DA 0B 4E E6 13 72 B2 63 BB [16:54:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 6F 97 47 00 7C 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 38 37 31 37 35 38 10 04 04 00 FB 0A 01 00 F4 03 04 00 DF BE 20 67 B6 04 01 00 00 7A 74 D7 E6 54 B2 D2 6E [16:54:16]CommunicateWithHost err = 0 [16:54:16]CheckOFDResponse [16:54:16]1017 (14) - 77093643461234 [16:54:16]1041 (16) - 0000000000871758 [16:54:16]1040 (4) - 68347 [16:54:16]1012 (4) - 29.10.2024 10:54 [16:54:16]1206 (1) - 0 [16:54:16]OFD Sender: Remove packet 68347 [16:54:16]ProducePacketName [16:54:16]name=ofd_packets/00068347 [16:54:16]NVStorageDeleteData [16:54:17]OFD Sender: Processing packet 68348 [packets to send 66, broken 27] [16:54:17]ProducePacketName [16:54:17]name=ofd_packets/00068348 [16:54:17]OFD Sender: To server: pG, [16:54:17]CommunicateWithHost lk.salyk.kg:30040 [16:54:17]ConnectInit lk.salyk.kg [16:54:17]Connected sock=6 [16:54:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 30 01 00 00 3B B2 28 01 F1 AC 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 B9 E9 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FC 0A 01 00 35 04 06 00 37 C3 6F 34 E8 44 6D E1 7D 16 D9 AA B8 3E [16:54:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E5 50 47 00 A4 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FC 0A 01 00 F4 03 04 00 E0 BE 20 67 B6 04 01 00 00 A9 A0 39 46 6D C8 E3 9D [16:54:17]CommunicateWithHost err = 0 [16:54:17]CheckOFDResponse [16:54:17]1017 (14) - 77093643461234 [16:54:17]1041 (16) - 0000000000871758 [16:54:17]1040 (4) - 68348 [16:54:17]1012 (4) - 29.10.2024 10:54 [16:54:17]1206 (1) - 0 [16:54:17]OFD Sender: Remove packet 68348 [16:54:17]ProducePacketName [16:54:17]name=ofd_packets/00068348 [16:54:17]NVStorageDeleteData [16:54:17]OFD Sender: Processing packet 68349 [packets to send 65, broken 27] [16:54:17]ProducePacketName [16:54:17]name=ofd_packets/00068349 [16:54:17]OFD Sender: To server: pG, [16:54:17]CommunicateWithHost lk.salyk.kg:30040 [16:54:17]ConnectInit lk.salyk.kg [16:54:17]Connected sock=6 [16:54:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 60 AE 07 01 FF 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 48 00 00 00 F4 03 04 00 CC E9 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FD 0A 01 00 35 04 06 00 61 71 3C E0 F0 FF C1 55 25 C9 6D 7C 3B BE [16:54:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FB 69 47 00 6E C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FD 0A 01 00 F4 03 04 00 E0 BE 20 67 B6 04 01 00 00 9B BC 2C 4B 18 75 AC FC [16:54:18]CommunicateWithHost err = 0 [16:54:18]CheckOFDResponse [16:54:18]1017 (14) - 77093643461234 [16:54:18]1041 (16) - 0000000000871758 [16:54:18]1040 (4) - 68349 [16:54:18]1012 (4) - 29.10.2024 10:54 [16:54:18]1206 (1) - 0 [16:54:18]OFD Sender: Remove packet 68349 [16:54:18]ProducePacketName [16:54:18]name=ofd_packets/00068349 [16:54:18]NVStorageDeleteData [16:54:18]OFD Sender: Processing packet 68350 [packets to send 64, broken 27] [16:54:18]ProducePacketName [16:54:18]name=ofd_packets/00068350 [16:54:18]OFD Sender: To server: pG, [16:54:18]CommunicateWithHost lk.salyk.kg:30040 [16:54:18]ConnectInit lk.salyk.kg [16:54:18]Connected sock=6 [16:54:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 8F 01 00 00 1F 1A 87 01 42 BB 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8C 55 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 E1 E9 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FE 0A 01 00 35 04 06 00 D9 6C A9 BA A2 0F 25 A0 DA 49 01 8B 0F 5F [16:54:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 6E DE 47 00 AB 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FE 0A 01 00 F4 03 04 00 E1 BE 20 67 B6 04 01 00 00 AC D6 9E DB 17 BB 9C 74 [16:54:19]CommunicateWithHost err = 0 [16:54:19]CheckOFDResponse [16:54:19]1017 (14) - 77093643461234 [16:54:19]1041 (16) - 0000000000871758 [16:54:19]1040 (4) - 68350 [16:54:19]1012 (4) - 29.10.2024 10:54 [16:54:19]1206 (1) - 0 [16:54:19]OFD Sender: Remove packet 68350 [16:54:19]ProducePacketName [16:54:19]name=ofd_packets/00068350 [16:54:19]NVStorageDeleteData [16:54:19]OFD Sender: Processing packet 68351 [packets to send 63, broken 27] [16:54:19]ProducePacketName [16:54:19]name=ofd_packets/00068351 [16:54:19]OFD Sender: To server: pG, [16:54:19]CommunicateWithHost lk.salyk.kg:30040 [16:54:19]ConnectInit lk.salyk.kg [16:54:19]Connected sock=6 [16:54:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7F 53 07 01 5B E5 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 4A 00 00 00 F4 03 04 00 57 EA 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FF 0A 01 00 35 04 06 00 50 85 D1 EE E0 62 E5 F0 CF 20 94 BD C5 32 [16:54:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 72 B6 47 00 07 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 FF 0A 01 00 F4 03 04 00 E2 BE 20 67 B6 04 01 00 00 C6 6A C1 5B 43 83 97 27 [16:54:20]CommunicateWithHost err = 0 [16:54:20]CheckOFDResponse [16:54:20]1017 (14) - 77093643461234 [16:54:20]1041 (16) - 0000000000871758 [16:54:20]1040 (4) - 68351 [16:54:20]1012 (4) - 29.10.2024 10:54 [16:54:20]1206 (1) - 0 [16:54:20]OFD Sender: Remove packet 68351 [16:54:20]ProducePacketName [16:54:20]name=ofd_packets/00068351 [16:54:20]NVStorageDeleteData [16:54:20]OFD Sender: Processing packet 68352 [packets to send 62, broken 27] [16:54:20]ProducePacketName [16:54:20]name=ofd_packets/00068352 [16:54:20]OFD Sender: To server: pG, [16:54:20]CommunicateWithHost lk.salyk.kg:30040 [16:54:20]ConnectInit lk.salyk.kg [16:54:20]Connected sock=6 [16:54:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 60 68 20 01 37 0E 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 DB EA 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 00 0B 01 00 35 04 06 00 F5 27 E9 B5 E6 F0 AA 85 D8 54 4B 3F 1B 18 [16:54:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 DD 67 47 00 10 A7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 00 0B 01 00 F4 03 04 00 E3 BE 20 67 B6 04 01 00 00 06 A8 57 B7 5D 0A BC C3 [16:54:20]CommunicateWithHost err = 0 [16:54:20]CheckOFDResponse [16:54:20]1017 (14) - 77093643461234 [16:54:20]1041 (16) - 0000000000871758 [16:54:20]1040 (4) - 68352 [16:54:20]1012 (4) - 29.10.2024 10:54 [16:54:20]1206 (1) - 0 [16:54:20]OFD Sender: Remove packet 68352 [16:54:20]ProducePacketName [16:54:20]name=ofd_packets/00068352 [16:54:20]NVStorageDeleteData [16:54:21]OFD Sender: Processing packet 68354 [packets to send 61, broken 27] [16:54:21]ProducePacketName [16:54:21]name=ofd_packets/00068354 [16:54:21]OFD Sender: To server: pG, [16:54:21]CommunicateWithHost lk.salyk.kg:30040 [16:54:21]ConnectInit lk.salyk.kg [16:54:21]Connected sock=6 [16:54:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 74 8F 07 01 5F AE 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 22 1A 00 00 00 00 13 04 06 00 A8 0A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 0A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 37 00 00 00 00 07 04 06 00 A8 0A 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 0B F1 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 02 0B 01 00 35 04 06 00 9B D4 3B AF 3E 6F E5 A1 A8 9F C2 0B F2 D5 [16:54:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 17 07 47 00 0F 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 02 0B 01 00 F4 03 04 00 E4 BE 20 67 B6 04 01 00 00 09 F3 B3 A3 3D 1D 7B C7 [16:54:21]CommunicateWithHost err = 0 [16:54:21]CheckOFDResponse [16:54:21]1017 (14) - 77093643461234 [16:54:21]1041 (16) - 0000000000871758 [16:54:21]1040 (4) - 68354 [16:54:21]1012 (4) - 29.10.2024 10:54 [16:54:21]1206 (1) - 0 [16:54:21]OFD Sender: Remove packet 68354 [16:54:21]ProducePacketName [16:54:21]name=ofd_packets/00068354 [16:54:21]NVStorageDeleteData [16:54:22]OFD Sender: Processing packet 68355 [packets to send 60, broken 27] [16:54:22]ProducePacketName [16:54:22]name=ofd_packets/00068355 [16:54:22]OFD Sender: To server: pG, [16:54:22]CommunicateWithHost lk.salyk.kg:30040 [16:54:22]ConnectInit lk.salyk.kg [16:54:22]Connected sock=6 [16:54:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 6D 5C 07 01 62 3C 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 4E 00 00 00 F4 03 04 00 E4 F1 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 03 0B 01 00 35 04 06 00 2B F7 AC 9D 56 2B 09 5D 14 26 BC 0A 27 0F [16:54:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BC F9 47 00 13 FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 03 0B 01 00 F4 03 04 00 E5 BE 20 67 B6 04 01 00 00 2E 33 42 F5 F2 48 6C 5A [16:54:22]CommunicateWithHost err = 0 [16:54:22]CheckOFDResponse [16:54:22]1017 (14) - 77093643461234 [16:54:22]1041 (16) - 0000000000871758 [16:54:22]1040 (4) - 68355 [16:54:22]1012 (4) - 29.10.2024 10:54 [16:54:22]1206 (1) - 0 [16:54:22]OFD Sender: Remove packet 68355 [16:54:22]ProducePacketName [16:54:22]name=ofd_packets/00068355 [16:54:22]NVStorageDeleteData [16:54:23]OFD Sender: Processing packet 68356 [packets to send 59, broken 27] [16:54:23]ProducePacketName [16:54:23]name=ofd_packets/00068356 [16:54:23]OFD Sender: To server: pG, [16:54:23]CommunicateWithHost lk.salyk.kg:30040 [16:54:23]ConnectInit lk.salyk.kg [16:54:23]Connected sock=6 [16:54:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 87 C7 07 01 A5 54 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 33 FF 03 08 00 03 50 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 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 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 CB F2 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 04 0B 01 00 35 04 06 00 DE 95 7C 64 B2 0B 8C 57 B5 5F 0D D3 DD CE [16:54:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E1 0B 47 00 3F 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 04 0B 01 00 F4 03 04 00 E6 BE 20 67 B6 04 01 00 00 8C F8 8F 38 24 C7 E2 7D [16:54:23]CommunicateWithHost err = 0 [16:54:23]CheckOFDResponse [16:54:23]1017 (14) - 77093643461234 [16:54:23]1041 (16) - 0000000000871758 [16:54:23]1040 (4) - 68356 [16:54:23]1012 (4) - 29.10.2024 10:54 [16:54:23]1206 (1) - 0 [16:54:23]OFD Sender: Remove packet 68356 [16:54:23]ProducePacketName [16:54:23]name=ofd_packets/00068356 [16:54:23]NVStorageDeleteData [16:54:23]OFD Sender: Processing packet 68357 [packets to send 58, broken 27] [16:54:23]ProducePacketName [16:54:23]name=ofd_packets/00068357 [16:54:23]OFD Sender: To server: pG, [16:54:23]CommunicateWithHost lk.salyk.kg:30040 [16:54:23]ConnectInit lk.salyk.kg [16:54:24]Connected sock=6 [16:54:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 BA 60 07 01 E1 BF 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 33 FF 03 08 00 03 50 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 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 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 03 F4 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 05 0B 01 00 35 04 06 00 2C 37 6F 98 95 1D E4 CB E7 DB 93 21 4D A6 [16:54:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D6 88 47 00 9E 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 38 37 31 37 35 38 10 04 04 00 05 0B 01 00 F4 03 04 00 E7 BE 20 67 B6 04 01 00 00 02 44 1B 3D DC A2 90 F1 [16:54:24]CommunicateWithHost err = 0 [16:54:24]CheckOFDResponse [16:54:24]1017 (14) - 77093643461234 [16:54:24]1041 (16) - 0000000000871758 [16:54:24]1040 (4) - 68357 [16:54:24]1012 (4) - 29.10.2024 10:54 [16:54:24]1206 (1) - 0 [16:54:24]OFD Sender: Remove packet 68357 [16:54:24]ProducePacketName [16:54:24]name=ofd_packets/00068357 [16:54:24]NVStorageDeleteData [16:54:24]OFD Sender: Processing packet 68358 [packets to send 57, broken 27] [16:54:24]ProducePacketName [16:54:24]name=ofd_packets/00068358 [16:54:24]OFD Sender: To server: pG, [16:54:24]CommunicateWithHost lk.salyk.kg:30040 [16:54:24]ConnectInit lk.salyk.kg [16:54:24]Connected sock=6 [16:54:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 87 29 07 01 76 44 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 56 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 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 B8 F4 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 06 0B 01 00 35 04 06 00 12 A9 C6 C8 CA 0A 6D 0D 90 02 ED 96 A6 E8 [16:54:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 AF 7A 47 00 D2 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 06 0B 01 00 F4 03 04 00 E7 BE 20 67 B6 04 01 00 00 20 A9 3C 1F 02 54 04 12 [16:54:25]CommunicateWithHost err = 0 [16:54:25]CheckOFDResponse [16:54:25]1017 (14) - 77093643461234 [16:54:25]1041 (16) - 0000000000871758 [16:54:25]1040 (4) - 68358 [16:54:25]1012 (4) - 29.10.2024 10:54 [16:54:25]1206 (1) - 0 [16:54:25]OFD Sender: Remove packet 68358 [16:54:25]ProducePacketName [16:54:25]name=ofd_packets/00068358 [16:54:25]NVStorageDeleteData [16:54:25]OFD Sender: Processing packet 68359 [packets to send 56, broken 27] [16:54:25]ProducePacketName [16:54:25]name=ofd_packets/00068359 [16:54:25]OFD Sender: To server: pG, [16:54:25]CommunicateWithHost lk.salyk.kg:30040 [16:54:25]ConnectInit lk.salyk.kg [16:54:25]Connected sock=7 [16:54:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 BD 01 00 00 D1 EC B5 01 23 62 5A 03 01 00 03 00 A9 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 34 39 34 06 04 2A 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D0 B2 D0 B5 D1 82 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 33 37 33 30 30 33 39 06 04 45 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 92 D0 BE D0 B7 D0 B4 20 D0 BF D1 88 D0 B5 D0 BD D0 B8 D1 86 D0 B0 20 D0 91 D0 B0 D0 B4 D1 8B D1 80 D0 B0 D0 BA 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B0 D1 8F 20 33 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 07 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 18 F5 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 07 0B 01 00 35 04 06 00 C5 FB 1F BE D9 A3 6A A4 C3 09 1D E7 D5 C0 [16:54:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 67 7B 47 00 C7 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 07 0B 01 00 F4 03 04 00 E8 BE 20 67 B6 04 01 00 00 0D 36 14 E2 3C 84 4C C3 [16:54:26]CommunicateWithHost err = 0 [16:54:26]CheckOFDResponse [16:54:26]1017 (14) - 77093643461234 [16:54:26]1041 (16) - 0000000000871758 [16:54:26]1040 (4) - 68359 [16:54:26]1012 (4) - 29.10.2024 10:54 [16:54:26]1206 (1) - 0 [16:54:26]OFD Sender: Remove packet 68359 [16:54:26]ProducePacketName [16:54:26]name=ofd_packets/00068359 [16:54:26]NVStorageDeleteData [16:54:26]OFD Sender: Processing packet 68360 [packets to send 55, broken 27] [16:54:26]ProducePacketName [16:54:26]name=ofd_packets/00068360 [16:54:26]OFD Sender: To server: pG, [16:54:26]CommunicateWithHost lk.salyk.kg:30040 [16:54:26]ConnectInit lk.salyk.kg [16:54:26]Connected sock=6 [16:54:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 74 D6 07 01 14 6B 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 EC 5E 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 89 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 42 00 00 00 00 07 04 06 00 64 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 53 00 00 00 F4 03 04 00 C5 F5 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 08 0B 01 00 35 04 06 00 40 DE B3 2D 69 8A 3E 6F 02 8B 4D 3A 11 50 [16:54:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 27 83 47 00 5B 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 38 37 31 37 35 38 10 04 04 00 08 0B 01 00 F4 03 04 00 E9 BE 20 67 B6 04 01 00 00 C3 1F A9 63 E0 32 71 85 [16:54:26]CommunicateWithHost err = 0 [16:54:26]CheckOFDResponse [16:54:26]1017 (14) - 77093643461234 [16:54:26]1041 (16) - 0000000000871758 [16:54:26]1040 (4) - 68360 [16:54:26]1012 (4) - 29.10.2024 10:54 [16:54:26]1206 (1) - 0 [16:54:26]OFD Sender: Remove packet 68360 [16:54:26]ProducePacketName [16:54:26]name=ofd_packets/00068360 [16:54:26]NVStorageDeleteData [16:54:27]OFD Sender: Processing packet 68361 [packets to send 54, broken 27] [16:54:27]ProducePacketName [16:54:27]name=ofd_packets/00068361 [16:54:27]OFD Sender: To server: pG, [16:54:27]CommunicateWithHost lk.salyk.kg:30040 [16:54:27]ConnectInit lk.salyk.kg [16:54:27]Connected sock=6 [16:54:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 8B E1 08 01 2E 35 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F1 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F1 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 0F F6 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 09 0B 01 00 35 04 06 00 74 CF 70 72 D7 E5 4E 21 A6 CF 3E E8 25 7C [16:54:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 20 E4 47 00 30 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 09 0B 01 00 F4 03 04 00 EA BE 20 67 B6 04 01 00 00 DE 82 CF 24 47 65 FE 28 [16:54:27]CommunicateWithHost err = 0 [16:54:27]CheckOFDResponse [16:54:27]1017 (14) - 77093643461234 [16:54:27]1041 (16) - 0000000000871758 [16:54:27]1040 (4) - 68361 [16:54:27]1012 (4) - 29.10.2024 10:54 [16:54:27]1206 (1) - 0 [16:54:27]OFD Sender: Remove packet 68361 [16:54:27]ProducePacketName [16:54:27]name=ofd_packets/00068361 [16:54:27]NVStorageDeleteData [16:54:28]OFD Sender: Processing packet 68362 [packets to send 53, broken 27] [16:54:28]ProducePacketName [16:54:28]name=ofd_packets/00068362 [16:54:28]OFD Sender: To server: pG, [16:54:28]CommunicateWithHost lk.salyk.kg:30040 [16:54:28]ConnectInit lk.salyk.kg [16:54:28]Connected sock=6 [16:54:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 74 80 07 01 92 E9 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 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 55 00 00 00 F4 03 04 00 60 F7 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0A 0B 01 00 35 04 06 00 C2 DD E1 30 B9 10 30 0E 77 1B 1F A0 81 29 [16:54:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4F 1D 47 00 40 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0A 0B 01 00 F4 03 04 00 EB BE 20 67 B6 04 01 00 00 6C 25 6F C4 05 0E 10 03 [16:54:28]CommunicateWithHost err = 0 [16:54:28]CheckOFDResponse [16:54:28]1017 (14) - 77093643461234 [16:54:28]1041 (16) - 0000000000871758 [16:54:28]1040 (4) - 68362 [16:54:28]1012 (4) - 29.10.2024 10:54 [16:54:28]1206 (1) - 0 [16:54:28]OFD Sender: Remove packet 68362 [16:54:28]ProducePacketName [16:54:28]name=ofd_packets/00068362 [16:54:28]NVStorageDeleteData [16:54:29]OFD Sender: Processing packet 68363 [packets to send 52, broken 27] [16:54:29]ProducePacketName [16:54:29]name=ofd_packets/00068363 [16:54:29]OFD Sender: To server: pG, [16:54:29]CommunicateWithHost lk.salyk.kg:30040 [16:54:29]ConnectInit lk.salyk.kg [16:54:29]Connected sock=6 [16:54:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 73 8C 08 01 AF C6 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4A 2E 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 9E 3C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 3C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 21 00 00 00 00 07 04 06 00 68 3C 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 74 F8 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0B 0B 01 00 35 04 06 00 16 A1 08 3D 58 4D A5 B6 1E 99 2D DF 4F 90 [16:54:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3B 39 47 00 82 AD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0B 0B 01 00 F4 03 04 00 EC BE 20 67 B6 04 01 00 00 4E C4 18 95 17 5F 28 C8 [16:54:29]CommunicateWithHost err = 0 [16:54:29]CheckOFDResponse [16:54:29]1017 (14) - 77093643461234 [16:54:29]1041 (16) - 0000000000871758 [16:54:29]1040 (4) - 68363 [16:54:29]1012 (4) - 29.10.2024 10:54 [16:54:29]1206 (1) - 0 [16:54:29]OFD Sender: Remove packet 68363 [16:54:29]ProducePacketName [16:54:29]name=ofd_packets/00068363 [16:54:29]NVStorageDeleteData [16:54:29]OFD Sender: Processing packet 68364 [packets to send 51, broken 27] [16:54:29]ProducePacketName [16:54:29]name=ofd_packets/00068364 [16:54:29]OFD Sender: To server: pG, [16:54:29]CommunicateWithHost lk.salyk.kg:30040 [16:54:29]ConnectInit lk.salyk.kg [16:54:30]Connected sock=6 [16:54:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 A5 02 00 00 17 4F 9D 02 77 B2 5A 03 01 00 03 00 91 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4E 0F 00 00 00 00 07 04 06 00 24 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 0E F9 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0C 0B 01 00 35 04 06 00 2F 09 26 A2 0D 5B 48 AC 89 6B 8C CF 4D F6 [16:54:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 59 E0 47 00 48 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0C 0B 01 00 F4 03 04 00 ED BE 20 67 B6 04 01 00 00 6C 41 D3 17 CC 9A EC F4 [16:54:30]CommunicateWithHost err = 0 [16:54:30]CheckOFDResponse [16:54:30]1017 (14) - 77093643461234 [16:54:30]1041 (16) - 0000000000871758 [16:54:30]1040 (4) - 68364 [16:54:30]1012 (4) - 29.10.2024 10:54 [16:54:30]1206 (1) - 0 [16:54:30]OFD Sender: Remove packet 68364 [16:54:30]ProducePacketName [16:54:30]name=ofd_packets/00068364 [16:54:30]NVStorageDeleteData [16:54:31]OFD Sender: Processing packet 68365 [packets to send 50, broken 27] [16:54:31]ProducePacketName [16:54:31]name=ofd_packets/00068365 [16:54:31]OFD Sender: To server: pG, [16:54:31]CommunicateWithHost lk.salyk.kg:30040 [16:54:31]ConnectInit lk.salyk.kg [16:54:31]Connected sock=6 [16:54:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 DB B5 07 01 BC 2A 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 2E 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 36 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 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 BB 14 00 00 00 00 07 04 06 00 EC C2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 1A FB 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0D 0B 01 00 35 04 06 00 EC AE C6 50 DC 77 23 39 4D EA 7F 9A 65 10 [16:54:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BA 7E 47 00 86 D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0D 0B 01 00 F4 03 04 00 EE BE 20 67 B6 04 01 00 00 DE 60 92 75 F9 32 73 00 [16:54:31]CommunicateWithHost err = 0 [16:54:31]CheckOFDResponse [16:54:31]1017 (14) - 77093643461234 [16:54:31]1041 (16) - 0000000000871758 [16:54:31]1040 (4) - 68365 [16:54:31]1012 (4) - 29.10.2024 10:54 [16:54:31]1206 (1) - 0 [16:54:31]OFD Sender: Remove packet 68365 [16:54:31]ProducePacketName [16:54:31]name=ofd_packets/00068365 [16:54:31]NVStorageDeleteData [16:54:31]OFD Sender: Processing packet 68366 [packets to send 49, broken 27] [16:54:31]ProducePacketName [16:54:31]name=ofd_packets/00068366 [16:54:31]OFD Sender: To server: pG, [16:54:31]CommunicateWithHost lk.salyk.kg:30040 [16:54:31]ConnectInit lk.salyk.kg [16:54:32]Connected sock=6 [16:54:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 3C D9 04 01 1E D6 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 80 1A 06 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 59 00 00 00 F4 03 04 00 D9 FB 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0E 0B 01 00 35 04 06 00 E8 31 AB F6 1E 1F E1 5B AE D2 51 EB 6A 78 [16:54:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 15 E8 47 00 99 E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0E 0B 01 00 F4 03 04 00 EE BE 20 67 B6 04 01 00 00 C5 4D D7 62 D2 91 FC 88 [16:54:32]CommunicateWithHost err = 0 [16:54:32]CheckOFDResponse [16:54:32]1017 (14) - 77093643461234 [16:54:32]1041 (16) - 0000000000871758 [16:54:32]1040 (4) - 68366 [16:54:32]1012 (4) - 29.10.2024 10:54 [16:54:32]1206 (1) - 0 [16:54:32]OFD Sender: Remove packet 68366 [16:54:32]ProducePacketName [16:54:32]name=ofd_packets/00068366 [16:54:32]NVStorageDeleteData [16:54:32]OFD Sender: Processing packet 68367 [packets to send 48, broken 27] [16:54:32]ProducePacketName [16:54:32]name=ofd_packets/00068367 [16:54:32]OFD Sender: To server: pG, [16:54:32]CommunicateWithHost lk.salyk.kg:30040 [16:54:32]ConnectInit lk.salyk.kg [16:54:32]Connected sock=6 [16:54:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 A3 01 00 00 E0 7D 9B 01 C9 25 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 DD FE 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0F 0B 01 00 35 04 06 00 B9 1F 72 F7 C5 7D 71 49 A2 6C 05 C2 40 6A [16:54:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0D 55 47 00 32 D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0F 0B 01 00 F4 03 04 00 EF BE 20 67 B6 04 01 00 00 84 50 06 BC CA C9 F2 FA [16:54:33]CommunicateWithHost err = 0 [16:54:33]CheckOFDResponse [16:54:33]1017 (14) - 77093643461234 [16:54:33]1041 (16) - 0000000000871758 [16:54:33]1040 (4) - 68367 [16:54:33]1012 (4) - 29.10.2024 10:54 [16:54:33]1206 (1) - 0 [16:54:33]OFD Sender: Remove packet 68367 [16:54:33]ProducePacketName [16:54:33]name=ofd_packets/00068367 [16:54:33]NVStorageDeleteData [16:54:33]OFD Sender: Processing packet 68368 [packets to send 47, broken 27] [16:54:33]ProducePacketName [16:54:33]name=ofd_packets/00068368 [16:54:33]OFD Sender: To server: pG, [16:54:33]CommunicateWithHost lk.salyk.kg:30040 [16:54:33]ConnectInit lk.salyk.kg [16:54:33]Connected sock=6 [16:54:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 B1 4A 07 01 9E 06 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 29 4A 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 00 00 00 00 00 00 39 04 06 00 29 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 4B FF 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 10 0B 01 00 35 04 06 00 7A 9A 8F 56 A7 05 5E FA 23 78 AA 39 AA 80 [16:54:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 52 48 47 00 CE 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 38 37 31 37 35 38 10 04 04 00 10 0B 01 00 F4 03 04 00 F0 BE 20 67 B6 04 01 00 00 FC 07 86 A8 B8 1E BE 59 [16:54:34]CommunicateWithHost err = 0 [16:54:34]CheckOFDResponse [16:54:34]1017 (14) - 77093643461234 [16:54:34]1041 (16) - 0000000000871758 [16:54:34]1040 (4) - 68368 [16:54:34]1012 (4) - 29.10.2024 10:54 [16:54:34]1206 (1) - 0 [16:54:34]OFD Sender: Remove packet 68368 [16:54:34]ProducePacketName [16:54:34]name=ofd_packets/00068368 [16:54:34]NVStorageDeleteData [16:54:34]OFD Sender: Processing packet 68369 [packets to send 46, broken 27] [16:54:34]ProducePacketName [16:54:34]name=ofd_packets/00068369 [16:54:34]OFD Sender: To server: pG, [16:54:34]CommunicateWithHost lk.salyk.kg:30040 [16:54:34]ConnectInit lk.salyk.kg [16:54:34]Connected sock=6 [16:54:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A3 37 07 01 28 0F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 5C 00 00 00 F4 03 04 00 50 00 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 11 0B 01 00 35 04 06 00 89 73 00 20 F8 82 47 32 1D 12 12 56 45 CD [16:54:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 ED 0D 47 00 65 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 11 0B 01 00 F4 03 04 00 F1 BE 20 67 B6 04 01 00 00 B0 7C BD D9 8F 34 A8 07 [16:54:34]CommunicateWithHost err = 0 [16:54:34]CheckOFDResponse [16:54:34]1017 (14) - 77093643461234 [16:54:34]1041 (16) - 0000000000871758 [16:54:34]1040 (4) - 68369 [16:54:34]1012 (4) - 29.10.2024 10:54 [16:54:34]1206 (1) - 0 [16:54:34]OFD Sender: Remove packet 68369 [16:54:34]ProducePacketName [16:54:34]name=ofd_packets/00068369 [16:54:34]NVStorageDeleteData [16:54:35]OFD Sender: Processing packet 68370 [packets to send 45, broken 27] [16:54:35]ProducePacketName [16:54:35]name=ofd_packets/00068370 [16:54:35]OFD Sender: To server: pG, [16:54:35]CommunicateWithHost lk.salyk.kg:30040 [16:54:35]ConnectInit lk.salyk.kg [16:54:35]Connected sock=6 [16:54:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 57 28 07 01 96 A3 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 29 4A 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 00 00 00 00 00 00 39 04 06 00 29 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 8C 00 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 12 0B 01 00 35 04 06 00 7A EC 19 30 75 62 67 E9 01 F3 48 A7 EB 0B [16:54:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3F A4 47 00 24 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 12 0B 01 00 F4 03 04 00 F2 BE 20 67 B6 04 01 00 00 79 93 89 F1 74 BE 15 64 [16:54:35]CommunicateWithHost err = 0 [16:54:35]CheckOFDResponse [16:54:35]1017 (14) - 77093643461234 [16:54:35]1041 (16) - 0000000000871758 [16:54:35]1040 (4) - 68370 [16:54:35]1012 (4) - 29.10.2024 10:54 [16:54:35]1206 (1) - 0 [16:54:35]OFD Sender: Remove packet 68370 [16:54:35]ProducePacketName [16:54:35]name=ofd_packets/00068370 [16:54:35]NVStorageDeleteData [16:54:36]OFD Sender: Processing packet 68371 [packets to send 44, broken 27] [16:54:36]ProducePacketName [16:54:36]name=ofd_packets/00068371 [16:54:36]OFD Sender: To server: pG, [16:54:36]CommunicateWithHost lk.salyk.kg:30040 [16:54:36]ConnectInit lk.salyk.kg [16:54:36]Connected sock=6 [16:54:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 69 AE 07 01 02 C9 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 33 FF 03 08 00 03 44 AC 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 36 FE 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 FE 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 87 00 00 00 00 07 04 06 00 20 FE 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 E2 00 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 13 0B 01 00 35 04 06 00 BF 00 70 79 DC 8F A5 DB 58 F2 6E 51 9B 88 [16:54:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B8 B6 47 00 86 E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 13 0B 01 00 F4 03 04 00 F3 BE 20 67 B6 04 01 00 00 43 E3 A4 BF FD 30 D1 19 [16:54:36]CommunicateWithHost err = 0 [16:54:36]CheckOFDResponse [16:54:36]1017 (14) - 77093643461234 [16:54:36]1041 (16) - 0000000000871758 [16:54:36]1040 (4) - 68371 [16:54:36]1012 (4) - 29.10.2024 10:54 [16:54:36]1206 (1) - 0 [16:54:36]OFD Sender: Remove packet 68371 [16:54:36]ProducePacketName [16:54:36]name=ofd_packets/00068371 [16:54:36]NVStorageDeleteData [16:54:37]OFD Sender: Processing packet 68372 [packets to send 43, broken 27] [16:54:37]ProducePacketName [16:54:37]name=ofd_packets/00068372 [16:54:37]OFD Sender: To server: pG, [16:54:37]CommunicateWithHost lk.salyk.kg:30040 [16:54:37]ConnectInit lk.salyk.kg [16:54:37]Connected sock=6 [16:54:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 39 01 00 00 A7 8D 31 01 B4 95 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 FB 00 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 14 0B 01 00 35 04 06 00 D8 FA 30 9F D5 92 02 B9 A9 48 76 C0 C2 CB [16:54:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 41 8F 47 00 F3 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 14 0B 01 00 F4 03 04 00 F4 BE 20 67 B6 04 01 00 00 CB 10 A7 6E 78 C2 3C F2 [16:54:37]CommunicateWithHost err = 0 [16:54:37]CheckOFDResponse [16:54:37]1017 (14) - 77093643461234 [16:54:37]1041 (16) - 0000000000871758 [16:54:37]1040 (4) - 68372 [16:54:37]1012 (4) - 29.10.2024 10:54 [16:54:37]1206 (1) - 0 [16:54:37]OFD Sender: Remove packet 68372 [16:54:37]ProducePacketName [16:54:37]name=ofd_packets/00068372 [16:54:37]NVStorageDeleteData [16:54:38]OFD Sender: Processing packet 68373 [packets to send 42, broken 27] [16:54:38]ProducePacketName [16:54:38]name=ofd_packets/00068373 [16:54:38]OFD Sender: To server: pG, [16:54:38]CommunicateWithHost lk.salyk.kg:30040 [16:54:38]ConnectInit lk.salyk.kg [16:54:38]Connected sock=6 [16:54:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 F4 78 04 01 25 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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 FC 02 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 15 0B 01 00 35 04 06 00 58 73 9A 1C 43 8C 40 88 2C 38 10 76 AB 60 [16:54:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 49 E2 47 00 7D FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 15 0B 01 00 F4 03 04 00 F5 BE 20 67 B6 04 01 00 00 BF 44 32 62 DD CD 19 6C [16:54:38]CommunicateWithHost err = 0 [16:54:38]CheckOFDResponse [16:54:38]1017 (14) - 77093643461234 [16:54:38]1041 (16) - 0000000000871758 [16:54:38]1040 (4) - 68373 [16:54:38]1012 (4) - 29.10.2024 10:54 [16:54:38]1206 (1) - 0 [16:54:38]OFD Sender: Remove packet 68373 [16:54:38]ProducePacketName [16:54:38]name=ofd_packets/00068373 [16:54:38]NVStorageDeleteData [16:54:38]OFD Sender: Processing packet 68374 [packets to send 41, broken 27] [16:54:38]ProducePacketName [16:54:38]name=ofd_packets/00068374 [16:54:38]OFD Sender: To server: pG, [16:54:38]CommunicateWithHost lk.salyk.kg:30040 [16:54:38]ConnectInit lk.salyk.kg [16:54:39]Connected sock=6 [16:54:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 5B 5A 07 01 60 0B 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 22 1A 00 00 00 00 13 04 06 00 A8 0A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 0A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 37 00 00 00 00 07 04 06 00 A8 0A 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 75 03 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 16 0B 01 00 35 04 06 00 40 25 40 2D 59 82 89 B0 AE 1D 21 34 F5 24 [16:54:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A8 F3 47 00 FD 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 16 0B 01 00 F4 03 04 00 F6 BE 20 67 B6 04 01 00 00 B7 6E 22 16 B6 69 48 09 [16:54:39]CommunicateWithHost err = 0 [16:54:39]CheckOFDResponse [16:54:39]1017 (14) - 77093643461234 [16:54:39]1041 (16) - 0000000000871758 [16:54:39]1040 (4) - 68374 [16:54:39]1012 (4) - 29.10.2024 10:54 [16:54:39]1206 (1) - 0 [16:54:39]OFD Sender: Remove packet 68374 [16:54:39]ProducePacketName [16:54:39]name=ofd_packets/00068374 [16:54:39]NVStorageDeleteData [16:54:39]OFD Sender: Processing packet 68375 [packets to send 40, broken 27] [16:54:39]ProducePacketName [16:54:39]name=ofd_packets/00068375 [16:54:39]OFD Sender: To server: pG, [16:54:39]CommunicateWithHost lk.salyk.kg:30040 [16:54:39]ConnectInit lk.salyk.kg [16:54:39]Connected sock=6 [16:54:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 41 01 00 00 1F 0F 39 01 FC 83 5A 03 01 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 C9 05 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 17 0B 01 00 35 04 06 00 D4 01 52 7D 00 6E C6 34 1C C6 A1 F8 5B D0 [16:54:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F3 85 47 00 B0 73 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 17 0B 01 00 F4 03 04 00 F6 BE 20 67 B6 04 01 00 00 5C A3 59 BC 03 C4 4D 23 [16:54:40]CommunicateWithHost err = 0 [16:54:40]CheckOFDResponse [16:54:40]1017 (14) - 77093643461234 [16:54:40]1041 (16) - 0000000000871758 [16:54:40]1040 (4) - 68375 [16:54:40]1012 (4) - 29.10.2024 10:54 [16:54:40]1206 (1) - 0 [16:54:40]OFD Sender: Remove packet 68375 [16:54:40]ProducePacketName [16:54:40]name=ofd_packets/00068375 [16:54:40]NVStorageDeleteData [16:54:40]OFD Sender: Processing packet 68376 [packets to send 39, broken 27] [16:54:40]ProducePacketName [16:54:40]name=ofd_packets/00068376 [16:54:40]OFD Sender: To server: pG, [16:54:40]CommunicateWithHost lk.salyk.kg:30040 [16:54:40]ConnectInit lk.salyk.kg [16:54:40]Connected sock=6 [16:54:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 B0 5C 07 01 C1 35 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 72 51 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 DF 20 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 20 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D2 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 39 00 00 00 00 07 04 06 00 88 20 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 DA 05 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 18 0B 01 00 35 04 06 00 5C 8C 0B 0E 64 41 B3 6E 8E 6D 60 20 FA 29 [16:54:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3E 47 47 00 0D 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 18 0B 01 00 F4 03 04 00 F7 BE 20 67 B6 04 01 00 00 6E 6B D4 C9 B5 3E 2B 71 [16:54:41]CommunicateWithHost err = 0 [16:54:41]CheckOFDResponse [16:54:41]1017 (14) - 77093643461234 [16:54:41]1041 (16) - 0000000000871758 [16:54:41]1040 (4) - 68376 [16:54:41]1012 (4) - 29.10.2024 10:54 [16:54:41]1206 (1) - 0 [16:54:41]OFD Sender: Remove packet 68376 [16:54:41]ProducePacketName [16:54:41]name=ofd_packets/00068376 [16:54:41]NVStorageDeleteData [16:54:41]OFD Sender: Processing packet 68377 [packets to send 38, broken 27] [16:54:41]ProducePacketName [16:54:41]name=ofd_packets/00068377 [16:54:41]OFD Sender: To server: pG, [16:54:41]CommunicateWithHost lk.salyk.kg:30040 [16:54:41]ConnectInit lk.salyk.kg [16:54:41]Connected sock=6 [16:54:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 A8 FF 04 01 69 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 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 64 00 00 00 F4 03 04 00 F1 0A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 19 0B 01 00 35 04 06 00 30 26 12 5B 33 AE 77 02 88 14 DF 11 4A AD [16:54:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BE 26 47 00 CA 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 19 0B 01 00 F4 03 04 00 F8 BE 20 67 B6 04 01 00 00 8B 2F DC 0D D1 F5 D6 DF [16:54:42]CommunicateWithHost err = 0 [16:54:42]CheckOFDResponse [16:54:42]1017 (14) - 77093643461234 [16:54:42]1041 (16) - 0000000000871758 [16:54:42]1040 (4) - 68377 [16:54:42]1012 (4) - 29.10.2024 10:54 [16:54:42]1206 (1) - 0 [16:54:42]OFD Sender: Remove packet 68377 [16:54:42]ProducePacketName [16:54:42]name=ofd_packets/00068377 [16:54:42]NVStorageDeleteData [16:54:42]OFD Sender: Processing packet 68378 [packets to send 37, broken 27] [16:54:42]ProducePacketName [16:54:42]name=ofd_packets/00068378 [16:54:42]OFD Sender: To server: pG, [16:54:42]CommunicateWithHost lk.salyk.kg:30040 [16:54:42]ConnectInit lk.salyk.kg [16:54:42]Connected sock=6 [16:54:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 E9 7B 07 01 43 9C 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 33 FF 03 08 00 03 9E 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 29 00 00 00 00 07 04 06 00 3C 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 65 00 00 00 F4 03 04 00 35 0D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1A 0B 01 00 35 04 06 00 21 F5 C8 AA CD 34 CC 1F 49 99 0B D4 2E 66 [16:54:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BE A8 47 00 75 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1A 0B 01 00 F4 03 04 00 F9 BE 20 67 B6 04 01 00 00 5E 1C 15 9F 42 90 AC 17 [16:54:42]CommunicateWithHost err = 0 [16:54:42]CheckOFDResponse [16:54:42]1017 (14) - 77093643461234 [16:54:42]1041 (16) - 0000000000871758 [16:54:42]1040 (4) - 68378 [16:54:42]1012 (4) - 29.10.2024 10:54 [16:54:42]1206 (1) - 0 [16:54:42]OFD Sender: Remove packet 68378 [16:54:42]ProducePacketName [16:54:42]name=ofd_packets/00068378 [16:54:42]NVStorageDeleteData [16:54:43]OFD Sender: Processing packet 68379 [packets to send 36, broken 27] [16:54:43]ProducePacketName [16:54:43]name=ofd_packets/00068379 [16:54:43]OFD Sender: To server: pG, [16:54:43]CommunicateWithHost lk.salyk.kg:30040 [16:54:43]ConnectInit lk.salyk.kg [16:54:43]Connected sock=6 [16:54:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 34 36 07 01 57 C3 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 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 50 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 4A 12 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 12 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 38 00 00 00 00 07 04 06 00 14 12 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 6B 0D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1B 0B 01 00 35 04 06 00 A4 5A BB 8F 6E 0A 06 D5 16 75 F6 A9 FC D0 [16:54:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 26 00 47 00 AA 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1B 0B 01 00 F4 03 04 00 FA BE 20 67 B6 04 01 00 00 88 5B F3 91 FB 65 C9 52 [16:54:43]CommunicateWithHost err = 0 [16:54:43]CheckOFDResponse [16:54:43]1017 (14) - 77093643461234 [16:54:43]1041 (16) - 0000000000871758 [16:54:43]1040 (4) - 68379 [16:54:43]1012 (4) - 29.10.2024 10:54 [16:54:43]1206 (1) - 0 [16:54:43]OFD Sender: Remove packet 68379 [16:54:43]ProducePacketName [16:54:43]name=ofd_packets/00068379 [16:54:43]NVStorageDeleteData [16:54:44]OFD Sender: Processing packet 68380 [packets to send 35, broken 27] [16:54:44]ProducePacketName [16:54:44]name=ofd_packets/00068380 [16:54:44]OFD Sender: To server: pG, [16:54:44]CommunicateWithHost lk.salyk.kg:30040 [16:54:44]ConnectInit lk.salyk.kg [16:54:44]Connected sock=6 [16:54:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 84 3D 07 01 71 A2 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 EC 5E 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 89 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 42 00 00 00 00 07 04 06 00 64 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 67 00 00 00 F4 03 04 00 E5 0D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1C 0B 01 00 35 04 06 00 44 AD AA 1E 1E 1D 48 80 E3 A8 1C 14 2C 67 [16:54:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 24 6E 47 00 2A A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1C 0B 01 00 F4 03 04 00 FB BE 20 67 B6 04 01 00 00 1F F1 28 B9 BB AF C5 59 [16:54:44]CommunicateWithHost err = 0 [16:54:44]CheckOFDResponse [16:54:44]1017 (14) - 77093643461234 [16:54:44]1041 (16) - 0000000000871758 [16:54:44]1040 (4) - 68380 [16:54:44]1012 (4) - 29.10.2024 10:54 [16:54:44]1206 (1) - 0 [16:54:44]OFD Sender: Remove packet 68380 [16:54:44]ProducePacketName [16:54:44]name=ofd_packets/00068380 [16:54:44]NVStorageDeleteData [16:54:45]OFD Sender: Processing packet 68381 [packets to send 34, broken 27] [16:54:45]ProducePacketName [16:54:45]name=ofd_packets/00068381 [16:54:45]OFD Sender: To server: pG, [16:54:45]CommunicateWithHost lk.salyk.kg:30040 [16:54:45]ConnectInit lk.salyk.kg [16:54:45]Connected sock=6 [16:54:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 26 01 00 00 68 2C 1E 01 32 C4 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 34 34 06 04 20 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 21 0E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1D 0B 01 00 35 04 06 00 29 6A DF 75 D4 33 3A DA 65 81 8F D1 A4 3D [16:54:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FD 6C 47 00 5F D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1D 0B 01 00 F4 03 04 00 FC BE 20 67 B6 04 01 00 00 2F E5 D2 3B 75 76 8C 99 [16:54:45]CommunicateWithHost err = 0 [16:54:45]CheckOFDResponse [16:54:45]1017 (14) - 77093643461234 [16:54:45]1041 (16) - 0000000000871758 [16:54:45]1040 (4) - 68381 [16:54:45]1012 (4) - 29.10.2024 10:54 [16:54:45]1206 (1) - 0 [16:54:45]OFD Sender: Remove packet 68381 [16:54:45]ProducePacketName [16:54:45]name=ofd_packets/00068381 [16:54:45]NVStorageDeleteData [16:54:46]OFD Sender: Processing packet 68382 [packets to send 33, broken 27] [16:54:46]ProducePacketName [16:54:46]name=ofd_packets/00068382 [16:54:46]OFD Sender: To server: pG, [16:54:46]CommunicateWithHost lk.salyk.kg:30040 [16:54:46]ConnectInit lk.salyk.kg [16:54:46]Connected sock=6 [16:54:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 86 01 00 00 2E 6F 7E 01 89 3F 5A 03 01 00 03 00 72 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 34 35 36 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BB 2D D1 81 D1 8B D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 E0 0E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1E 0B 01 00 35 04 06 00 AD A8 FD 68 2E 59 46 E2 9D 2E 10 B5 9A 98 [16:54:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9F CD 47 00 3D 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 38 37 31 37 35 38 10 04 04 00 1E 0B 01 00 F4 03 04 00 FD BE 20 67 B6 04 01 00 00 CD 2A DD FE E0 5D DB 42 [16:54:46]CommunicateWithHost err = 0 [16:54:46]CheckOFDResponse [16:54:46]1017 (14) - 77093643461234 [16:54:46]1041 (16) - 0000000000871758 [16:54:46]1040 (4) - 68382 [16:54:46]1012 (4) - 29.10.2024 10:54 [16:54:46]1206 (1) - 0 [16:54:46]OFD Sender: Remove packet 68382 [16:54:46]ProducePacketName [16:54:46]name=ofd_packets/00068382 [16:54:46]NVStorageDeleteData [16:54:47]OFD Sender: Processing packet 68383 [packets to send 32, broken 27] [16:54:47]ProducePacketName [16:54:47]name=ofd_packets/00068383 [16:54:47]OFD Sender: To server: pG, [16:54:47]CommunicateWithHost lk.salyk.kg:30040 [16:54:47]ConnectInit lk.salyk.kg [16:54:47]Connected sock=6 [16:54:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 99 01 00 00 41 DA 91 01 93 7A 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 CC 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 03 00 00 00 00 07 04 06 00 F0 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6A 00 00 00 F4 03 04 00 25 0F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1F 0B 01 00 35 04 06 00 57 02 1D DC FD 81 D6 4C CB AE 81 99 16 73 [16:54:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EB 38 47 00 5D BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1F 0B 01 00 F4 03 04 00 FE BE 20 67 B6 04 01 00 00 6E CA 1C FF 10 20 E2 B8 [16:54:47]CommunicateWithHost err = 0 [16:54:47]CheckOFDResponse [16:54:47]1017 (14) - 77093643461234 [16:54:47]1041 (16) - 0000000000871758 [16:54:47]1040 (4) - 68383 [16:54:47]1012 (4) - 29.10.2024 10:54 [16:54:47]1206 (1) - 0 [16:54:47]OFD Sender: Remove packet 68383 [16:54:47]ProducePacketName [16:54:47]name=ofd_packets/00068383 [16:54:47]NVStorageDeleteData [16:54:47]OFD Sender: Processing packet 68384 [packets to send 31, broken 27] [16:54:47]ProducePacketName [16:54:47]name=ofd_packets/00068384 [16:54:47]OFD Sender: To server: pG, [16:54:47]CommunicateWithHost lk.salyk.kg:30040 [16:54:47]ConnectInit lk.salyk.kg [16:54:48]Connected sock=6 [16:54:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2F 01 00 00 61 0E 27 01 8A 3C 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 02 11 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 20 0B 01 00 35 04 06 00 2C AA D5 45 8C 32 9A 9C 6E B9 EF 95 4E FC [16:54:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 DE BA 47 00 0D A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 20 0B 01 00 F4 03 04 00 FF BE 20 67 B6 04 01 00 00 A8 DB 5C AD 24 96 39 7E [16:54:48]CommunicateWithHost err = 0 [16:54:48]CheckOFDResponse [16:54:48]1017 (14) - 77093643461234 [16:54:48]1041 (16) - 0000000000871758 [16:54:48]1040 (4) - 68384 [16:54:48]1012 (4) - 29.10.2024 10:54 [16:54:48]1206 (1) - 0 [16:54:48]OFD Sender: Remove packet 68384 [16:54:48]ProducePacketName [16:54:48]name=ofd_packets/00068384 [16:54:48]NVStorageDeleteData [16:54:48]OFD Sender: Processing packet 68385 [packets to send 30, broken 27] [16:54:48]ProducePacketName [16:54:48]name=ofd_packets/00068385 [16:54:48]OFD Sender: To server: pG, [16:54:48]CommunicateWithHost lk.salyk.kg:30040 [16:54:48]ConnectInit lk.salyk.kg [16:54:48]Connected sock=6 [16:54:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2B 01 00 00 C6 9B 23 01 4F B8 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 31 30 30 38 30 37 32 37 38 31 38 06 04 25 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 50 61 6D 70 65 72 69 6E 6F 20 6B 69 64 73 20 38 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 09 00 00 00 00 13 04 06 00 C4 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 09 01 00 00 00 00 07 04 06 00 C4 09 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 2B 11 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 21 0B 01 00 35 04 06 00 9F 45 A8 B5 38 E7 66 86 5E 0D 5D 2A 2F 4F [16:54:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 44 4C 47 00 1D 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 21 0B 01 00 F4 03 04 00 FF BE 20 67 B6 04 01 00 00 4A 75 48 84 0A 31 55 BC [16:54:49]CommunicateWithHost err = 0 [16:54:49]CheckOFDResponse [16:54:49]1017 (14) - 77093643461234 [16:54:49]1041 (16) - 0000000000871758 [16:54:49]1040 (4) - 68385 [16:54:49]1012 (4) - 29.10.2024 10:54 [16:54:49]1206 (1) - 0 [16:54:49]OFD Sender: Remove packet 68385 [16:54:49]ProducePacketName [16:54:49]name=ofd_packets/00068385 [16:54:49]NVStorageDeleteData [16:54:49]OFD Sender: Processing packet 68386 [packets to send 29, broken 27] [16:54:49]ProducePacketName [16:54:49]name=ofd_packets/00068386 [16:54:49]OFD Sender: To server: pG, [16:54:49]CommunicateWithHost lk.salyk.kg:30040 [16:54:49]ConnectInit lk.salyk.kg [16:54:49]Connected sock=6 [16:54:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E6 1B 04 01 BF A7 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 80 1A 06 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 6D 00 00 00 F4 03 04 00 6C 12 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 22 0B 01 00 35 04 06 00 2B 03 A2 E8 F8 A3 29 D3 13 5B 52 F8 8A 2C [16:54:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E8 FD 47 00 55 E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 22 0B 01 00 F4 03 04 00 00 BF 20 67 B6 04 01 00 00 A3 1C A3 C3 69 E4 4B 88 [16:54:50]CommunicateWithHost err = 0 [16:54:50]CheckOFDResponse [16:54:50]1017 (14) - 77093643461234 [16:54:50]1041 (16) - 0000000000871758 [16:54:50]1040 (4) - 68386 [16:54:50]1012 (4) - 29.10.2024 10:54 [16:54:50]1206 (1) - 0 [16:54:50]OFD Sender: Remove packet 68386 [16:54:50]ProducePacketName [16:54:50]name=ofd_packets/00068386 [16:54:50]NVStorageDeleteData [16:54:50]OFD Sender: Processing packet 68387 [packets to send 28, broken 27] [16:54:50]ProducePacketName [16:54:50]name=ofd_packets/00068387 [16:54:50]OFD Sender: To server: pG, [16:54:50]CommunicateWithHost lk.salyk.kg:30040 [16:54:50]ConnectInit lk.salyk.kg [16:54:50]Connected sock=6 [16:54:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 14 4A 04 01 D2 08 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 80 1A 06 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 6E 00 00 00 F4 03 04 00 8F 12 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 23 0B 01 00 35 04 06 00 3C 46 F8 50 17 BF 2C CD 6B A4 21 3B D4 CB [16:54:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EA AC 47 00 75 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 23 0B 01 00 F4 03 04 00 01 BF 20 67 B6 04 01 00 00 F8 B8 0F 65 12 9E 8C 79 [16:54:51]CommunicateWithHost err = 0 [16:54:51]CheckOFDResponse [16:54:51]1017 (14) - 77093643461234 [16:54:51]1041 (16) - 0000000000871758 [16:54:51]1040 (4) - 68387 [16:54:51]1012 (4) - 29.10.2024 10:54 [16:54:51]1206 (1) - 0 [16:54:51]OFD Sender: Remove packet 68387 [16:54:51]ProducePacketName [16:54:51]name=ofd_packets/00068387 [16:54:51]NVStorageDeleteData [16:54:51]OFD Sender: No OFD packet to send [16:54:56]OFD Sender: No OFD packet to send [16:54:57]accept exits with 5 [16:54:57]New connection [16:54:57]New thread 3067612516 created [16:54:57]Thread 3067469156 joined [16:54:57]Waiting for new connection... [16:54:57] Sock 5.Parse request [16:54:57]Sock 5.Check first char [16:54:57]Sock 5.First char is OK [16:54:57]request: POST /json_proto HTTP/1.0 [16:54:57]Method: POST [16:54:57]URL: /json_proto [16:54:57]Method is POST - this is cgi request [16:54:57]url: /json_proto [16:54:57]query_string will be loaded in cgi processing [16:54:57]execute_cgi json_proto POST (null) [16:54:57]execute_cgi path=json_proto method=POST [16:54:57]POST find Content-Length [16:54:57]Host: 172.17.42.3:8080 [16:54:57]Content-Length: 815 [16:54:57]Content-Type: application/json [16:54:57] [16:54:57]POST finish read [16:54:57]Found Content-Length = 815 [16:54:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46384", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 59.100, "sum" : 4503.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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 4503.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:57]execute_script... [16:54: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)46384", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 59.100, "sum" : 4503.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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 4503.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:54:57]POST & json_proto [16:54:57]process_json_proto [16:54:57]json parsed OK: [16:54:57]protocol is kg_v1.0 [16:54:57]action value=close_receipt [16:54:57]process_action close_receipt [16:54:57]cmd_close_receipt [16:54:57]MH_GetDate [16:54:57]Write to MH i2c: F0 00 00 52 0A 4B [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: F0 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: F0 09 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: F0 09 00 52 0A 00 62 13 21 67 28 A1 20 67 A1 [16:54:57]GetLastDocTimeStamp 1730220687 [16:54:57]current date 1730220898 [16:54:57]FM_GetShiftState [16:54:57]SAM_PROTO_GetShiftState [16:54:57]wFMCommunicate request_size=4 [16:54:57]MH_SAM_APDU [16:54:57]CAPDU: 80 13 01 00 [16:54:57]Write to MH i2c: E2 08 00 53 0A 80 13 01 00 00 00 00 00 DA [16:54:57]Write i2c OK [16:54:57]MH_I2C_Read... [16:54:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:54:57]Read from MH i2c: E2 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 0E 00 [16:54:57]MH_I2C_Read... [16:54:57]Read from MH i2c: E2 0E 00 53 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 8A [16:54:57]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [16:54:57]wFMCommunicate OK [16:54:57]SAM_PROTO_GetShiftState done [16:54:57]FM_GetShiftState done [16:54:57]opened in 1730160885 [16:54:57]opened+sec_in_day 1730247285 [16:54:57]quantity*price = 450342 [16:54:57]sum+1 = 450343 [16:54:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 4503.42 НСП 1% : 39.85 НДС 12% : 478.24 Наличными: 0.00 Безнал.: 4503.42 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 111 29.10.2024 16:54 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68388 ФПД: 165207055407142 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T165458&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68388&fm=165207055407142&tin=02508201610067®Number=0000000000091759&sum=450342 [16:54:58]StoreToDocumentArchive [16:54:58]shift 548 fd 68388 [16:54:58]save to /storage/0548/doc_00068388 [16:54:58]save last doc name /storage/0548/doc_00068388 to /storage/kkm_last_doc_name [16:54:58]save OK [16:54:58]Clear old archive folders... [16:54:58]ProcessDocumentItem done err = 0, tmpTLVsize=248 [16:54:58]tlvbuf is 003242E0 [16:54:58]SAM_PROTO_ClearQueue [16:54:58]wFMCommunicate request_size=4 [16:54:58]MH_SAM_APDU [16:54:58]CAPDU: 80 09 00 00 [16:54:58]Write to MH i2c: E2 08 00 60 0A 80 09 00 00 00 00 00 00 DC [16:54:58]Write i2c OK [16:54:58]MH_I2C_Read... [16:54:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:54:58]Read from MH i2c: E2 [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: E2 03 00 [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: E2 03 00 60 0A 00 90 00 DE [16:54:58]RAPDU: 90 00 [16:54:58]wFMCommunicate OK [16:54:58]SAM_PROTO_ClearQueue done [16:54:58]KKMCreateOFDPacket [16:54:58]OFDProtocolAddRootSTLVToBuf [16:54:58]FM_MakeSignedData [16:54:58]FM_MakeSignedData [16:54:58]SAM_PROTO_SignData [16:54:58]wFMCommunicate request_size=4 [16:54:58]MH_SAM_APDU [16:54:58]CAPDU: 80 0D 01 02 [16:54:58]Write to MH i2c: E2 08 00 61 0A 80 0D 01 02 00 00 00 00 E4 [16:54:58]Write i2c OK [16:54:58]MH_I2C_Read... [16:54:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:54:58]Read from MH i2c: E2 [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: E2 03 00 [16:54:58]MH_I2C_Read... [16:54:58]Read from MH i2c: E2 03 00 61 0A 00 90 00 DF [16:54:58]RAPDU: 90 00 [16:54:58]wFMCommunicate OK [16:54:58]wFMCommunicate request_size=255 [16:54:58]MH_SAM_APDU [16:54:58]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 DC E6 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 26 DF 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 26 DF 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 0F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 BA 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 26 DF 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 6F 00 00 00 F4 03 04 00 62 13 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 24 0B 01 00 35 04 06 00 96 41 43 DA [16:54:58]Write to MH i2c: E2 02 01 62 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 DC E6 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 26 DF 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 26 DF 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 0F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 BA 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 26 DF 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 6F 00 00 00 F4 03 04 00 62 13 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 24 0B 01 00 35 04 06 00 96 41 43 DA 00 00 EF [16:54:58]Write i2c OK [16:54:58]MH_I2C_Read... [16:54:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:59]Read from MH i2c: E2 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 03 00 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 03 00 62 0A 00 90 00 E0 [16:54:59]RAPDU: 90 00 [16:54:59]wFMCommunicate OK [16:54:59]wFMCommunicate request_size=7 [16:54:59]MH_SAM_APDU [16:54:59]CAPDU: 80 0D 02 02 02 18 26 [16:54:59]Write to MH i2c: E2 0A 00 63 0A 80 0D 02 02 02 00 18 26 00 00 29 [16:54:59]Write i2c OK [16:54:59]MH_I2C_Read... [16:54:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:54:59]Read from MH i2c: E2 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 03 00 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 03 00 63 0A 00 90 00 E1 [16:54:59]RAPDU: 90 00 [16:54:59]wFMCommunicate OK [16:54:59]wFMCommunicate request_size=4 [16:54:59]MH_SAM_APDU [16:54:59]CAPDU: 80 0D 03 02 [16:54:59]Write to MH i2c: E2 08 00 64 0A 80 0D 03 02 00 00 00 00 E9 [16:54:59]Write i2c OK [16:54:59]MH_I2C_Read... [16:54:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:54:59]Read from MH i2c: E2 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 0B 00 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 0B 00 64 0A 00 0C CA 8F 69 41 A5 1D 72 90 00 2D [16:54:59]RAPDU: 0C CA 8F 69 41 A5 1D 72 90 00 [16:54:59]wFMCommunicate OK [16:54:59]SAM_PROTO_SignData done [16:54:59]FM_MakeSignedData done [16:54:59]CreateOFDProtocolMessage [16:54:59]wFMCommunicate request_size=4 [16:54:59]MH_SAM_APDU [16:54:59]CAPDU: 80 11 00 00 [16:54:59]Write to MH i2c: E2 08 00 65 0A 80 11 00 00 00 00 00 00 E9 [16:54:59]Write i2c OK [16:54:59]MH_I2C_Read... [16:54:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:54:59]Read from MH i2c: E2 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 17 00 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: E2 17 00 65 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 40 [16:54:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [16:54:59]wFMCommunicate OK [16:54:59]CreateOFDProtocolMessage done [16:54:59]OFDSenderStorePacket 68388 [16:54:59]StoreOFDPacket docnum=68388 [16:54:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 05 61 04 01 B2 32 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 DC E6 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 26 DF 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 26 DF 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 0F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 BA 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 26 DF 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 6F 00 00 00 F4 03 04 00 62 13 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 24 0B 01 00 35 04 06 00 96 41 43 DA 18 26 0C CA 8F 69 41 A5 1D 72 [16:54:59]CheckFolder [16:54:59]dirname=/storage/ofd_packets [16:54:59]CheckFolder done [16:54:59]ProducePacketName [16:54:59]name=ofd_packets/00068388 [16:54:59]NVStorageSaveData ofd_packets/00068388 [16:54:59]File name is /storage/ofd_packets/00068388 [16:54:59]Write 298 bytes [16:54:59]NVStorageSaveData done [16:54:59]OFDSenderStorePacket done [16:54:59]KKMCreateOFDPacket done [16:54:59]NVStorageSaveData kkm_last_timestamp [16:54:59]File name is /storage/kkm_last_timestamp [16:54:59]Write 4 bytes [16:54:59]NVStorageSaveData done [16:54:59]ExternCall_PrintAddStr [16:54:59]wPrintStart [16:54:59]Write to MH i2c: 01 00 00 66 0A 70 [16:54:59]Write i2c OK [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: 01 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: 01 07 00 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: 01 07 00 66 0A 00 00 00 00 00 FF 0F 85 [16:54:59]RasterBufferAndPrint [16:54:59]line Счет N : (1)46384 [16:54:59]line ИНН: 02508201610067 [16:54:59]line Контрольно-Кассовый Чек [16:54:59]line ПРОДАЖА [16:54:59]line ТРК (МРК, ГНК) : 41 [16:54:59]line Товар: 2710194210 [16:54:59]line ДТ-К-5 [16:54:59]line 59.100 * 76.20 [16:54:59]line = 4503.42 [16:54:59]line НДС 12% НСП 1% [16:54:59]line > о реализуемом товаре [16:54:59]line ИТОГО: 4503.42 [16:54:59]line НСП 1% : 39.85 [16:54:59]line НДС 12% : 478.24 [16:54:59]line Наличными: 0.00 [16:54:59]line Безнал.: 4503.42 [16:54:59]line Место: АЗС № 160 "Партнер Нефть" [16:54:59]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [16:54:59]line СНО: Общий режим [16:54:59]line Чек 111 29.10.2024 16:54 [16:54:59]line Смена: 548 ФФД: 1.0 [16:54:59]line ЗНМ: 0300000093 [16:54:59]line РНМ: 0000000000091759 [16:54:59]line Версия ККМ: 001 [16:54:59]line Платежная система: Бакай Банк [16:54:59]line ФМ: 0000000000871758 [16:54:59]line ФД: 68388 [16:54:59]line ФПД: 165207055407142 [16:54:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T165458&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68388&fm=165207055407142&tin=02508201610067®Number=0000000000091759&sum=450342 [16:54:59]written 0, free lines is 4095 [16:54:59]OFD Sender: Processing packet 68388 [packets to send 28, broken 27] [16:54:59]ProducePacketName [16:54:59]name=ofd_packets/00068388 [16:54:59]OFD Sender: To server: pG, [16:54:59]CommunicateWithHost lk.salyk.kg:30040 [16:54:59]ConnectInit lk.salyk.kg [16:54:59]Connected sock=7 [16:54:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 05 61 04 01 B2 32 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 DC E6 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 26 DF 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 26 DF 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 0F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 BA 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 26 DF 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 6F 00 00 00 F4 03 04 00 62 13 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 24 0B 01 00 35 04 06 00 96 41 43 DA 18 26 0C CA 8F 69 41 A5 1D 72 [16:54:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EC 44 47 00 D7 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 24 0B 01 00 F4 03 04 00 0A BF 20 67 B6 04 01 00 00 73 00 70 1D 51 98 EB B2 [16:54:59]CommunicateWithHost err = 0 [16:54:59]CheckOFDResponse [16:54:59]1017 (14) - 77093643461234 [16:54:59]1041 (16) - 0000000000871758 [16:54:59]1040 (4) - 68388 [16:54:59]1012 (4) - 29.10.2024 10:55 [16:54:59]Write to MH i2c: 1206 (1) - 0 [16:54:59]01 OFD Sender: Remove packet 68388 [16:54:59]00 ProducePacketName [16:54:59]00 name=ofd_packets/00068388 [16:54:59]8F NVStorageDeleteData [16:54:59]0A 99 [16:54:59]Write i2c OK [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: 01 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: 01 07 00 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: 01 07 00 8F 0A 00 00 00 00 00 5F 0D 0C [16:54:59]RasterBufferAndPrint [16:54:59]line [16:54:59]line [16:54:59]line [16:54:59]line [16:54:59]line [16:54:59]written 0, free lines is 3440 [16:54:59]MH_Cut [16:54:59]Write to MH i2c: D1 01 00 96 0A 01 72 [16:54:59]Write i2c OK [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: D1 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: D1 01 00 [16:54:59]MH_I2C_Read... [16:54:59]Read from MH i2c: D1 01 00 96 0A 00 71 [16:54:59]Write to MH i2c: 01 00 00 97 0A A1 [16:54:59]Write i2c OK [16:54:59]MH_I2C_Read... [16:55:00]OFD Sender: No OFD packet to send [16:55:00]*** Cut start [16:55:00]*** Partial cut [16:55:00]*** CUTSNS_PIN = 1 [16:55:00]*** CUTSNS_PIN = 0 [16:55:00]*** Brake cut motor [16:55:01]Read from MH i2c: 01 [16:55:01]MH_I2C_Read... [16:55:01]*** Stop cut motor [16:55:01]*** Cut end [16:55:01]Read from MH i2c: 01 07 00 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: 01 07 00 97 0A 00 00 00 00 00 FF 0F B6 [16:55:01]process_action close_receipt done [16:55:01]requested_data is exist [16:55:01]produce_requested_data [16:55:01]requested_item fm.sn is exist - process it [16:55:01]wFMCommunicate request_size=4 [16:55:01]MH_SAM_APDU [16:55:01]CAPDU: 80 11 00 00 [16:55:01]Write to MH i2c: E2 08 00 98 0A 80 11 00 00 00 00 00 00 1C [16:55:01]Write i2c OK [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 [16:55:01]MH_I2C_Read... [16:55:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:55:01]Read from MH i2c: E2 17 00 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 17 00 98 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 73 [16:55:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [16:55:01]wFMCommunicate OK [16:55:01]requested_item fd.num is exist - process it [16:55:01]SAM_PROTO_GetFieldsCounters [16:55:01]wFMCommunicate request_size=4 [16:55:01]MH_SAM_APDU [16:55:01]CAPDU: 80 13 00 00 [16:55:01]Write to MH i2c: E2 08 00 99 0A 80 13 00 00 00 00 00 00 1F [16:55:01]Write i2c OK [16:55:01]MH_I2C_Read... [16:55:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:55:01]Read from MH i2c: E2 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 62 00 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 62 00 99 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 24 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 6F 00 00 00 5E 04 04 00 6F 00 00 00 57 04 04 00 70 00 00 00 19 04 04 00 00 00 00 00 90 00 ED [16:55:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 24 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 6F 00 00 00 5E 04 04 00 6F 00 00 00 57 04 04 00 70 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:55:01]wFMCommunicate OK [16:55:01]SAM_PROTO_GetFieldsCounters done [16:55:01]requested_item shift.num is exist - process it [16:55:01]requested_item shift.opened is exist - process it [16:55:01]req_shift_opened [16:55:01]FM_GetShiftState [16:55:01]SAM_PROTO_GetShiftState [16:55:01]wFMCommunicate request_size=4 [16:55:01]MH_SAM_APDU [16:55:01]CAPDU: 80 13 01 00 [16:55:01]Write to MH i2c: E2 08 00 9A 0A 80 13 01 00 00 00 00 00 21 [16:55:01]Write i2c OK [16:55:01]MH_I2C_Read... [16:55:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:55:01]Read from MH i2c: E2 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 0E 00 [16:55:01]MH_I2C_Read... [16:55:01]Read from MH i2c: E2 0E 00 9A 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D1 [16:55:01]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [16:55:01]wFMCommunicate OK [16:55:01]SAM_PROTO_GetShiftState done [16:55:01]FM_GetShiftState done [16:55:01]req_shift_opened done [16:55:01]requested_item shift.open_date is exist - process it [16:55:01]req_shift_open_date [16:55:01]req_shift_open_date done [16:55:01]produce_requested_data done [16:55:01]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68388,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [16:55:01]process_action_free close_receipt [16:55:01]json_value_free [16:55:01]json_value_free done [16:55:01]process_json_proto returns [16:55:01]Send response to host [16:55:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68388,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [16:55:01]free response buf [16:55:01]execute_script done [16:55:01]execute_script returns [16:55:01]free content buf [16:55:01]Sock 5.Close socket [16:55:01]Sock 5.Thread stoped [16:55:05]OFD Sender: No OFD packet to send [16:55:10]OFD Sender: No OFD packet to send [16:55:15]OFD Sender: No OFD packet to send [16:55:20]OFD Sender: No OFD packet to send [16:55:25]OFD Sender: No OFD packet to send [16:55:30]OFD Sender: No OFD packet to send [16:55:35]OFD Sender: No OFD packet to send [16:55:40]OFD Sender: No OFD packet to send [16:55:45]OFD Sender: No OFD packet to send [16:55:50]OFD Sender: No OFD packet to send [16:55:55]OFD Sender: No OFD packet to send [16:56:00]OFD Sender: No OFD packet to send [16:56:05]OFD Sender: No OFD packet to send [16:56:10]OFD Sender: No OFD packet to send [16:56:15]OFD Sender: No OFD packet to send [16:56:20]OFD Sender: No OFD packet to send [16:56:25]OFD Sender: No OFD packet to send [16:56:30]OFD Sender: No OFD packet to send [16:56:35]OFD Sender: No OFD packet to send [16:56:40]OFD Sender: No OFD packet to send [16:56:45]OFD Sender: No OFD packet to send [16:56:50]OFD Sender: No OFD packet to send [16:56:55]OFD Sender: No OFD packet to send [16:57:00]OFD Sender: No OFD packet to send [16:57:05]OFD Sender: No OFD packet to send [16:57:10]OFD Sender: No OFD packet to send [16:57:15]OFD Sender: No OFD packet to send [16:57:20]OFD Sender: No OFD packet to send [16:57:25]OFD Sender: No OFD packet to send [16:57:30]OFD Sender: No OFD packet to send [16:57:35]OFD Sender: No OFD packet to send [16:57:40]OFD Sender: No OFD packet to send [16:57:45]OFD Sender: No OFD packet to send [16:57:50]OFD Sender: No OFD packet to send [16:57:55]OFD Sender: No OFD packet to send [16:58:00]OFD Sender: No OFD packet to send [16:58:05]OFD Sender: No OFD packet to send [16:58:10]OFD Sender: No OFD packet to send [16:58:15]OFD Sender: No OFD packet to send [16:58:20]OFD Sender: No OFD packet to send [16:58:25]OFD Sender: No OFD packet to send [16:58:30]OFD Sender: No OFD packet to send [16:58:35]OFD Sender: No OFD packet to send [16:58:40]OFD Sender: No OFD packet to send [16:58:45]OFD Sender: No OFD packet to send [16:58:50]OFD Sender: No OFD packet to send [16:58:55]OFD Sender: No OFD packet to send [16:59:00]OFD Sender: No OFD packet to send [16:59:02]accept exits with 6 [16:59:02]New connection [16:59:02]New thread 3067469156 created [16:59:02]Thread 3067612516 joined [16:59:02]Waiting for new connection... [16:59:02] Sock 6.Parse request [16:59:02]Sock 6.Check first char [16:59:02]Sock 6.First char is OK [16:59:02]request: POST /json_proto HTTP/1.0 [16:59:02]Method: POST [16:59:02]URL: /json_proto [16:59:02]Method is POST - this is cgi request [16:59:02]url: /json_proto [16:59:02]query_string will be loaded in cgi processing [16:59:02]execute_cgi json_proto POST (null) [16:59:02]execute_cgi path=json_proto method=POST [16:59:02]POST find Content-Length [16:59:02]Host: 172.17.42.3:8080 [16:59:02]Content-Length: 676 [16:59:02]Content-Type: application/json [16:59:02] [16:59:02]POST finish read [16:59:02]Found Content-Length = 676 [16:59:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46385", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.970, "sum" : 600.09, "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" ] } } [16:59:02]execute_script... [16:59:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46385", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 8.970, "sum" : 600.09, "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" ] } } [16:59:02]POST & json_proto [16:59:02]process_json_proto [16:59:02]json parsed OK: [16:59:02]protocol is kg_v1.0 [16:59:02]action value=close_receipt [16:59:02]process_action close_receipt [16:59:02]cmd_close_receipt [16:59:02]MH_GetDate [16:59:02]Write to MH i2c: F0 00 00 9B 0A 94 [16:59:02]Write i2c OK [16:59:02]MH_I2C_Read... [16:59:02]Read from MH i2c: F0 [16:59:02]MH_I2C_Read... [16:59:02]Read from MH i2c: F0 09 00 [16:59:02]MH_I2C_Read... [16:59:02]Read from MH i2c: F0 09 00 9B 0A 00 57 14 21 67 28 A1 20 67 E0 [16:59:02]GetLastDocTimeStamp 1730220898 [16:59:02]current date 1730221143 [16:59:02]FM_GetShiftState [16:59:02]SAM_PROTO_GetShiftState [16:59:02]wFMCommunicate request_size=4 [16:59:02]MH_SAM_APDU [16:59:02]CAPDU: 80 13 01 00 [16:59:02]Write to MH i2c: E2 08 00 9C 0A 80 13 01 00 00 00 00 00 23 [16:59:02]Write i2c OK [16:59:02]MH_I2C_Read... [16:59:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:02]Read from MH i2c: E2 [16:59:02]MH_I2C_Read... [16:59:02]Read from MH i2c: E2 0E 00 [16:59:02]MH_I2C_Read... [16:59:02]Read from MH i2c: E2 0E 00 9C 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D3 [16:59:02]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [16:59:02]wFMCommunicate OK [16:59:02]SAM_PROTO_GetShiftState done [16:59:02]FM_GetShiftState done [16:59:02]opened in 1730160885 [16:59:02]opened+sec_in_day 1730247285 [16:59:02]quantity*price = 60009 [16:59:02]sum+1 = 60010 [16:59:02]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.09 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.73 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 112 29.10.2024 16:59 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68389 ФПД: 266071312737059 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T165903&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68389&fm=266071312737059&tin=02508201610067®Number=0000000000091759&sum=60000 [16:59:03]StoreToDocumentArchive [16:59:03]shift 548 fd 68389 [16:59:03]save to /storage/0548/doc_00068389 [16:59:03]save last doc name /storage/0548/doc_00068389 to /storage/kkm_last_doc_name [16:59:03]save OK [16:59:03]Clear old archive folders... [16:59:03]ProcessDocumentItem done err = 0, tmpTLVsize=251 [16:59:03]tlvbuf is 00274AF0 [16:59:03]SAM_PROTO_ClearQueue [16:59:03]wFMCommunicate request_size=4 [16:59:03]MH_SAM_APDU [16:59:03]CAPDU: 80 09 00 00 [16:59:03]Write to MH i2c: E2 08 00 A9 0A 80 09 00 00 00 00 00 00 25 [16:59:03]Write i2c OK [16:59:03]MH_I2C_Read... [16:59:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:59:03]Read from MH i2c: E2 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 03 00 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 03 00 A9 0A 00 90 00 27 [16:59:03]RAPDU: 90 00 [16:59:03]wFMCommunicate OK [16:59:03]SAM_PROTO_ClearQueue done [16:59:03]KKMCreateOFDPacket [16:59:03]OFDProtocolAddRootSTLVToBuf [16:59:03]FM_MakeSignedData [16:59:03]FM_MakeSignedData [16:59:03]SAM_PROTO_SignData [16:59:03]wFMCommunicate request_size=4 [16:59:03]MH_SAM_APDU [16:59:03]CAPDU: 80 0D 01 02 [16:59:03]Write to MH i2c: E2 08 00 AA 0A 80 0D 01 02 00 00 00 00 2D [16:59:03]Write i2c OK [16:59:03]MH_I2C_Read... [16:59:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:59:03]Read from MH i2c: E2 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 03 00 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 03 00 AA 0A 00 90 00 28 [16:59:03]RAPDU: 90 00 [16:59:03]wFMCommunicate OK [16:59:03]wFMCommunicate request_size=255 [16:59:03]MH_SAM_APDU [16:59:03]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 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 70 00 00 00 F4 03 04 00 57 14 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 25 0B 01 00 35 04 06 00 F1 [16:59:03]Write to MH i2c: E2 02 01 AB 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 70 00 00 00 F4 03 04 00 57 14 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 25 0B 01 00 35 04 06 00 F1 00 00 4E [16:59:03]Write i2c OK [16:59:03]MH_I2C_Read... [16:59:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:03]Read from MH i2c: E2 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 03 00 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 03 00 AB 0A 00 90 00 29 [16:59:03]RAPDU: 90 00 [16:59:03]wFMCommunicate OK [16:59:03]wFMCommunicate request_size=10 [16:59:03]MH_SAM_APDU [16:59:03]CAPDU: 80 0D 02 02 05 FD 8E 14 A3 23 [16:59:03]Write to MH i2c: E2 0D 00 AC 0A 80 0D 02 02 05 00 FD 8E 14 A3 23 00 00 9F [16:59:03]Write i2c OK [16:59:03]MH_I2C_Read... [16:59:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:59:03]Read from MH i2c: E2 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 03 00 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 03 00 AC 0A 00 90 00 2A [16:59:03]RAPDU: 90 00 [16:59:03]wFMCommunicate OK [16:59:03]wFMCommunicate request_size=4 [16:59:03]MH_SAM_APDU [16:59:03]CAPDU: 80 0D 03 02 [16:59:03]Write to MH i2c: E2 08 00 AD 0A 80 0D 03 02 00 00 00 00 32 [16:59:03]Write i2c OK [16:59:03]MH_I2C_Read... [16:59:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:59:03]Read from MH i2c: E2 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 0B 00 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 0B 00 AD 0A 00 E6 60 20 C9 DB EC 99 3A 90 00 FC [16:59:03]RAPDU: E6 60 20 C9 DB EC 99 3A 90 00 [16:59:03]wFMCommunicate OK [16:59:03]SAM_PROTO_SignData done [16:59:03]FM_MakeSignedData done [16:59:03]CreateOFDProtocolMessage [16:59:03]wFMCommunicate request_size=4 [16:59:03]MH_SAM_APDU [16:59:03]CAPDU: 80 11 00 00 [16:59:03]Write to MH i2c: E2 08 00 AE 0A 80 11 00 00 00 00 00 00 32 [16:59:03]Write i2c OK [16:59:03]MH_I2C_Read... [16:59:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:03]Read from MH i2c: E2 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 17 00 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: E2 17 00 AE 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 89 [16:59:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [16:59:03]wFMCommunicate OK [16:59:03]CreateOFDProtocolMessage done [16:59:03]OFDSenderStorePacket 68389 [16:59:03]StoreOFDPacket docnum=68389 [16:59:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 88 B3 07 01 13 19 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 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 70 00 00 00 F4 03 04 00 57 14 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 25 0B 01 00 35 04 06 00 F1 FD 8E 14 A3 23 E6 60 20 C9 DB EC 99 3A [16:59:03]CheckFolder [16:59:03]dirname=/storage/ofd_packets [16:59:03]CheckFolder done [16:59:03]ProducePacketName [16:59:03]name=ofd_packets/00068389 [16:59:03]NVStorageSaveData ofd_packets/00068389 [16:59:03]File name is /storage/ofd_packets/00068389 [16:59:03]Write 301 bytes [16:59:03]NVStorageSaveData done [16:59:03]OFDSenderStorePacket done [16:59:03]KKMCreateOFDPacket done [16:59:03]NVStorageSaveData kkm_last_timestamp [16:59:03]File name is /storage/kkm_last_timestamp [16:59:03]Write 4 bytes [16:59:03]NVStorageSaveData done [16:59:03]ExternCall_PrintAddStr [16:59:03]wPrintStart [16:59:03]Write to MH i2c: 01 00 00 AF 0A B9 [16:59:03]OFD Sender: Processing packet 68389 [packets to send 28, broken 27] [16:59:03]ProducePacketName [16:59:03]name=ofd_packets/00068389 [16:59:03]OFD Sender: To server: pG, [16:59:03]CommunicateWithHost lk.salyk.kg:30040 [16:59:03]ConnectInit lk.salyk.kg [16:59:03]Write i2c OK [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: 01 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: 01 07 00 [16:59:03]MH_I2C_Read... [16:59:03]Read from MH i2c: 01 07 00 AF 0A 00 00 00 00 00 FF 0F CE [16:59:03]RasterBufferAndPrint [16:59:03]line Счет N : (1)46385 [16:59:03]line ИНН: 02508201610067 [16:59:03]line Контрольно-Кассовый Чек [16:59:03]line ПРОДАЖА [16:59:03]line ТРК (МРК, ГНК) : 33 [16:59:03]line Товар: 2710124130 [16:59:03]line Аи-92-К-5 [16:59:03]line 8.970 * 66.90 [16:59:03]line = 600.09 [16:59:03]line НДС 12% НСП 1% [16:59:03]line > о реализуемом товаре [16:59:03]line ОКРУГЛЕНИЕ: -0.09 [16:59:03]line ИТОГО: 600.00 [16:59:03]line Внесено: 600.00 [16:59:03]line СДАЧА: 0.00 [16:59:03]line НСП 1% : 5.31 [16:59:03]line НДС 12% : 63.73 [16:59:03]line Наличными: 600.00 [16:59:03]line Безнал.: 0.00 [16:59:03]line Место: АЗС № 160 "Партнер Нефть" [16:59:03]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [16:59:03]line СНО: Общий режим [16:59:03]line Чек 112 29.10.2024 16:59 [16:59:03]line Смена: 548 ФФД: 1.0 [16:59:03]line ЗНМ: 0300000093 [16:59:03]line РНМ: 0000000000091759 [16:59:03]line Версия ККМ: 001 [16:59:03]line ФМ: 0000000000871758 [16:59:03]line ФД: 68389 [16:59:03]line ФПД: 266071312737059 [16:59:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T165903&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68389&fm=266071312737059&tin=02508201610067®Number=0000000000091759&sum=60000 [16:59:04]Connected sock=7 [16:59:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 88 B3 07 01 13 19 5A 03 01 00 written 0, free lines is 4095 [16:59:04]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 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 70 00 00 00 F4 03 04 00 57 14 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 25 0B 01 00 35 04 06 00 F1 FD 8E 14 A3 23 E6 60 20 C9 DB EC 99 3A [16:59:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9B D1 47 00 AE B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 25 0B 01 00 F4 03 04 00 FF BF 20 67 B6 04 01 00 00 44 F6 C6 C7 ED 78 7B 77 [16:59:04]CommunicateWithHost err = 0 [16:59:04]CheckOFDResponse [16:59:04]1017 (14) - 77093643461234 [16:59:04]1041 (16) - 0000000000871758 [16:59:04]1040 (4) - 68389 [16:59:04]1012 (4) - 29.10.2024 10:59 [16:59:04]1206 (1) - 0 [16:59:04]OFD Sender: Remove packet 68389 [16:59:04]ProducePacketName [16:59:04]name=ofd_packets/00068389 [16:59:04]NVStorageDeleteData [16:59:04]Write to MH i2c: 01 00 00 D9 0A E3 [16:59:04]Write i2c OK [16:59:04]MH_I2C_Read... [16:59:04]Read from MH i2c: 01 [16:59:04]MH_I2C_Read... [16:59:04]Read from MH i2c: 01 07 00 [16:59:04]MH_I2C_Read... [16:59:04]Read from MH i2c: 01 07 00 D9 0A 00 00 00 00 00 D4 0C CA [16:59:04]RasterBufferAndPrint [16:59:04]line [16:59:04]line [16:59:04]line [16:59:04]line [16:59:04]line [16:59:04]written 0, free lines is 3295 [16:59:04]MH_Cut [16:59:04]Write to MH i2c: D1 01 00 E0 0A 01 BC [16:59:04]Write i2c OK [16:59:04]MH_I2C_Read... [16:59:04]Read from MH i2c: D1 [16:59:04]MH_I2C_Read... [16:59:04]Read from MH i2c: D1 01 00 [16:59:04]MH_I2C_Read... [16:59:04]Read from MH i2c: D1 01 00 E0 0A 00 BB [16:59:04]Write to MH i2c: 01 00 00 E1 0A EB [16:59:04]Write i2c OK [16:59:04]MH_I2C_Read... [16:59:04]OFD Sender: No OFD packet to send [16:59:05]*** Cut start [16:59:05]*** Partial cut [16:59:05]*** CUTSNS_PIN = 1 [16:59:05]*** CUTSNS_PIN = 0 [16:59:05]*** Brake cut motor [16:59:05]Read from MH i2c: 01 [16:59:05]MH_I2C_Read... [16:59:05]*** Stop cut motor [16:59:05]*** Cut end [16:59:05]Read from MH i2c: 01 07 00 [16:59:05]MH_I2C_Read... [16:59:05]Read from MH i2c: 01 07 00 E1 0A 00 00 00 00 00 FF 0F 00 [16:59:05]process_action close_receipt done [16:59:05]requested_data is exist [16:59:05]produce_requested_data [16:59:05]requested_item fm.sn is exist - process it [16:59:05]wFMCommunicate request_size=4 [16:59:05]MH_SAM_APDU [16:59:05]CAPDU: 80 11 00 00 [16:59:05]Write to MH i2c: E2 08 00 E2 0A 80 11 00 00 00 00 00 00 66 [16:59:05]Write i2c OK [16:59:05]MH_I2C_Read... [16:59:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:59:05]Read from MH i2c: E2 [16:59:05]MH_I2C_Read... [16:59:05]Read from MH i2c: E2 17 00 [16:59:05]MH_I2C_Read... [16:59:05]Read from MH i2c: E2 17 00 E2 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 BD [16:59:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [16:59:05]wFMCommunicate OK [16:59:05]requested_item fd.num is exist - process it [16:59:05]SAM_PROTO_GetFieldsCounters [16:59:05]wFMCommunicate request_size=4 [16:59:05]MH_SAM_APDU [16:59:05]CAPDU: 80 13 00 00 [16:59:05]Write to MH i2c: E2 08 00 E3 0A 80 13 00 00 00 00 00 00 69 [16:59:06]Write i2c OK [16:59:06]MH_I2C_Read... [16:59:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:59:06]Read from MH i2c: E2 [16:59:06]MH_I2C_Read... [16:59:06]Read from MH i2c: E2 62 00 [16:59:06]MH_I2C_Read... [16:59:06]Read from MH i2c: E2 62 00 E3 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 25 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 70 00 00 00 5E 04 04 00 70 00 00 00 57 04 04 00 71 00 00 00 19 04 04 00 00 00 00 00 90 00 3B [16:59:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 25 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 70 00 00 00 5E 04 04 00 70 00 00 00 57 04 04 00 71 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:59:06]wFMCommunicate OK [16:59:06]SAM_PROTO_GetFieldsCounters done [16:59:06]requested_item shift.num is exist - process it [16:59:06]requested_item shift.opened is exist - process it [16:59:06]req_shift_opened [16:59:06]FM_GetShiftState [16:59:06]SAM_PROTO_GetShiftState [16:59:06]wFMCommunicate request_size=4 [16:59:06]MH_SAM_APDU [16:59:06]CAPDU: 80 13 01 00 [16:59:06]Write to MH i2c: E2 08 00 E4 0A 80 13 01 00 00 00 00 00 6B [16:59:06]Write i2c OK [16:59:06]MH_I2C_Read... [16:59:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:59:06]Read from MH i2c: E2 [16:59:06]MH_I2C_Read... [16:59:06]Read from MH i2c: E2 0E 00 [16:59:06]MH_I2C_Read... [16:59:06]Read from MH i2c: E2 0E 00 E4 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 1B [16:59:06]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [16:59:06]wFMCommunicate OK [16:59:06]SAM_PROTO_GetShiftState done [16:59:06]FM_GetShiftState done [16:59:06]req_shift_opened done [16:59:06]requested_item shift.open_date is exist - process it [16:59:06]req_shift_open_date [16:59:06]req_shift_open_date done [16:59:06]produce_requested_data done [16:59:06]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68389,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [16:59:06]process_action_free close_receipt [16:59:06]json_value_free [16:59:06]json_value_free done [16:59:06]process_json_proto returns [16:59:06]Send response to host [16:59:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68389,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [16:59:06]free response buf [16:59:06]execute_script done [16:59:06]execute_script returns [16:59:06]free content buf [16:59:06]Sock 6.Close socket [16:59:06]Sock 6.Thread stoped [16:59:09]OFD Sender: No OFD packet to send [16:59:14]OFD Sender: No OFD packet to send [16:59:19]OFD Sender: No OFD packet to send [16:59:24]OFD Sender: No OFD packet to send [16:59:29]OFD Sender: No OFD packet to send [16:59:34]OFD Sender: No OFD packet to send [16:59:39]OFD Sender: No OFD packet to send [16:59:44]OFD Sender: No OFD packet to send [16:59:49]OFD Sender: No OFD packet to send [16:59:54]OFD Sender: No OFD packet to send [16:59:59]OFD Sender: No OFD packet to send [17:00:04]OFD Sender: No OFD packet to send [17:00:09]OFD Sender: No OFD packet to send [17:00:14]OFD Sender: No OFD packet to send [17:00:19]OFD Sender: No OFD packet to send [17:01:36]ConnectInit Can't connect to host [17:01:39]OFD Sender: No OFD packet to send [17:01:44]OFD Sender: No OFD packet to send [17:01:49]OFD Sender: No OFD packet to send [17:01:54]OFD Sender: No OFD packet to send [17:01:59]OFD Sender: No OFD packet to send [17:02:04]OFD Sender: No OFD packet to send [17:02:09]OFD Sender: No OFD packet to send [17:02:14]OFD Sender: No OFD packet to send [17:02:19]OFD Sender: No OFD packet to send [17:02:24]OFD Sender: No OFD packet to send [17:02:29]OFD Sender: No OFD packet to send [17:02:34]OFD Sender: No OFD packet to send [17:02:39]OFD Sender: No OFD packet to send [17:02:44]OFD Sender: No OFD packet to send [17:02:49]OFD Sender: No OFD packet to send [17:02:54]OFD Sender: No OFD packet to send [17:02:59]OFD Sender: No OFD packet to send [17:03:04]OFD Sender: No OFD packet to send [17:03:09]OFD Sender: No OFD packet to send [17:03:14]OFD Sender: No OFD packet to send [17:03:19]OFD Sender: No OFD packet to send [17:03:24]OFD Sender: No OFD packet to send [17:03:29]OFD Sender: No OFD packet to send [17:03:34]OFD Sender: No OFD packet to send [17:03:39]OFD Sender: No OFD packet to send [17:03:44]OFD Sender: No OFD packet to send [17:03:49]OFD Sender: No OFD packet to send [17:03:54]OFD Sender: No OFD packet to send [17:03:59]OFD Sender: No OFD packet to send [17:04:04]OFD Sender: No OFD packet to send [17:04:09]OFD Sender: No OFD packet to send [17:06:39]OFD Sender: No OFD packet to send [17:06:44]OFD Sender: No OFD packet to send [17:06:49]OFD Sender: No OFD packet to send [17:06:54]OFD Sender: No OFD packet to send [17:06:59]OFD Sender: No OFD packet to send [17:07:04]OFD Sender: No OFD packet to send [17:07:09]OFD Sender: No OFD packet to send [17:07:14]OFD Sender: No OFD packet to send [17:07:19]OFD Sender: No OFD packet to send [17:07:24]OFD Sender: No OFD packet to send [17:07:29]OFD Sender: No OFD packet to send [17:07:34]OFD Sender: No OFD packet to send [17:07:39]OFD Sender: No OFD packet to send [17:07:44]OFD Sender: No OFD packet to send [17:07:49]OFD Sender: No OFD packet to send [17:07:54]OFD Sender: No OFD packet to send [17:07:59]OFD Sender: No OFD packet to send [17:08:04]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08:34]OFD Sender: No OFD packet to send [17:08:39]OFD Sender: No OFD packet to send [17:08:44]OFD Sender: No OFD packet to send [17:08:49]ConnectInit Can't connect to host [17:08:49]OFD Sender: No OFD packet to send [17:08:54]OFD Sender: No OFD packet to send [17:08:59]OFD Sender: No OFD packet to send [17:09:04]OFD Sender: No OFD packet to send [17:09:09]OFD Sender: No OFD packet to send [17:09:14]OFD Sender: No OFD packet to send [17:09:19]OFD Sender: No OFD packet to send [17:09:24]OFD Sender: No OFD packet to send [17:09:29]OFD Sender: No OFD packet to send [17:09:34]OFD Sender: No OFD packet to send [17:09:39]OFD Sender: No OFD packet to send [17:09:54]OFD Sender: No OFD packet to send [17:09:59]OFD Sender: No OFD packet to send [17:10:04]OFD Sender: No OFD packet to send [17:10:09]OFD Sender: No OFD packet to send [17:10:14]OFD Sender: No OFD packet to send [17:10:19]OFD Sender: No OFD packet to send [17:10:24]OFD Sender: No OFD packet to send [17:10:29]OFD Sender: No OFD packet to send [17:10:34]OFD Sender: No OFD packet to send [17:10:39]OFD Sender: No OFD packet to send [17:10:44]OFD Sender: No OFD packet to send [17:10:49]OFD Sender: No OFD packet to send [17:10:54]OFD Sender: No OFD packet to send [17:10:59]OFD Sender: No OFD packet to send [17:11:04]OFD Sender: No OFD packet to send [17:11:09]OFD Sender: No OFD packet to send [17:11:14]OFD Sender: No OFD packet to send [17:11:19]OFD Sender: No OFD packet to send [17:11:24]OFD Sender: No OFD packet to send [17:11:29]OFD Sender: No OFD packet to send [17:11:34]OFD Sender: No OFD packet to send [17:11:39]OFD Sender: No OFD packet to send [17:11:44]OFD Sender: No OFD packet to send [17:11:49]OFD Sender: No OFD packet to send [17:11:54]OFD Sender: No OFD packet to send [17:11:59]OFD Sender: No OFD packet to send [17:12:03]ConnectInit Can't connect to host [17:12:04]OFD Sender: No OFD packet to send [17:12:09]OFD Sender: No OFD packet to send [17:12:14]recv_with_timeout no data received [17:12:14]OFD Sender: No OFD packet to send [17:12:19]OFD Sender: No OFD packet to send [17:12:24]OFD Sender: No OFD packet to send [17:12:30]OFD Sender: No OFD packet to send [17:12:35]OFD Sender: No OFD packet to send [17:12:40]OFD Sender: No OFD packet to send [17:12:45]OFD Sender: No OFD packet to send [17:12:50]OFD Sender: No OFD packet to send [17:12:55]OFD Sender: No OFD packet to send [17:13:00]OFD Sender: No OFD packet to send [17:13:05]OFD Sender: No OFD packet to send [17:13:07]accept exits with 8 [17:13:07]New connection [17:13:07]New thread 3066858852 created [17:13:07]Waiting for new connection... [17:13:07] Sock 8.Parse request [17:13:07]Sock 8.Check first char [17:13:07]Sock 8.First char is OK [17:13:07]request: POST /json_proto HTTP/1.0 [17:13:07]Method: POST [17:13:07]URL: /json_proto [17:13:07]Method is POST - this is cgi request [17:13:07]url: /json_proto [17:13:07]query_string will be loaded in cgi processing [17:13:07]execute_cgi json_proto POST (null) [17:13:07]execute_cgi path=json_proto method=POST [17:13:07]POST find Content-Length [17:13:07]Host: 172.17.42.3:8080 [17:13:07]Content-Length: 215 [17:13:07]Content-Type: application/json [17:13:07] [17:13:07]POST finish read [17:13:07]Found Content-Length = 215 [17:13: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" ] } } [17:13:07]execute_script... [17:13: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" ] } } [17:13:07]POST & json_proto [17:13:07]process_json_proto [17:13:07]json parsed OK: [17:13:07]protocol is kg_v1.0 [17:13:07]action value=get_value [17:13:07]process_action get_value [17:13:07]cmd_get_value [17:13:07]process_action get_value done [17:13:07]requested_data is exist [17:13:07]produce_requested_data [17:13:07]requested_item kkm.sn is exist - process it [17:13:07]requested_item kkm.ver is exist - process it [17:13:07]requested_item fm.sn is exist - process it [17:13:07]wFMCommunicate request_size=4 [17:13:07]MH_SAM_APDU [17:13:07]CAPDU: 80 11 00 00 [17:13:07]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [17:13:07]Write i2c OK [17:13:07]MH_I2C_Read... [17:13:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:13:07]Read from MH i2c: E2 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 17 00 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E1 [17:13:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:13:07]wFMCommunicate OK [17:13:07]requested_item fd.num is exist - process it [17:13:07]SAM_PROTO_GetFieldsCounters [17:13:07]wFMCommunicate request_size=4 [17:13:07]MH_SAM_APDU [17:13:07]CAPDU: 80 13 00 00 [17:13:07]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [17:13:07]Write i2c OK [17:13:07]MH_I2C_Read... [17:13:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:13:07]Read from MH i2c: E2 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 62 00 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 25 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 70 00 00 00 5E 04 04 00 70 00 00 00 57 04 04 00 71 00 00 00 19 04 04 00 00 00 00 00 90 00 5F [17:13:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 25 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 70 00 00 00 5E 04 04 00 70 00 00 00 57 04 04 00 71 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:13:07]wFMCommunicate OK [17:13:07]SAM_PROTO_GetFieldsCounters done [17:13:07]requested_item shift.num is exist - process it [17:13:07]requested_item shift.opened is exist - process it [17:13:07]req_shift_opened [17:13:07]FM_GetShiftState [17:13:07]SAM_PROTO_GetShiftState [17:13:07]wFMCommunicate request_size=4 [17:13:07]MH_SAM_APDU [17:13:07]CAPDU: 80 13 01 00 [17:13:07]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [17:13:07]Write i2c OK [17:13:07]MH_I2C_Read... [17:13:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:13:07]Read from MH i2c: E2 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 0E 00 [17:13:07]MH_I2C_Read... [17:13:07]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 3F [17:13:07]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:13:07]wFMCommunicate OK [17:13:07]SAM_PROTO_GetShiftState done [17:13:07]FM_GetShiftState done [17:13:07]req_shift_opened done [17:13:07]requested_item shift.open_date is exist - process it [17:13:07]req_shift_open_date [17:13:07]req_shift_open_date done [17:13:07]produce_requested_data done [17:13:07]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68389,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [17:13:07]process_action_free get_value [17:13:07]json_value_free [17:13:07]json_value_free done [17:13:07]process_json_proto returns [17:13:07]Send response to host [17:13:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68389,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [17:13:07]free response buf [17:13:07]execute_script done [17:13:07]execute_script returns [17:13:07]free content buf [17:13:07]Sock 8.Close socket [17:13:07]Sock 8.Thread stoped [17:13:07]accept exits with 10 [17:13:07]New connection [17:13:07]New thread 3066715492 created [17:13:07]Thread 3066858852 joined [17:13:07]Waiting for new connection... [17:13:07] Sock 10.Parse request [17:13:07]Sock 10.Check first char [17:13:07]Sock 10.First char is OK [17:13:07]request: POST /json_proto HTTP/1.0 [17:13:07]Method: POST [17:13:07]URL: /json_proto [17:13:07]Method is POST - this is cgi request [17:13:07]url: /json_proto [17:13:07]query_string will be loaded in cgi processing [17:13:07]execute_cgi json_proto POST (null) [17:13:07]execute_cgi path=json_proto method=POST [17:13:07]POST find Content-Length [17:13:07]Host: 172.17.42.3:8080 [17:13:07]Content-Length: 331 [17:13:07]Content-Type: application/json [17:13:07] [17:13:07]POST finish read [17:13:07]Found Content-Length = 331 [17:13: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" ] } } [17:13:07]execute_script... [17:13: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" ] } } [17:13:07]POST & json_proto [17:13:07]process_json_proto [17:13:07]json parsed OK: [17:13:07]protocol is kg_v1.0 [17:13:07]action value=get_value [17:13:07]process_action get_value [17:13:07]cmd_get_value [17:13:07]process_action get_value done [17:13:07]requested_data is exist [17:13:07]produce_requested_data [17:13:07]requested_item fm.sale.total is exist - process it [17:13:07]SAM_PROTO_GetFMData [17:13:07]wFMCommunicate request_size=4 [17:13:07]MH_SAM_APDU [17:13:07]CAPDU: 80 13 03 00 [17:13:07]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [17:13:08]Write i2c OK [17:13:08]MH_I2C_Read... [17:13:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:13:08]Read from MH i2c: E2 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: E2 FD 00 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: E2 FD 00 13 00 00 C7 04 85 04 C3 04 6E 04 04 00 DD 06 01 00 69 04 A3 00 6F 04 04 00 DE 05 01 00 B1 04 05 00 9B AC 4F 62 02 70 04 05 00 78 A2 BC D1 01 72 04 04 00 23 0A 93 90 00 04 7D 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 14 96 D2 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 53 CF 66 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 EE [17:13:08]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 DD 06 01 00 69 04 A3 00 6F 04 04 00 DE 05 01 00 B1 04 05 00 9B AC 4F 62 02 70 04 05 00 78 A2 BC D1 01 72 04 04 00 23 0A 93 90 00 04 7D 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 14 96 D2 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 53 CF 66 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 [17:13:08]wFMCommunicate OK [17:13:08]wFMCommunicate request_size=4 [17:13:08]MH_SAM_APDU [17:13:08]CAPDU: 80 17 00 00 [17:13:08]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [17:13:08]Write i2c OK [17:13:08]MH_I2C_Read... [17:13:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:13:08]Read from MH i2c: E2 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: E2 FD 00 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: E2 FD 00 14 00 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 A6 [17:13:08]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 [17:13:08]wFMCommunicate OK [17:13:08]wFMCommunicate request_size=4 [17:13:08]MH_SAM_APDU [17:13:08]CAPDU: 80 17 00 00 [17:13:08]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [17:13:08]Write i2c OK [17:13:08]MH_I2C_Read... [17:13:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:13:08]Read from MH i2c: E2 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: E2 FD 00 [17:13:08]MH_I2C_Read... [17:13:08]Read from MH i2c: E2 FD 00 15 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 6D [17:13:08]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 [17:13:08]wFMCommunicate OK [17:13:08]wFMCommunicate request_size=4 [17:13:08]MH_SAM_APDU [17:13:08]CAPDU: 80 17 00 00 [17:13:08]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [17:13:08]Write i2c OK [17:13:08]MH_I2C_Read... [17:13:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:13:09]Read from MH i2c: E2 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 FD 00 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 FD 00 16 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 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 11 [17:13:09]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [17:13:09]wFMCommunicate OK [17:13:09]wFMCommunicate request_size=4 [17:13:09]MH_SAM_APDU [17:13:09]CAPDU: 80 17 00 00 [17:13:09]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [17:13:09]Write i2c OK [17:13:09]MH_I2C_Read... [17:13:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [17:13:09]Read from MH i2c: E2 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 E4 00 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 E4 00 17 00 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 77 [17:13:09]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:13:09]wFMCommunicate OK [17:13:09]SAM_PROTO_GetFMData done [17:13:09]requested_item fm.sale_refund.total is exist - process it [17:13:09]requested_item fm.buy.total is exist - process it [17:13:09]requested_item shift.sale.total is exist - process it [17:13:09]SAM_PROTO_GetShiftData [17:13:09]wFMCommunicate request_size=4 [17:13:09]MH_SAM_APDU [17:13:09]CAPDU: 80 13 02 00 [17:13:09]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [17:13:09]Write i2c OK [17:13:09]MH_I2C_Read... [17:13:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:13:09]Read from MH i2c: E2 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 FD 00 [17:13:09]MH_I2C_Read... [17:13:09]Read from MH i2c: E2 FD 00 18 00 00 AF 04 AA 04 AB 04 6E 04 04 00 70 00 00 00 69 04 9C 00 6F 04 04 00 70 00 00 00 B1 04 03 00 CD 21 CA 70 04 03 00 54 A3 85 72 04 03 00 79 7E 44 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 F9 77 15 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 F6 C9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 FA [17:13:09]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 70 00 00 00 69 04 9C 00 6F 04 04 00 70 00 00 00 B1 04 03 00 CD 21 CA 70 04 03 00 54 A3 85 72 04 03 00 79 7E 44 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 F9 77 15 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 F6 C9 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 90 00 [17:13:09]wFMCommunicate OK [17:13:09]wFMCommunicate request_size=4 [17:13:09]MH_SAM_APDU [17:13:09]CAPDU: 80 17 00 00 [17:13:09]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [17:13:09]Write i2c OK [17:13:09]MH_I2C_Read... [17:13:10]OFD Sender: No OFD packet to send [17:13:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:13:10]Read from MH i2c: E2 [17:13:10]MH_I2C_Read... [17:13:10]Read from MH i2c: E2 FD 00 [17:13:10]MH_I2C_Read... [17:13:10]Read from MH i2c: E2 FD 00 19 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 B2 [17:13:10]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 90 00 [17:13:10]wFMCommunicate OK [17:13:10]wFMCommunicate request_size=4 [17:13:10]MH_SAM_APDU [17:13:10]CAPDU: 80 17 00 00 [17:13:10]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [17:13:10]Write i2c OK [17:13:10]MH_I2C_Read... [17:13:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:13:10]Read from MH i2c: E2 [17:13:10]MH_I2C_Read... [17:13:10]Read from MH i2c: E2 FD 00 [17:13:10]MH_I2C_Read... [17:13:10]Read from MH i2c: E2 FD 00 1A 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 4E [17:13:10]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 90 00 [17:13:10]wFMCommunicate OK [17:13:10]wFMCommunicate request_size=4 [17:13:10]MH_SAM_APDU [17:13:10]CAPDU: 80 17 00 00 [17:13:10]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [17:13:10]Write i2c OK [17:13:10]MH_I2C_Read... [17:13:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:13:10]Read from MH i2c: E2 [17:13:10]MH_I2C_Read... [17:13:10]Read from MH i2c: E2 FD 00 [17:13:10]MH_I2C_Read... [17:13:10]Read from MH i2c: E2 FD 00 1B 00 00 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 90 00 19 [17:13:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 90 00 [17:13:10]wFMCommunicate OK [17:13:10]wFMCommunicate request_size=4 [17:13:10]MH_SAM_APDU [17:13:10]CAPDU: 80 17 00 00 [17:13:10]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [17:13:10]Write i2c OK [17:13:10]MH_I2C_Read... [17:13:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [17:13:11]Read from MH i2c: E2 [17:13:11]MH_I2C_Read... [17:13:11]Read from MH i2c: E2 CC 00 [17:13:11]MH_I2C_Read... [17:13:11]Read from MH i2c: E2 CC 00 1C 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7D [17:13:11]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:13:11]wFMCommunicate OK [17:13:11]SAM_PROTO_GetShiftData done [17:13:11]requested_item shift.sale.total_cash is exist - process it [17:13:11]requested_item shift.sale_refund.total is exist - process it [17:13:11]requested_item shift.sale_refund.total_cash is exist - process it [17:13:11]requested_item shift.buy.total is exist - process it [17:13:11]requested_item shift.buy.total_cash is exist - process it [17:13:11]produce_requested_data done [17:13:11]produce_requested_data return {"fm.sale.total":102393232.91,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":132469.25,"shift.sale.total_cash":87581.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} [17:13:11]process_action_free get_value [17:13:11]json_value_free [17:13:11]json_value_free done [17:13:11]process_json_proto returns [17:13:11]Send response to host [17:13:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102393232.91,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":132469.25,"shift.sale.total_cash":87581.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}}} [17:13:11]free response buf [17:13:11]execute_script done [17:13:11]execute_script returns [17:13:11]free content buf [17:13:11]Sock 10.Close socket [17:13:11]Sock 10.Thread stoped [17:13:15]OFD Sender: No OFD packet to send [17:13:20]OFD Sender: No OFD packet to send [17:13:25]OFD Sender: No OFD packet to send [17:13:30]OFD Sender: No OFD packet to send [17:13:35]OFD Sender: No OFD packet to send [17:13:40]OFD Sender: No OFD packet to send [17:13:45]OFD Sender: No OFD packet to send [17:13:50]OFD Sender: No OFD packet to send [17:13:55]OFD Sender: No OFD packet to send [17:14:00]OFD Sender: No OFD packet to send [17:14:05]OFD Sender: No OFD packet to send [17:14:10]OFD Sender: No OFD packet to send [17:14:15]OFD Sender: No OFD packet to send [17:14:20]OFD Sender: No OFD packet to send [17:14:25]OFD Sender: No OFD packet to send [17:14:30]OFD Sender: No OFD packet to send [17:14:35]OFD Sender: No OFD packet to send [17:14:40]OFD Sender: No OFD packet to send [17:14:40]accept exits with 8 [17:14:40]New connection [17:14:40]New thread 3066858852 created [17:14:40]Thread 3066715492 joined [17:14:40]Waiting for new connection... [17:14:40] Sock 8.Parse request [17:14:40]Sock 8.Check first char [17:14:40]Sock 8.First char is OK [17:14:40]request: POST /json_proto HTTP/1.0 [17:14:40]Method: POST [17:14:40]URL: /json_proto [17:14:40]Method is POST - this is cgi request [17:14:40]url: /json_proto [17:14:40]query_string will be loaded in cgi processing [17:14:40]execute_cgi json_proto POST (null) [17:14:40]execute_cgi path=json_proto method=POST [17:14:40]POST find Content-Length [17:14:40]Host: 172.17.42.3:8080 [17:14:40]Content-Length: 681 [17:14:40]Content-Type: application/json [17:14:40] [17:14:40]POST finish read [17:14:40]Found Content-Length = 681 [17:14:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46386", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 26.960, "sum" : 2000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:14:40]execute_script... [17: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)46386", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 26.960, "sum" : 2000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:14:40]POST & json_proto [17:14:40]process_json_proto [17:14:40]json parsed OK: [17:14:40]protocol is kg_v1.0 [17:14:40]action value=close_receipt [17:14:40]process_action close_receipt [17:14:40]cmd_close_receipt [17:14:40]MH_GetDate [17:14:40]Write to MH i2c: F0 00 00 1D 00 0C [17:14:40]Write i2c OK [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: F0 [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: F0 09 00 [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: F0 09 00 1D 00 00 01 18 21 67 28 A1 20 67 06 [17:14:40]GetLastDocTimeStamp 1730221143 [17:14:40]current date 1730222081 [17:14:40]FM_GetShiftState [17:14:40]SAM_PROTO_GetShiftState [17:14:40]wFMCommunicate request_size=4 [17:14:40]MH_SAM_APDU [17:14:40]CAPDU: 80 13 01 00 [17:14:40]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [17:14:40]Write i2c OK [17:14:40]MH_I2C_Read... [17:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:14:40]Read from MH i2c: E2 [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: E2 0E 00 [17:14:40]MH_I2C_Read... [17:14:40]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 4B [17:14:40]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:14:40]wFMCommunicate OK [17:14:40]SAM_PROTO_GetShiftState done [17:14:40]FM_GetShiftState done [17:14:40]opened in 1730160885 [17:14:40]opened+sec_in_day 1730247285 [17:14:40]quantity*price = 200043 [17:14:40]sum+1 = 200044 [17:14:40]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.43 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.43 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 113 29.10.2024 17:14 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68390 ФПД: 203943830586803 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T171441&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68390&fm=203943830586803&tin=02508201610067®Number=0000000000091759&sum=200000 [17:14:41]StoreToDocumentArchive [17:14:41]shift 548 fd 68390 [17:14:41]save to /storage/0548/doc_00068390 [17:14:41]save last doc name /storage/0548/doc_00068390 to /storage/kkm_last_doc_name [17:14:41]save OK [17:14:41]Clear old archive folders... [17:14:41]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:14:41]tlvbuf is 01DE1680 [17:14:41]SAM_PROTO_ClearQueue [17:14:41]wFMCommunicate request_size=4 [17:14:41]MH_SAM_APDU [17:14:41]CAPDU: 80 09 00 00 [17:14:41]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [17:14:41]Write i2c OK [17:14:41]MH_I2C_Read... [17:14:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:14:41]Read from MH i2c: E2 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 03 00 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [17:14:41]RAPDU: 90 00 [17:14:41]wFMCommunicate OK [17:14:41]SAM_PROTO_ClearQueue done [17:14:41]KKMCreateOFDPacket [17:14:41]OFDProtocolAddRootSTLVToBuf [17:14:41]FM_MakeSignedData [17:14:41]FM_MakeSignedData [17:14:41]SAM_PROTO_SignData [17:14:41]wFMCommunicate request_size=4 [17:14:41]MH_SAM_APDU [17:14:41]CAPDU: 80 0D 01 02 [17:14:41]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [17:14:41]Write i2c OK [17:14:41]MH_I2C_Read... [17:14:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:14:41]Read from MH i2c: E2 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 03 00 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [17:14:41]RAPDU: 90 00 [17:14:41]wFMCommunicate OK [17:14:41]wFMCommunicate request_size=255 [17:14:41]MH_SAM_APDU [17:14:41]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 50 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 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 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 01 18 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 26 0B 01 00 35 04 06 00 B9 [17:14:41]Write to MH i2c: E2 02 01 2D 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 50 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 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 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 01 18 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 26 0B 01 00 35 04 06 00 B9 00 00 07 [17:14:41]Write i2c OK [17:14:41]MH_I2C_Read... [17:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:14:41]Read from MH i2c: E2 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 03 00 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [17:14:41]RAPDU: 90 00 [17:14:41]wFMCommunicate OK [17:14:41]wFMCommunicate request_size=10 [17:14:41]MH_SAM_APDU [17:14:41]CAPDU: 80 0D 02 02 05 7C 5F 93 85 B3 [17:14:41]Write to MH i2c: E2 0D 00 2E 00 80 0D 02 02 05 00 7C 5F 93 85 B3 00 00 58 [17:14:41]Write i2c OK [17:14:41]MH_I2C_Read... [17:14:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:14:41]Read from MH i2c: E2 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 03 00 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [17:14:41]RAPDU: 90 00 [17:14:41]wFMCommunicate OK [17:14:41]wFMCommunicate request_size=4 [17:14:41]MH_SAM_APDU [17:14:41]CAPDU: 80 0D 03 02 [17:14:41]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [17:14:41]Write i2c OK [17:14:41]MH_I2C_Read... [17:14:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:14:41]Read from MH i2c: E2 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 0B 00 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 0B 00 2F 00 00 5E B7 69 B8 88 11 F4 FB 90 00 69 [17:14:41]RAPDU: 5E B7 69 B8 88 11 F4 FB 90 00 [17:14:41]wFMCommunicate OK [17:14:41]SAM_PROTO_SignData done [17:14:41]FM_MakeSignedData done [17:14:41]CreateOFDProtocolMessage [17:14:41]wFMCommunicate request_size=4 [17:14:41]MH_SAM_APDU [17:14:41]CAPDU: 80 11 00 00 [17:14:41]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [17:14:41]Write i2c OK [17:14:41]MH_I2C_Read... [17:14:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:14:41]Read from MH i2c: E2 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 17 00 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 01 [17:14:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:14:41]wFMCommunicate OK [17:14:41]CreateOFDProtocolMessage done [17:14:41]OFDSenderStorePacket 68390 [17:14:41]StoreOFDPacket docnum=68390 [17:14:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 92 48 07 01 88 DD 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 33 FF 03 08 00 03 50 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 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 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 01 18 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 26 0B 01 00 35 04 06 00 B9 7C 5F 93 85 B3 5E B7 69 B8 88 11 F4 FB [17:14:41]CheckFolder [17:14:41]dirname=/storage/ofd_packets [17:14:41]CheckFolder done [17:14:41]ProducePacketName [17:14:41]name=ofd_packets/00068390 [17:14:41]NVStorageSaveData ofd_packets/00068390 [17:14:41]File name is /storage/ofd_packets/00068390 [17:14:41]Write 301 bytes [17:14:41]NVStorageSaveData done [17:14:41]OFDSenderStorePacket done [17:14:41]KKMCreateOFDPacket done [17:14:41]NVStorageSaveData kkm_last_timestamp [17:14:41]File name is /storage/kkm_last_timestamp [17:14:41]Write 4 bytes [17:14:41]NVStorageSaveData done [17:14:41]ExternCall_PrintAddStr [17:14:41]wPrintStart [17:14:41]Write to MH i2c: 01 00 00 31 00 31 [17:14:41]Write i2c OK [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: 01 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: 01 07 00 [17:14:41]MH_I2C_Read... [17:14:41]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [17:14:41]RasterBufferAndPrint [17:14:41]line Счет N : (1)46386 [17:14:41]line ИНН: 02508201610067 [17:14:41]line Контрольно-Кассовый Чек [17:14:41]line ПРОДАЖА [17:14:41]line ТРК (МРК, ГНК) : 24 [17:14:41]line Товар: 2710124500 [17:14:41]line Аи-95-К-3 [17:14:41]line 26.960 * 74.20 [17:14:41]line = 2000.43 [17:14:41]line НДС 12% НСП 1% [17:14:41]line > о реализуемом товаре [17:14:41]line ОКРУГЛЕНИЕ: -0.43 [17:14:41]line ИТОГО: 2000.00 [17:14:41]line Внесено: 2000.00 [17:14:41]line СДАЧА: 0.00 [17:14:41]line НСП 1% : 17.70 [17:14:41]line НДС 12% : 212.43 [17:14:41]line Наличными: 2000.00 [17:14:41]line Безнал.: 0.00 [17:14:41]line Место: АЗС № 160 "Партнер Нефть" [17:14:41]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:14:41]line СНО: Общий режим [17:14:41]line Чек 113 29.10.2024 17:14 [17:14:41]line Смена: 548 ФФД: 1.0 [17:14:41]line ЗНМ: 0300000093 [17:14:41]line РНМ: 0000000000091759 [17:14:41]line Версия ККМ: 001 [17:14:41]line ФМ: 0000000000871758 [17:14:41]line ФД: 68390 [17:14:41]line ФПД: 203943830586803 [17:14:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T171441&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68390&fm=203943830586803&tin=02508201610067®Number=0000000000091759&sum=200000 [17:14:41]written 0, free lines is 4095 [17:14:42]OFD Sender: Processing packet 68390 [packets to send 28, broken 27] [17:14:42]ProducePacketName [17:14:42]name=ofd_packets/00068390 [17:14:42]OFD Sender: To server: pG, [17:14:42]CommunicateWithHost lk.salyk.kg:30040 [17:14:42]ConnectInit lk.salyk.kg [17:14:42]Connected sock=9 [17:14:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 92 48 07 01 88 DD 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 33 FF 03 08 00 03 50 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 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 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 01 18 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 26 0B 01 00 35 04 06 00 B9 7C 5F 93 85 B3 5E B7 69 B8 88 11 F4 FB [17:14:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4A ED 47 00 15 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 26 0B 01 00 F4 03 04 00 A8 C3 20 67 B6 04 01 00 00 7B E9 B0 30 0E FF FA 92 [17:14:42]CommunicateWithHost err = 0 [17:14:42]CheckOFDResponse [17:14:42]1017 (14) - 77093643461234 [17:14:42]1041 (16) - 0000000000871758 [17:14:42]1040 (4) - 68390 [17:14:42]1012 (4) - 29.10.2024 11:14 [17:14:42]1206 (1) - 0 [17:14:42]OFD Sender: Remove packet 68390 [17:14:42]ProducePacketName [17:14:42]name=ofd_packets/00068390 [17:14:42]NVStorageDeleteData [17:14:42]Write to MH i2c: 01 00 00 5B 00 5B [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: 01 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: 01 07 00 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: 01 07 00 5B 00 00 00 00 00 00 EA 0C 58 [17:14:42]RasterBufferAndPrint [17:14:42]line [17:14:42]line [17:14:42]line [17:14:42]line [17:14:42]line [17:14:42]written 0, free lines is 3311 [17:14:42]MH_Cut [17:14:42]Write to MH i2c: D1 01 00 62 00 01 34 [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: D1 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: D1 01 00 [17:14:42]MH_I2C_Read... [17:14:42]Read from MH i2c: D1 01 00 62 00 00 33 [17:14:42]Write to MH i2c: 01 00 00 63 00 63 [17:14:42]Write i2c OK [17:14:42]MH_I2C_Read... [17:14:42]OFD Sender: No OFD packet to send [17:14:43]*** Cut start [17:14:43]*** Partial cut [17:14:43]*** CUTSNS_PIN = 1 [17:14:43]*** CUTSNS_PIN = 0 [17:14:43]*** Brake cut motor [17:14:43]Read from MH i2c: 01 [17:14:43]MH_I2C_Read... [17:14:43]*** Stop cut motor [17:14:43]*** Cut end [17:14:43]Read from MH i2c: 01 07 00 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: 01 07 00 63 00 00 00 00 00 00 FF 0F 78 [17:14:43]process_action close_receipt done [17:14:43]requested_data is exist [17:14:43]produce_requested_data [17:14:43]requested_item fm.sn is exist - process it [17:14:43]wFMCommunicate request_size=4 [17:14:43]MH_SAM_APDU [17:14:43]CAPDU: 80 11 00 00 [17:14:43]Write to MH i2c: E2 08 00 64 00 80 11 00 00 00 00 00 00 DE [17:14:43]Write i2c OK [17:14:43]MH_I2C_Read... [17:14:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:14:43]Read from MH i2c: E2 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 17 00 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 17 00 64 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 35 [17:14:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:14:43]wFMCommunicate OK [17:14:43]requested_item fd.num is exist - process it [17:14:43]SAM_PROTO_GetFieldsCounters [17:14:43]wFMCommunicate request_size=4 [17:14:43]MH_SAM_APDU [17:14:43]CAPDU: 80 13 00 00 [17:14:43]Write to MH i2c: E2 08 00 65 00 80 13 00 00 00 00 00 00 E1 [17:14:43]Write i2c OK [17:14:43]MH_I2C_Read... [17:14:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:14:43]Read from MH i2c: E2 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 62 00 [17:14:43]MH_I2C_Read... [17:14:43]Read from MH i2c: E2 62 00 65 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 26 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 71 00 00 00 5E 04 04 00 71 00 00 00 57 04 04 00 72 00 00 00 19 04 04 00 00 00 00 00 90 00 B7 [17:14:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 26 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 71 00 00 00 5E 04 04 00 71 00 00 00 57 04 04 00 72 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:14:43]wFMCommunicate OK [17:14:43]SAM_PROTO_GetFieldsCounters done [17:14:43]requested_item shift.num is exist - process it [17:14:43]requested_item shift.opened is exist - process it [17:14:43]req_shift_opened [17:14:43]FM_GetShiftState [17:14:43]SAM_PROTO_GetShiftState [17:14:43]wFMCommunicate request_size=4 [17:14:43]MH_SAM_APDU [17:14:43]CAPDU: 80 13 01 00 [17:14:43]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [17:14:43]Write i2c OK [17:14:43]MH_I2C_Read... [17:14:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:14:44]Read from MH i2c: E2 [17:14:44]MH_I2C_Read... [17:14:44]Read from MH i2c: E2 0E 00 [17:14:44]MH_I2C_Read... [17:14:44]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 93 [17:14:44]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:14:44]wFMCommunicate OK [17:14:44]SAM_PROTO_GetShiftState done [17:14:44]FM_GetShiftState done [17:14:44]req_shift_opened done [17:14:44]requested_item shift.open_date is exist - process it [17:14:44]req_shift_open_date [17:14:44]req_shift_open_date done [17:14:44]produce_requested_data done [17:14:44]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68390,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [17:14:44]process_action_free close_receipt [17:14:44]json_value_free [17:14:44]json_value_free done [17:14:44]process_json_proto returns [17:14:44]Send response to host [17:14:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68390,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [17:14:44]free response buf [17:14:44]execute_script done [17:14:44]execute_script returns [17:14:44]free content buf [17:14:44]Sock 8.Close socket [17:14:44]Sock 8.Thread stoped [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:01]accept exits with 10 [17:15:01]New connection [17:15:01]New thread 3066715492 created [17:15:01]Thread 3066858852 joined [17:15:01]Waiting for new connection... [17:15:01] Sock 10.Parse request [17:15:01]Sock 10.Check first char [17:15:01]Sock 10.First char is OK [17:15:01]request: POST /json_proto HTTP/1.0 [17:15:01]Method: POST [17:15:01]URL: /json_proto [17:15:01]Method is POST - this is cgi request [17:15:01]url: /json_proto [17:15:01]query_string will be loaded in cgi processing [17:15:01]execute_cgi json_proto POST (null) [17:15:01]execute_cgi path=json_proto method=POST [17:15:01]POST find Content-Length [17:15:01]Host: 172.17.42.3:8080 [17:15:01]Content-Length: 665 [17:15:01]Content-Type: application/json [17:15:01] [17:15:01]POST finish read [17:15:01]Found Content-Length = 665 [17:15:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17245", "tax_sys" : 0, "items" : [ { "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:15:01]execute_script... [17:15:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17245", "tax_sys" : 0, "items" : [ { "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:15:01]POST & json_proto [17:15:01]process_json_proto [17:15:01]json parsed OK: [17:15:01]protocol is kg_v1.0 [17:15:01]action value=close_receipt [17:15:01]process_action close_receipt [17:15:01]cmd_close_receipt [17:15:01]MH_GetDate [17:15:01]Write to MH i2c: F0 00 00 67 00 56 [17:15:01]Write i2c OK [17:15:01]MH_I2C_Read... [17:15:01]Read from MH i2c: F0 [17:15:01]MH_I2C_Read... [17:15:01]Read from MH i2c: F0 09 00 [17:15:01]MH_I2C_Read... [17:15:01]Read from MH i2c: F0 09 00 67 00 00 16 18 21 67 28 A1 20 67 65 [17:15:01]GetLastDocTimeStamp 1730222081 [17:15:01]current date 1730222102 [17:15:01]FM_GetShiftState [17:15:01]SAM_PROTO_GetShiftState [17:15:01]wFMCommunicate request_size=4 [17:15:01]MH_SAM_APDU [17:15:01]CAPDU: 80 13 01 00 [17:15:01]Write to MH i2c: E2 08 00 68 00 80 13 01 00 00 00 00 00 E5 [17:15:01]Write i2c OK [17:15:01]MH_I2C_Read... [17:15:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:01]Read from MH i2c: E2 [17:15:01]MH_I2C_Read... [17:15:01]Read from MH i2c: E2 0E 00 [17:15:01]MH_I2C_Read... [17:15:01]Read from MH i2c: E2 0E 00 68 00 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 95 [17:15:01]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:15:01]wFMCommunicate OK [17:15:01]SAM_PROTO_GetShiftState done [17:15:01]FM_GetShiftState done [17:15:01]opened in 1730160885 [17:15:01]opened+sec_in_day 1730247285 [17:15:01]quantity*price = 9000 [17:15:01]sum+1 = 9001 [17:15:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 114 29.10.2024 17:15 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68391 ФПД: 204368105802223 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T171502&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68391&fm=204368105802223&tin=02508201610067®Number=0000000000091759&sum=9000 0 [17:15:02]StoreToDocumentArchive [17:15:02]shift 548 fd 68391 [17:15:02]save to /storage/0548/doc_00068391 [17:15:02]save last doc name /storage/0548/doc_00068391 to /storage/kkm_last_doc_name [17:15:02]save OK [17:15:02]Clear old archive folders... [17:15:02]ProcessDocumentItem done err = 0, tmpTLVsize=285 [17:15:02]tlvbuf is 01DFE760 [17:15:02]SAM_PROTO_ClearQueue [17:15:02]wFMCommunicate request_size=4 [17:15:02]MH_SAM_APDU [17:15:02]CAPDU: 80 09 00 00 [17:15:02]Write to MH i2c: E2 08 00 75 00 80 09 00 00 00 00 00 00 E7 [17:15:02]Write i2c OK [17:15:02]MH_I2C_Read... [17:15:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:15:02]Read from MH i2c: E2 [17:15:02]MH_I2C_Read... [17:15:02]Read from MH i2c: E2 03 00 [17:15:02]MH_I2C_Read... [17:15:02]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [17:15:02]RAPDU: 90 00 [17:15:02]wFMCommunicate OK [17:15:02]SAM_PROTO_ClearQueue done [17:15:02]KKMCreateOFDPacket [17:15:02]OFDProtocolAddRootSTLVToBuf [17:15:02]FM_MakeSignedData [17:15:02]FM_MakeSignedData [17:15:02]SAM_PROTO_SignData [17:15:02]wFMCommunicate request_size=4 [17:15:02]MH_SAM_APDU [17:15:02]CAPDU: 80 0D 01 02 [17:15:02]Write to MH i2c: E2 08 00 76 00 80 0D 01 02 00 00 00 00 EF [17:15:02]Write i2c OK [17:15:02]MH_I2C_Read... [17:15:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:15:02]Read from MH i2c: E2 [17:15:02]MH_I2C_Read... [17:15:02]Read from MH i2c: E2 03 00 [17:15:02]MH_I2C_Read... [17:15:02]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [17:15:02]RAPDU: 90 00 [17:15:02]wFMCommunicate OK [17:15:02]wFMCommunicate request_size=255 [17:15:02]MH_SAM_APDU [17:15:02]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 16 18 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 [17:15:02]Write to MH i2c: E2 02 01 77 00 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 16 18 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 00 00 AE [17:15:02]Write i2c OK [17:15:02]MH_I2C_Read... [17:15:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:02]Read from MH i2c: E2 [17:15:02]MH_I2C_Read... [17:15:02]Read from MH i2c: E2 03 00 [17:15:02]MH_I2C_Read... [17:15:02]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [17:15:02]RAPDU: 90 00 [17:15:02]wFMCommunicate OK [17:15:02]wFMCommunicate request_size=44 [17:15:02]MH_SAM_APDU [17:15:02]CAPDU: 80 0D 02 02 27 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 27 0B 01 00 35 04 06 00 B9 DF 28 59 89 EF [17:15:02]Write to MH i2c: E2 2F 00 78 00 80 0D 02 02 27 00 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 27 0B 01 00 35 04 06 00 B9 DF 28 59 89 EF 00 00 DD [17:15:02]Write i2c OK [17:15:02]MH_I2C_Read... [17:15:02]OFD Sender: No OFD packet to send [17:15:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:02]Read from MH i2c: E2 [17:15:02]MH_I2C_Read... [17:15:02]Read from MH i2c: E2 03 00 [17:15:02]MH_I2C_Read... [17:15:02]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [17:15:02]RAPDU: 90 00 [17:15:02]wFMCommunicate OK [17:15:02]wFMCommunicate request_size=4 [17:15:02]MH_SAM_APDU [17:15:02]CAPDU: 80 0D 03 02 [17:15:02]Write to MH i2c: E2 08 00 79 00 80 0D 03 02 00 00 00 00 F4 [17:15:02]Write i2c OK [17:15:02]MH_I2C_Read... [17:15:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:15:02]Read from MH i2c: E2 [17:15:02]MH_I2C_Read... [17:15:02]Read from MH i2c: E2 0B 00 [17:15:02]MH_I2C_Read... [17:15:03]Read from MH i2c: E2 0B 00 79 00 00 C8 AF 6F 84 BE 35 C6 F1 90 00 09 [17:15:03]RAPDU: C8 AF 6F 84 BE 35 C6 F1 90 00 [17:15:03]wFMCommunicate OK [17:15:03]SAM_PROTO_SignData done [17:15:03]FM_MakeSignedData done [17:15:03]CreateOFDProtocolMessage [17:15:03]wFMCommunicate request_size=4 [17:15:03]MH_SAM_APDU [17:15:03]CAPDU: 80 11 00 00 [17:15:03]Write to MH i2c: E2 08 00 7A 00 80 11 00 00 00 00 00 00 F4 [17:15:03]Write i2c OK [17:15:03]MH_I2C_Read... [17:15:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:03]Read from MH i2c: E2 [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: E2 17 00 [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: E2 17 00 7A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 4B [17:15:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:15:03]wFMCommunicate OK [17:15:03]CreateOFDProtocolMessage done [17:15:03]OFDSenderStorePacket 68391 [17:15:03]StoreOFDPacket docnum=68391 [17:15:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 31 01 00 00 F2 40 29 01 E3 6B 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 16 18 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 27 0B 01 00 35 04 06 00 B9 DF 28 59 89 EF C8 AF 6F 84 BE 35 C6 F1 [17:15:03]CheckFolder [17:15:03]dirname=/storage/ofd_packets [17:15:03]CheckFolder done [17:15:03]ProducePacketName [17:15:03]name=ofd_packets/00068391 [17:15:03]NVStorageSaveData ofd_packets/00068391 [17:15:03]File name is /storage/ofd_packets/00068391 [17:15:03]Write 335 bytes [17:15:03]NVStorageSaveData done [17:15:03]OFDSenderStorePacket done [17:15:03]KKMCreateOFDPacket done [17:15:03]NVStorageSaveData kkm_last_timestamp [17:15:03]File name is /storage/kkm_last_timestamp [17:15:03]Write 4 bytes [17:15:03]NVStorageSaveData done [17:15:03]ExternCall_PrintAddStr [17:15:03]wPrintStart [17:15:03]Write to MH i2c: 01 00 00 7B 00 7B [17:15:03]Write i2c OK [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: 01 [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: 01 07 00 [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: 01 07 00 7B 00 00 00 00 00 00 FF 0F 90 [17:15:03]RasterBufferAndPrint [17:15:03]line Счет N : (3)17245 [17:15:03]line ИНН: 02508201610067 [17:15:03]line Контрольно-Кассовый Чек [17:15:03]line ПРОДАЖА [17:15:03]line Товар: 4607015235777 [17:15:03]line Печ. сд. Яшкино вишня 137г [17:15:03]line 1.000 * 90.00 [17:15:03]line = 90.00 [17:15:03]line НДС 12% НСП 1% [17:15:03]line > о реализуемом товаре [17:15:03]line ИТОГО: 90.00 [17:15:03]line НСП 1% : 0.80 [17:15:03]line НДС 12% : 9.56 [17:15:03]line Наличными: 90.00 [17:15:03]line Безнал.: 0.00 [17:15:03]line Место: АЗС № 160 "Партнер Нефть" [17:15:03]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:15:03]line СНО: Общий режим [17:15:03]line Чек 114 29.10.2024 17:15 [17:15:03]line Смена: 548 ФФД: 1.0 [17:15:03]line ЗНМ: 0300000093 [17:15:03]line РНМ: 0000000000091759 [17:15:03]line Версия ККМ: 001 [17:15:03]line ФМ: 0000000000871758 [17:15:03]line ФД: 68391 [17:15:03]line ФПД: 204368105802223 [17:15:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T171502&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68391&fm=204368105802223&tin=02508201610067®Number=0000000000091759&sum=9000 [17:15:03]line 0 [17:15:03]written 0, free lines is 4095 [17:15:03]OFD Sender: Processing packet 68391 [packets to send 28, broken 27] [17:15:03]ProducePacketName [17:15:03]name=ofd_packets/00068391 [17:15:03]OFD Sender: To server: pG, [17:15:03]CommunicateWithHost lk.salyk.kg:30040 [17:15:03]ConnectInit lk.salyk.kg [17:15:03]Connected sock=11 [17:15:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 31 01 00 00 F2 40 29 01 E3 6B 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 16 18 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 27 0B 01 00 35 04 06 00 B9 DF 28 59 89 EF C8 AF 6F 84 BE 35 C6 F1 [17:15:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2B EA 47 00 53 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 27 0B 01 00 F4 03 04 00 BD C3 20 67 B6 04 01 00 00 32 FF C6 5D BA 7C 68 3E [17:15:03]CommunicateWithHost err = 0 [17:15:03]CheckOFDResponse [17:15:03]1017 (14) - 77093643461234 [17:15:03]1041 (16) - 0000000000871758 [17:15:03]1040 (4) - 68391 [17:15:03]1012 (4) - 29.10.2024 11:15 [17:15:03]1206 (1) - 0 [17:15:03]OFD Sender: Remove packet 68391 [17:15:03]ProducePacketName [17:15:03]name=ofd_packets/00068391 [17:15:03]NVStorageDeleteData [17:15:03]Write to MH i2c: 01 00 00 A2 00 A2 [17:15:03]Write i2c OK [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: 01 [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: 01 07 00 [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: 01 07 00 A2 00 00 00 00 00 00 FD 0C B2 [17:15:03]RasterBufferAndPrint [17:15:03]line [17:15:03]line [17:15:03]line [17:15:03]line [17:15:03]line [17:15:03]written 0, free lines is 3337 [17:15:03]MH_Cut [17:15:03]Write to MH i2c: D1 01 00 A9 00 01 7B [17:15:03]Write i2c OK [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: D1 [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: D1 01 00 [17:15:03]MH_I2C_Read... [17:15:03]Read from MH i2c: D1 01 00 A9 00 00 7A [17:15:03]Write to MH i2c: 01 00 00 AA 00 AA [17:15:03]Write i2c OK [17:15:03]MH_I2C_Read... [17:15:03]OFD Sender: No OFD packet to send [17:15:04]*** Cut start [17:15:04]*** Partial cut [17:15:04]*** CUTSNS_PIN = 1 [17:15:04]*** CUTSNS_PIN = 0 [17:15:04]*** Brake cut motor [17:15:04]Read from MH i2c: 01 [17:15:04]MH_I2C_Read... [17:15:04]*** Stop cut motor [17:15:04]*** Cut end [17:15:04]Read from MH i2c: 01 07 00 [17:15:04]MH_I2C_Read... [17:15:04]Read from MH i2c: 01 07 00 AA 00 00 00 00 00 00 FF 0F BF [17:15:04]process_action close_receipt done [17:15:04]requested_data is exist [17:15:04]produce_requested_data [17:15:04]requested_item fm.sn is exist - process it [17:15:04]wFMCommunicate request_size=4 [17:15:04]MH_SAM_APDU [17:15:04]CAPDU: 80 11 00 00 [17:15:04]Write to MH i2c: E2 08 00 AB 00 80 11 00 00 00 00 00 00 25 [17:15:04]Write i2c OK [17:15:04]MH_I2C_Read... [17:15:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:04]Read from MH i2c: E2 [17:15:04]MH_I2C_Read... [17:15:04]Read from MH i2c: E2 17 00 [17:15:04]MH_I2C_Read... [17:15:04]Read from MH i2c: E2 17 00 AB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 7C [17:15:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:15:04]wFMCommunicate OK [17:15:04]requested_item fd.num is exist - process it [17:15:04]SAM_PROTO_GetFieldsCounters [17:15:04]wFMCommunicate request_size=4 [17:15:04]MH_SAM_APDU [17:15:04]CAPDU: 80 13 00 00 [17:15:04]Write to MH i2c: E2 08 00 AC 00 80 13 00 00 00 00 00 00 28 [17:15:04]Write i2c OK [17:15:04]MH_I2C_Read... [17:15:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:15:05]Read from MH i2c: E2 [17:15:05]MH_I2C_Read... [17:15:05]Read from MH i2c: E2 62 00 [17:15:05]MH_I2C_Read... [17:15:05]Read from MH i2c: E2 62 00 AC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 27 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 72 00 00 00 5E 04 04 00 72 00 00 00 57 04 04 00 73 00 00 00 19 04 04 00 00 00 00 00 90 00 02 [17:15:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 27 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 72 00 00 00 5E 04 04 00 72 00 00 00 57 04 04 00 73 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:15:05]wFMCommunicate OK [17:15:05]SAM_PROTO_GetFieldsCounters done [17:15:05]requested_item shift.num is exist - process it [17:15:05]requested_item shift.opened is exist - process it [17:15:05]req_shift_opened [17:15:05]FM_GetShiftState [17:15:05]SAM_PROTO_GetShiftState [17:15:05]wFMCommunicate request_size=4 [17:15:05]MH_SAM_APDU [17:15:05]CAPDU: 80 13 01 00 [17:15:05]Write to MH i2c: E2 08 00 AD 00 80 13 01 00 00 00 00 00 2A [17:15:05]Write i2c OK [17:15:05]MH_I2C_Read... [17:15:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:05]Read from MH i2c: E2 [17:15:05]MH_I2C_Read... [17:15:05]Read from MH i2c: E2 0E 00 [17:15:05]MH_I2C_Read... [17:15:05]Read from MH i2c: E2 0E 00 AD 00 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 DA [17:15:05]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:15:05]wFMCommunicate OK [17:15:05]SAM_PROTO_GetShiftState done [17:15:05]FM_GetShiftState done [17:15:05]req_shift_opened done [17:15:05]requested_item shift.open_date is exist - process it [17:15:05]req_shift_open_date [17:15:05]req_shift_open_date done [17:15:05]produce_requested_data done [17:15:05]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68391,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [17:15:05]process_action_free close_receipt [17:15:05]json_value_free [17:15:05]json_value_free done [17:15:05]process_json_proto returns [17:15:05]Send response to host [17:15:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68391,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [17:15:05]free response buf [17:15:05]execute_script done [17:15:05]execute_script returns [17:15:05]free content buf [17:15:05]Sock 10.Close socket [17:15:05]Sock 10.Thread stoped [17:15:08]OFD Sender: No OFD packet to send [17:15:10]int [17:15:10]Write to MH i2c: 01 00 00 AE 00 AE [17:15:10]*** FLAG_PRN_KEY set [17:15:10]Write i2c OK [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: 01 [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: 01 07 00 [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: 01 07 00 AE 00 00 08 00 00 00 FF 0F CB [17:15:10]state=0 [17:15:10]Key pressed [17:15:10]Feed [17:15:10]Write to MH i2c: D8 00 00 AF 00 86 [17:15:10]Write i2c OK [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: D8 [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: D8 01 00 [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: D8 01 00 AF 00 00 87 [17:15:10]int [17:15:10]Write to MH i2c: 01 00 00 B0 00 B0 [17:15:10]Write i2c OK [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: 01 [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: 01 07 00 [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: 01 07 00 B0 00 00 48 00 00 00 3C 00 3B [17:15:10]state=2 [17:15:10]Key pressed [17:15:10]int [17:15:10]Write to MH i2c: 01 00 00 B1 00 B1 [17:15:10]*** FLAG_PRN_KEY reset [17:15:10]Write i2c OK [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: 01 [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: 01 07 00 [17:15:10]MH_I2C_Read... [17:15:10]Read from MH i2c: 01 07 00 B1 00 00 00 00 00 00 F9 0F C0 [17:15:10]state=2 [17:15:10]Stop feed [17:15:13]OFD Sender: No OFD packet to send [17:15:18]OFD Sender: No OFD packet to send [17:15:23]OFD Sender: No OFD packet to send [17:15:28]OFD Sender: No OFD packet to send [17:15:33]OFD Sender: No OFD packet to send [17:15:38]OFD Sender: No OFD packet to send [17:15:43]OFD Sender: No OFD packet to send [17:15:48]OFD Sender: No OFD packet to send [17:15:53]OFD Sender: No OFD packet to send [17:15:58]OFD Sender: No OFD packet to send [17:16:03]OFD Sender: No OFD packet to send [17:16:08]OFD Sender: No OFD packet to send [17:16:13]OFD Sender: No OFD packet to send [17:16:18]OFD Sender: No OFD packet to send [17:16:23]OFD Sender: No OFD packet to send [17:16:28]OFD Sender: No OFD packet to send [17:16:33]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:17:59]OFD Sender: No OFD packet to send [17:18:04]OFD Sender: No OFD packet to send [17:18:09]OFD Sender: No OFD packet to send [17:18:14]OFD Sender: No OFD packet to send [17:18:19]OFD Sender: No OFD packet to send [17:18:24]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:29]OFD Sender: No OFD packet to send [17:20:34]OFD Sender: No OFD packet to send [17:20:39]OFD Sender: No OFD packet to send [17:20:44]OFD Sender: No OFD packet to send [17:20:49]OFD Sender: No OFD packet to send [17:20:54]OFD Sender: No OFD packet to send [17:20:59]OFD Sender: No OFD packet to send [17:21:04]OFD Sender: No OFD packet to send [17:21:09]OFD Sender: No OFD packet to send [17:21:14]OFD Sender: No OFD packet to send [17:21:19]OFD Sender: No OFD packet to send [17:21:24]OFD Sender: No OFD packet to send [17:21:29]OFD Sender: No OFD packet to send [17:21:34]OFD Sender: No OFD packet to send [17:21:39]OFD Sender: No OFD packet to send [17:21:44]OFD Sender: No OFD packet to send [17:21:49]OFD Sender: No OFD packet to send [17:21:54]OFD Sender: No OFD packet to send [17:21:59]OFD Sender: No OFD packet to send [17:22:04]OFD Sender: No OFD packet to send [17:22:09]OFD Sender: No OFD packet to send [17:22:14]OFD Sender: No OFD packet to send [17:22:19]OFD Sender: No OFD packet to send [17:22:24]OFD Sender: No OFD packet to send [17:22:29]OFD Sender: No OFD packet to send [17:22:34]OFD Sender: No OFD packet to send [17:22:39]OFD Sender: No OFD packet to send [17:22:44]OFD Sender: No OFD packet to send [17:22:49]OFD Sender: No OFD packet to send [17:22:54]OFD Sender: No OFD packet to send [17:22:59]accept exits with 9 [17:22:59]New connection [17:22:59]New thread 3066858852 created [17:22:59]Thread 3066715492 joined [17:22:59]Waiting for new connection... [17:22:59] Sock 9.Parse request [17:22:59]Sock 9.Check first char [17:22:59]Sock 9.First char is OK [17:22:59]request: POST /json_proto HTTP/1.0 [17:22:59]Method: POST [17:22:59]URL: /json_proto [17:22:59]Method is POST - this is cgi request [17:22:59]url: /json_proto [17:22:59]query_string will be loaded in cgi processing [17:22:59]execute_cgi json_proto POST (null) [17:22:59]execute_cgi path=json_proto method=POST [17:22:59]POST find Content-Length [17:22:59]Host: 172.17.42.3:8080 [17:22:59]Content-Length: 661 [17:22:59]Content-Type: application/json [17:22:59] [17:22:59]POST finish read [17:22:59]Found Content-Length = 661 [17:22:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17246", "tax_sys" : 0, "items" : [ { "code": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 38.00, "quantity" : 1.000, "sum" : 38.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 38.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:22:59]execute_script... [17:22:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17246", "tax_sys" : 0, "items" : [ { "code": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 38.00, "quantity" : 1.000, "sum" : 38.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 38.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:22:59]POST & json_proto [17:22:59]process_json_proto [17:22:59]json parsed OK: [17:22:59]protocol is kg_v1.0 [17:22:59]action value=close_receipt [17:22:59]process_action close_receipt [17:22:59]cmd_close_receipt [17:22:59]MH_GetDate [17:22:59]Write to MH i2c: F0 00 00 B2 00 A1 [17:22:59]Write i2c OK [17:22:59]MH_I2C_Read... [17:22:59]Read from MH i2c: F0 [17:22:59]MH_I2C_Read... [17:22:59]Read from MH i2c: F0 09 00 [17:22:59]MH_I2C_Read... [17:22:59]Read from MH i2c: F0 09 00 B2 00 00 F4 19 21 67 28 A1 20 67 8F [17:22:59]GetLastDocTimeStamp 1730222102 [17:22:59]current date 1730222580 [17:22:59]FM_GetShiftState [17:22:59]SAM_PROTO_GetShiftState [17:22:59]wFMCommunicate request_size=4 [17:22:59]MH_SAM_APDU [17:22:59]CAPDU: 80 13 01 00 [17:22:59]Write to MH i2c: E2 08 00 B3 00 80 13 01 00 00 00 00 00 30 [17:22:59]Write i2c OK [17:22:59]MH_I2C_Read... [17:22:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:59]Read from MH i2c: E2 [17:22:59]MH_I2C_Read... [17:22:59]Read from MH i2c: E2 0E 00 [17:22:59]MH_I2C_Read... [17:22:59]Read from MH i2c: E2 0E 00 B3 00 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 E0 [17:22:59]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:22:59]wFMCommunicate OK [17:22:59]SAM_PROTO_GetShiftState done [17:22:59]FM_GetShiftState done [17:22:59]opened in 1730160885 [17:22:59]opened+sec_in_day 1730247285 [17:22:59]quantity*price = 3800 [17:22:59]sum+1 = 3801 [17:22:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 38.00 НСП 1% : 0.34 НДС 12% : 4.03 Наличными: 38.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 115 29.10.2024 17:23 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68392 ФПД: 132876538199427 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T172300&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68392&fm=132876538199427&tin=02508201610067®Number=0000000000091759&sum=3800 0 [17:23:00]StoreToDocumentArchive [17:23:00]shift 548 fd 68392 [17:23:00]save to /storage/0548/doc_00068392 [17:23:00]save last doc name /storage/0548/doc_00068392 to /storage/kkm_last_doc_name [17:23:00]save OK [17:23:00]Clear old archive folders... [17:23:00]ProcessDocumentItem done err = 0, tmpTLVsize=281 [17:23:00]tlvbuf is 01DD7010 [17:23:00]SAM_PROTO_ClearQueue [17:23:00]wFMCommunicate request_size=4 [17:23:00]MH_SAM_APDU [17:23:00]CAPDU: 80 09 00 00 [17:23:00]Write to MH i2c: E2 08 00 C0 00 80 09 00 00 00 00 00 00 32 [17:23:00]Write i2c OK [17:23:00]MH_I2C_Read... [17:23:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:23:00]Read from MH i2c: E2 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 03 00 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [17:23:00]RAPDU: 90 00 [17:23:00]wFMCommunicate OK [17:23:00]SAM_PROTO_ClearQueue done [17:23:00]KKMCreateOFDPacket [17:23:00]OFDProtocolAddRootSTLVToBuf [17:23:00]FM_MakeSignedData [17:23:00]FM_MakeSignedData [17:23:00]SAM_PROTO_SignData [17:23:00]wFMCommunicate request_size=4 [17:23:00]MH_SAM_APDU [17:23:00]CAPDU: 80 0D 01 02 [17:23:00]Write to MH i2c: E2 08 00 C1 00 80 0D 01 02 00 00 00 00 3A [17:23:00]Write i2c OK [17:23:00]MH_I2C_Read... [17:23:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:23:00]Read from MH i2c: E2 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 03 00 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [17:23:00]RAPDU: 90 00 [17:23:00]wFMCommunicate OK [17:23:00]wFMCommunicate request_size=255 [17:23:00]MH_SAM_APDU [17:23:00]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 0E 00 00 00 00 13 04 06 00 D8 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 01 00 00 00 00 07 04 06 00 D8 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 F4 19 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 [17:23:00]Write to MH i2c: E2 02 01 C2 00 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 0E 00 00 00 00 13 04 06 00 D8 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 01 00 00 00 00 07 04 06 00 D8 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 F4 19 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 00 8D [17:23:00]Write i2c OK [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 [17:23:00]MH_I2C_Read... [17:23:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:00]Read from MH i2c: E2 03 00 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [17:23:00]RAPDU: 90 00 [17:23:00]wFMCommunicate OK [17:23:00]wFMCommunicate request_size=40 [17:23:00]MH_SAM_APDU [17:23:00]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 28 0B 01 00 35 04 06 00 78 D9 BA DB BD 83 [17:23:00]Write to MH i2c: E2 2B 00 C3 00 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 28 0B 01 00 35 04 06 00 78 D9 BA DB BD 83 00 00 58 [17:23:00]Write i2c OK [17:23:00]MH_I2C_Read... [17:23:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:00]Read from MH i2c: E2 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 03 00 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [17:23:00]RAPDU: 90 00 [17:23:00]wFMCommunicate OK [17:23:00]wFMCommunicate request_size=4 [17:23:00]MH_SAM_APDU [17:23:00]CAPDU: 80 0D 03 02 [17:23:00]Write to MH i2c: E2 08 00 C4 00 80 0D 03 02 00 00 00 00 3F [17:23:00]Write i2c OK [17:23:00]MH_I2C_Read... [17:23:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:23:00]Read from MH i2c: E2 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 0B 00 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 0B 00 C4 00 00 4D F1 DF 6A F6 B9 E8 48 90 00 A6 [17:23:00]RAPDU: 4D F1 DF 6A F6 B9 E8 48 90 00 [17:23:00]wFMCommunicate OK [17:23:00]SAM_PROTO_SignData done [17:23:00]FM_MakeSignedData done [17:23:00]CreateOFDProtocolMessage [17:23:00]wFMCommunicate request_size=4 [17:23:00]MH_SAM_APDU [17:23:00]CAPDU: 80 11 00 00 [17:23:00]Write to MH i2c: E2 08 00 C5 00 80 11 00 00 00 00 00 00 3F [17:23:00]Write i2c OK [17:23:00]MH_I2C_Read... [17:23:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:00]Read from MH i2c: E2 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 17 00 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: E2 17 00 C5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 96 [17:23:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:23:00]wFMCommunicate OK [17:23:00]CreateOFDProtocolMessage done [17:23:00]OFDSenderStorePacket 68392 [17:23:00]StoreOFDPacket docnum=68392 [17:23:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2D 01 00 00 40 84 25 01 94 BB 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 0E 00 00 00 00 13 04 06 00 D8 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 01 00 00 00 00 07 04 06 00 D8 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 F4 19 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 28 0B 01 00 35 04 06 00 78 D9 BA DB BD 83 4D F1 DF 6A F6 B9 E8 48 [17:23:00]CheckFolder [17:23:00]dirname=/storage/ofd_packets [17:23:00]CheckFolder done [17:23:00]ProducePacketName [17:23:00]name=ofd_packets/00068392 [17:23:00]NVStorageSaveData ofd_packets/00068392 [17:23:00]File name is /storage/ofd_packets/00068392 [17:23:00]Write 331 bytes [17:23:00]NVStorageSaveData done [17:23:00]OFDSenderStorePacket done [17:23:00]KKMCreateOFDPacket done [17:23:00]NVStorageSaveData kkm_last_timestamp [17:23:00]File name is /storage/kkm_last_timestamp [17:23:00]Write 4 bytes [17:23:00]NVStorageSaveData done [17:23:00]ExternCall_PrintAddStr [17:23:00]wPrintStart [17:23:00]Write to MH i2c: 01 00 00 C6 00 C6 [17:23:00]Write i2c OK [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: 01 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: 01 07 00 [17:23:00]MH_I2C_Read... [17:23:00]Read from MH i2c: 01 07 00 C6 00 00 00 00 00 00 FF 0F DB [17:23:00]RasterBufferAndPrint [17:23:00]line Счет N : (3)17246 [17:23:00]line ИНН: 02508201610067 [17:23:00]line Контрольно-Кассовый Чек [17:23:00]line ПРОДАЖА [17:23:00]line Товар: 4607120858977 [17:23:00]line Чипсы Чипсоны краб 40г [17:23:00]line 1.000 * 38.00 [17:23:00]line = 38.00 [17:23:00]line НДС 12% НСП 1% [17:23:00]line > о реализуемом товаре [17:23:00]line ИТОГО: 38.00 [17:23:00]line НСП 1% : 0.34 [17:23:00]line НДС 12% : 4.03 [17:23:00]line Наличными: 38.00 [17:23:00]line Безнал.: 0.00 [17:23:00]line Место: АЗС № 160 "Партнер Нефть" [17:23:00]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:23:00]line СНО: Общий режим [17:23:00]line Чек 115 29.10.2024 17:23 [17:23:00]line Смена: 548 ФФД: 1.0 [17:23:00]line ЗНМ: 0300000093 [17:23:00]line РНМ: 0000000000091759 [17:23:00]line Версия ККМ: 001 [17:23:00]line ФМ: 0000000000871758 [17:23:00]line ФД: 68392 [17:23:00]line ФПД: 132876538199427 [17:23:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T172300&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68392&fm=132876538199427&tin=02508201610067®Number=0000000000091759&sum=3800 [17:23:01]line 0 [17:23:01]OFD Sender: Processing packet 68392 [packets to send 28, broken 27] [17:23:01]ProducePacketName [17:23:01]name=ofd_packets/00068392 [17:23:01]OFD Sender: To server: pG, [17:23:01]CommunicateWithHost lk.salyk.kg:30040 [17:23:01]ConnectInit lk.salyk.kg [17:23:01]written 0, free lines is 4095 [17:23:01]Connected sock=10 [17:23:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2D 01 00 00 40 84 25 01 94 BB 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 0E 00 00 00 00 13 04 06 00 D8 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 0E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 01 00 00 00 00 07 04 06 00 D8 0E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 F4 19 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 28 0B 01 00 35 04 06 00 78 D9 BA DB BD 83 4D F1 DF 6A F6 B9 E8 48 [17:23:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B2 C1 47 00 3B 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 28 0B 01 00 F4 03 04 00 9B C5 20 67 B6 04 01 00 00 A9 41 B9 A7 33 84 8D 9C [17:23:01]CommunicateWithHost err = 0 [17:23:01]CheckOFDResponse [17:23:01]1017 (14) - 77093643461234 [17:23:01]1041 (16) - 0000000000871758 [17:23:01]1040 (4) - 68392 [17:23:01]1012 (4) - 29.10.2024 11:23 [17:23:01]1206 (1) - 0 [17:23:01]OFD Sender: Remove packet 68392 [17:23:01]ProducePacketName [17:23:01]name=ofd_packets/00068392 [17:23:01]NVStorageDeleteData [17:23:01]Write to MH i2c: 01 00 00 ED 00 ED [17:23:01]Write i2c OK [17:23:01]MH_I2C_Read... [17:23:01]Read from MH i2c: 01 [17:23:01]MH_I2C_Read... [17:23:01]Read from MH i2c: 01 07 00 [17:23:01]MH_I2C_Read... [17:23:01]Read from MH i2c: 01 07 00 ED 00 00 00 00 00 00 F6 0C F6 [17:23:01]RasterBufferAndPrint [17:23:01]line [17:23:01]line [17:23:01]line [17:23:01]line [17:23:01]line [17:23:01]written 0, free lines is 3327 [17:23:01]MH_Cut [17:23:01]Write to MH i2c: D1 01 00 F4 00 01 C6 [17:23:01]Write i2c OK [17:23:01]MH_I2C_Read... [17:23:01]Read from MH i2c: D1 [17:23:01]MH_I2C_Read... [17:23:01]Read from MH i2c: D1 01 00 [17:23:01]MH_I2C_Read... [17:23:01]Read from MH i2c: D1 01 00 F4 00 00 C5 [17:23:01]Write to MH i2c: 01 00 00 F5 00 F5 [17:23:01]Write i2c OK [17:23:01]MH_I2C_Read... [17:23:01]OFD Sender: No OFD packet to send [17:23:02]*** Cut start [17:23:02]*** Partial cut [17:23:02]*** CUTSNS_PIN = 1 [17:23:02]*** CUTSNS_PIN = 0 [17:23:02]*** Brake cut motor [17:23:02]Read from MH i2c: 01 [17:23:02]MH_I2C_Read... [17:23:02]*** Stop cut motor [17:23:02]*** Cut end [17:23:02]Read from MH i2c: 01 07 00 [17:23:02]MH_I2C_Read... [17:23:02]Read from MH i2c: 01 07 00 F5 00 00 00 00 00 00 FF 0F 0A [17:23:02]process_action close_receipt done [17:23:02]requested_data is exist [17:23:02]produce_requested_data [17:23:02]requested_item fm.sn is exist - process it [17:23:02]wFMCommunicate request_size=4 [17:23:02]MH_SAM_APDU [17:23:02]CAPDU: 80 11 00 00 [17:23:02]Write to MH i2c: E2 08 00 F6 00 80 11 00 00 00 00 00 00 70 [17:23:02]Write i2c OK [17:23:02]MH_I2C_Read... [17:23:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:03]Read from MH i2c: E2 [17:23:03]MH_I2C_Read... [17:23:03]Read from MH i2c: E2 17 00 [17:23:03]MH_I2C_Read... [17:23:03]Read from MH i2c: E2 17 00 F6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C7 [17:23:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:23:03]wFMCommunicate OK [17:23:03]requested_item fd.num is exist - process it [17:23:03]SAM_PROTO_GetFieldsCounters [17:23:03]wFMCommunicate request_size=4 [17:23:03]MH_SAM_APDU [17:23:03]CAPDU: 80 13 00 00 [17:23:03]Write to MH i2c: E2 08 00 F7 00 80 13 00 00 00 00 00 00 73 [17:23:03]Write i2c OK [17:23:03]MH_I2C_Read... [17:23:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:23:03]Read from MH i2c: E2 [17:23:03]MH_I2C_Read... [17:23:03]Read from MH i2c: E2 62 00 [17:23:03]MH_I2C_Read... [17:23:03]Read from MH i2c: E2 62 00 F7 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 28 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 51 [17:23:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 28 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:23:03]wFMCommunicate OK [17:23:03]SAM_PROTO_GetFieldsCounters done [17:23:03]requested_item shift.num is exist - process it [17:23:03]requested_item shift.opened is exist - process it [17:23:03]req_shift_opened [17:23:03]FM_GetShiftState [17:23:03]SAM_PROTO_GetShiftState [17:23:03]wFMCommunicate request_size=4 [17:23:03]MH_SAM_APDU [17:23:03]CAPDU: 80 13 01 00 [17:23:03]Write to MH i2c: E2 08 00 F8 00 80 13 01 00 00 00 00 00 75 [17:23:03]Write i2c OK [17:23:03]MH_I2C_Read... [17:23:03]Read from MH i2c: E2 [17:23:03]MH_I2C_Read... [17:23:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:03]Read from MH i2c: E2 0E 00 [17:23:03]MH_I2C_Read... [17:23:03]Read from MH i2c: E2 0E 00 F8 00 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 25 [17:23:03]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:23:03]wFMCommunicate OK [17:23:03]SAM_PROTO_GetShiftState done [17:23:03]FM_GetShiftState done [17:23:03]req_shift_opened done [17:23:03]requested_item shift.open_date is exist - process it [17:23:03]req_shift_open_date [17:23:03]req_shift_open_date done [17:23:03]produce_requested_data done [17:23:03]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68392,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [17:23:03]process_action_free close_receipt [17:23:03]json_value_free [17:23:03]json_value_free done [17:23:03]process_json_proto returns [17:23:03]Send response to host [17:23:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68392,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [17:23:03]free response buf [17:23:03]execute_script done [17:23:03]execute_script returns [17:23:03]free content buf [17:23:03]Sock 9.Close socket [17:23:03]Sock 9.Thread stoped [17:23:06]OFD Sender: No OFD packet to send [17:23:11]OFD Sender: No OFD packet to send [17:23:16]OFD Sender: No OFD packet to send [17:23:21]OFD Sender: No OFD packet to send [17:23:27]OFD Sender: No OFD packet to send [17:23:32]OFD Sender: No OFD packet to send [17:23:37]OFD Sender: No OFD packet to send [17:23:42]OFD Sender: No OFD packet to send [17:23:47]OFD Sender: No OFD packet to send [17:23:52]OFD Sender: No OFD packet to send [17:23:57]OFD Sender: No OFD packet to send [17:23:59]accept exits with 8 [17:23:59]New connection [17:23:59]New thread 3066715492 created [17:23:59]Thread 3066858852 joined [17:23:59]Waiting for new connection... [17:23:59] Sock 8.Parse request [17:23:59]Sock 8.Check first char [17:23:59]Sock 8.First char is OK [17:23:59]request: POST /json_proto HTTP/1.0 [17:23:59]Method: POST [17:23:59]URL: /json_proto [17:23:59]Method is POST - this is cgi request [17:23:59]url: /json_proto [17:23:59]query_string will be loaded in cgi processing [17:23:59]execute_cgi json_proto POST (null) [17:23:59]execute_cgi path=json_proto method=POST [17:23:59]POST find Content-Length [17:23:59]Host: 172.17.42.3:8080 [17:23:59]Content-Length: 983 [17:23:59]Content-Type: application/json [17:23:59] [17:23:59]POST finish read [17:23:59]Found Content-Length = 983 [17:23:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46387", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 22.770, "sum" : 1500.54, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.77 \u0441\u043E\u043C", "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" ] } } [17:23:59]execute_script... [17:23: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)46387", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 22.770, "sum" : 1500.54, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.77 \u0441\u043E\u043C", "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" ] } } [17:23:59]POST & json_proto [17:23:59]process_json_proto [17:23:59]json parsed OK: [17:23:59]protocol is kg_v1.0 [17:23:59]action value=close_receipt [17:23:59]process_action close_receipt [17:23:59]cmd_close_receipt [17:23:59]MH_GetDate [17:23:59]Write to MH i2c: F0 00 00 F9 00 E8 [17:23:59]Write i2c OK [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: F0 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: F0 09 00 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: F0 09 00 F9 00 00 30 1A 21 67 28 A1 20 67 13 [17:23:59]GetLastDocTimeStamp 1730222580 [17:23:59]current date 1730222640 [17:23:59]FM_GetShiftState [17:23:59]SAM_PROTO_GetShiftState [17:23:59]wFMCommunicate request_size=4 [17:23:59]MH_SAM_APDU [17:23:59]CAPDU: 80 13 01 00 [17:23:59]Write to MH i2c: E2 08 00 FA 00 80 13 01 00 00 00 00 00 77 [17:23:59]Write i2c OK [17:23:59]MH_I2C_Read... [17:23:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:59]Read from MH i2c: E2 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: E2 0E 00 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: E2 0E 00 FA 00 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 27 [17:23:59]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:23:59]wFMCommunicate OK [17:23:59]SAM_PROTO_GetShiftState done [17:23:59]FM_GetShiftState done [17:23:59]opened in 1730160885 [17:23:59]opened+sec_in_day 1730247285 [17:23:59]quantity*price = 150054 [17:23:59]sum+1 = 150055 [17:23:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.54 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.35 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 116 29.10.2024 17:24 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Дисконтная программа АИ-92 номер 160 сэкономлено 22.77 сом ФМ: 0000000000871758 ФД: 68393 ФПД: 146602373047247 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T172400&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68393&fm=146602373047247&tin=02508201610067®Number=0000000000091759&sum=150000 [17:24:00]StoreToDocumentArchive [17:24:00]shift 548 fd 68393 [17:24:00]save to /storage/0548/doc_00068393 [17:24:00]save last doc name /storage/0548/doc_00068393 to /storage/kkm_last_doc_name [17:24:00]save OK [17:24:00]Clear old archive folders... [17:24:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:24:00]tlvbuf is 01DFE8D0 [17:24:00]SAM_PROTO_ClearQueue [17:24:00]wFMCommunicate request_size=4 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 09 00 00 [17:24:00]Write to MH i2c: E2 08 00 07 01 80 09 00 00 00 00 00 00 7A [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [17:24:00]RAPDU: 90 00 [17:24:00]wFMCommunicate OK [17:24:00]SAM_PROTO_ClearQueue done [17:24:00]KKMCreateOFDPacket [17:24:00]OFDProtocolAddRootSTLVToBuf [17:24:00]FM_MakeSignedData [17:24:00]FM_MakeSignedData [17:24:00]SAM_PROTO_SignData [17:24:00]wFMCommunicate request_size=4 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 0D 01 02 [17:24:00]Write to MH i2c: E2 08 00 08 01 80 0D 01 02 00 00 00 00 82 [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 08 01 00 90 00 7D [17:24:00]RAPDU: 90 00 [17:24:00]wFMCommunicate OK [17:24:00]wFMCommunicate request_size=255 [17:24:00]MH_SAM_APDU [17:24: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 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 74 00 00 00 F4 03 04 00 30 1A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 29 0B 01 00 35 04 06 00 85 [17:24:00]Write to MH i2c: E2 02 01 09 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 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 74 00 00 00 F4 03 04 00 30 1A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 29 0B 01 00 35 04 06 00 85 00 00 77 [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 09 01 00 90 00 7E [17:24:00]RAPDU: 90 00 [17:24:00]wFMCommunicate OK [17:24:00]wFMCommunicate request_size=10 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 0D 02 02 05 55 86 5E 63 CF [17:24:00]Write to MH i2c: E2 0D 00 0A 01 80 0D 02 02 05 00 55 86 5E 63 CF 00 00 FA [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:01]Read from MH i2c: E2 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 03 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 03 00 0A 01 00 90 00 7F [17:24:01]RAPDU: 90 00 [17:24:01]wFMCommunicate OK [17:24:01]wFMCommunicate request_size=4 [17:24:01]MH_SAM_APDU [17:24:01]CAPDU: 80 0D 03 02 [17:24:01]Write to MH i2c: E2 08 00 0B 01 80 0D 03 02 00 00 00 00 87 [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:24:01]Read from MH i2c: E2 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 0B 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 0B 00 0B 01 00 4B 9E 65 3E BB BD 0D 0B 90 00 A4 [17:24:01]RAPDU: 4B 9E 65 3E BB BD 0D 0B 90 00 [17:24:01]wFMCommunicate OK [17:24:01]SAM_PROTO_SignData done [17:24:01]FM_MakeSignedData done [17:24:01]CreateOFDProtocolMessage [17:24:01]wFMCommunicate request_size=4 [17:24:01]MH_SAM_APDU [17:24:01]CAPDU: 80 11 00 00 [17:24:01]Write to MH i2c: E2 08 00 0C 01 80 11 00 00 00 00 00 00 87 [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:24:01]Read from MH i2c: E2 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 17 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 17 00 0C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 DE [17:24:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:24:01]wFMCommunicate OK [17:24:01]CreateOFDProtocolMessage done [17:24:01]OFDSenderStorePacket 68393 [17:24:01]StoreOFDPacket docnum=68393 [17:24:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 D5 2B 07 01 C1 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 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 74 00 00 00 F4 03 04 00 30 1A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 29 0B 01 00 35 04 06 00 85 55 86 5E 63 CF 4B 9E 65 3E BB BD 0D 0B [17:24:01]CheckFolder [17:24:01]dirname=/storage/ofd_packets [17:24:01]CheckFolder done [17:24:01]ProducePacketName [17:24:01]name=ofd_packets/00068393 [17:24:01]NVStorageSaveData ofd_packets/00068393 [17:24:01]File name is /storage/ofd_packets/00068393 [17:24:01]Write 301 bytes [17:24:01]NVStorageSaveData done [17:24:01]OFDSenderStorePacket done [17:24:01]KKMCreateOFDPacket done [17:24:01]NVStorageSaveData kkm_last_timestamp [17:24:01]File name is /storage/kkm_last_timestamp [17:24:01]Write 4 bytes [17:24:01]NVStorageSaveData done [17:24:01]ExternCall_PrintAddStr [17:24:01]wPrintStart [17:24:01]Write to MH i2c: 01 00 00 0D 01 0E [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 07 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 07 00 0D 01 00 00 00 00 00 FF 0F 23 [17:24:01]RasterBufferAndPrint [17:24:01]line Счет N : (1)46387 [17:24:01]line ИНН: 02508201610067 [17:24:01]line Контрольно-Кассовый Чек [17:24:01]line ПРОДАЖА [17:24:01]line ТРК (МРК, ГНК) : 23 [17:24:01]line Товар: 2710124130 [17:24:01]line Аи-92-К-5 [17:24:01]line 22.770 * 65.90 [17:24:01]line = 1500.54 [17:24:01]line НДС 12% НСП 1% [17:24:01]line > о реализуемом товаре [17:24:01]line ОКРУГЛЕНИЕ: -0.54 [17:24:01]line ИТОГО: 1500.00 [17:24:01]line Внесено: 1500.00 [17:24:01]line СДАЧА: 0.00 [17:24:01]line НСП 1% : 13.28 [17:24:01]line НДС 12% : 159.35 [17:24:01]line Наличными: 1500.00 [17:24:01]line Безнал.: 0.00 [17:24:01]line Место: АЗС № 160 "Партнер Нефть" [17:24:01]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:24:01]line СНО: Общий режим [17:24:01]line Чек 116 29.10.2024 17:24 [17:24:01]line Смена: 548 ФФД: 1.0 [17:24:01]line ЗНМ: 0300000093 [17:24:01]line РНМ: 0000000000091759 [17:24:01]line Версия ККМ: 001 [17:24:01]line [17:24:01]line Дисконтная программа [17:24:01]line АИ-92 [17:24:01]line номер 160 [17:24:01]line сэкономлено 22.77 сом [17:24:01]line ФМ: 0000000000871758 [17:24:01]line ФД: 68393 [17:24:01]line ФПД: 146602373047247 [17:24:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T172400&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68393&fm=146602373047247&tin=02508201610067®Number=0000000000091759&sum=150000 [17:24:01]OFD Sender: Processing packet 68393 [packets to send 28, broken 27] [17:24:01]ProducePacketName [17:24:01]name=ofd_packets/00068393 [17:24:01]OFD Sender: To server: pG, [17:24:01]CommunicateWithHost lk.salyk.kg:30040 [17:24:01]ConnectInit lk.salyk.kg [17:24:01]written 0, free lines is 4095 [17:24:01]Connected sock=10 [17:24:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 D5 2B 07 01 C1 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 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 74 00 00 00 F4 03 04 00 30 1A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 29 0B 01 00 35 04 06 00 85 55 86 5E 63 CF 4B 9E 65 3E BB BD 0D 0B [17:24:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 77 19 47 00 09 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 29 0B 01 00 F4 03 04 00 D8 C5 20 67 B6 04 01 00 00 0A 1C 9F 0D 33 34 15 C2 [17:24:01]CommunicateWithHost err = 0 [17:24:01]CheckOFDResponse [17:24:01]1017 (14) - 77093643461234 [17:24:01]1041 (16) - 0000000000871758 [17:24:01]1040 (4) - 68393 [17:24:01]1012 (4) - 29.10.2024 11:24 [17:24:01]1206 (1) - 0 [17:24:01]OFD Sender: Remove packet 68393 [17:24:01]ProducePacketName [17:24:01]name=ofd_packets/00068393 [17:24:01]NVStorageDeleteData [17:24:01]Write to MH i2c: 01 00 00 3C 01 3D [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 07 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 07 00 3C 01 00 00 00 00 00 76 0C C6 [17:24:01]RasterBufferAndPrint [17:24:01]line [17:24:01]line [17:24:01]line [17:24:01]line [17:24:01]line [17:24:01]written 0, free lines is 3196 [17:24:01]MH_Cut [17:24:01]Write to MH i2c: D1 01 00 43 01 01 16 [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: D1 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: D1 01 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: D1 01 00 43 01 00 15 [17:24:01]Write to MH i2c: 01 00 00 44 01 45 [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:02]OFD Sender: No OFD packet to send [17:24:02]*** Cut start [17:24:02]*** Partial cut [17:24:02]*** CUTSNS_PIN = 1 [17:24:02]*** CUTSNS_PIN = 0 [17:24:03]*** Brake cut motor [17:24:03]Read from MH i2c: 01 [17:24:03]MH_I2C_Read... [17:24:03]*** Stop cut motor [17:24:03]*** Cut end [17:24:03]Read from MH i2c: 01 07 00 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: 01 07 00 44 01 00 00 00 00 00 FF 0F 5A [17:24:03]process_action close_receipt done [17:24:03]requested_data is exist [17:24:03]produce_requested_data [17:24:03]requested_item fm.sn is exist - process it [17:24:03]wFMCommunicate request_size=4 [17:24:03]MH_SAM_APDU [17:24:03]CAPDU: 80 11 00 00 [17:24:03]Write to MH i2c: E2 08 00 45 01 80 11 00 00 00 00 00 00 C0 [17:24:03]Write i2c OK [17:24:03]MH_I2C_Read... [17:24:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:24:03]Read from MH i2c: E2 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 17 00 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 17 00 45 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 17 [17:24:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:24:03]wFMCommunicate OK [17:24:03]requested_item fd.num is exist - process it [17:24:03]SAM_PROTO_GetFieldsCounters [17:24:03]wFMCommunicate request_size=4 [17:24:03]MH_SAM_APDU [17:24:03]CAPDU: 80 13 00 00 [17:24:03]Write to MH i2c: E2 08 00 46 01 80 13 00 00 00 00 00 00 C3 [17:24:03]Write i2c OK [17:24:03]MH_I2C_Read... [17:24:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:24:03]Read from MH i2c: E2 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 62 00 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 62 00 46 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 29 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 74 00 00 00 5E 04 04 00 74 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 A5 [17:24:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 29 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 74 00 00 00 5E 04 04 00 74 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:24:03]wFMCommunicate OK [17:24:03]SAM_PROTO_GetFieldsCounters done [17:24:03]requested_item shift.num is exist - process it [17:24:03]requested_item shift.opened is exist - process it [17:24:03]req_shift_opened [17:24:03]FM_GetShiftState [17:24:03]SAM_PROTO_GetShiftState [17:24:03]wFMCommunicate request_size=4 [17:24:03]MH_SAM_APDU [17:24:03]CAPDU: 80 13 01 00 [17:24:03]Write to MH i2c: E2 08 00 47 01 80 13 01 00 00 00 00 00 C5 [17:24:03]Write i2c OK [17:24:03]MH_I2C_Read... [17:24:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:24:03]Read from MH i2c: E2 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 0E 00 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 0E 00 47 01 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 75 [17:24:03]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:24:03]wFMCommunicate OK [17:24:03]SAM_PROTO_GetShiftState done [17:24:03]FM_GetShiftState done [17:24:03]req_shift_opened done [17:24:03]requested_item shift.open_date is exist - process it [17:24:03]req_shift_open_date [17:24:03]req_shift_open_date done [17:24:03]produce_requested_data done [17:24:03]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68393,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [17:24:03]process_action_free close_receipt [17:24:03]json_value_free [17:24:03]json_value_free done [17:24:03]process_json_proto returns [17:24:03]Send response to host [17:24:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68393,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [17:24:03]free response buf [17:24:03]execute_script done [17:24:03]execute_script returns [17:24:03]free content buf [17:24:03]Sock 8.Close socket [17:24:03]Sock 8.Thread stoped [17:24:07]OFD Sender: No OFD packet to send [17:24:12]OFD Sender: No OFD packet to send [17:24:17]OFD Sender: No OFD packet to send [17:24:22]OFD Sender: No OFD packet to send [17:24:27]OFD Sender: No OFD packet to send [17:24:32]OFD Sender: No OFD packet to send [17:24:37]OFD Sender: No OFD packet to send [17:24:42]OFD Sender: No OFD packet to send [17:24:47]OFD Sender: No OFD packet to send [17:24:52]OFD Sender: No OFD packet to send [17:24:57]OFD Sender: No OFD packet to send [17:25:02]OFD Sender: No OFD packet to send [17:25:07]OFD Sender: No OFD packet to send [17:25:12]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:22]OFD Sender: No OFD packet to send [17:25:27]OFD Sender: No OFD packet to send [17:25:32]OFD Sender: No OFD packet to send [17:25:37]OFD Sender: No OFD packet to send [17:25:42]OFD Sender: No OFD packet to send [17:25:47]OFD Sender: No OFD packet to send [17:25:52]OFD Sender: No OFD packet to send [17:25:57]OFD Sender: No OFD packet to send [17:26:02]OFD Sender: No OFD packet to send [17:26:07]OFD Sender: No OFD packet to send [17:26:12]OFD Sender: No OFD packet to send [17:26:17]OFD Sender: No OFD packet to send [17:26:22]OFD Sender: No OFD packet to send [17:26:27]OFD Sender: No OFD packet to send [17:26:32]OFD Sender: No OFD packet to send [17:26:37]OFD Sender: No OFD packet to send [17:26:42]OFD Sender: No OFD packet to send [17:26:47]OFD Sender: No OFD packet to send [17:26:52]OFD Sender: No OFD packet to send [17:26:57]OFD Sender: No OFD packet to send [17:27:02]OFD Sender: No OFD packet to send [17:27:07]OFD Sender: No OFD packet to send [17:27:09]int [17:27:09]Write to MH i2c: 01 00 00 48 01 49 [17:27:09]Write i2c OK [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 07 00 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 07 00 48 01 00 00 00 00 00 FF 0F 5E [17:27:09]state=0 [17:27:09]int [17:27:09]Write to MH i2c: 01 00 00 49 01 4A [17:27:09]*** FLAG_PRN_KEY set [17:27:09]*** FLAG_PRN_KEY reset [17:27:09]*** FLAG_PRN_KEY set [17:27:09]Write i2c OK [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 07 00 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 07 00 49 01 00 08 00 00 00 FF 0F 67 [17:27:09]state=0 [17:27:09]Key pressed [17:27:09]Feed [17:27:09]Write to MH i2c: D8 00 00 4A 01 22 [17:27:09]Write i2c OK [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: D8 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: D8 01 00 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: D8 01 00 4A 01 00 23 [17:27:09]int [17:27:09]Write to MH i2c: 01 00 00 4B 01 4C [17:27:09]Write i2c OK [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 07 00 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 07 00 4B 01 00 48 00 00 00 3C 00 D7 [17:27:09]state=2 [17:27:09]Key pressed [17:27:09]int [17:27:09]Write to MH i2c: 01 00 00 4C 01 4D [17:27:09]*** FLAG_PRN_KEY reset [17:27:09]Write i2c OK [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 07 00 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: 01 07 00 4C 01 00 00 00 00 00 FE 0F 61 [17:27:09]state=2 [17:27:09]Stop feed [17:27:12]OFD Sender: No OFD packet to send [17:27:17]OFD Sender: No OFD packet to send [17:27:22]OFD Sender: No OFD packet to send [17:27:27]OFD Sender: No OFD packet to send [17:27:32]OFD Sender: No OFD packet to send [17:27:37]OFD Sender: No OFD packet to send [17:27:42]OFD Sender: No OFD packet to send [17:27:47]OFD Sender: No OFD packet to send [17:27:52]OFD Sender: No OFD packet to send [17:27:57]OFD Sender: No OFD packet to send [17:28:02]OFD Sender: No OFD packet to send [17:28:07]OFD Sender: No OFD packet to send [17:28:12]OFD Sender: No OFD packet to send [17:28:17]OFD Sender: No OFD packet to send [17:28:22]OFD Sender: No OFD packet to send [17:28:27]OFD Sender: No OFD packet to send [17:28:32]OFD Sender: No OFD packet to send [17:28:37]OFD Sender: No OFD packet to send [17:28:42]OFD Sender: No OFD packet to send [17:28:47]OFD Sender: No OFD packet to send [17:28:52]OFD Sender: No OFD packet to send [17:28:57]OFD Sender: No OFD packet to send [17:29:02]OFD Sender: No OFD packet to send [17:29:07]OFD Sender: No OFD packet to send [17:29:12]OFD Sender: No OFD packet to send [17:29:17]OFD Sender: No OFD packet to send [17:29:22]OFD Sender: No OFD packet to send [17:29:27]OFD Sender: No OFD packet to send [17:29:32]OFD Sender: No OFD packet to send [17:29:37]OFD Sender: No OFD packet to send [17:29:42]OFD Sender: No OFD packet to send [17:29:47]OFD Sender: No OFD packet to send [17:29:52]OFD Sender: No OFD packet to send [17:29:57]OFD Sender: No OFD packet to send [17:30:02]OFD Sender: No OFD packet to send [17:30:07]OFD Sender: No OFD packet to send [17:30:12]OFD Sender: No OFD packet to send [17:30:17]OFD Sender: No OFD packet to send [17:30:22]OFD Sender: No OFD packet to send [17:30:27]OFD Sender: No OFD packet to send [17:30:32]OFD Sender: No OFD packet to send [17:30:37]OFD Sender: No OFD packet to send [17:30:42]OFD Sender: No OFD packet to send [17:30:47]OFD Sender: No OFD packet to send [17:30:52]OFD Sender: No OFD packet to send [17:30:57]OFD Sender: No OFD packet to send [17:31:02]OFD Sender: No OFD packet to send [17:31:07]OFD Sender: No OFD packet to send [17:31:12]OFD Sender: No OFD packet to send [17:31:17]OFD Sender: No OFD packet to send [17:31:22]OFD Sender: No OFD packet to send [17:31:27]OFD Sender: No OFD packet to send [17:31:32]OFD Sender: No OFD packet to send [17:31:37]OFD Sender: No OFD packet to send [17:31:42]OFD Sender: No OFD packet to send [17:31:47]OFD Sender: No OFD packet to send [17:31:52]OFD Sender: No OFD packet to send [17:31:57]OFD Sender: No OFD packet to send [17:32:02]OFD Sender: No OFD packet to send [17:32:07]OFD Sender: No OFD packet to send [17:32:12]OFD Sender: No OFD packet to send [17:32:17]OFD Sender: No OFD packet to send [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:57]OFD Sender: No OFD packet to send [17:33:02]OFD Sender: No OFD packet to send [17:33:07]OFD Sender: No OFD packet to send [17:33:12]OFD Sender: No OFD packet to send [17:33:17]OFD Sender: No OFD packet to send [17:33:22]OFD Sender: No OFD packet to send [17:33:27]OFD Sender: No OFD packet to send [17:33:32]OFD Sender: No OFD packet to send [17:33:37]OFD Sender: No OFD packet to send [17:33:42]OFD Sender: No OFD packet to send [17:33:47]OFD Sender: No OFD packet to send [17:33:52]OFD Sender: No OFD packet to send [17:33:57]OFD Sender: No OFD packet to send [17:34:02]OFD Sender: No OFD packet to send [17:34:07]OFD Sender: No OFD packet to send [17:34:12]OFD Sender: No OFD packet to send [17:34:17]OFD Sender: No OFD packet to send [17:34:22]OFD Sender: No OFD packet to send [17:34:27]OFD Sender: No OFD packet to send [17:34:32]OFD Sender: No OFD packet to send [17:34:37]OFD Sender: No OFD packet to send [17:34:42]OFD Sender: No OFD packet to send [17:34:47]OFD Sender: No OFD packet to send [17:34:52]OFD Sender: No OFD packet to send [17:34:57]OFD Sender: No OFD packet to send [17:35:02]OFD Sender: No OFD packet to send [17:35:07]OFD Sender: No OFD packet to send [17:35:12]OFD Sender: No OFD packet to send [17:35:17]OFD Sender: No OFD packet to send [17:35:22]OFD Sender: No OFD packet to send [17:35:27]OFD Sender: No OFD packet to send [17:35:32]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:27]OFD Sender: No OFD packet to send [17:36:32]OFD Sender: No OFD packet to send [17:36:37]OFD Sender: No OFD packet to send [17:36:42]OFD Sender: No OFD packet to send [17:36:47]accept exits with 9 [17:36:47]New connection [17:36:47]New thread 3066858852 created [17:36:47]Thread 3066715492 joined [17:36:47]Waiting for new connection... [17:36:47] Sock 9.Parse request [17:36:47]Sock 9.Check first char [17:36:47]Sock 9.First char is OK [17:36:47]request: POST /json_proto HTTP/1.0 [17:36:47]Method: POST [17:36:47]URL: /json_proto [17:36:47]Method is POST - this is cgi request [17:36:47]url: /json_proto [17:36:47]query_string will be loaded in cgi processing [17:36:47]execute_cgi json_proto POST (null) [17:36:47]execute_cgi path=json_proto method=POST [17:36:47]POST find Content-Length [17:36:47]Host: 172.17.42.3:8080 [17:36:47]Content-Length: 818 [17:36:47]Content-Type: application/json [17:36:47] [17:36:47]POST finish read [17:36:47]Found Content-Length = 818 [17:36:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46388", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 55.200, "sum" : 4095.84, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 4095.84 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:47]execute_script... [17:36:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46388", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 55.200, "sum" : 4095.84, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 4095.84 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:36:47]POST & json_proto [17:36:47]process_json_proto [17:36:47]json parsed OK: [17:36:47]protocol is kg_v1.0 [17:36:47]action value=close_receipt [17:36:47]process_action close_receipt [17:36:47]cmd_close_receipt [17:36:47]MH_GetDate [17:36:47]Write to MH i2c: F0 00 00 4D 01 3D [17:36:47]Write i2c OK [17:36:47]MH_I2C_Read... [17:36:47]Read from MH i2c: F0 [17:36:47]MH_I2C_Read... [17:36:47]Read from MH i2c: F0 09 00 [17:36:47]MH_I2C_Read... [17:36:47]Read from MH i2c: F0 09 00 4D 01 00 30 1D 21 67 28 A1 20 67 6B [17:36:47]GetLastDocTimeStamp 1730222640 [17:36:47]current date 1730223408 [17:36:47]FM_GetShiftState [17:36:47]SAM_PROTO_GetShiftState [17:36:47]wFMCommunicate request_size=4 [17:36:47]MH_SAM_APDU [17:36:47]CAPDU: 80 13 01 00 [17:36:47]Write to MH i2c: E2 08 00 4E 01 80 13 01 00 00 00 00 00 CC [17:36:47]Write i2c OK [17:36:47]MH_I2C_Read... [17:36:47]OFD Sender: No OFD packet to send [17:36:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:47]Read from MH i2c: E2 [17:36:47]MH_I2C_Read... [17:36:47]Read from MH i2c: E2 0E 00 [17:36:47]MH_I2C_Read... [17:36:47]Read from MH i2c: E2 0E 00 4E 01 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 7C [17:36:47]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:36:47]wFMCommunicate OK [17:36:47]SAM_PROTO_GetShiftState done [17:36:47]FM_GetShiftState done [17:36:47]opened in 1730160885 [17:36:47]opened+sec_in_day 1730247285 [17:36:47]quantity*price = 409584 [17:36:47]sum+1 = 409585 [17:36:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 4095.84 НСП 1% : 36.25 НДС 12% : 434.96 Наличными: 0.00 Безнал.: 4095.84 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 117 29.10.2024 17:36 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68394 ФПД: 126778122481120 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T173648&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68394&fm=126778122481120&tin=02508201610067®Number=0000000000091759&sum=409584 [17:36:49]StoreToDocumentArchive [17:36:49]shift 548 fd 68394 [17:36:49]save to /storage/0548/doc_00068394 [17:36:49]save last doc name /storage/0548/doc_00068394 to /storage/kkm_last_doc_name [17:36:49]save OK [17:36:49]Clear old archive folders... [17:36:49]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:36:49]tlvbuf is 01DD9150 [17:36:49]SAM_PROTO_ClearQueue [17:36:49]wFMCommunicate request_size=4 [17:36:49]MH_SAM_APDU [17:36:49]CAPDU: 80 09 00 00 [17:36:49]Write to MH i2c: E2 08 00 5B 01 80 09 00 00 00 00 00 00 CE [17:36:49]Write i2c OK [17:36:49]MH_I2C_Read... [17:36:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:36:49]Read from MH i2c: E2 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 03 00 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 03 00 5B 01 00 90 00 D0 [17:36:49]RAPDU: 90 00 [17:36:49]wFMCommunicate OK [17:36:49]SAM_PROTO_ClearQueue done [17:36:49]KKMCreateOFDPacket [17:36:49]OFDProtocolAddRootSTLVToBuf [17:36:49]FM_MakeSignedData [17:36:49]FM_MakeSignedData [17:36:49]SAM_PROTO_SignData [17:36:49]wFMCommunicate request_size=4 [17:36:49]MH_SAM_APDU [17:36:49]CAPDU: 80 0D 01 02 [17:36:49]Write to MH i2c: E2 08 00 5C 01 80 0D 01 02 00 00 00 00 D6 [17:36:49]Write i2c OK [17:36:49]MH_I2C_Read... [17:36:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:36:49]Read from MH i2c: E2 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 03 00 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 03 00 5C 01 00 90 00 D1 [17:36:49]RAPDU: 90 00 [17:36:49]wFMCommunicate OK [17:36:49]wFMCommunicate request_size=255 [17:36:49]MH_SAM_APDU [17:36: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 33 FF 03 08 00 03 A0 D7 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 F0 3F 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3F 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 A9 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 3F 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 30 1D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2A 0B 01 00 35 04 06 00 73 [17:36:49]Write to MH i2c: E2 02 01 5D 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 A0 D7 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 F0 3F 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3F 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 A9 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 3F 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 30 1D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2A 0B 01 00 35 04 06 00 73 00 00 FB [17:36:49]Write i2c OK [17:36:49]MH_I2C_Read... [17:36:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:49]Read from MH i2c: E2 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 03 00 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 03 00 5D 01 00 90 00 D2 [17:36:49]RAPDU: 90 00 [17:36:49]wFMCommunicate OK [17:36:49]wFMCommunicate request_size=10 [17:36:49]MH_SAM_APDU [17:36:49]CAPDU: 80 0D 02 02 05 4D D4 F4 AD E0 [17:36:49]Write to MH i2c: E2 0D 00 5E 01 80 0D 02 02 05 00 4D D4 F4 AD E0 00 00 85 [17:36:49]Write i2c OK [17:36:49]MH_I2C_Read... [17:36:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:36:49]Read from MH i2c: E2 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 03 00 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 03 00 5E 01 00 90 00 D3 [17:36:49]RAPDU: 90 00 [17:36:49]wFMCommunicate OK [17:36:49]wFMCommunicate request_size=4 [17:36:49]MH_SAM_APDU [17:36:49]CAPDU: 80 0D 03 02 [17:36:49]Write to MH i2c: E2 08 00 5F 01 80 0D 03 02 00 00 00 00 DB [17:36:49]Write i2c OK [17:36:49]MH_I2C_Read... [17:36:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:36:49]Read from MH i2c: E2 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 0B 00 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 0B 00 5F 01 00 08 50 26 6F D2 83 A6 02 90 00 C6 [17:36:49]RAPDU: 08 50 26 6F D2 83 A6 02 90 00 [17:36:49]wFMCommunicate OK [17:36:49]SAM_PROTO_SignData done [17:36:49]FM_MakeSignedData done [17:36:49]CreateOFDProtocolMessage [17:36:49]wFMCommunicate request_size=4 [17:36:49]MH_SAM_APDU [17:36:49]CAPDU: 80 11 00 00 [17:36:49]Write to MH i2c: E2 08 00 60 01 80 11 00 00 00 00 00 00 DB [17:36:49]Write i2c OK [17:36:49]MH_I2C_Read... [17:36:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:49]Read from MH i2c: E2 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 17 00 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: E2 17 00 60 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 32 [17:36:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:36:49]wFMCommunicate OK [17:36:49]CreateOFDProtocolMessage done [17:36:49]OFDSenderStorePacket 68394 [17:36:49]StoreOFDPacket docnum=68394 [17:36:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A1 30 07 01 52 7C 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 33 FF 03 08 00 03 A0 D7 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 F0 3F 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3F 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 A9 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 3F 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 30 1D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2A 0B 01 00 35 04 06 00 73 4D D4 F4 AD E0 08 50 26 6F D2 83 A6 02 [17:36:49]CheckFolder [17:36:49]dirname=/storage/ofd_packets [17:36:49]CheckFolder done [17:36:49]ProducePacketName [17:36:49]name=ofd_packets/00068394 [17:36:49]NVStorageSaveData ofd_packets/00068394 [17:36:49]File name is /storage/ofd_packets/00068394 [17:36:49]Write 301 bytes [17:36:49]NVStorageSaveData done [17:36:49]OFDSenderStorePacket done [17:36:49]KKMCreateOFDPacket done [17:36:49]NVStorageSaveData kkm_last_timestamp [17:36:49]File name is /storage/kkm_last_timestamp [17:36:49]Write 4 bytes [17:36:49]NVStorageSaveData done [17:36:49]ExternCall_PrintAddStr [17:36:49]wPrintStart [17:36:49]Write to MH i2c: 01 00 00 61 01 62 [17:36:49]Write i2c OK [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: 01 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: 01 07 00 [17:36:49]MH_I2C_Read... [17:36:49]Read from MH i2c: 01 07 00 61 01 00 00 00 00 00 FF 0F 77 [17:36:49]RasterBufferAndPrint [17:36:49]line Счет N : (1)46388 [17:36:49]line ИНН: 02508201610067 [17:36:49]line Контрольно-Кассовый Чек [17:36:49]line ПРОДАЖА [17:36:49]line ТРК (МРК, ГНК) : 44 [17:36:49]line Товар: 2710124500 [17:36:49]line Аи-95-К-3 [17:36:49]line 55.200 * 74.20 [17:36:49]line = 4095.84 [17:36:49]line НДС 12% НСП 1% [17:36:49]line > о реализуемом товаре [17:36:49]line ИТОГО: 4095.84 [17:36:49]line НСП 1% : 36.25 [17:36:49]line НДС 12% : 434.96 [17:36:49]line Наличными: 0.00 [17:36:49]line Безнал.: 4095.84 [17:36:49]line Место: АЗС № 160 "Партнер Нефть" [17:36:49]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:36:49]line СНО: Общий режим [17:36:49]line Чек 117 29.10.2024 17:36 [17:36:49]line Смена: 548 ФФД: 1.0 [17:36:49]line ЗНМ: 0300000093 [17:36:49]line РНМ: 0000000000091759 [17:36:49]line Версия ККМ: 001 [17:36:49]line Платежная система: Бакай Банк [17:36:49]line ФМ: 0000000000871758 [17:36:49]line ФД: 68394 [17:36:49]line ФПД: 126778122481120 [17:36:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T173648&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68394&fm=126778122481120&tin=02508201610067®Number=0000000000091759&sum=409584 [17:36:49]written 0, free lines is 4095 [17:36:49]OFD Sender: Processing packet 68394 [packets to send 28, broken 27] [17:36:49]ProducePacketName [17:36:49]name=ofd_packets/00068394 [17:36:49]OFD Sender: To server: pG, [17:36:49]CommunicateWithHost lk.salyk.kg:30040 [17:36:49]ConnectInit lk.salyk.kg [17:36:50]Connected sock=10 [17:36:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A1 30 07 01 52 7C 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 33 FF 03 08 00 03 A0 D7 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 F0 3F 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 3F 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 29 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 A9 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 3F 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 30 1D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2A 0B 01 00 35 04 06 00 73 4D D4 F4 AD E0 08 50 26 6F D2 83 A6 02 [17:36:50]Write to MH i2c: 01 00 00 8A 01 8B [17:36:50]Write i2c OK [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: 01 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: 01 07 00 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: 01 07 00 8A 01 00 00 00 00 00 FA 0C 98 [17:36:50]RasterBufferAndPrint [17:36:50]line [17:36:50]line [17:36:50]line [17:36:50]line [17:36:50]line [17:36:50]written 0, free lines is 3328 [17:36:50]MH_Cut [17:36:50]Write to MH i2c: D1 01 00 91 01 01 64 [17:36:50]Write i2c OK [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: D1 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: D1 01 00 [17:36:50]MH_I2C_Read... [17:36:50]Read from MH i2c: D1 01 00 91 01 00 63 [17:36:50]Write to MH i2c: 01 00 00 92 01 93 [17:36:50]Write i2c OK [17:36:50]MH_I2C_Read... [17:36:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 00 6D 47 00 BE E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2A 0B 01 00 F4 03 04 00 D8 C8 20 67 B6 04 01 00 00 B4 66 93 07 B6 B2 44 10 [17:36:50]CommunicateWithHost err = 0 [17:36:50]CheckOFDResponse [17:36:50]1017 (14) - 77093643461234 [17:36:50]1041 (16) - 0000000000871758 [17:36:50]1040 (4) - 68394 [17:36:50]1012 (4) - 29.10.2024 11:36 [17:36:50]1206 (1) - 0 [17:36:50]OFD Sender: Remove packet 68394 [17:36:50]ProducePacketName [17:36:50]name=ofd_packets/00068394 [17:36:50]NVStorageDeleteData [17:36:50]OFD Sender: No OFD packet to send [17:36:50]*** Cut start [17:36:50]*** Partial cut [17:36:50]*** CUTSNS_PIN = 1 [17:36:50]*** CUTSNS_PIN = 0 [17:36:51]*** Brake cut motor [17:36:51]Read from MH i2c: 01 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 92 01 00 00 00 00 00 FF 0F A8 [17:36:51]process_action close_receipt done [17:36:51]requested_data is exist [17:36:51]produce_requested_data [17:36:51]requested_item fm.sn is exist - process it [17:36:51]wFMCommunicate request_size=4 [17:36:51]MH_SAM_APDU [17:36:51]CAPDU: 80 11 00 00 [17:36:51]Write to MH i2c: E2 08 00 93 01 80 11 00 00 00 00 00 00 0E [17:36:51]*** Stop cut motor [17:36:51]*** Cut end [17:36:51]*** FLAG_PRN_KEY set [17:36:51]int [17:36:51]Write i2c OK [17:36:51]MH_I2C_Read... [17:36:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:36:51]Read from MH i2c: E2 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: E2 17 00 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: E2 17 00 93 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 65 [17:36:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:36:51]wFMCommunicate OK [17:36:51]requested_item fd.num is exist - process it [17:36:51]SAM_PROTO_GetFieldsCounters [17:36:51]wFMCommunicate request_size=4 [17:36:51]MH_SAM_APDU [17:36:51]CAPDU: 80 13 00 00 [17:36:51]Write to MH i2c: E2 08 00 94 01 80 13 00 00 00 00 00 00 11 [17:36:51]Write i2c OK [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: E2 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: E2 62 00 [17:36:51]MH_I2C_Read... [17:36:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:36:51]*** FLAG_PRN_KEY reset [17:36:51]Read from MH i2c: E2 62 00 94 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 75 00 00 00 5E 04 04 00 75 00 00 00 57 04 04 00 76 00 00 00 19 04 04 00 00 00 00 00 90 00 F7 [17:36:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 75 00 00 00 5E 04 04 00 75 00 00 00 57 04 04 00 76 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:36:51]wFMCommunicate OK [17:36:51]SAM_PROTO_GetFieldsCounters done [17:36:51]requested_item shift.num is exist - process it [17:36:51]requested_item shift.opened is exist - process it [17:36:51]req_shift_opened [17:36:51]FM_GetShiftState [17:36:51]SAM_PROTO_GetShiftState [17:36:51]wFMCommunicate request_size=4 [17:36:51]MH_SAM_APDU [17:36:51]CAPDU: 80 13 01 00 [17:36:51]Write to MH i2c: 01 00 00 95 01 96 [17:36:51]Write i2c OK [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 95 01 00 00 00 00 00 FF 0F AB [17:36:51]state=0 [17:36:51]Write to MH i2c: E2 08 00 96 01 80 13 01 00 00 00 00 00 14 [17:36:51]Write i2c OK [17:36:51]MH_I2C_Read... [17:36:51]int [17:36:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:36:51]*** FLAG_PRN_KEY set [17:36:51]Read from MH i2c: E2 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: E2 0E 00 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: E2 0E 00 96 01 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 C4 [17:36:51]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:36:51]wFMCommunicate OK [17:36:51]SAM_PROTO_GetShiftState done [17:36:51]FM_GetShiftState done [17:36:51]req_shift_opened done [17:36:51]requested_item shift.open_date is exist - process it [17:36:51]req_shift_open_date [17:36:51]req_shift_open_date done [17:36:51]produce_requested_data done [17:36:51]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68394,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [17:36:51]process_action_free close_receipt [17:36:51]json_value_free [17:36:51]json_value_free done [17:36:51]process_json_proto returns [17:36:51]Send response to host [17:36:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68394,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [17:36:51]free response buf [17:36:51]execute_script done [17:36:51]execute_script returns [17:36:51]free content buf [17:36:51]Sock 9.Close socket [17:36:51]Sock 9.Thread stoped [17:36:51]Write to MH i2c: 01 00 00 97 01 98 [17:36:51]Write i2c OK [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 97 01 00 08 00 00 00 FF 0F B5 [17:36:51]state=0 [17:36:51]Key pressed [17:36:51]Feed [17:36:51]Write to MH i2c: D8 00 00 98 01 70 [17:36:51]Write i2c OK [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: D8 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: D8 01 00 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: D8 01 00 98 01 00 71 [17:36:51]int [17:36:51]Write to MH i2c: 01 00 00 99 01 9A [17:36:51]Write i2c OK [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 99 01 00 48 00 00 00 3C 00 25 [17:36:51]state=2 [17:36:51]Key pressed [17:36:51]int [17:36:51]Write to MH i2c: 01 00 00 9A 01 9B [17:36:51]*** FLAG_PRN_KEY reset [17:36:51]Write i2c OK [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 [17:36:51]MH_I2C_Read... [17:36:51]Read from MH i2c: 01 07 00 9A 01 00 00 00 00 00 FA 0F AB [17:36:51]state=2 [17:36:51]Stop feed [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:10]OFD Sender: No OFD packet to send [17:38:15]OFD Sender: No OFD packet to send [17:38:20]OFD Sender: No OFD packet to send [17:38:25]OFD Sender: No OFD packet to send [17:38:30]OFD Sender: No OFD packet to send [17:38:35]OFD Sender: No OFD packet to send [17:38:40]OFD Sender: No OFD packet to send [17:38:45]OFD Sender: No OFD packet to send [17:38:50]OFD Sender: No OFD packet to send [17:38:55]OFD Sender: No OFD packet to send [17:39:00]OFD Sender: No OFD packet to send [17:39:05]OFD Sender: No OFD packet to send [17:39:10]OFD Sender: No OFD packet to send [17:39:15]OFD Sender: No OFD packet to send [17:39:20]OFD Sender: No OFD packet to send [17:39:25]OFD Sender: No OFD packet to send [17:39:30]OFD Sender: No OFD packet to send [17:39:35]OFD Sender: No OFD packet to send [17:39:40]OFD Sender: No OFD packet to send [17:39:45]OFD Sender: No OFD packet to send [17:39:50]OFD Sender: No OFD packet to send [17:39:55]OFD Sender: No OFD packet to send [17:39:58]accept exits with 8 [17:39:58]New connection [17:39:58]New thread 3066715492 created [17:39:58]Thread 3066858852 joined [17:39:58]Waiting for new connection... [17:39:58] Sock 8.Parse request [17:39:58]Sock 8.Check first char [17:39:58]Sock 8.First char is OK [17:39:58]request: POST /json_proto HTTP/1.0 [17:39:58]Method: POST [17:39:58]URL: /json_proto [17:39:58]Method is POST - this is cgi request [17:39:58]url: /json_proto [17:39:58]query_string will be loaded in cgi processing [17:39:58]execute_cgi json_proto POST (null) [17:39:58]execute_cgi path=json_proto method=POST [17:39:58]POST find Content-Length [17:39:58]Host: 172.17.42.3:8080 [17:39:58]Content-Length: 768 [17:39:58]Content-Type: application/json [17:39:58] [17:39:58]POST finish read [17:39:58]Found Content-Length = 768 [17:39:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46389", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "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", "payments": [ { "type": 1, "sum" : 1500.32 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:39:58]execute_script... [17:39: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)46389", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "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", "payments": [ { "type": 1, "sum" : 1500.32 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:39:58]POST & json_proto [17:39:58]process_json_proto [17:39:58]json parsed OK: [17:39:58]protocol is kg_v1.0 [17:39:58]action value=close_receipt [17:39:58]process_action close_receipt [17:39:58]cmd_close_receipt [17:39:58]MH_GetDate [17:39:58]Write to MH i2c: F0 00 00 9B 01 8B [17:39:58]Write i2c OK [17:39:58]MH_I2C_Read... [17:39:58]Read from MH i2c: F0 [17:39:58]MH_I2C_Read... [17:39:58]Read from MH i2c: F0 09 00 [17:39:58]MH_I2C_Read... [17:39:58]Read from MH i2c: F0 09 00 9B 01 00 EF 1D 21 67 28 A1 20 67 78 [17:39:58]GetLastDocTimeStamp 1730223408 [17:39:58]current date 1730223599 [17:39:58]FM_GetShiftState [17:39:58]SAM_PROTO_GetShiftState [17:39:58]wFMCommunicate request_size=4 [17:39:58]MH_SAM_APDU [17:39:58]CAPDU: 80 13 01 00 [17:39:58]Write to MH i2c: E2 08 00 9C 01 80 13 01 00 00 00 00 00 1A [17:39:58]Write i2c OK [17:39:58]MH_I2C_Read... [17:39:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:39:58]Read from MH i2c: E2 [17:39:58]MH_I2C_Read... [17:39:58]Read from MH i2c: E2 0E 00 [17:39:58]MH_I2C_Read... [17:39:58]Read from MH i2c: E2 0E 00 9C 01 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 CA [17:39:58]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:39:58]wFMCommunicate OK [17:39:58]SAM_PROTO_GetShiftState done [17:39:58]FM_GetShiftState done [17:39:58]opened in 1730160885 [17:39:58]opened+sec_in_day 1730247285 [17:39:58]quantity*price = 150032 [17:39:58]sum+1 = 150033 [17:39:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1500.32 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 0.00 Безнал.: 1500.32 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 118 29.10.2024 17:39 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68395 ФПД: 252113981791802 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T173959&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68395&fm=252113981791802&tin=02508201610067®Number=0000000000091759&sum=150032 [17:39:59]StoreToDocumentArchive [17:39:59]shift 548 fd 68395 [17:39:59]save to /storage/0548/doc_00068395 [17:39:59]save last doc name /storage/0548/doc_00068395 to /storage/kkm_last_doc_name [17:39:59]save OK [17:39:59]Clear old archive folders... [17:39:59]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:39:59]tlvbuf is 01DF9F40 [17:39:59]SAM_PROTO_ClearQueue [17:39:59]wFMCommunicate request_size=4 [17:39:59]MH_SAM_APDU [17:39:59]CAPDU: 80 09 00 00 [17:39:59]Write to MH i2c: E2 08 00 A9 01 80 09 00 00 00 00 00 00 1C [17:39:59]Write i2c OK [17:39:59]MH_I2C_Read... [17:39:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:39:59]Read from MH i2c: E2 [17:39:59]MH_I2C_Read... [17:39:59]Read from MH i2c: E2 03 00 [17:39:59]MH_I2C_Read... [17:39:59]Read from MH i2c: E2 03 00 A9 01 00 90 00 1E [17:39:59]RAPDU: 90 00 [17:39:59]wFMCommunicate OK [17:39:59]SAM_PROTO_ClearQueue done [17:39:59]KKMCreateOFDPacket [17:39:59]OFDProtocolAddRootSTLVToBuf [17:39:59]FM_MakeSignedData [17:39:59]FM_MakeSignedData [17:39:59]SAM_PROTO_SignData [17:39:59]wFMCommunicate request_size=4 [17:39:59]MH_SAM_APDU [17:39:59]CAPDU: 80 0D 01 02 [17:39:59]Write to MH i2c: E2 08 00 AA 01 80 0D 01 02 00 00 00 00 24 [17:39:59]Write i2c OK [17:39:59]MH_I2C_Read... [17:39:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:39:59]Read from MH i2c: E2 [17:39:59]MH_I2C_Read... [17:39:59]Read from MH i2c: E2 03 00 [17:39:59]MH_I2C_Read... [17:39:59]Read from MH i2c: E2 03 00 AA 01 00 90 00 1F [17:39:59]RAPDU: 90 00 [17:39:59]wFMCommunicate OK [17:39:59]wFMCommunicate request_size=255 [17:39:59]MH_SAM_APDU [17:39:59]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 33 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 10 4A 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 10 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 EF 1D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2B 0B 01 00 35 04 06 00 E5 [17:39:59]Write to MH i2c: E2 02 01 AB 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 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 10 4A 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 10 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 EF 1D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2B 0B 01 00 35 04 06 00 E5 00 00 AC [17:39:59]Write i2c OK [17:39:59]MH_I2C_Read... [17:40:00]Read from MH i2c: E2 [17:40:00]MH_I2C_Read... [17:40:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:40:00]Read from MH i2c: E2 03 00 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: E2 03 00 AB 01 00 90 00 20 [17:40:00]RAPDU: 90 00 [17:40:00]wFMCommunicate OK [17:40:00]wFMCommunicate request_size=10 [17:40:00]MH_SAM_APDU [17:40:00]CAPDU: 80 0D 02 02 05 4B DC 53 DE 3A [17:40:00]Write to MH i2c: E2 0D 00 AC 01 80 0D 02 02 05 00 4B DC 53 DE 3A 00 00 C3 [17:40:00]Write i2c OK [17:40:00]MH_I2C_Read... [17:40:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:40:00]Read from MH i2c: E2 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: E2 03 00 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: E2 03 00 AC 01 00 90 00 21 [17:40:00]RAPDU: 90 00 [17:40:00]wFMCommunicate OK [17:40:00]wFMCommunicate request_size=4 [17:40:00]MH_SAM_APDU [17:40:00]CAPDU: 80 0D 03 02 [17:40:00]Write to MH i2c: E2 08 00 AD 01 80 0D 03 02 00 00 00 00 29 [17:40:00]Write i2c OK [17:40:00]MH_I2C_Read... [17:40:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:40:00]Read from MH i2c: E2 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: E2 0B 00 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: E2 0B 00 AD 01 00 D5 C6 59 E9 72 0F C5 70 90 00 BD [17:40:00]RAPDU: D5 C6 59 E9 72 0F C5 70 90 00 [17:40:00]wFMCommunicate OK [17:40:00]SAM_PROTO_SignData done [17:40:00]FM_MakeSignedData done [17:40:00]CreateOFDProtocolMessage [17:40:00]wFMCommunicate request_size=4 [17:40:00]MH_SAM_APDU [17:40:00]CAPDU: 80 11 00 00 [17:40:00]Write to MH i2c: E2 08 00 AE 01 80 11 00 00 00 00 00 00 29 [17:40:00]Write i2c OK [17:40:00]MH_I2C_Read... [17:40:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:40:00]Read from MH i2c: E2 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: E2 17 00 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: E2 17 00 AE 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 80 [17:40:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:40:00]wFMCommunicate OK [17:40:00]CreateOFDProtocolMessage done [17:40:00]OFDSenderStorePacket 68395 [17:40:00]StoreOFDPacket docnum=68395 [17:40:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 71 40 07 01 23 29 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 33 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 10 4A 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 10 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 EF 1D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2B 0B 01 00 35 04 06 00 E5 4B DC 53 DE 3A D5 C6 59 E9 72 0F C5 70 [17:40:00]CheckFolder [17:40:00]dirname=/storage/ofd_packets [17:40:00]CheckFolder done [17:40:00]ProducePacketName [17:40:00]name=ofd_packets/00068395 [17:40:00]NVStorageSaveData ofd_packets/00068395 [17:40:00]File name is /storage/ofd_packets/00068395 [17:40:00]Write 301 bytes [17:40:00]NVStorageSaveData done [17:40:00]OFDSenderStorePacket done [17:40:00]KKMCreateOFDPacket done [17:40:00]NVStorageSaveData kkm_last_timestamp [17:40:00]File name is /storage/kkm_last_timestamp [17:40:00]Write 4 bytes [17:40:00]NVStorageSaveData done [17:40:00]ExternCall_PrintAddStr [17:40:00]wPrintStart [17:40:00]Write to MH i2c: 01 00 00 AF 01 B0 [17:40:00]Write i2c OK [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: 01 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: 01 07 00 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: 01 07 00 AF 01 00 00 00 00 00 FF 0F C5 [17:40:00]RasterBufferAndPrint [17:40:00]line Счет N : (1)46389 [17:40:00]line ИНН: 02508201610067 [17:40:00]line Контрольно-Кассовый Чек [17:40:00]line ПРОДАЖА [17:40:00]line ТРК (МРК, ГНК) : 24 [17:40:00]line Товар: 2710124500 [17:40:00]line Аи-95-К-3 [17:40:00]line 20.220 * 74.20 [17:40:00]line = 1500.32 [17:40:00]line НДС 12% НСП 1% [17:40:00]line > о реализуемом товаре [17:40:00]line ИТОГО: 1500.32 [17:40:00]line НСП 1% : 13.28 [17:40:00]line НДС 12% : 159.33 [17:40:00]line Наличными: 0.00 [17:40:00]line Безнал.: 1500.32 [17:40:00]line Место: АЗС № 160 "Партнер Нефть" [17:40:00]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:40:00]line СНО: Общий режим [17:40:00]line Чек 118 29.10.2024 17:39 [17:40:00]line Смена: 548 ФФД: 1.0 [17:40:00]line ЗНМ: 0300000093 [17:40:00]line РНМ: 0000000000091759 [17:40:00]line Версия ККМ: 001 [17:40:00]line Платежная система: Mbank [17:40:00]line ФМ: 0000000000871758 [17:40:00]line ФД: 68395 [17:40:00]line ФПД: 252113981791802 [17:40:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T173959&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68395&fm=252113981791802&tin=02508201610067®Number=0000000000091759&sum=150032 [17:40:00]written 0, free lines is 4095 [17:40:00]OFD Sender: Processing packet 68395 [packets to send 28, broken 27] [17:40:00]ProducePacketName [17:40:00]name=ofd_packets/00068395 [17:40:00]OFD Sender: To server: pG, [17:40:00]CommunicateWithHost lk.salyk.kg:30040 [17:40:00]ConnectInit lk.salyk.kg [17:40:00]Connected sock=11 [17:40:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 71 40 07 01 23 29 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 33 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 10 4A 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 10 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 EF 1D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2B 0B 01 00 35 04 06 00 E5 4B DC 53 DE 3A D5 C6 59 E9 72 0F C5 70 [17:40:00]Write to MH i2c: 01 00 00 D7 01 D8 [17:40:00]Write i2c OK [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: 01 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: 01 07 00 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: 01 07 00 D7 01 00 00 00 00 00 FC 0C E7 [17:40:00]RasterBufferAndPrint [17:40:00]line [17:40:00]line [17:40:00]line [17:40:00]line [17:40:00]line [17:40:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 02 30 47 00 A6 FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2B 0B 01 00 F4 03 04 00 97 C9 20 67 B6 04 01 00 00 D8 4C 55 7C C0 78 4E A7 [17:40:00]CommunicateWithHost err = 0 [17:40:00]CheckOFDResponse [17:40:00]1017 (14) - 77093643461234 [17:40:00]1041 (16) - 0000000000871758 [17:40:00]1040 (4) - 68395 [17:40:00]1012 (4) - 29.10.2024 11:40 [17:40:00]1206 (1) - 0 [17:40:00]OFD Sender: Remove packet 68395 [17:40:00]ProducePacketName [17:40:00]name=ofd_packets/00068395 [17:40:00]NVStorageDeleteData [17:40:00]written 0, free lines is 3330 [17:40:00]MH_Cut [17:40:00]Write to MH i2c: D1 01 00 DE 01 01 B1 [17:40:00]Write i2c OK [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: D1 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: D1 01 00 [17:40:00]MH_I2C_Read... [17:40:00]Read from MH i2c: D1 01 00 DE 01 00 B0 [17:40:00]Write to MH i2c: 01 00 00 DF 01 E0 [17:40:00]Write i2c OK [17:40:00]MH_I2C_Read... [17:40:01]OFD Sender: No OFD packet to send [17:40:01]*** Cut start [17:40:01]*** Partial cut [17:40:01]*** CUTSNS_PIN = 1 [17:40:01]*** CUTSNS_PIN = 0 [17:40:01]*** Brake cut motor [17:40:02]Read from MH i2c: 01 [17:40:02]MH_I2C_Read... [17:40:02]*** Stop cut motor [17:40:02]*** Cut end [17:40:02]Read from MH i2c: 01 07 00 [17:40:02]MH_I2C_Read... [17:40:02]Read from MH i2c: 01 07 00 DF 01 00 00 00 00 00 FF 0F F5 [17:40:02]process_action close_receipt done [17:40:02]requested_data is exist [17:40:02]produce_requested_data [17:40:02]requested_item fm.sn is exist - process it [17:40:02]wFMCommunicate request_size=4 [17:40:02]MH_SAM_APDU [17:40:02]CAPDU: 80 11 00 00 [17:40:02]Write to MH i2c: E2 08 00 E0 01 80 11 00 00 00 00 00 00 5B [17:40:02]Write i2c OK [17:40:02]MH_I2C_Read... [17:40:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:40:02]Read from MH i2c: E2 [17:40:02]MH_I2C_Read... [17:40:02]Read from MH i2c: E2 17 00 [17:40:02]MH_I2C_Read... [17:40:02]Read from MH i2c: E2 17 00 E0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B2 [17:40:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:40:02]wFMCommunicate OK [17:40:02]requested_item fd.num is exist - process it [17:40:02]SAM_PROTO_GetFieldsCounters [17:40:02]wFMCommunicate request_size=4 [17:40:02]MH_SAM_APDU [17:40:02]CAPDU: 80 13 00 00 [17:40:02]Write to MH i2c: E2 08 00 E1 01 80 13 00 00 00 00 00 00 5E [17:40:02]Write i2c OK [17:40:02]MH_I2C_Read... [17:40:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:40:02]Read from MH i2c: E2 [17:40:02]MH_I2C_Read... [17:40:02]Read from MH i2c: E2 62 00 [17:40:02]MH_I2C_Read... [17:40:02]Read from MH i2c: E2 62 00 E1 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2B 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 76 00 00 00 5E 04 04 00 76 00 00 00 57 04 04 00 77 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [17:40:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2B 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 76 00 00 00 5E 04 04 00 76 00 00 00 57 04 04 00 77 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:40:02]wFMCommunicate OK [17:40:02]SAM_PROTO_GetFieldsCounters done [17:40:02]requested_item shift.num is exist - process it [17:40:02]requested_item shift.opened is exist - process it [17:40:02]req_shift_opened [17:40:02]FM_GetShiftState [17:40:02]SAM_PROTO_GetShiftState [17:40:02]wFMCommunicate request_size=4 [17:40:02]MH_SAM_APDU [17:40:02]CAPDU: 80 13 01 00 [17:40:02]Write to MH i2c: E2 08 00 E2 01 80 13 01 00 00 00 00 00 60 [17:40:02]Write i2c OK [17:40:02]MH_I2C_Read... [17:40:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:40:02]Read from MH i2c: E2 [17:40:02]MH_I2C_Read... [17:40:02]Read from MH i2c: E2 0E 00 [17:40:02]MH_I2C_Read... [17:40:02]Read from MH i2c: E2 0E 00 E2 01 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 10 [17:40:02]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:40:02]wFMCommunicate OK [17:40:02]SAM_PROTO_GetShiftState done [17:40:02]FM_GetShiftState done [17:40:02]req_shift_opened done [17:40:02]requested_item shift.open_date is exist - process it [17:40:02]req_shift_open_date [17:40:02]req_shift_open_date done [17:40:02]produce_requested_data done [17:40:02]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68395,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [17:40:02]process_action_free close_receipt [17:40:02]json_value_free [17:40:02]json_value_free done [17:40:02]process_json_proto returns [17:40:02]Send response to host [17:40:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68395,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [17:40:02]free response buf [17:40:02]execute_script done [17:40:02]execute_script returns [17:40:02]free content buf [17:40:02]Sock 8.Close socket [17:40:02]Sock 8.Thread stoped [17:40:06]OFD Sender: No OFD packet to send [17:40:11]OFD Sender: No OFD packet to send [17:40:16]OFD Sender: No OFD packet to send [17:40:21]OFD Sender: No OFD packet to send [17:40:26]OFD Sender: No OFD packet to send [17:40:31]OFD Sender: No OFD packet to send [17:40:36]OFD Sender: No OFD packet to send [17:40:41]OFD Sender: No OFD packet to send [17:40:46]OFD Sender: No OFD packet to send [17:40:51]OFD Sender: No OFD packet to send [17:40:56]OFD Sender: No OFD packet to send [17:41:01]OFD Sender: No OFD packet to send [17:41:06]OFD Sender: No OFD packet to send [17:41:11]OFD Sender: No OFD packet to send [17:41:16]OFD Sender: No OFD packet to send [17:41:21]OFD Sender: No OFD packet to send [17:41:26]OFD Sender: No OFD packet to send [17:41:31]OFD Sender: No OFD packet to send [17:41:36]OFD Sender: No OFD packet to send [17:41:41]OFD Sender: No OFD packet to send [17:41:46]OFD Sender: No OFD packet to send [17:41:51]OFD Sender: No OFD packet to send [17:41:56]OFD Sender: No OFD packet to send [17:42:01]OFD Sender: No OFD packet to send [17:42:06]OFD Sender: No OFD packet to send [17:42:09]int [17:42:09]Write to MH i2c: 01 00 00 E3 01 E4 [17:42:09]Write i2c OK [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 07 00 [17:42:09]MH_I2C_Read... [17:42:09]*** FLAG_PRN_KEY set [17:42:09]*** FLAG_PRN_KEY reset [17:42:09]Read from MH i2c: 01 07 00 E3 01 00 00 00 00 00 FF 0F F9 [17:42:09]state=0 [17:42:09]int [17:42:09]Write to MH i2c: 01 00 00 E4 01 E5 [17:42:09]*** FLAG_PRN_KEY set [17:42:09]Write i2c OK [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 07 00 [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 07 00 E4 01 00 08 00 00 00 FF 0F 02 [17:42:09]state=0 [17:42:09]Key pressed [17:42:09]Feed [17:42:09]Write to MH i2c: D8 00 00 E5 01 BD [17:42:09]Write i2c OK [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: D8 [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: D8 01 00 [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: D8 01 00 E5 01 00 BE [17:42:09]int [17:42:09]Write to MH i2c: 01 00 00 E6 01 E7 [17:42:09]Write i2c OK [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 07 00 [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 07 00 E6 01 00 48 00 00 00 3C 00 72 [17:42:09]state=2 [17:42:09]Key pressed [17:42:09]int [17:42:09]Write to MH i2c: 01 00 00 E7 01 E8 [17:42:09]*** FLAG_PRN_KEY reset [17:42:09]Write i2c OK [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 07 00 [17:42:09]MH_I2C_Read... [17:42:09]Read from MH i2c: 01 07 00 E7 01 00 00 00 00 00 F5 0F F3 [17:42:09]state=2 [17:42:09]Stop feed [17:42:11]OFD Sender: No OFD packet to send [17:42:16]OFD Sender: No OFD packet to send [17:42:21]OFD Sender: No OFD packet to send [17:42:26]OFD Sender: No OFD packet to send [17:42:31]OFD Sender: No OFD packet to send [17:42:36]OFD Sender: No OFD packet to send [17:42:41]OFD Sender: No OFD packet to send [17:42:46]OFD Sender: No OFD packet to send [17:42:51]OFD Sender: No OFD packet to send [17:42:56]OFD Sender: No OFD packet to send [17:43:01]OFD Sender: No OFD packet to send [17:43:06]OFD Sender: No OFD packet to send [17:43:11]OFD Sender: No OFD packet to send [17:43:16]OFD Sender: No OFD packet to send [17:43:21]OFD Sender: No OFD packet to send [17:43:26]OFD Sender: No OFD packet to send [17:43:31]OFD Sender: No OFD packet to send [17:43:36]OFD Sender: No OFD packet to send [17:43:37]accept exits with 9 [17:43:37]New connection [17:43:37]New thread 3066858852 created [17:43:37]Thread 3066715492 joined [17:43:37]Waiting for new connection... [17:43:37] Sock 9.Parse request [17:43:37]Sock 9.Check first char [17:43:37]Sock 9.First char is OK [17:43:37]request: POST /json_proto HTTP/1.0 [17:43:37]Method: POST [17:43:37]URL: /json_proto [17:43:37]Method is POST - this is cgi request [17:43:37]url: /json_proto [17:43:37]query_string will be loaded in cgi processing [17:43:37]execute_cgi json_proto POST (null) [17:43:37]execute_cgi path=json_proto method=POST [17:43:37]POST find Content-Length [17:43:37]Host: 172.17.42.3:8080 [17:43:37]Content-Length: 681 [17:43:37]Content-Type: application/json [17:43:37] [17:43:37]POST finish read [17:43:37]Found Content-Length = 681 [17:43:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46390", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "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" ] } } [17:43:37]execute_script... [17:43:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46390", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "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" ] } } [17:43:37]POST & json_proto [17:43:37]process_json_proto [17:43:37]json parsed OK: [17:43:37]protocol is kg_v1.0 [17:43:37]action value=close_receipt [17:43:37]process_action close_receipt [17:43:37]cmd_close_receipt [17:43:37]MH_GetDate [17:43:37]Write to MH i2c: F0 00 00 E8 01 D8 [17:43:37]Write i2c OK [17:43:37]MH_I2C_Read... [17:43:37]Read from MH i2c: F0 [17:43:37]MH_I2C_Read... [17:43:37]Read from MH i2c: F0 09 00 [17:43:37]MH_I2C_Read... [17:43:37]Read from MH i2c: F0 09 00 E8 01 00 CA 1E 21 67 28 A1 20 67 A1 [17:43:37]GetLastDocTimeStamp 1730223599 [17:43:37]current date 1730223818 [17:43:37]FM_GetShiftState [17:43:37]SAM_PROTO_GetShiftState [17:43:37]wFMCommunicate request_size=4 [17:43:37]MH_SAM_APDU [17:43:37]CAPDU: 80 13 01 00 [17:43:37]Write to MH i2c: E2 08 00 E9 01 80 13 01 00 00 00 00 00 67 [17:43:37]Write i2c OK [17:43:37]MH_I2C_Read... [17:43:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:43:37]Read from MH i2c: E2 [17:43:37]MH_I2C_Read... [17:43:37]Read from MH i2c: E2 0E 00 [17:43:37]MH_I2C_Read... [17:43:37]Read from MH i2c: E2 0E 00 E9 01 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 17 [17:43:37]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:43:37]wFMCommunicate OK [17:43:37]SAM_PROTO_GetShiftState done [17:43:37]FM_GetShiftState done [17:43:37]opened in 1730160885 [17:43:37]opened+sec_in_day 1730247285 [17:43:37]quantity*price = 100015 [17:43:37]sum+1 = 100017 [17:43:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.16 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 119 29.10.2024 17:43 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68396 ФПД: 84822553839436 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T174338&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68396&fm=84822553839436&tin=02508201610067®Number=0000000000091759&sum=100000 [17:43:38]StoreToDocumentArchive [17:43:38]shift 548 fd 68396 [17:43:38]save to /storage/0548/doc_00068396 [17:43:38]save last doc name /storage/0548/doc_00068396 to /storage/kkm_last_doc_name [17:43:38]save OK [17:43:38]Clear old archive folders... [17:43:38]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:43:38]tlvbuf is 01DF4DA0 [17:43:38]SAM_PROTO_ClearQueue [17:43:38]wFMCommunicate request_size=4 [17:43:38]MH_SAM_APDU [17:43:38]CAPDU: 80 09 00 00 [17:43:38]Write to MH i2c: E2 08 00 F6 01 80 09 00 00 00 00 00 00 69 [17:43:38]Write i2c OK [17:43:38]MH_I2C_Read... [17:43:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:43:38]Read from MH i2c: E2 [17:43:38]MH_I2C_Read... [17:43:38]Read from MH i2c: E2 03 00 [17:43:38]MH_I2C_Read... [17:43:38]Read from MH i2c: E2 03 00 F6 01 00 90 00 6B [17:43:38]RAPDU: 90 00 [17:43:38]wFMCommunicate OK [17:43:38]SAM_PROTO_ClearQueue done [17:43:38]KKMCreateOFDPacket [17:43:38]OFDProtocolAddRootSTLVToBuf [17:43:38]FM_MakeSignedData [17:43:38]FM_MakeSignedData [17:43:38]SAM_PROTO_SignData [17:43:38]wFMCommunicate request_size=4 [17:43:38]MH_SAM_APDU [17:43:38]CAPDU: 80 0D 01 02 [17:43:38]Write to MH i2c: E2 08 00 F7 01 80 0D 01 02 00 00 00 00 71 [17:43:38]Write i2c OK [17:43:38]MH_I2C_Read... [17:43:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:43:39]Read from MH i2c: E2 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 03 00 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 03 00 F7 01 00 90 00 6C [17:43:39]RAPDU: 90 00 [17:43:39]wFMCommunicate OK [17:43:39]wFMCommunicate request_size=255 [17:43:39]MH_SAM_APDU [17:43:39]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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 77 00 00 00 F4 03 04 00 CA 1E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2C 0B 01 00 35 04 06 00 4D [17:43:39]Write to MH i2c: E2 02 01 F8 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 77 00 00 00 F4 03 04 00 CA 1E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2C 0B 01 00 35 04 06 00 4D 00 00 96 [17:43:39]Write i2c OK [17:43:39]MH_I2C_Read... [17:43:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:43:39]Read from MH i2c: E2 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 03 00 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 03 00 F8 01 00 90 00 6D [17:43:39]RAPDU: 90 00 [17:43:39]wFMCommunicate OK [17:43:39]wFMCommunicate request_size=10 [17:43:39]MH_SAM_APDU [17:43:39]CAPDU: 80 0D 02 02 05 25 4A 30 C7 4C [17:43:39]Write to MH i2c: E2 0D 00 F9 01 80 0D 02 02 05 00 25 4A 30 C7 4C 00 00 30 [17:43:39]Write i2c OK [17:43:39]MH_I2C_Read... [17:43:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:43:39]Read from MH i2c: E2 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 03 00 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 03 00 F9 01 00 90 00 6E [17:43:39]RAPDU: 90 00 [17:43:39]wFMCommunicate OK [17:43:39]wFMCommunicate request_size=4 [17:43:39]MH_SAM_APDU [17:43:39]CAPDU: 80 0D 03 02 [17:43:39]Write to MH i2c: E2 08 00 FA 01 80 0D 03 02 00 00 00 00 76 [17:43:39]Write i2c OK [17:43:39]MH_I2C_Read... [17:43:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:43:39]Read from MH i2c: E2 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 0B 00 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 0B 00 FA 01 00 5C C4 D5 ED 60 2F 5D 2C 90 00 71 [17:43:39]RAPDU: 5C C4 D5 ED 60 2F 5D 2C 90 00 [17:43:39]wFMCommunicate OK [17:43:39]SAM_PROTO_SignData done [17:43:39]FM_MakeSignedData done [17:43:39]CreateOFDProtocolMessage [17:43:39]wFMCommunicate request_size=4 [17:43:39]MH_SAM_APDU [17:43:39]CAPDU: 80 11 00 00 [17:43:39]Write to MH i2c: E2 08 00 FB 01 80 11 00 00 00 00 00 00 76 [17:43:39]Write i2c OK [17:43:39]MH_I2C_Read... [17:43:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:43:39]Read from MH i2c: E2 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 17 00 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: E2 17 00 FB 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 CD [17:43:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:43:39]wFMCommunicate OK [17:43:39]CreateOFDProtocolMessage done [17:43:39]OFDSenderStorePacket 68396 [17:43:39]StoreOFDPacket docnum=68396 [17:43:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7F 4E 07 01 D1 A1 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 77 00 00 00 F4 03 04 00 CA 1E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2C 0B 01 00 35 04 06 00 4D 25 4A 30 C7 4C 5C C4 D5 ED 60 2F 5D 2C [17:43:39]CheckFolder [17:43:39]dirname=/storage/ofd_packets [17:43:39]CheckFolder done [17:43:39]ProducePacketName [17:43:39]name=ofd_packets/00068396 [17:43:39]NVStorageSaveData ofd_packets/00068396 [17:43:39]File name is /storage/ofd_packets/00068396 [17:43:39]Write 301 bytes [17:43:39]NVStorageSaveData done [17:43:39]OFDSenderStorePacket done [17:43:39]KKMCreateOFDPacket done [17:43:39]NVStorageSaveData kkm_last_timestamp [17:43:39]File name is /storage/kkm_last_timestamp [17:43:39]Write 4 bytes [17:43:39]NVStorageSaveData done [17:43:39]ExternCall_PrintAddStr [17:43:39]wPrintStart [17:43:39]Write to MH i2c: 01 00 00 FC 01 FD [17:43:39]Write i2c OK [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: 01 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: 01 07 00 [17:43:39]MH_I2C_Read... [17:43:39]Read from MH i2c: 01 07 00 FC 01 00 00 00 00 00 FF 0F 12 [17:43:39]RasterBufferAndPrint [17:43:39]line Счет N : (1)46390 [17:43:39]line ИНН: 02508201610067 [17:43:39]line Контрольно-Кассовый Чек [17:43:39]line ПРОДАЖА [17:43:39]line ТРК (МРК, ГНК) : 13 [17:43:39]line Товар: 2710124130 [17:43:39]line Аи-92-К-5 [17:43:39]line 14.950 * 66.90 [17:43:39]line = 1000.16 [17:43:39]line НДС 12% НСП 1% [17:43:39]line > о реализуемом товаре [17:43:39]line ОКРУГЛЕНИЕ: -0.16 [17:43:39]line ИТОГО: 1000.00 [17:43:39]line Внесено: 1000.00 [17:43:39]line СДАЧА: 0.00 [17:43:39]line НСП 1% : 8.85 [17:43:39]line НДС 12% : 106.21 [17:43:39]line Наличными: 1000.00 [17:43:39]line Безнал.: 0.00 [17:43:39]line Место: АЗС № 160 "Партнер Нефть" [17:43:39]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:43:39]line СНО: Общий режим [17:43:39]line Чек 119 29.10.2024 17:43 [17:43:39]line Смена: 548 ФФД: 1.0 [17:43:39]line ЗНМ: 0300000093 [17:43:39]line РНМ: 0000000000091759 [17:43:39]line Версия ККМ: 001 [17:43:39]line ФМ: 0000000000871758 [17:43:39]line ФД: 68396 [17:43:39]line ФПД: 84822553839436 [17:43:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T174338&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68396&fm=84822553839436&tin=02508201610067®Number=0000000000091759&sum=100000 [17:43:39]OFD Sender: Processing packet 68396 [packets to send 28, broken 27] [17:43:39]ProducePacketName [17:43:39]name=ofd_packets/00068396 [17:43:39]OFD Sender: To server: pG, [17:43:39]CommunicateWithHost lk.salyk.kg:30040 [17:43:39]ConnectInit lk.salyk.kg [17:43:39]written 0, free lines is 4095 [17:43:39]Connected sock=10 [17:43:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7F 4E 07 01 D1 A1 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 77 00 00 00 F4 03 04 00 CA 1E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2C 0B 01 00 35 04 06 00 4D 25 4A 30 C7 4C 5C C4 D5 ED 60 2F 5D 2C [17:43:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B5 27 47 00 46 DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2C 0B 01 00 F4 03 04 00 72 CA 20 67 B6 04 01 00 00 97 B1 49 69 08 3C DF B8 [17:43:40]CommunicateWithHost err = 0 [17:43:40]CheckOFDResponse [17:43:40]1017 (14) - 77093643461234 [17:43:40]1041 (16) - 0000000000871758 [17:43:40]1040 (4) - 68396 [17:43:40]1012 (4) - 29.10.2024 11:43 [17:43:40]1206 (1) - 0 [17:43:40]OFD Sender: Remove packet 68396 [17:43:40]ProducePacketName [17:43:40]name=ofd_packets/00068396 [17:43:40]NVStorageDeleteData [17:43:40]Write to MH i2c: 01 00 00 26 02 28 [17:43:40]Write i2c OK [17:43:40]MH_I2C_Read... [17:43:40]Read from MH i2c: 01 [17:43:40]MH_I2C_Read... [17:43:40]Read from MH i2c: 01 07 00 [17:43:40]MH_I2C_Read... [17:43:40]Read from MH i2c: 01 07 00 26 02 00 00 00 00 00 DA 0C 15 [17:43:40]RasterBufferAndPrint [17:43:40]line [17:43:40]line [17:43:40]line [17:43:40]line [17:43:40]line [17:43:40]written 0, free lines is 3296 [17:43:40]MH_Cut [17:43:40]Write to MH i2c: D1 01 00 2D 02 01 01 [17:43:40]Write i2c OK [17:43:40]MH_I2C_Read... [17:43:40]Read from MH i2c: D1 [17:43:40]MH_I2C_Read... [17:43:40]Read from MH i2c: D1 01 00 [17:43:40]MH_I2C_Read... [17:43:40]Read from MH i2c: D1 01 00 2D 02 00 00 [17:43:40]Write to MH i2c: 01 00 00 2E 02 30 [17:43:40]Write i2c OK [17:43:40]MH_I2C_Read... [17:43:40]OFD Sender: No OFD packet to send [17:43:41]*** Cut start [17:43:41]*** Partial cut [17:43:41]*** CUTSNS_PIN = 1 [17:43:41]*** CUTSNS_PIN = 0 [17:43:41]*** Brake cut motor [17:43:41]Read from MH i2c: 01 [17:43:41]MH_I2C_Read... [17:43:41]*** Stop cut motor [17:43:41]*** Cut end [17:43:41]Read from MH i2c: 01 07 00 [17:43:41]MH_I2C_Read... [17:43:41]Read from MH i2c: 01 07 00 2E 02 00 00 00 00 00 FF 0F 45 [17:43:41]process_action close_receipt done [17:43:41]requested_data is exist [17:43:41]produce_requested_data [17:43:41]requested_item fm.sn is exist - process it [17:43:41]wFMCommunicate request_size=4 [17:43:41]MH_SAM_APDU [17:43:41]CAPDU: 80 11 00 00 [17:43:41]Write to MH i2c: E2 08 00 2F 02 80 11 00 00 00 00 00 00 AB [17:43:41]Write i2c OK [17:43:41]MH_I2C_Read... [17:43:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:43:41]Read from MH i2c: E2 [17:43:41]MH_I2C_Read... [17:43:41]Read from MH i2c: E2 17 00 [17:43:41]MH_I2C_Read... [17:43:41]Read from MH i2c: E2 17 00 2F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 02 [17:43:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:43:41]wFMCommunicate OK [17:43:41]requested_item fd.num is exist - process it [17:43:41]SAM_PROTO_GetFieldsCounters [17:43:41]wFMCommunicate request_size=4 [17:43:41]MH_SAM_APDU [17:43:41]CAPDU: 80 13 00 00 [17:43:41]Write to MH i2c: E2 08 00 30 02 80 13 00 00 00 00 00 00 AE [17:43:41]Write i2c OK [17:43:41]MH_I2C_Read... [17:43:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:43:41]Read from MH i2c: E2 [17:43:41]MH_I2C_Read... [17:43:41]Read from MH i2c: E2 62 00 [17:43:41]MH_I2C_Read... [17:43:41]Read from MH i2c: E2 62 00 30 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2C 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 77 00 00 00 5E 04 04 00 77 00 00 00 57 04 04 00 78 00 00 00 19 04 04 00 00 00 00 00 90 00 9C [17:43:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2C 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 77 00 00 00 5E 04 04 00 77 00 00 00 57 04 04 00 78 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:43:41]wFMCommunicate OK [17:43:41]SAM_PROTO_GetFieldsCounters done [17:43:41]requested_item shift.num is exist - process it [17:43:41]requested_item shift.opened is exist - process it [17:43:41]req_shift_opened [17:43:41]FM_GetShiftState [17:43:41]SAM_PROTO_GetShiftState [17:43:41]wFMCommunicate request_size=4 [17:43:41]MH_SAM_APDU [17:43:41]CAPDU: 80 13 01 00 [17:43:41]Write to MH i2c: E2 08 00 31 02 80 13 01 00 00 00 00 00 B0 [17:43:41]Write i2c OK [17:43:41]MH_I2C_Read... [17:43:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:43:41]Read from MH i2c: E2 [17:43:41]MH_I2C_Read... [17:43:41]Read from MH i2c: E2 0E 00 [17:43:41]MH_I2C_Read... [17:43:41]Read from MH i2c: E2 0E 00 31 02 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 60 [17:43:41]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:43:41]wFMCommunicate OK [17:43:41]SAM_PROTO_GetShiftState done [17:43:41]FM_GetShiftState done [17:43:41]req_shift_opened done [17:43:41]requested_item shift.open_date is exist - process it [17:43:41]req_shift_open_date [17:43:41]req_shift_open_date done [17:43:41]produce_requested_data done [17:43:41]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68396,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [17:43:41]process_action_free close_receipt [17:43:41]json_value_free [17:43:41]json_value_free done [17:43:41]process_json_proto returns [17:43:41]Send response to host [17:43:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68396,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [17:43:41]free response buf [17:43:41]execute_script done [17:43:41]execute_script returns [17:43:41]free content buf [17:43:41]Sock 9.Close socket [17:43:41]Sock 9.Thread stoped [17:43:45]OFD Sender: No OFD packet to send [17:43:50]OFD Sender: No OFD packet to send [17:43:55]OFD Sender: No OFD packet to send [17:44:00]OFD Sender: No OFD packet to send [17:44:05]OFD Sender: No OFD packet to send [17:44:10]OFD Sender: No OFD packet to send [17:44:15]OFD Sender: No OFD packet to send [17:44:20]OFD Sender: No OFD packet to send [17:44:25]OFD Sender: No OFD packet to send [17:44:30]OFD Sender: No OFD packet to send [17:44:35]OFD Sender: No OFD packet to send [17:44:40]OFD Sender: No OFD packet to send [17:44:45]OFD Sender: No OFD packet to send [17:44:50]OFD Sender: No OFD packet to send [17:44:55]OFD Sender: No OFD packet to send [17:45:00]OFD Sender: No OFD packet to send [17:45:05]OFD Sender: No OFD packet to send [17:45:10]OFD Sender: No OFD packet to send [17:45:15]OFD Sender: No OFD packet to send [17:45:20]OFD Sender: No OFD packet to send [17:45:25]OFD Sender: No OFD packet to send [17:45:30]OFD Sender: No OFD packet to send [17:45:35]OFD Sender: No OFD packet to send [17:45:40]OFD Sender: No OFD packet to send [17:45:45]OFD Sender: No OFD packet to send [17:45:50]OFD Sender: No OFD packet to send [17:45:55]OFD Sender: No OFD packet to send [17:46:00]OFD Sender: No OFD packet to send [17:46:05]OFD Sender: No OFD packet to send [17:46:10]OFD Sender: No OFD packet to send [17:46:15]OFD Sender: No OFD packet to send [17:46:20]OFD Sender: No OFD packet to send [17:46:25]OFD Sender: No OFD packet to send [17:46:30]OFD Sender: No OFD packet to send [17:46:35]OFD Sender: No OFD packet to send [17:46:40]OFD Sender: No OFD packet to send [17:46:45]OFD Sender: No OFD packet to send [17:46:50]OFD Sender: No OFD packet to send [17:46:55]OFD Sender: No OFD packet to send [17:47:00]OFD Sender: No OFD packet to send [17:47:05]OFD Sender: No OFD packet to send [17:47:10]OFD Sender: No OFD packet to send [17:47:15]OFD Sender: No OFD packet to send [17:47:20]OFD Sender: No OFD packet to send [17:47:25]OFD Sender: No OFD packet to send [17:47:30]OFD Sender: No OFD packet to send [17:47:35]OFD Sender: No OFD packet to send [17:47:40]OFD Sender: No OFD packet to send [17:47:45]OFD Sender: No OFD packet to send [17:47:50]OFD Sender: No OFD packet to send [17:47:55]OFD Sender: No OFD packet to send [17:48:00]OFD Sender: No OFD packet to send [17:48:05]OFD Sender: No OFD packet to send [17:48:10]OFD Sender: No OFD packet to send [17:48:15]OFD Sender: No OFD packet to send [17:48:20]OFD Sender: No OFD packet to send [17:48:25]OFD Sender: No OFD packet to send [17:48:30]OFD Sender: No OFD packet to send [17:48:35]OFD Sender: No OFD packet to send [17:48:40]OFD Sender: No OFD packet to send [17:48:45]OFD Sender: No OFD packet to send [17:48:50]OFD Sender: No OFD packet to send [17:48:55]OFD Sender: No OFD packet to send [17:49:00]OFD Sender: No OFD packet to send [17:49:05]OFD Sender: No OFD packet to send [17:49:10]OFD Sender: No OFD packet to send [17:49:15]OFD Sender: No OFD packet to send [17:49:20]OFD Sender: No OFD packet to send [17:49:25]OFD Sender: No OFD packet to send [17:49:30]OFD Sender: No OFD packet to send [17:49:35]OFD Sender: No OFD packet to send [17:49:40]OFD Sender: No OFD packet to send [17:49:45]OFD Sender: No OFD packet to send [17:49:50]OFD Sender: No OFD packet to send [17:49:55]OFD Sender: No OFD packet to send [17:50:00]OFD Sender: No OFD packet to send [17:50:05]OFD Sender: No OFD packet to send [17:50:10]OFD Sender: No OFD packet to send [17:50:14]accept exits with 8 [17:50:14]New connection [17:50:14]New thread 3066715492 created [17:50:14]Thread 3066858852 joined [17:50:14]Waiting for new connection... [17:50:14] Sock 8.Parse request [17:50:14]Sock 8.Check first char [17:50:14]Sock 8.First char is OK [17:50:14]request: POST /json_proto HTTP/1.0 [17:50:14]Method: POST [17:50:14]URL: /json_proto [17:50:14]Method is POST - this is cgi request [17:50:14]url: /json_proto [17:50:14]query_string will be loaded in cgi processing [17:50:14]execute_cgi json_proto POST (null) [17:50:14]execute_cgi path=json_proto method=POST [17:50:14]POST find Content-Length [17:50:14]Host: 172.17.42.3:8080 [17:50:14]Content-Length: 676 [17:50:14]Content-Type: application/json [17:50:14] [17:50:14]POST finish read [17:50:14]Found Content-Length = 676 [17:50:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46391", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.480, "sum" : 299.71, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 299.00, "payments": [ { "type": 0, "sum" : 299.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:50:14]execute_script... [17:50: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)46391", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.480, "sum" : 299.71, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 299.00, "payments": [ { "type": 0, "sum" : 299.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:50:14]POST & json_proto [17:50:14]process_json_proto [17:50:14]json parsed OK: [17:50:14]protocol is kg_v1.0 [17:50:14]action value=close_receipt [17:50:14]process_action close_receipt [17:50:14]cmd_close_receipt [17:50:14]MH_GetDate [17:50:14]Write to MH i2c: F0 00 00 32 02 23 [17:50:14]Write i2c OK [17:50:14]MH_I2C_Read... [17:50:14]Read from MH i2c: F0 [17:50:14]MH_I2C_Read... [17:50:14]Read from MH i2c: F0 09 00 [17:50:14]MH_I2C_Read... [17:50:14]Read from MH i2c: F0 09 00 32 02 00 57 20 21 67 28 A1 20 67 7B [17:50:14]GetLastDocTimeStamp 1730223818 [17:50:14]current date 1730224215 [17:50:14]FM_GetShiftState [17:50:14]SAM_PROTO_GetShiftState [17:50:14]wFMCommunicate request_size=4 [17:50:14]MH_SAM_APDU [17:50:14]CAPDU: 80 13 01 00 [17:50:14]Write to MH i2c: E2 08 00 33 02 80 13 01 00 00 00 00 00 B2 [17:50:14]Write i2c OK [17:50:14]MH_I2C_Read... [17:50:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:50:14]Read from MH i2c: E2 [17:50:14]MH_I2C_Read... [17:50:14]Read from MH i2c: E2 0E 00 [17:50:14]MH_I2C_Read... [17:50:14]Read from MH i2c: E2 0E 00 33 02 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 62 [17:50:14]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:50:14]wFMCommunicate OK [17:50:14]SAM_PROTO_GetShiftState done [17:50:14]FM_GetShiftState done [17:50:14]opened in 1730160885 [17:50:14]opened+sec_in_day 1730247285 [17:50:14]quantity*price = 29971 [17:50:14]sum+1 = 29972 [17:50:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.71 ИТОГО: 299.00 Внесено: 300.00 СДАЧА: 1.00 НСП 1% : 2.65 НДС 12% : 31.83 Наличными: 299.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 120 29.10.2024 17:50 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68397 ФПД: 125009037151338 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T175015&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68397&fm=125009037151338&tin=02508201610067®Number=0000000000091759&sum=29900 [17:50:15]StoreToDocumentArchive [17:50:15]shift 548 fd 68397 [17:50:15]save to /storage/0548/doc_00068397 [17:50:15]save last doc name /storage/0548/doc_00068397 to /storage/kkm_last_doc_name [17:50:15]save OK [17:50:15]Clear old archive folders... [17:50:15]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:50:15]tlvbuf is 01DEEC10 [17:50:15]SAM_PROTO_ClearQueue [17:50:15]wFMCommunicate request_size=4 [17:50:15]MH_SAM_APDU [17:50:15]CAPDU: 80 09 00 00 [17:50:15]Write to MH i2c: E2 08 00 40 02 80 09 00 00 00 00 00 00 B4 [17:50:15]Write i2c OK [17:50:15]MH_I2C_Read... [17:50:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:50:15]Read from MH i2c: E2 [17:50:15]MH_I2C_Read... [17:50:15]Read from MH i2c: E2 03 00 [17:50:15]MH_I2C_Read... [17:50:15]Read from MH i2c: E2 03 00 40 02 00 90 00 B6 [17:50:15]RAPDU: 90 00 [17:50:15]wFMCommunicate OK [17:50:15]SAM_PROTO_ClearQueue done [17:50:15]KKMCreateOFDPacket [17:50:15]OFDProtocolAddRootSTLVToBuf [17:50:15]FM_MakeSignedData [17:50:15]FM_MakeSignedData [17:50:15]SAM_PROTO_SignData [17:50:15]wFMCommunicate request_size=4 [17:50:15]MH_SAM_APDU [17:50:15]CAPDU: 80 0D 01 02 [17:50:15]Write to MH i2c: E2 08 00 41 02 80 0D 01 02 00 00 00 00 BC [17:50:15]Write i2c OK [17:50:15]MH_I2C_Read... [17:50:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:50:15]Read from MH i2c: E2 [17:50:15]MH_I2C_Read... [17:50:15]Read from MH i2c: E2 03 00 [17:50:15]MH_I2C_Read... [17:50:15]Read from MH i2c: E2 03 00 41 02 00 90 00 B7 [17:50:15]RAPDU: 90 00 [17:50:15]wFMCommunicate OK [17:50:15]wFMCommunicate request_size=255 [17:50:15]MH_SAM_APDU [17:50: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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 57 20 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2D 0B 01 00 35 04 06 00 71 [17:50:15]Write to MH i2c: E2 02 01 42 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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 57 20 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2D 0B 01 00 35 04 06 00 71 00 00 71 [17:50:15]Write i2c OK [17:50:15]MH_I2C_Read... [17:50:15]OFD Sender: No OFD packet to send [17:50:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:50:16]Read from MH i2c: E2 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: E2 03 00 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: E2 03 00 42 02 00 90 00 B8 [17:50:16]RAPDU: 90 00 [17:50:16]wFMCommunicate OK [17:50:16]wFMCommunicate request_size=10 [17:50:16]MH_SAM_APDU [17:50:16]CAPDU: 80 0D 02 02 05 B1 EF 40 CC 6A [17:50:16]Write to MH i2c: E2 0D 00 43 02 80 0D 02 02 05 00 B1 EF 40 CC 6A 00 00 DF [17:50:16]Write i2c OK [17:50:16]MH_I2C_Read... [17:50:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:50:16]Read from MH i2c: E2 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: E2 03 00 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: E2 03 00 43 02 00 90 00 B9 [17:50:16]RAPDU: 90 00 [17:50:16]wFMCommunicate OK [17:50:16]wFMCommunicate request_size=4 [17:50:16]MH_SAM_APDU [17:50:16]CAPDU: 80 0D 03 02 [17:50:16]Write to MH i2c: E2 08 00 44 02 80 0D 03 02 00 00 00 00 C1 [17:50:16]Write i2c OK [17:50:16]MH_I2C_Read... [17:50:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:50:16]Read from MH i2c: E2 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: E2 0B 00 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: E2 0B 00 44 02 00 F5 27 E4 A4 92 BD B0 47 90 00 AC [17:50:16]RAPDU: F5 27 E4 A4 92 BD B0 47 90 00 [17:50:16]wFMCommunicate OK [17:50:16]SAM_PROTO_SignData done [17:50:16]FM_MakeSignedData done [17:50:16]CreateOFDProtocolMessage [17:50:16]wFMCommunicate request_size=4 [17:50:16]MH_SAM_APDU [17:50:16]CAPDU: 80 11 00 00 [17:50:16]Write to MH i2c: E2 08 00 45 02 80 11 00 00 00 00 00 00 C1 [17:50:16]Write i2c OK [17:50:16]MH_I2C_Read... [17:50:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:50:16]Read from MH i2c: E2 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: E2 17 00 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: E2 17 00 45 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 18 [17:50:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:50:16]wFMCommunicate OK [17:50:16]CreateOFDProtocolMessage done [17:50:16]OFDSenderStorePacket 68397 [17:50:16]StoreOFDPacket docnum=68397 [17:50:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 21 04 07 01 0D 7E 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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 57 20 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2D 0B 01 00 35 04 06 00 71 B1 EF 40 CC 6A F5 27 E4 A4 92 BD B0 47 [17:50:16]CheckFolder [17:50:16]dirname=/storage/ofd_packets [17:50:16]CheckFolder done [17:50:16]ProducePacketName [17:50:16]name=ofd_packets/00068397 [17:50:16]NVStorageSaveData ofd_packets/00068397 [17:50:16]File name is /storage/ofd_packets/00068397 [17:50:16]Write 301 bytes [17:50:16]NVStorageSaveData done [17:50:16]OFDSenderStorePacket done [17:50:16]KKMCreateOFDPacket done [17:50:16]NVStorageSaveData kkm_last_timestamp [17:50:16]File name is /storage/kkm_last_timestamp [17:50:16]Write 4 bytes [17:50:16]NVStorageSaveData done [17:50:16]ExternCall_PrintAddStr [17:50:16]wPrintStart [17:50:16]Write to MH i2c: 01 00 00 46 02 48 [17:50:16]Write i2c OK [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: 01 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: 01 07 00 [17:50:16]MH_I2C_Read... [17:50:16]Read from MH i2c: 01 07 00 46 02 00 00 00 00 00 FF 0F 5D [17:50:16]RasterBufferAndPrint [17:50:16]line Счет N : (1)46391 [17:50:16]line ИНН: 02508201610067 [17:50:16]line Контрольно-Кассовый Чек [17:50:16]line ПРОДАЖА [17:50:16]line ТРК (МРК, ГНК) : 23 [17:50:16]line Товар: 2710124130 [17:50:16]line Аи-92-К-5 [17:50:16]line 4.480 * 66.90 [17:50:16]line = 299.71 [17:50:16]line НДС 12% НСП 1% [17:50:16]line > о реализуемом товаре [17:50:16]line ОКРУГЛЕНИЕ: -0.71 [17:50:16]line ИТОГО: 299.00 [17:50:16]line Внесено: 300.00 [17:50:16]line СДАЧА: 1.00 [17:50:16]line НСП 1% : 2.65 [17:50:16]line НДС 12% : 31.83 [17:50:16]line Наличными: 299.00 [17:50:16]line Безнал.: 0.00 [17:50:16]line Место: АЗС № 160 "Партнер Нефть" [17:50:16]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:50:16]line СНО: Общий режим [17:50:16]line Чек 120 29.10.2024 17:50 [17:50:16]line Смена: 548 ФФД: 1.0 [17:50:16]line ЗНМ: 0300000093 [17:50:16]line РНМ: 0000000000091759 [17:50:16]line Версия ККМ: 001 [17:50:16]line ФМ: 0000000000871758 [17:50:16]line ФД: 68397 [17:50:16]line ФПД: 125009037151338 [17:50:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T175015&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68397&fm=125009037151338&tin=02508201610067®Number=0000000000091759&sum=29900 [17:50:16]written 0, free lines is 4095 [17:50:16]OFD Sender: Processing packet 68397 [packets to send 28, broken 27] [17:50:16]ProducePacketName [17:50:16]name=ofd_packets/00068397 [17:50:16]OFD Sender: To server: pG, [17:50:16]CommunicateWithHost lk.salyk.kg:30040 [17:50:16]ConnectInit lk.salyk.kg [17:50:16]Connected sock=10 [17:50:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 21 04 07 01 0D 7E 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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 57 20 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2D 0B 01 00 35 04 06 00 71 B1 EF 40 CC 6A F5 27 E4 A4 92 BD B0 47 [17:50:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B5 24 47 00 F4 80 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2D 0B 01 00 F4 03 04 00 FF CB 20 67 B6 04 01 00 00 A2 02 A9 91 BB 04 F3 17 [17:50:16]CommunicateWithHost err = 0 [17:50:16]CheckOFDResponse [17:50:16]1017 (14) - 77093643461234 [17:50:16]1041 (16) - 0000000000871758 [17:50:16]1040 (4) - 68397 [17:50:16]1012 (4) - 29.10.2024 11:50 [17:50:16]1206 (1) - 0 [17:50:16]OFD Sender: Remove packet 68397 [17:50:16]ProducePacketName [17:50:16]name=ofd_packets/00068397 [17:50:16]NVStorageDeleteData [17:50:17]Write to MH i2c: 01 00 00 70 02 72 [17:50:17]Write i2c OK [17:50:17]MH_I2C_Read... [17:50:17]Read from MH i2c: 01 [17:50:17]MH_I2C_Read... [17:50:17]Read from MH i2c: 01 07 00 [17:50:17]MH_I2C_Read... [17:50:17]Read from MH i2c: 01 07 00 70 02 00 00 00 00 00 C6 0C 4B [17:50:17]RasterBufferAndPrint [17:50:17]line [17:50:17]line [17:50:17]line [17:50:17]line [17:50:17]line [17:50:17]written 0, free lines is 3277 [17:50:17]MH_Cut [17:50:17]Write to MH i2c: D1 01 00 77 02 01 4B [17:50:17]Write i2c OK [17:50:17]MH_I2C_Read... [17:50:17]Read from MH i2c: D1 [17:50:17]MH_I2C_Read... [17:50:17]Read from MH i2c: D1 01 00 [17:50:17]MH_I2C_Read... [17:50:17]Read from MH i2c: D1 01 00 77 02 00 4A [17:50:17]Write to MH i2c: 01 00 00 78 02 7A [17:50:17]Write i2c OK [17:50:17]MH_I2C_Read... [17:50:17]OFD Sender: No OFD packet to send [17:50:17]*** Cut start [17:50:17]*** Partial cut [17:50:17]*** CUTSNS_PIN = 1 [17:50:17]*** CUTSNS_PIN = 0 [17:50:18]*** Brake cut motor [17:50:18]Read from MH i2c: 01 [17:50:18]MH_I2C_Read... [17:50:18]*** Stop cut motor [17:50:18]*** Cut end [17:50:18]Read from MH i2c: 01 07 00 [17:50:18]MH_I2C_Read... [17:50:18]Read from MH i2c: 01 07 00 78 02 00 00 00 00 00 FF 0F 8F [17:50:18]process_action close_receipt done [17:50:18]requested_data is exist [17:50:18]produce_requested_data [17:50:18]requested_item fm.sn is exist - process it [17:50:18]wFMCommunicate request_size=4 [17:50:18]MH_SAM_APDU [17:50:18]CAPDU: 80 11 00 00 [17:50:18]Write to MH i2c: E2 08 00 79 02 80 11 00 00 00 00 00 00 F5 [17:50:18]Write i2c OK [17:50:18]MH_I2C_Read... [17:50:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:50:18]Read from MH i2c: E2 [17:50:18]MH_I2C_Read... [17:50:18]Read from MH i2c: E2 17 00 [17:50:18]MH_I2C_Read... [17:50:18]Read from MH i2c: E2 17 00 79 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 4C [17:50:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:50:18]wFMCommunicate OK [17:50:18]requested_item fd.num is exist - process it [17:50:18]SAM_PROTO_GetFieldsCounters [17:50:18]wFMCommunicate request_size=4 [17:50:18]MH_SAM_APDU [17:50:18]CAPDU: 80 13 00 00 [17:50:18]Write to MH i2c: E2 08 00 7A 02 80 13 00 00 00 00 00 00 F8 [17:50:18]Write i2c OK [17:50:18]MH_I2C_Read... [17:50:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:50:18]Read from MH i2c: E2 [17:50:18]MH_I2C_Read... [17:50:18]Read from MH i2c: E2 62 00 [17:50:18]MH_I2C_Read... [17:50:18]Read from MH i2c: E2 62 00 7A 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [17:50:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:50:18]wFMCommunicate OK [17:50:18]SAM_PROTO_GetFieldsCounters done [17:50:18]requested_item shift.num is exist - process it [17:50:18]requested_item shift.opened is exist - process it [17:50:18]req_shift_opened [17:50:18]FM_GetShiftState [17:50:18]SAM_PROTO_GetShiftState [17:50:18]wFMCommunicate request_size=4 [17:50:18]MH_SAM_APDU [17:50:18]CAPDU: 80 13 01 00 [17:50:18]Write to MH i2c: E2 08 00 7B 02 80 13 01 00 00 00 00 00 FA [17:50:18]Write i2c OK [17:50:18]MH_I2C_Read... [17:50:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:50:18]Read from MH i2c: E2 [17:50:18]MH_I2C_Read... [17:50:18]Read from MH i2c: E2 0E 00 [17:50:18]MH_I2C_Read... [17:50:18]Read from MH i2c: E2 0E 00 7B 02 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 AA [17:50:18]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [17:50:18]wFMCommunicate OK [17:50:18]SAM_PROTO_GetShiftState done [17:50:18]FM_GetShiftState done [17:50:18]req_shift_opened done [17:50:18]requested_item shift.open_date is exist - process it [17:50:18]req_shift_open_date [17:50:18]req_shift_open_date done [17:50:18]produce_requested_data done [17:50:18]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68397,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [17:50:18]process_action_free close_receipt [17:50:18]json_value_free [17:50:18]json_value_free done [17:50:18]process_json_proto returns [17:50:18]Send response to host [17:50:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68397,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [17:50:18]free response buf [17:50:18]execute_script done [17:50:18]execute_script returns [17:50:18]free content buf [17:50:18]Sock 8.Close socket [17:50:18]Sock 8.Thread stoped [17:50:22]OFD Sender: No OFD packet to send [17:50:27]OFD Sender: No OFD packet to send [17:50:32]OFD Sender: No OFD packet to send [17:50:37]OFD Sender: No OFD packet to send [17:50:42]OFD Sender: No OFD packet to send [17:50:47]OFD Sender: No OFD packet to send [17:50:52]OFD Sender: No OFD packet to send [17:50:57]OFD Sender: No OFD packet to send [17:51:02]OFD Sender: No OFD packet to send [17:51:07]OFD Sender: No OFD packet to send [17:51:12]OFD Sender: No OFD packet to send [17:51:17]OFD Sender: No OFD packet to send [17:51:22]OFD Sender: No OFD packet to send [17:51:27]OFD Sender: No OFD packet to send [17:51:32]OFD Sender: No OFD packet to send [17:51:37]OFD Sender: No OFD packet to send [17:51:42]OFD Sender: No OFD packet to send [17:51:47]OFD Sender: No OFD packet to send [17:51:52]OFD Sender: No OFD packet to send [17:51:57]OFD Sender: No OFD packet to send [17:52:02]OFD Sender: No OFD packet to send [17:52:07]OFD Sender: No OFD packet to send [17:52:12]OFD Sender: No OFD packet to send [17:52:17]OFD Sender: No OFD packet to send [17:52:22]OFD Sender: No OFD packet to send [17:52:27]OFD Sender: No OFD packet to send [17:52:32]OFD Sender: No OFD packet to send [17:52:37]OFD Sender: No OFD packet to send [17:52:42]OFD Sender: No OFD packet to send [17:52:47]OFD Sender: No OFD packet to send [17:52:52]OFD Sender: No OFD packet to send [17:52:57]OFD Sender: No OFD packet to send [17:53:02]OFD Sender: No OFD packet to send [17:53:07]OFD Sender: No OFD packet to send [17:53:12]OFD Sender: No OFD packet to send [17:53:17]OFD Sender: No OFD packet to send [17:53:22]OFD Sender: No OFD packet to send [17:53:27]OFD Sender: No OFD packet to send [17:53:32]OFD Sender: No OFD packet to send [17:53:37]OFD Sender: No OFD packet to send [17:53:42]OFD Sender: No OFD packet to send [17:53:47]OFD Sender: No OFD packet to send [17:53:52]OFD Sender: No OFD packet to send [17:53:57]OFD Sender: No OFD packet to send [17:54:02]OFD Sender: No OFD packet to send [17:54:07]OFD Sender: No OFD packet to send [17:54:12]OFD Sender: No OFD packet to send [17:54:17]OFD Sender: No OFD packet to send [17:54:22]OFD Sender: No OFD packet to send [17:54:27]OFD Sender: No OFD packet to send [17:54:32]OFD Sender: No OFD packet to send [17:54:37]OFD Sender: No OFD packet to send [17:54:42]OFD Sender: No OFD packet to send [17:54:47]OFD Sender: No OFD packet to send [17:54:52]OFD Sender: No OFD packet to send [17:54:57]OFD Sender: No OFD packet to send [17:55:02]OFD Sender: No OFD packet to send [17:55:07]OFD Sender: No OFD packet to send [17:55:12]OFD Sender: No OFD packet to send [17:55:17]OFD Sender: No OFD packet to send [17:55:22]OFD Sender: No OFD packet to send [17:55:27]OFD Sender: No OFD packet to send [17:55:32]OFD Sender: No OFD packet to send [17:55:37]OFD Sender: No OFD packet to send [17:55:42]OFD Sender: No OFD packet to send [17:55:47]OFD Sender: No OFD packet to send [17:55:52]OFD Sender: No OFD packet to send [17:55:57]OFD Sender: No OFD packet to send [17:56:02]OFD Sender: No OFD packet to send [17:56:07]OFD Sender: No OFD packet to send [17:56:12]OFD Sender: No OFD packet to send [17:56:17]OFD Sender: No OFD packet to send [17:56:22]OFD Sender: No OFD packet to send [17:56:27]OFD Sender: No OFD packet to send [17:56:32]OFD Sender: No OFD packet to send [17:56:37]OFD Sender: No OFD packet to send [17:56:42]OFD Sender: No OFD packet to send [17:56:47]OFD Sender: No OFD packet to send [17:56:52]OFD Sender: No OFD packet to send [17:56:57]OFD Sender: No OFD packet to send [17:57:02]OFD Sender: No OFD packet to send [17:57:07]OFD Sender: No OFD packet to send [17:57:12]OFD Sender: No OFD packet to send [17:57:17]OFD Sender: No OFD packet to send [17:57:22]OFD Sender: No OFD packet to send [17:57:27]OFD Sender: No OFD packet to send [17:57:32]OFD Sender: No OFD packet to send [17:57:37]OFD Sender: No OFD packet to send [17:57:42]OFD Sender: No OFD packet to send [17:57:47]OFD Sender: No OFD packet to send [17:57:52]OFD Sender: No OFD packet to send [17:57:57]OFD Sender: No OFD packet to send [17:58:02]OFD Sender: No OFD packet to send [17:58:07]OFD Sender: No OFD packet to send [17:58:12]OFD Sender: No OFD packet to send [17:58:17]OFD Sender: No OFD packet to send [17:58:22]OFD Sender: No OFD packet to send [17:58:27]OFD Sender: No OFD packet to send [17:58:32]OFD Sender: No OFD packet to send [17:58:37]OFD Sender: No OFD packet to send [17:58:42]OFD Sender: No OFD packet to send [17:58:47]OFD Sender: No OFD packet to send [17:58:52]OFD Sender: No OFD packet to send [17:58:57]OFD Sender: No OFD packet to send [17:59:02]OFD Sender: No OFD packet to send [17:59:07]OFD Sender: No OFD packet to send [17:59:12]OFD Sender: No OFD packet to send [17:59:17]OFD Sender: No OFD packet to send [17:59:22]OFD Sender: No OFD packet to send [17:59:27]OFD Sender: No OFD packet to send [17:59:32]OFD Sender: No OFD packet to send [17:59:37]OFD Sender: No OFD packet to send [17:59:42]OFD Sender: No OFD packet to send [17:59:47]OFD Sender: No OFD packet to send [17:59:52]OFD Sender: No OFD packet to send [17:59:57]OFD Sender: No OFD packet to send [18:00:02]OFD Sender: No OFD packet to send [18:00:07]OFD Sender: No OFD packet to send [18:00:12]OFD Sender: No OFD packet to send [18:00:17]OFD Sender: No OFD packet to send [18:00:22]OFD Sender: No OFD packet to send [18:00:27]OFD Sender: No OFD packet to send [18:00:32]OFD Sender: No OFD packet to send [18:00:37]OFD Sender: No OFD packet to send [18:00:43]OFD Sender: No OFD packet to send [18:00:48]OFD Sender: No OFD packet to send [18:00:53]OFD Sender: No OFD packet to send [18:00:58]OFD Sender: No OFD packet to send [18:01:03]OFD Sender: No OFD packet to send [18:01:08]OFD Sender: No OFD packet to send [18:01:13]OFD Sender: No OFD packet to send [18:01:18]OFD Sender: No OFD packet to send [18:01:23]OFD Sender: No OFD packet to send [18:01:28]OFD Sender: No OFD packet to send [18:01:33]OFD Sender: No OFD packet to send [18:01:38]OFD Sender: No OFD packet to send [18:01:43]OFD Sender: No OFD packet to send [18:01:48]OFD Sender: No OFD packet to send [18:01:53]OFD Sender: No OFD packet to send [18:01:58]OFD Sender: No OFD packet to send [18:02:03]OFD Sender: No OFD packet to send [18:02:08]OFD Sender: No OFD packet to send [18:02:13]OFD Sender: No OFD packet to send [18:02:18]OFD Sender: No OFD packet to send [18:02:23]OFD Sender: No OFD packet to send [18:02:28]OFD Sender: No OFD packet to send [18:02:33]OFD Sender: No OFD packet to send [18:02:38]OFD Sender: No OFD packet to send [18:02:43]OFD Sender: No OFD packet to send [18:02:48]OFD Sender: No OFD packet to send [18:02:53]OFD Sender: No OFD packet to send [18:02:58]OFD Sender: No OFD packet to send [18:03:03]OFD Sender: No OFD packet to send [18:03:08]OFD Sender: No OFD packet to send [18:03:13]OFD Sender: No OFD packet to send [18:03:18]OFD Sender: No OFD packet to send [18:03:23]OFD Sender: No OFD packet to send [18:03:28]OFD Sender: No OFD packet to send [18:03:33]OFD Sender: No OFD packet to send [18:03:38]OFD Sender: No OFD packet to send [18:03:43]OFD Sender: No OFD packet to send [18:03:48]OFD Sender: No OFD packet to send [18:03:53]OFD Sender: No OFD packet to send [18:03:58]OFD Sender: No OFD packet to send [18:04:03]OFD Sender: No OFD packet to send [18:04:08]OFD Sender: No OFD packet to send [18:04:13]OFD Sender: No OFD packet to send [18:04:18]OFD Sender: No OFD packet to send [18:04:23]OFD Sender: No OFD packet to send [18:04:28]OFD Sender: No OFD packet to send [18:04:33]OFD Sender: No OFD packet to send [18:04:38]OFD Sender: No OFD packet to send [18:04:43]OFD Sender: No OFD packet to send [18:04:48]OFD Sender: No OFD packet to send [18:04:53]OFD Sender: No OFD packet to send [18:04:58]OFD Sender: No OFD packet to send [18:05:03]OFD Sender: No OFD packet to send [18:05:08]OFD Sender: No OFD packet to send [18:05:13]OFD Sender: No OFD packet to send [18:05:18]OFD Sender: No OFD packet to send [18:05:23]OFD Sender: No OFD packet to send [18:05:28]OFD Sender: No OFD packet to send [18:05:33]OFD Sender: No OFD packet to send [18:05:38]OFD Sender: No OFD packet to send [18:05:43]OFD Sender: No OFD packet to send [18:05:48]OFD Sender: No OFD packet to send [18:05:53]OFD Sender: No OFD packet to send [18:05:58]OFD Sender: No OFD packet to send [18:06:03]OFD Sender: No OFD packet to send [18:06:08]OFD Sender: No OFD packet to send [18:06:13]OFD Sender: No OFD packet to send [18:06:18]OFD Sender: No OFD packet to send [18:06:23]OFD Sender: No OFD packet to send [18:06:28]OFD Sender: No OFD packet to send [18:06:33]OFD Sender: No OFD packet to send [18:06:38]OFD Sender: No OFD packet to send [18:06:43]OFD Sender: No OFD packet to send [18:06:48]OFD Sender: No OFD packet to send [18:06:53]OFD Sender: No OFD packet to send [18:06:58]OFD Sender: No OFD packet to send [18:07:03]OFD Sender: No OFD packet to send [18:07:08]OFD Sender: No OFD packet to send [18:07:13]OFD Sender: No OFD packet to send [18:07:18]OFD Sender: No OFD packet to send [18:07:23]OFD Sender: No OFD packet to send [18:07:28]OFD Sender: No OFD packet to send [18:07:33]OFD Sender: No OFD packet to send [18:07:38]OFD Sender: No OFD packet to send [18:07:43]OFD Sender: No OFD packet to send [18:07:48]OFD Sender: No OFD packet to send [18:07:53]OFD Sender: No OFD packet to send [18:07:58]OFD Sender: No OFD packet to send [18:08:03]OFD Sender: No OFD packet to send [18:08:08]OFD Sender: No OFD packet to send [18:08:13]OFD Sender: No OFD packet to send [18:08:18]OFD Sender: No OFD packet to send [18:08:23]OFD Sender: No OFD packet to send [18:08:28]OFD Sender: No OFD packet to send [18:08:33]OFD Sender: No OFD packet to send [18:08:38]OFD Sender: No OFD packet to send [18:08:43]OFD Sender: No OFD packet to send [18:08:48]OFD Sender: No OFD packet to send [18:08:53]OFD Sender: No OFD packet to send [18:08:58]OFD Sender: No OFD packet to send [18:09:03]OFD Sender: No OFD packet to send [18:09:08]OFD Sender: No OFD packet to send [18:09:13]OFD Sender: No OFD packet to send [18:09:18]OFD Sender: No OFD packet to send [18:09:23]OFD Sender: No OFD packet to send [18:09:28]OFD Sender: No OFD packet to send [18:09:33]OFD Sender: No OFD packet to send [18:09:38]OFD Sender: No OFD packet to send [18:09:43]OFD Sender: No OFD packet to send [18:09:48]OFD Sender: No OFD packet to send [18:09:53]OFD Sender: No OFD packet to send [18:09:58]OFD Sender: No OFD packet to send [18:10:03]OFD Sender: No OFD packet to send [18:10:08]OFD Sender: No OFD packet to send [18:10:13]OFD Sender: No OFD packet to send [18:10:18]OFD Sender: No OFD packet to send [18:10:23]OFD Sender: No OFD packet to send [18:10:28]OFD Sender: No OFD packet to send [18:10:33]OFD Sender: No OFD packet to send [18:10:38]OFD Sender: No OFD packet to send [18:10:43]OFD Sender: No OFD packet to send [18:10:48]OFD Sender: No OFD packet to send [18:10:53]OFD Sender: No OFD packet to send [18:10:58]OFD Sender: No OFD packet to send [18:11:03]OFD Sender: No OFD packet to send [18:11:08]OFD Sender: No OFD packet to send [18:11:13]OFD Sender: No OFD packet to send [18:11:18]OFD Sender: No OFD packet to send [18:11:23]OFD Sender: No OFD packet to send [18:11:28]OFD Sender: No OFD packet to send [18:11:33]OFD Sender: No OFD packet to send [18:11:38]OFD Sender: No OFD packet to send [18:11:43]OFD Sender: No OFD packet to send [18:11:48]OFD Sender: No OFD packet to send [18:11:53]OFD Sender: No OFD packet to send [18:11:58]OFD Sender: No OFD packet to send [18:12:03]OFD Sender: No OFD packet to send [18:12:08]OFD Sender: No OFD packet to send [18:12:13]OFD Sender: No OFD packet to send [18:12:18]OFD Sender: No OFD packet to send [18:12:23]OFD Sender: No OFD packet to send [18:12:28]OFD Sender: No OFD packet to send [18:12:33]OFD Sender: No OFD packet to send [18:12:38]OFD Sender: No OFD packet to send [18:12:43]OFD Sender: No OFD packet to send [18:12:48]OFD Sender: No OFD packet to send [18:12:53]OFD Sender: No OFD packet to send [18:12:58]OFD Sender: No OFD packet to send [18:13:03]OFD Sender: No OFD packet to send [18:13:08]OFD Sender: No OFD packet to send [18:13:13]OFD Sender: No OFD packet to send [18:13:18]OFD Sender: No OFD packet to send [18:13:23]OFD Sender: No OFD packet to send [18:13:28]OFD Sender: No OFD packet to send [18:13:33]OFD Sender: No OFD packet to send [18:13:38]OFD Sender: No OFD packet to send [18:13:43]OFD Sender: No OFD packet to send [18:13:48]OFD Sender: No OFD packet to send [18:13:53]OFD Sender: No OFD packet to send [18:13:58]OFD Sender: No OFD packet to send [18:14:03]OFD Sender: No OFD packet to send [18:14:08]OFD Sender: No OFD packet to send [18:14:13]OFD Sender: No OFD packet to send [18:14:18]OFD Sender: No OFD packet to send [18:14:23]OFD Sender: No OFD packet to send [18:14:28]OFD Sender: No OFD packet to send [18:14:33]OFD Sender: No OFD packet to send [18:14:38]OFD Sender: No OFD packet to send [18:14:43]OFD Sender: No OFD packet to send [18:14:48]OFD Sender: No OFD packet to send [18:14:53]OFD Sender: No OFD packet to send [18:14:58]OFD Sender: No OFD packet to send [18:15:03]OFD Sender: No OFD packet to send [18:15:08]OFD Sender: No OFD packet to send [18:15:13]OFD Sender: No OFD packet to send [18:15:18]OFD Sender: No OFD packet to send [18:15:23]OFD Sender: No OFD packet to send [18:15:28]OFD Sender: No OFD packet to send [18:15:33]OFD Sender: No OFD packet to send [18:15:38]OFD Sender: No OFD packet to send [18:15:43]OFD Sender: No OFD packet to send [18:15:48]OFD Sender: No OFD packet to send [18:15:53]OFD Sender: No OFD packet to send [18:15:58]OFD Sender: No OFD packet to send [18:16:03]OFD Sender: No OFD packet to send [18:16:08]OFD Sender: No OFD packet to send [18:16:13]OFD Sender: No OFD packet to send [18:16:18]OFD Sender: No OFD packet to send [18:16:23]OFD Sender: No OFD packet to send [18:16:28]OFD Sender: No OFD packet to send [18:16:33]OFD Sender: No OFD packet to send [18:16:38]OFD Sender: No OFD packet to send [18:16:43]OFD Sender: No OFD packet to send [18:16:48]OFD Sender: No OFD packet to send [18:16:53]OFD Sender: No OFD packet to send [18:16:58]OFD Sender: No OFD packet to send [18:17:03]OFD Sender: No OFD packet to send [18:17:08]OFD Sender: No OFD packet to send [18:17:13]OFD Sender: No OFD packet to send [18:17:18]OFD Sender: No OFD packet to send [18:17:23]OFD Sender: No OFD packet to send [18:17:28]OFD Sender: No OFD packet to send [18:17:33]OFD Sender: No OFD packet to send [18:17:38]OFD Sender: No OFD packet to send [18:17:43]OFD Sender: No OFD packet to send [18:17:48]OFD Sender: No OFD packet to send [18:17:53]OFD Sender: No OFD packet to send [18:17:58]OFD Sender: No OFD packet to send [18:18:03]OFD Sender: No OFD packet to send [18:18:08]OFD Sender: No OFD packet to send [18:18:13]OFD Sender: No OFD packet to send [18:18:18]OFD Sender: No OFD packet to send [18:18:23]OFD Sender: No OFD packet to send [18:18:28]OFD Sender: No OFD packet to send [18:18:33]OFD Sender: No OFD packet to send [18:18:38]OFD Sender: No OFD packet to send [18:18:40]int [18:18:40]Write to MH i2c: 01 00 00 7C 02 7E [18:18:40]Write i2c OK [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 07 00 [18:18:40]MH_I2C_Read... [18:18:40]*** FLAG_PRN_KEY set [18:18:40]*** FLAG_PRN_KEY reset [18:18:40]Read from MH i2c: 01 07 00 7C 02 00 00 00 00 00 FF 0F 93 [18:18:40]state=0 [18:18:40]int [18:18:40]Write to MH i2c: 01 00 00 7D 02 7F [18:18:40]*** FLAG_PRN_KEY set [18:18:40]Write i2c OK [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 07 00 [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 07 00 7D 02 00 08 00 00 00 FF 0F 9C [18:18:40]state=0 [18:18:40]Key pressed [18:18:40]Feed [18:18:40]Write to MH i2c: D8 00 00 7E 02 57 [18:18:40]Write i2c OK [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: D8 [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: D8 01 00 [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: D8 01 00 7E 02 00 58 [18:18:40]int [18:18:40]Write to MH i2c: 01 00 00 7F 02 81 [18:18:40]Write i2c OK [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 07 00 [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 07 00 7F 02 00 48 00 00 00 3C 00 0C [18:18:40]state=2 [18:18:40]Key pressed [18:18:40]int [18:18:40]Write to MH i2c: 01 00 00 80 02 82 [18:18:40]*** FLAG_PRN_KEY reset [18:18:40]Write i2c OK [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 07 00 [18:18:40]MH_I2C_Read... [18:18:40]Read from MH i2c: 01 07 00 80 02 00 00 00 00 00 F5 0F 8D [18:18:40]state=2 [18:18:40]Stop feed [18:18:43]OFD Sender: No OFD packet to send [18:18:48]OFD Sender: No OFD packet to send [18:18:53]OFD Sender: No OFD packet to send [18:18:58]OFD Sender: No OFD packet to send [18:19:03]OFD Sender: No OFD packet to send [18:19:08]OFD Sender: No OFD packet to send [18:19:13]OFD Sender: No OFD packet to send [18:19:18]OFD Sender: No OFD packet to send [18:19:23]OFD Sender: No OFD packet to send [18:19:28]OFD Sender: No OFD packet to send [18:19:33]OFD Sender: No OFD packet to send [18:19:38]OFD Sender: No OFD packet to send [18:19:43]OFD Sender: No OFD packet to send [18:19:48]OFD Sender: No OFD packet to send [18:19:53]OFD Sender: No OFD packet to send [18:19:58]OFD Sender: No OFD packet to send [18:20:03]OFD Sender: No OFD packet to send [18:20:08]OFD Sender: No OFD packet to send [18:20:14]OFD Sender: No OFD packet to send [18:20:19]OFD Sender: No OFD packet to send [18:20:24]OFD Sender: No OFD packet to send [18:20:29]OFD Sender: No OFD packet to send [18:20:34]OFD Sender: No OFD packet to send [18:20:39]OFD Sender: No OFD packet to send [18:20:44]OFD Sender: No OFD packet to send [18:20:49]OFD Sender: No OFD packet to send [18:20:54]OFD Sender: No OFD packet to send [18:20:59]OFD Sender: No OFD packet to send [18:21:04]OFD Sender: No OFD packet to send [18:21:09]OFD Sender: No OFD packet to send [18:21:14]OFD Sender: No OFD packet to send [18:21:19]OFD Sender: No OFD packet to send [18:21:24]OFD Sender: No OFD packet to send [18:21:29]OFD Sender: No OFD packet to send [18:21:34]OFD Sender: No OFD packet to send [18:21:39]OFD Sender: No OFD packet to send [18:21:44]OFD Sender: No OFD packet to send [18:21:49]OFD Sender: No OFD packet to send [18:21:54]OFD Sender: No OFD packet to send [18:21:59]OFD Sender: No OFD packet to send [18:22:04]OFD Sender: No OFD packet to send [18:22:09]OFD Sender: No OFD packet to send [18:22:14]OFD Sender: No OFD packet to send [18:22:19]OFD Sender: No OFD packet to send [18:22:24]OFD Sender: No OFD packet to send [18:22:29]OFD Sender: No OFD packet to send [18:22:34]OFD Sender: No OFD packet to send [18:22:39]OFD Sender: No OFD packet to send [18:22:44]OFD Sender: No OFD packet to send [18:22:49]OFD Sender: No OFD packet to send [18:22:54]OFD Sender: No OFD packet to send [18:22:59]OFD Sender: No OFD packet to send [18:23:04]OFD Sender: No OFD packet to send [18:23:09]OFD Sender: No OFD packet to send [18:23:14]OFD Sender: No OFD packet to send [18:23:19]OFD Sender: No OFD packet to send [18:23:24]OFD Sender: No OFD packet to send [18:23:29]OFD Sender: No OFD packet to send [18:23:34]OFD Sender: No OFD packet to send [18:23:39]OFD Sender: No OFD packet to send [18:23:44]OFD Sender: No OFD packet to send [18:23:49]OFD Sender: No OFD packet to send [18:23:54]OFD Sender: No OFD packet to send [18:23:59]OFD Sender: No OFD packet to send [18:24:04]OFD Sender: No OFD packet to send [18:24:09]OFD Sender: No OFD packet to send [18:24:14]OFD Sender: No OFD packet to send [18:24:19]OFD Sender: No OFD packet to send [18:24:24]OFD Sender: No OFD packet to send [18:24:29]OFD Sender: No OFD packet to send [18:24:34]OFD Sender: No OFD packet to send [18:24:39]OFD Sender: No OFD packet to send [18:24:44]OFD Sender: No OFD packet to send [18:24:49]OFD Sender: No OFD packet to send [18:24:54]OFD Sender: No OFD packet to send [18:24:59]OFD Sender: No OFD packet to send [18:25:04]OFD Sender: No OFD packet to send [18:25:09]OFD Sender: No OFD packet to send [18:25:14]OFD Sender: No OFD packet to send [18:25:19]OFD Sender: No OFD packet to send [18:25:24]OFD Sender: No OFD packet to send [18:25:29]OFD Sender: No OFD packet to send [18:25:34]OFD Sender: No OFD packet to send [18:25:39]OFD Sender: No OFD packet to send [18:25:44]OFD Sender: No OFD packet to send [18:25:49]OFD Sender: No OFD packet to send [18:25:54]OFD Sender: No OFD packet to send [18:25:59]OFD Sender: No OFD packet to send [18:26:04]OFD Sender: No OFD packet to send [18:26:09]OFD Sender: No OFD packet to send [18:26:14]OFD Sender: No OFD packet to send [18:26:19]OFD Sender: No OFD packet to send [18:26:24]OFD Sender: No OFD packet to send [18:26:29]OFD Sender: No OFD packet to send [18:26:34]OFD Sender: No OFD packet to send [18:26:39]OFD Sender: No OFD packet to send [18:26:44]OFD Sender: No OFD packet to send [18:26:49]OFD Sender: No OFD packet to send [18:26:54]OFD Sender: No OFD packet to send [18:26:59]OFD Sender: No OFD packet to send [18:27:04]OFD Sender: No OFD packet to send [18:27:09]OFD Sender: No OFD packet to send [18:27:14]OFD Sender: No OFD packet to send [18:27:19]OFD Sender: No OFD packet to send [18:27:24]OFD Sender: No OFD packet to send [18:27:29]OFD Sender: No OFD packet to send [18:27:34]OFD Sender: No OFD packet to send [18:27:39]OFD Sender: No OFD packet to send [18:27:44]OFD Sender: No OFD packet to send [18:27:49]OFD Sender: No OFD packet to send [18:27:54]OFD Sender: No OFD packet to send [18:27:59]OFD Sender: No OFD packet to send [18:28:04]OFD Sender: No OFD packet to send [18:28:09]OFD Sender: No OFD packet to send [18:28:14]OFD Sender: No OFD packet to send [18:28:19]OFD Sender: No OFD packet to send [18:28:24]OFD Sender: No OFD packet to send [18:28:29]OFD Sender: No OFD packet to send [18:28:34]OFD Sender: No OFD packet to send [18:28:39]OFD Sender: No OFD packet to send [18:28:44]OFD Sender: No OFD packet to send [18:28:49]OFD Sender: No OFD packet to send [18:28:54]OFD Sender: No OFD packet to send [18:28:59]OFD Sender: No OFD packet to send [18:29:04]OFD Sender: No OFD packet to send [18:29:09]OFD Sender: No OFD packet to send [18:29:14]OFD Sender: No OFD packet to send [18:29:19]OFD Sender: No OFD packet to send [18:29:24]OFD Sender: No OFD packet to send [18:29:29]OFD Sender: No OFD packet to send [18:29:34]OFD Sender: No OFD packet to send [18:29:39]OFD Sender: No OFD packet to send [18:29:44]OFD Sender: No OFD packet to send [18:29:49]OFD Sender: No OFD packet to send [18:29:54]OFD Sender: No OFD packet to send [18:29:59]OFD Sender: No OFD packet to send [18:30:04]OFD Sender: No OFD packet to send [18:30:09]OFD Sender: No OFD packet to send [18:30:14]OFD Sender: No OFD packet to send [18:30:19]OFD Sender: No OFD packet to send [18:30:24]OFD Sender: No OFD packet to send [18:30:28]accept exits with 9 [18:30:28]New connection [18:30:28]New thread 3066858852 created [18:30:28]Thread 3066715492 joined [18:30:28]Waiting for new connection... [18:30:28] Sock 9.Parse request [18:30:28]Sock 9.Check first char [18:30:28]Sock 9.First char is OK [18:30:28]request: POST /json_proto HTTP/1.0 [18:30:28]Method: POST [18:30:28]URL: /json_proto [18:30:28]Method is POST - this is cgi request [18:30:28]url: /json_proto [18:30:28]query_string will be loaded in cgi processing [18:30:28]execute_cgi json_proto POST (null) [18:30:28]execute_cgi path=json_proto method=POST [18:30:28]POST find Content-Length [18:30:28]Host: 172.17.42.3:8080 [18:30:28]Content-Length: 681 [18:30:28]Content-Type: application/json [18:30:28] [18:30:28]POST finish read [18:30:28]Found Content-Length = 681 [18:30:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46392", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:30:28]execute_script... [18:30: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)46392", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:30:28]POST & json_proto [18:30:28]process_json_proto [18:30:28]json parsed OK: [18:30:28]protocol is kg_v1.0 [18:30:28]action value=close_receipt [18:30:28]process_action close_receipt [18:30:28]cmd_close_receipt [18:30:28]MH_GetDate [18:30:28]Write to MH i2c: F0 00 00 81 02 72 [18:30:28]Write i2c OK [18:30:28]MH_I2C_Read... [18:30:28]Read from MH i2c: F0 [18:30:28]MH_I2C_Read... [18:30:28]Read from MH i2c: F0 09 00 [18:30:28]MH_I2C_Read... [18:30:28]Read from MH i2c: F0 09 00 81 02 00 C6 29 21 67 28 A1 20 67 42 [18:30:28]GetLastDocTimeStamp 1730224215 [18:30:28]current date 1730226630 [18:30:28]FM_GetShiftState [18:30:28]SAM_PROTO_GetShiftState [18:30:28]wFMCommunicate request_size=4 [18:30:28]MH_SAM_APDU [18:30:28]CAPDU: 80 13 01 00 [18:30:28]Write to MH i2c: E2 08 00 82 02 80 13 01 00 00 00 00 00 01 [18:30:28]Write i2c OK [18:30:28]MH_I2C_Read... [18:30:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:30:28]Read from MH i2c: E2 [18:30:28]MH_I2C_Read... [18:30:28]Read from MH i2c: E2 0E 00 [18:30:28]MH_I2C_Read... [18:30:28]Read from MH i2c: E2 0E 00 82 02 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 B1 [18:30:28]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [18:30:28]wFMCommunicate OK [18:30:28]SAM_PROTO_GetShiftState done [18:30:28]FM_GetShiftState done [18:30:28]opened in 1730160885 [18:30:28]opened+sec_in_day 1730247285 [18:30:28]quantity*price = 100015 [18:30:28]sum+1 = 100017 [18:30:28]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.16 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 121 29.10.2024 18:30 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68398 ФПД: 245729836568142 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183030&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68398&fm=245729836568142&tin=02508201610067®Number=0000000000091759&sum=100000 [18:30:30]StoreToDocumentArchive [18:30:30]shift 548 fd 68398 [18:30:30]save to /storage/0548/doc_00068398 [18:30:30]save last doc name /storage/0548/doc_00068398 to /storage/kkm_last_doc_name [18:30:30]save OK [18:30:30]Clear old archive folders... [18:30:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:30:30]tlvbuf is 01DFC3A0 [18:30:30]SAM_PROTO_ClearQueue [18:30:30]wFMCommunicate request_size=4 [18:30:30]MH_SAM_APDU [18:30:30]CAPDU: 80 09 00 00 [18:30:30]Write to MH i2c: E2 08 00 8F 02 80 09 00 00 00 00 00 00 03 [18:30:30]Write i2c OK [18:30:30]MH_I2C_Read... [18:30:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:30:30]Read from MH i2c: E2 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 03 00 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 03 00 8F 02 00 90 00 05 [18:30:30]RAPDU: 90 00 [18:30:30]wFMCommunicate OK [18:30:30]SAM_PROTO_ClearQueue done [18:30:30]KKMCreateOFDPacket [18:30:30]OFDProtocolAddRootSTLVToBuf [18:30:30]FM_MakeSignedData [18:30:30]FM_MakeSignedData [18:30:30]SAM_PROTO_SignData [18:30:30]wFMCommunicate request_size=4 [18:30:30]MH_SAM_APDU [18:30:30]CAPDU: 80 0D 01 02 [18:30:30]Write to MH i2c: E2 08 00 90 02 80 0D 01 02 00 00 00 00 0B [18:30:30]Write i2c OK [18:30:30]MH_I2C_Read... [18:30:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:30:30]Read from MH i2c: E2 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 03 00 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 03 00 90 02 00 90 00 06 [18:30:30]RAPDU: 90 00 [18:30:30]wFMCommunicate OK [18:30:30]wFMCommunicate request_size=255 [18:30:30]MH_SAM_APDU [18:30: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 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 79 00 00 00 F4 03 04 00 C6 29 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2E 0B 01 00 35 04 06 00 DF [18:30:30]Write to MH i2c: E2 02 01 91 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 79 00 00 00 F4 03 04 00 C6 29 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2E 0B 01 00 35 04 06 00 DF 00 00 CD [18:30:30]Write i2c OK [18:30:30]MH_I2C_Read... [18:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:30]Read from MH i2c: E2 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 03 00 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 03 00 91 02 00 90 00 07 [18:30:30]RAPDU: 90 00 [18:30:30]wFMCommunicate OK [18:30:30]wFMCommunicate request_size=10 [18:30:30]MH_SAM_APDU [18:30:30]CAPDU: 80 0D 02 02 05 7D 6F 9E 8E 4E [18:30:30]Write to MH i2c: E2 0D 00 92 02 80 0D 02 02 05 00 7D 6F 9E 8E 4E 00 00 7E [18:30:30]Write i2c OK [18:30:30]MH_I2C_Read... [18:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:30]Read from MH i2c: E2 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 03 00 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 03 00 92 02 00 90 00 08 [18:30:30]RAPDU: 90 00 [18:30:30]wFMCommunicate OK [18:30:30]wFMCommunicate request_size=4 [18:30:30]MH_SAM_APDU [18:30:30]CAPDU: 80 0D 03 02 [18:30:30]Write to MH i2c: E2 08 00 93 02 80 0D 03 02 00 00 00 00 10 [18:30:30]Write i2c OK [18:30:30]MH_I2C_Read... [18:30:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:30:30]Read from MH i2c: E2 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 0B 00 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 0B 00 93 02 00 32 2F 32 A7 A1 43 98 57 90 00 1E [18:30:30]RAPDU: 32 2F 32 A7 A1 43 98 57 90 00 [18:30:30]wFMCommunicate OK [18:30:30]SAM_PROTO_SignData done [18:30:30]FM_MakeSignedData done [18:30:30]CreateOFDProtocolMessage [18:30:30]wFMCommunicate request_size=4 [18:30:30]MH_SAM_APDU [18:30:30]CAPDU: 80 11 00 00 [18:30:30]Write to MH i2c: E2 08 00 94 02 80 11 00 00 00 00 00 00 10 [18:30:30]Write i2c OK [18:30:30]MH_I2C_Read... [18:30:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:30]Read from MH i2c: E2 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 17 00 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: E2 17 00 94 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 67 [18:30:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:30:30]wFMCommunicate OK [18:30:30]CreateOFDProtocolMessage done [18:30:30]OFDSenderStorePacket 68398 [18:30:30]StoreOFDPacket docnum=68398 [18:30:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 9C 49 07 01 30 46 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 79 00 00 00 F4 03 04 00 C6 29 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2E 0B 01 00 35 04 06 00 DF 7D 6F 9E 8E 4E 32 2F 32 A7 A1 43 98 57 [18:30:30]CheckFolder [18:30:30]dirname=/storage/ofd_packets [18:30:30]CheckFolder done [18:30:30]ProducePacketName [18:30:30]name=ofd_packets/00068398 [18:30:30]NVStorageSaveData ofd_packets/00068398 [18:30:30]File name is /storage/ofd_packets/00068398 [18:30:30]Write 301 bytes [18:30:30]NVStorageSaveData done [18:30:30]OFDSenderStorePacket done [18:30:30]KKMCreateOFDPacket done [18:30:30]NVStorageSaveData kkm_last_timestamp [18:30:30]File name is /storage/kkm_last_timestamp [18:30:30]Write 4 bytes [18:30:30]NVStorageSaveData done [18:30:30]OFD Sender: Processing packet 68398 [packets to send 28, broken 27] [18:30:30]ProducePacketName [18:30:30]name=ofd_packets/00068398 [18:30:30]OFD Sender: To server: pG, [18:30:30]CommunicateWithHost lk.salyk.kg:30040 [18:30:30]ConnectInit lk.salyk.kg [18:30:30]ExternCall_PrintAddStr [18:30:30]wPrintStart [18:30:30]Write to MH i2c: 01 00 00 95 02 97 [18:30:30]Write i2c OK [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: 01 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: 01 07 00 [18:30:30]MH_I2C_Read... [18:30:30]Read from MH i2c: 01 07 00 95 02 00 00 00 00 00 FF 0F AC [18:30:30]RasterBufferAndPrint [18:30:30]line Счет N : (1)46392 [18:30:30]line ИНН: 02508201610067 [18:30:30]line Контрольно-Кассовый Чек [18:30:30]line ПРОДАЖА [18:30:30]line ТРК (МРК, ГНК) : 33 [18:30:30]line Товар: 2710124130 [18:30:30]line Аи-92-К-5 [18:30:30]line 14.950 * 66.90 [18:30:30]line = 1000.16 [18:30:30]line НДС 12% НСП 1% [18:30:30]line > о реализуемом товаре [18:30:30]line ОКРУГЛЕНИЕ: -0.16 [18:30:30]line ИТОГО: 1000.00 [18:30:30]line Внесено: 1000.00 [18:30:30]line СДАЧА: 0.00 [18:30:30]line НСП 1% : 8.85 [18:30:30]line НДС 12% : 106.21 [18:30:30]line Наличными: 1000.00 [18:30:30]line Безнал.: 0.00 [18:30:30]line Место: АЗС № 160 "Партнер Нефть" [18:30:30]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:30:30]line СНО: Общий режим [18:30:30]line Чек 121 29.10.2024 18:30 [18:30:30]line Смена: 548 ФФД: 1.0 [18:30:30]line ЗНМ: 0300000093 [18:30:30]line РНМ: 0000000000091759 [18:30:30]line Версия ККМ: 001 [18:30:30]line ФМ: 0000000000871758 [18:30:30]line ФД: 68398 [18:30:30]line ФПД: 245729836568142 [18:30:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183030&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68398&fm=245729836568142&tin=02508201610067®Number=0000000000091759&sum=100000 [18:30:30]Connected sock=11 [18:30:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 9C 49 07 01 30 46 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 79 00 00 00 F4 03 04 00 C6 29 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2E 0B 01 00 35 04 06 00 DF 7D 6F 9E 8E 4E 32 2F 32 A7 A1 43 98 57 [18:30:30]written 0, free lines is 4095 [18:30:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B6 BE 47 00 A7 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2E 0B 01 00 F4 03 04 00 6D D5 20 67 B6 04 01 00 00 41 4E BA E7 40 53 4B 26 [18:30:31]CommunicateWithHost err = 0 [18:30:31]CheckOFDResponse [18:30:31]1017 (14) - 77093643461234 [18:30:31]1041 (16) - 0000000000871758 [18:30:31]1040 (4) - 68398 [18:30:31]1012 (4) - 29.10.2024 12:30 [18:30:31]1206 (1) - 0 [18:30:31]OFD Sender: Remove packet 68398 [18:30:31]ProducePacketName [18:30:31]name=ofd_packets/00068398 [18:30:31]NVStorageDeleteData [18:30:31]Write to MH i2c: 01 00 00 BF 02 C1 [18:30:31]Write i2c OK [18:30:31]MH_I2C_Read... [18:30:31]Read from MH i2c: 01 [18:30:31]MH_I2C_Read... [18:30:31]Read from MH i2c: 01 07 00 [18:30:31]MH_I2C_Read... [18:30:31]Read from MH i2c: 01 07 00 BF 02 00 00 00 00 00 DA 0C AE [18:30:31]RasterBufferAndPrint [18:30:31]line [18:30:31]line [18:30:31]line [18:30:31]line [18:30:31]line [18:30:31]written 0, free lines is 3296 [18:30:31]MH_Cut [18:30:31]Write to MH i2c: D1 01 00 C6 02 01 9A [18:30:31]Write i2c OK [18:30:31]MH_I2C_Read... [18:30:31]Read from MH i2c: D1 [18:30:31]MH_I2C_Read... [18:30:31]Read from MH i2c: D1 01 00 [18:30:31]MH_I2C_Read... [18:30:31]Read from MH i2c: D1 01 00 C6 02 00 99 [18:30:31]Write to MH i2c: 01 00 00 C7 02 C9 [18:30:31]Write i2c OK [18:30:31]MH_I2C_Read... [18:30:31]OFD Sender: No OFD packet to send [18:30:32]*** Cut start [18:30:32]*** Partial cut [18:30:32]*** CUTSNS_PIN = 1 [18:30:32]*** CUTSNS_PIN = 0 [18:30:32]*** Brake cut motor [18:30:32]Read from MH i2c: 01 [18:30:32]MH_I2C_Read... [18:30:32]*** Stop cut motor [18:30:32]*** Cut end [18:30:32]Read from MH i2c: 01 07 00 [18:30:32]MH_I2C_Read... [18:30:32]Read from MH i2c: 01 07 00 C7 02 00 00 00 00 00 FF 0F DE [18:30:32]process_action close_receipt done [18:30:32]requested_data is exist [18:30:32]produce_requested_data [18:30:32]requested_item fm.sn is exist - process it [18:30:32]wFMCommunicate request_size=4 [18:30:32]MH_SAM_APDU [18:30:32]CAPDU: 80 11 00 00 [18:30:32]Write to MH i2c: E2 08 00 C8 02 80 11 00 00 00 00 00 00 44 [18:30:32]Write i2c OK [18:30:32]MH_I2C_Read... [18:30:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:32]Read from MH i2c: E2 [18:30:32]MH_I2C_Read... [18:30:32]Read from MH i2c: E2 17 00 [18:30:32]MH_I2C_Read... [18:30:32]Read from MH i2c: E2 17 00 C8 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9B [18:30:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:30:32]wFMCommunicate OK [18:30:32]requested_item fd.num is exist - process it [18:30:32]SAM_PROTO_GetFieldsCounters [18:30:32]wFMCommunicate request_size=4 [18:30:32]MH_SAM_APDU [18:30:32]CAPDU: 80 13 00 00 [18:30:32]Write to MH i2c: E2 08 00 C9 02 80 13 00 00 00 00 00 00 47 [18:30:32]Write i2c OK [18:30:32]MH_I2C_Read... [18:30:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:30:32]Read from MH i2c: E2 [18:30:32]MH_I2C_Read... [18:30:32]Read from MH i2c: E2 62 00 [18:30:32]MH_I2C_Read... [18:30:32]Read from MH i2c: E2 62 00 C9 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 79 00 00 00 5E 04 04 00 79 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [18:30:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 79 00 00 00 5E 04 04 00 79 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:30:32]wFMCommunicate OK [18:30:32]SAM_PROTO_GetFieldsCounters done [18:30:32]requested_item shift.num is exist - process it [18:30:32]requested_item shift.opened is exist - process it [18:30:32]req_shift_opened [18:30:32]FM_GetShiftState [18:30:32]SAM_PROTO_GetShiftState [18:30:32]wFMCommunicate request_size=4 [18:30:32]MH_SAM_APDU [18:30:32]CAPDU: 80 13 01 00 [18:30:32]Write to MH i2c: E2 08 00 CA 02 80 13 01 00 00 00 00 00 49 [18:30:32]Write i2c OK [18:30:32]MH_I2C_Read... [18:30:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:30:33]Read from MH i2c: E2 [18:30:33]MH_I2C_Read... [18:30:33]Read from MH i2c: E2 0E 00 [18:30:33]MH_I2C_Read... [18:30:33]Read from MH i2c: E2 0E 00 CA 02 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 F9 [18:30:33]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [18:30:33]wFMCommunicate OK [18:30:33]SAM_PROTO_GetShiftState done [18:30:33]FM_GetShiftState done [18:30:33]req_shift_opened done [18:30:33]requested_item shift.open_date is exist - process it [18:30:33]req_shift_open_date [18:30:33]req_shift_open_date done [18:30:33]produce_requested_data done [18:30:33]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68398,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [18:30:33]process_action_free close_receipt [18:30:33]json_value_free [18:30:33]json_value_free done [18:30:33]process_json_proto returns [18:30:33]Send response to host [18:30:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68398,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [18:30:33]free response buf [18:30:33]execute_script done [18:30:33]execute_script returns [18:30:33]free content buf [18:30:33]Sock 9.Close socket [18:30:33]Sock 9.Thread stoped [18:30:36]OFD Sender: No OFD packet to send [18:30:41]OFD Sender: No OFD packet to send [18:30:46]OFD Sender: No OFD packet to send [18:30:51]OFD Sender: No OFD packet to send [18:30:56]OFD Sender: No OFD packet to send [18:31:01]OFD Sender: No OFD packet to send [18:31:06]OFD Sender: No OFD packet to send [18:31:11]OFD Sender: No OFD packet to send [18:31:16]OFD Sender: No OFD packet to send [18:31:21]OFD Sender: No OFD packet to send [18:31:26]OFD Sender: No OFD packet to send [18:31:31]OFD Sender: No OFD packet to send [18:31:36]OFD Sender: No OFD packet to send [18:31:41]OFD Sender: No OFD packet to send [18:31:46]OFD Sender: No OFD packet to send [18:31:51]OFD Sender: No OFD packet to send [18:31:56]OFD Sender: No OFD packet to send [18:32:01]OFD Sender: No OFD packet to send [18:32:06]OFD Sender: No OFD packet to send [18:32:11]OFD Sender: No OFD packet to send [18:32:16]OFD Sender: No OFD packet to send [18:32:21]OFD Sender: No OFD packet to send [18:32:26]OFD Sender: No OFD packet to send [18:32:31]OFD Sender: No OFD packet to send [18:32:36]OFD Sender: No OFD packet to send [18:32:41]OFD Sender: No OFD packet to send [18:32:46]OFD Sender: No OFD packet to send [18:32:51]OFD Sender: No OFD packet to send [18:32:56]OFD Sender: No OFD packet to send [18:33:01]OFD Sender: No OFD packet to send [18:33:06]OFD Sender: No OFD packet to send [18:33:11]OFD Sender: No OFD packet to send [18:33:16]OFD Sender: No OFD packet to send [18:33:21]OFD Sender: No OFD packet to send [18:33:26]OFD Sender: No OFD packet to send [18:33:31]OFD Sender: No OFD packet to send [18:33:36]OFD Sender: No OFD packet to send [18:33:41]OFD Sender: No OFD packet to send [18:33:46]OFD Sender: No OFD packet to send [18:33:51]OFD Sender: No OFD packet to send [18:33:56]OFD Sender: No OFD packet to send [18:34:01]OFD Sender: No OFD packet to send [18:34:06]OFD Sender: No OFD packet to send [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]OFD Sender: No OFD packet to send [18:34:41]OFD Sender: No OFD packet to send [18:34:46]OFD Sender: No OFD packet to send [18:34:51]OFD Sender: No OFD packet to send [18:34:56]OFD Sender: No OFD packet to send [18:35:01]OFD Sender: No OFD packet to send [18:35:06]OFD Sender: No OFD packet to send [18:35:11]OFD Sender: No OFD packet to send [18:35:16]OFD Sender: No OFD packet to send [18:35:21]OFD Sender: No OFD packet to send [18:35:26]OFD Sender: No OFD packet to send [18:35:31]OFD Sender: No OFD packet to send [18:35:36]OFD Sender: No OFD packet to send [18:35:41]OFD Sender: No OFD packet to send [18:35:46]OFD Sender: No OFD packet to send [18:35:51]OFD Sender: No OFD packet to send [18:35:56]OFD Sender: No OFD packet to send [18:36:01]OFD Sender: No OFD packet to send [18:36:06]OFD Sender: No OFD packet to send [18:36:11]OFD Sender: No OFD packet to send [18:36:16]OFD Sender: No OFD packet to send [18:36:21]OFD Sender: No OFD packet to send [18:36:26]OFD Sender: No OFD packet to send [18:36:31]OFD Sender: No OFD packet to send [18:36:36]OFD Sender: No OFD packet to send [18:36:41]OFD Sender: No OFD packet to send [18:36:46]OFD Sender: No OFD packet to send [18:36:51]OFD Sender: No OFD packet to send [18:36:56]OFD Sender: No OFD packet to send [18:37:01]OFD Sender: No OFD packet to send [18:37:06]OFD Sender: No OFD packet to send [18:37:11]OFD Sender: No OFD packet to send [18:37:16]OFD Sender: No OFD packet to send [18:37:21]OFD Sender: No OFD packet to send [18:37:26]OFD Sender: No OFD packet to send [18:37:31]OFD Sender: No OFD packet to send [18:37:36]OFD Sender: No OFD packet to send [18:37:41]OFD Sender: No OFD packet to send [18:37:46]OFD Sender: No OFD packet to send [18:37:51]OFD Sender: No OFD packet to send [18:37:56]OFD Sender: No OFD packet to send [18:38:01]OFD Sender: No OFD packet to send [18:38:06]OFD Sender: No OFD packet to send [18:38:11]OFD Sender: No OFD packet to send [18:38:16]OFD Sender: No OFD packet to send [18:38:21]OFD Sender: No OFD packet to send [18:38:27]OFD Sender: No OFD packet to send [18:38:32]OFD Sender: No OFD packet to send [18:38:37]OFD Sender: No OFD packet to send [18:38:42]OFD Sender: No OFD packet to send [18:38:47]OFD Sender: No OFD packet to send [18:38:52]OFD Sender: No OFD packet to send [18:38:57]OFD Sender: No OFD packet to send [18:39:02]OFD Sender: No OFD packet to send [18:39:07]OFD Sender: No OFD packet to send [18:39:12]OFD Sender: No OFD packet to send [18:39:17]OFD Sender: No OFD packet to send [18:39:22]OFD Sender: No OFD packet to send [18:39:27]OFD Sender: No OFD packet to send [18:39:32]OFD Sender: No OFD packet to send [18:39:37]OFD Sender: No OFD packet to send [18:39:42]OFD Sender: No OFD packet to send [18:39:47]OFD Sender: No OFD packet to send [18:39:52]OFD Sender: No OFD packet to send [18:39:57]OFD Sender: No OFD packet to send [18:40:02]OFD Sender: No OFD packet to send [18:40:07]OFD Sender: No OFD packet to send [18:40:12]OFD Sender: No OFD packet to send [18:40:17]OFD Sender: No OFD packet to send [18:40:22]OFD Sender: No OFD packet to send [18:40:27]OFD Sender: No OFD packet to send [18:40:32]OFD Sender: No OFD packet to send [18:40:37]OFD Sender: No OFD packet to send [18:40:42]OFD Sender: No OFD packet to send [18:40:47]OFD Sender: No OFD packet to send [18:40:52]OFD Sender: No OFD packet to send [18:40:57]OFD Sender: No OFD packet to send [18:41:02]OFD Sender: No OFD packet to send [18:41:07]OFD Sender: No OFD packet to send [18:41:12]OFD Sender: No OFD packet to send [18:41:17]OFD Sender: No OFD packet to send [18:41:22]OFD Sender: No OFD packet to send [18:41:27]OFD Sender: No OFD packet to send [18:41:32]OFD Sender: No OFD packet to send [18:41:37]OFD Sender: No OFD packet to send [18:41:42]OFD Sender: No OFD packet to send [18:41:47]OFD Sender: No OFD packet to send [18:41:52]OFD Sender: No OFD packet to send [18:41:57]OFD Sender: No OFD packet to send [18:42:02]OFD Sender: No OFD packet to send [18:42:07]OFD Sender: No OFD packet to send [18:42:12]OFD Sender: No OFD packet to send [18:42:17]OFD Sender: No OFD packet to send [18:42:22]OFD Sender: No OFD packet to send [18:42:27]OFD Sender: No OFD packet to send [18:42:32]OFD Sender: No OFD packet to send [18:42:37]OFD Sender: No OFD packet to send [18:42:42]OFD Sender: No OFD packet to send [18:42:47]OFD Sender: No OFD packet to send [18:42:52]OFD Sender: No OFD packet to send [18:42:57]OFD Sender: No OFD packet to send [18:43:02]OFD Sender: No OFD packet to send [18:43:07]OFD Sender: No OFD packet to send [18:43:12]OFD Sender: No OFD packet to send [18:43:17]OFD Sender: No OFD packet to send [18:43:22]OFD Sender: No OFD packet to send [18:43:27]OFD Sender: No OFD packet to send [18:43:32]OFD Sender: No OFD packet to send [18:43:37]OFD Sender: No OFD packet to send [18:43:42]OFD Sender: No OFD packet to send [18:43:47]OFD Sender: No OFD packet to send [18:43:52]OFD Sender: No OFD packet to send [18:43:57]OFD Sender: No OFD packet to send [18:44:02]OFD Sender: No OFD packet to send [18:44:07]OFD Sender: No OFD packet to send [18:44:12]OFD Sender: No OFD packet to send [18:44:17]OFD Sender: No OFD packet to send [18:44:22]OFD Sender: No OFD packet to send [18:44:27]OFD Sender: No OFD packet to send [18:44:32]OFD Sender: No OFD packet to send [18:44:37]OFD Sender: No OFD packet to send [18:44:42]OFD Sender: No OFD packet to send [18:44:47]OFD Sender: No OFD packet to send [18:44:52]OFD Sender: No OFD packet to send [18:44:57]OFD Sender: No OFD packet to send [18:45:02]OFD Sender: No OFD packet to send [18:45:07]OFD Sender: No OFD packet to send [18:45:12]OFD Sender: No OFD packet to send [18:45:17]OFD Sender: No OFD packet to send [18:45:22]OFD Sender: No OFD packet to send [18:45:27]OFD Sender: No OFD packet to send [18:45:32]OFD Sender: No OFD packet to send [18:45:37]OFD Sender: No OFD packet to send [18:45:42]OFD Sender: No OFD packet to send [18:45:47]OFD Sender: No OFD packet to send [18:45:52]OFD Sender: No OFD packet to send [18:45:57]OFD Sender: No OFD packet to send [18:46:02]OFD Sender: No OFD packet to send [18:46:07]OFD Sender: No OFD packet to send [18:46:12]OFD Sender: No OFD packet to send [18:46:17]OFD Sender: No OFD packet to send [18:46:22]OFD Sender: No OFD packet to send [18:46:27]OFD Sender: No OFD packet to send [18:46:32]OFD Sender: No OFD packet to send [18:46:37]OFD Sender: No OFD packet to send [18:46:42]OFD Sender: No OFD packet to send [18:46:47]OFD Sender: No OFD packet to send [18:46:52]OFD Sender: No OFD packet to send [18:46:57]OFD Sender: No OFD packet to send [18:47:02]OFD Sender: No OFD packet to send [18:47:07]OFD Sender: No OFD packet to send [18:47:12]OFD Sender: No OFD packet to send [18:47:17]OFD Sender: No OFD packet to send [18:47:22]OFD Sender: No OFD packet to send [18:47:27]OFD Sender: No OFD packet to send [18:47:32]OFD Sender: No OFD packet to send [18:47:37]OFD Sender: No OFD packet to send [18:47:42]OFD Sender: No OFD packet to send [18:47:47]OFD Sender: No OFD packet to send [18:47:52]OFD Sender: No OFD packet to send [18:47:57]OFD Sender: No OFD packet to send [18:48:02]OFD Sender: No OFD packet to send [18:48:07]OFD Sender: No OFD packet to send [18:48:12]OFD Sender: No OFD packet to send [18:48:17]OFD Sender: No OFD packet to send [18:48:22]OFD Sender: No OFD packet to send [18:48:27]OFD Sender: No OFD packet to send [18:48:32]OFD Sender: No OFD packet to send [18:48:37]OFD Sender: No OFD packet to send [18:48:42]OFD Sender: No OFD packet to send [18:48:47]OFD Sender: No OFD packet to send [18:48:52]OFD Sender: No OFD packet to send [18:48:57]OFD Sender: No OFD packet to send [18:49:02]OFD Sender: No OFD packet to send [18:49:07]OFD Sender: No OFD packet to send [18:49:12]OFD Sender: No OFD packet to send [18:49:17]OFD Sender: No OFD packet to send [18:49:21]accept exits with 8 [18:49:21]New connection [18:49:21]New thread 3066715492 created [18:49:21]Thread 3066858852 joined [18:49:21]Waiting for new connection... [18:49:21] Sock 8.Parse request [18:49:21]Sock 8.Check first char [18:49:21]Sock 8.First char is OK [18:49:21]request: POST /json_proto HTTP/1.0 [18:49:21]Method: POST [18:49:21]URL: /json_proto [18:49:21]Method is POST - this is cgi request [18:49:21]url: /json_proto [18:49:21]query_string will be loaded in cgi processing [18:49:21]execute_cgi json_proto POST (null) [18:49:21]execute_cgi path=json_proto method=POST [18:49:21]POST find Content-Length [18:49:21]Host: 172.17.42.3:8080 [18:49:21]Content-Length: 681 [18:49:21]Content-Type: application/json [18:49:21] [18:49:21]POST finish read [18:49:21]Found Content-Length = 681 [18:49:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46393", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:49:21]execute_script... [18:49: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)46393", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:49:21]POST & json_proto [18:49:21]process_json_proto [18:49:21]json parsed OK: [18:49:21]protocol is kg_v1.0 [18:49:21]action value=close_receipt [18:49:21]process_action close_receipt [18:49:21]cmd_close_receipt [18:49:21]MH_GetDate [18:49:21]Write to MH i2c: F0 00 00 CB 02 BC [18:49:21]Write i2c OK [18:49:21]MH_I2C_Read... [18:49:21]Read from MH i2c: F0 [18:49:21]MH_I2C_Read... [18:49:21]Read from MH i2c: F0 09 00 [18:49:21]MH_I2C_Read... [18:49:21]Read from MH i2c: F0 09 00 CB 02 00 32 2E 21 67 28 A1 20 67 FD [18:49:21]GetLastDocTimeStamp 1730226630 [18:49:21]current date 1730227762 [18:49:21]FM_GetShiftState [18:49:21]SAM_PROTO_GetShiftState [18:49:21]wFMCommunicate request_size=4 [18:49:21]MH_SAM_APDU [18:49:21]CAPDU: 80 13 01 00 [18:49:21]Write to MH i2c: E2 08 00 CC 02 80 13 01 00 00 00 00 00 4B [18:49:21]Write i2c OK [18:49:21]MH_I2C_Read... [18:49:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:49:21]Read from MH i2c: E2 [18:49:21]MH_I2C_Read... [18:49:21]Read from MH i2c: E2 0E 00 [18:49:21]MH_I2C_Read... [18:49:21]Read from MH i2c: E2 0E 00 CC 02 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 FB [18:49:21]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [18:49:21]wFMCommunicate OK [18:49:21]SAM_PROTO_GetShiftState done [18:49:21]FM_GetShiftState done [18:49:21]opened in 1730160885 [18:49:21]opened+sec_in_day 1730247285 [18:49:21]quantity*price = 100015 [18:49:21]sum+1 = 100017 [18:49:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.16 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 122 29.10.2024 18:49 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68399 ФПД: 98064462097576 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T184922&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68399&fm=98064462097576&tin=02508201610067®Number=0000000000091759&sum=100000 [18:49:22]StoreToDocumentArchive [18:49:22]shift 548 fd 68399 [18:49:22]save to /storage/0548/doc_00068399 [18:49:22]save last doc name /storage/0548/doc_00068399 to /storage/kkm_last_doc_name [18:49:22]save OK [18:49:22]Clear old archive folders... [18:49:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:49:22]tlvbuf is 01DFDCE0 [18:49:22]SAM_PROTO_ClearQueue [18:49:22]wFMCommunicate request_size=4 [18:49:22]MH_SAM_APDU [18:49:22]CAPDU: 80 09 00 00 [18:49:22]Write to MH i2c: E2 08 00 D9 02 80 09 00 00 00 00 00 00 4D [18:49:22]Write i2c OK [18:49:22]MH_I2C_Read... [18:49:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:49:22]Read from MH i2c: E2 [18:49:22]MH_I2C_Read... [18:49:22]Read from MH i2c: E2 03 00 [18:49:22]MH_I2C_Read... [18:49:22]Read from MH i2c: E2 03 00 D9 02 00 90 00 4F [18:49:22]RAPDU: 90 00 [18:49:22]wFMCommunicate OK [18:49:22]SAM_PROTO_ClearQueue done [18:49:22]KKMCreateOFDPacket [18:49:22]OFDProtocolAddRootSTLVToBuf [18:49:22]FM_MakeSignedData [18:49:22]FM_MakeSignedData [18:49:22]SAM_PROTO_SignData [18:49:22]wFMCommunicate request_size=4 [18:49:22]MH_SAM_APDU [18:49:22]CAPDU: 80 0D 01 02 [18:49:22]Write to MH i2c: E2 08 00 DA 02 80 0D 01 02 00 00 00 00 55 [18:49:22]Write i2c OK [18:49:22]MH_I2C_Read... [18:49:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:49:22]Read from MH i2c: E2 [18:49:22]MH_I2C_Read... [18:49:22]Read from MH i2c: E2 03 00 [18:49:22]MH_I2C_Read... [18:49:22]Read from MH i2c: E2 03 00 DA 02 00 90 00 50 [18:49:22]RAPDU: 90 00 [18:49:22]wFMCommunicate OK [18:49:22]wFMCommunicate request_size=255 [18:49:22]MH_SAM_APDU [18:49: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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 7A 00 00 00 F4 03 04 00 32 2E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2F 0B 01 00 35 04 06 00 59 [18:49:22]Write to MH i2c: E2 02 01 DB 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 7A 00 00 00 F4 03 04 00 32 2E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2F 0B 01 00 35 04 06 00 59 00 00 04 [18:49:22]Write i2c OK [18:49:22]MH_I2C_Read... [18:49:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:49:23]Read from MH i2c: E2 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: E2 03 00 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: E2 03 00 DB 02 00 90 00 51 [18:49:23]RAPDU: 90 00 [18:49:23]wFMCommunicate OK [18:49:23]wFMCommunicate request_size=10 [18:49:23]MH_SAM_APDU [18:49:23]CAPDU: 80 0D 02 02 05 30 69 6D AC A8 [18:49:23]Write to MH i2c: E2 0D 00 DC 02 80 0D 02 02 05 00 30 69 6D AC A8 00 00 BC [18:49:23]Write i2c OK [18:49:23]MH_I2C_Read... [18:49:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:49:23]Read from MH i2c: E2 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: E2 03 00 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: E2 03 00 DC 02 00 90 00 52 [18:49:23]RAPDU: 90 00 [18:49:23]wFMCommunicate OK [18:49:23]wFMCommunicate request_size=4 [18:49:23]MH_SAM_APDU [18:49:23]CAPDU: 80 0D 03 02 [18:49:23]Write to MH i2c: E2 08 00 DD 02 80 0D 03 02 00 00 00 00 5A [18:49:23]Write i2c OK [18:49:23]MH_I2C_Read... [18:49:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:49:23]Read from MH i2c: E2 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: E2 0B 00 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: E2 0B 00 DD 02 00 9F 5D B1 0C 33 A1 64 AE 90 00 FA [18:49:23]RAPDU: 9F 5D B1 0C 33 A1 64 AE 90 00 [18:49:23]wFMCommunicate OK [18:49:23]SAM_PROTO_SignData done [18:49:23]FM_MakeSignedData done [18:49:23]CreateOFDProtocolMessage [18:49:23]wFMCommunicate request_size=4 [18:49:23]MH_SAM_APDU [18:49:23]CAPDU: 80 11 00 00 [18:49:23]Write to MH i2c: E2 08 00 DE 02 80 11 00 00 00 00 00 00 5A [18:49:23]Write i2c OK [18:49:23]MH_I2C_Read... [18:49:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:49:23]Read from MH i2c: E2 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: E2 17 00 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: E2 17 00 DE 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B1 [18:49:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:49:23]wFMCommunicate OK [18:49:23]CreateOFDProtocolMessage done [18:49:23]OFDSenderStorePacket 68399 [18:49:23]StoreOFDPacket docnum=68399 [18:49:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 EC 11 07 01 E0 CD 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 7A 00 00 00 F4 03 04 00 32 2E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2F 0B 01 00 35 04 06 00 59 30 69 6D AC A8 9F 5D B1 0C 33 A1 64 AE [18:49:23]CheckFolder [18:49:23]dirname=/storage/ofd_packets [18:49:23]CheckFolder done [18:49:23]ProducePacketName [18:49:23]name=ofd_packets/00068399 [18:49:23]NVStorageSaveData ofd_packets/00068399 [18:49:23]File name is /storage/ofd_packets/00068399 [18:49:23]Write 301 bytes [18:49:23]NVStorageSaveData done [18:49:23]OFDSenderStorePacket done [18:49:23]KKMCreateOFDPacket done [18:49:23]NVStorageSaveData kkm_last_timestamp [18:49:23]File name is /storage/kkm_last_timestamp [18:49:23]Write 4 bytes [18:49:23]NVStorageSaveData done [18:49:23]ExternCall_PrintAddStr [18:49:23]wPrintStart [18:49:23]Write to MH i2c: 01 00 00 DF 02 E1 [18:49:23]Write i2c OK [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: 01 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: 01 07 00 [18:49:23]MH_I2C_Read... [18:49:23]Read from MH i2c: 01 07 00 DF 02 00 00 00 00 00 FF 0F F6 [18:49:23]RasterBufferAndPrint [18:49:23]line Счет N : (1)46393 [18:49:23]line ИНН: 02508201610067 [18:49:23]line Контрольно-Кассовый Чек [18:49:23]line ПРОДАЖА [18:49:23]line ТРК (МРК, ГНК) : 23 [18:49:23]line Товар: 2710124130 [18:49:23]line Аи-92-К-5 [18:49:23]line 14.950 * 66.90 [18:49:23]line = 1000.16 [18:49:23]line НДС 12% НСП 1% [18:49:23]line > о реализуемом товаре [18:49:23]line ОКРУГЛЕНИЕ: -0.16 [18:49:23]line ИТОГО: 1000.00 [18:49:23]line Внесено: 1000.00 [18:49:23]line СДАЧА: 0.00 [18:49:23]line НСП 1% : 8.85 [18:49:23]line НДС 12% : 106.21 [18:49:23]line Наличными: 1000.00 [18:49:23]line Безнал.: 0.00 [18:49:23]line Место: АЗС № 160 "Партнер Нефть" [18:49:23]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:49:23]line СНО: Общий режим [18:49:23]line Чек 122 29.10.2024 18:49 [18:49:23]line Смена: 548 ФФД: 1.0 [18:49:23]line ЗНМ: 0300000093 [18:49:23]line РНМ: 0000000000091759 [18:49:23]line Версия ККМ: 001 [18:49:23]line ФМ: 0000000000871758 [18:49:23]line ФД: 68399 [18:49:23]line ФПД: 98064462097576 [18:49:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T184922&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68399&fm=98064462097576&tin=02508201610067®Number=0000000000091759&sum=100000 [18:49:23]OFD Sender: Processing packet 68399 [packets to send 28, broken 27] [18:49:23]ProducePacketName [18:49:23]name=ofd_packets/00068399 [18:49:23]OFD Sender: To server: pG, [18:49:23]CommunicateWithHost lk.salyk.kg:30040 [18:49:23]ConnectInit lk.salyk.kg [18:49:23]written 0, free lines is 4095 [18:49:23]Connected sock=10 [18:49:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 EC 11 07 01 E0 CD 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 7A 00 00 00 F4 03 04 00 32 2E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2F 0B 01 00 35 04 06 00 59 30 69 6D AC A8 9F 5D B1 0C 33 A1 64 AE [18:49:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 6B D8 47 00 AF FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2F 0B 01 00 F4 03 04 00 DA D9 20 67 B6 04 01 00 00 97 58 90 CB 69 F5 3F 70 [18:49:23]CommunicateWithHost err = 0 [18:49:23]CheckOFDResponse [18:49:23]1017 (14) - 77093643461234 [18:49:23]1041 (16) - 0000000000871758 [18:49:23]1040 (4) - 68399 [18:49:23]1012 (4) - 29.10.2024 12:49 [18:49:23]1206 (1) - 0 [18:49:23]OFD Sender: Remove packet 68399 [18:49:23]ProducePacketName [18:49:23]name=ofd_packets/00068399 [18:49:23]NVStorageDeleteData [18:49:24]Write to MH i2c: 01 00 00 09 03 0C [18:49:24]Write i2c OK [18:49:24]MH_I2C_Read... [18:49:24]Read from MH i2c: 01 [18:49:24]MH_I2C_Read... [18:49:24]Read from MH i2c: 01 07 00 [18:49:24]MH_I2C_Read... [18:49:24]Read from MH i2c: 01 07 00 09 03 00 00 00 00 00 D0 0C EF [18:49:24]RasterBufferAndPrint [18:49:24]line [18:49:24]line [18:49:24]line [18:49:24]line [18:49:24]line [18:49:24]written 0, free lines is 3284 [18:49:24]MH_Cut [18:49:24]Write to MH i2c: D1 01 00 10 03 01 E5 [18:49:24]Write i2c OK [18:49:24]MH_I2C_Read... [18:49:24]Read from MH i2c: D1 [18:49:24]MH_I2C_Read... [18:49:24]Read from MH i2c: D1 01 00 [18:49:24]MH_I2C_Read... [18:49:24]Read from MH i2c: D1 01 00 10 03 00 E4 [18:49:24]Write to MH i2c: 01 00 00 11 03 14 [18:49:24]Write i2c OK [18:49:24]MH_I2C_Read... [18:49:24]OFD Sender: No OFD packet to send [18:49:24]*** Cut start [18:49:24]*** Partial cut [18:49:24]*** CUTSNS_PIN = 1 [18:49:24]*** CUTSNS_PIN = 0 [18:49:25]*** Brake cut motor [18:49:25]Read from MH i2c: 01 [18:49:25]MH_I2C_Read... [18:49:25]*** Stop cut motor [18:49:25]*** Cut end [18:49:25]Read from MH i2c: 01 07 00 [18:49:25]MH_I2C_Read... [18:49:25]Read from MH i2c: 01 07 00 11 03 00 00 00 00 00 FF 0F 29 [18:49:25]process_action close_receipt done [18:49:25]requested_data is exist [18:49:25]produce_requested_data [18:49:25]requested_item fm.sn is exist - process it [18:49:25]wFMCommunicate request_size=4 [18:49:25]MH_SAM_APDU [18:49:25]CAPDU: 80 11 00 00 [18:49:25]Write to MH i2c: E2 08 00 12 03 80 11 00 00 00 00 00 00 8F [18:49:25]Write i2c OK [18:49:25]MH_I2C_Read... [18:49:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:49:25]Read from MH i2c: E2 [18:49:25]MH_I2C_Read... [18:49:25]Read from MH i2c: E2 17 00 [18:49:25]MH_I2C_Read... [18:49:25]Read from MH i2c: E2 17 00 12 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E6 [18:49:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:49:25]wFMCommunicate OK [18:49:25]requested_item fd.num is exist - process it [18:49:25]SAM_PROTO_GetFieldsCounters [18:49:25]wFMCommunicate request_size=4 [18:49:25]MH_SAM_APDU [18:49:25]CAPDU: 80 13 00 00 [18:49:25]Write to MH i2c: E2 08 00 13 03 80 13 00 00 00 00 00 00 92 [18:49:25]Write i2c OK [18:49:25]MH_I2C_Read... [18:49:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:49:25]Read from MH i2c: E2 [18:49:25]MH_I2C_Read... [18:49:25]Read from MH i2c: E2 62 00 [18:49:25]MH_I2C_Read... [18:49:25]Read from MH i2c: E2 62 00 13 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2F 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7A 00 00 00 5E 04 04 00 7A 00 00 00 57 04 04 00 7B 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [18:49:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 2F 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7A 00 00 00 5E 04 04 00 7A 00 00 00 57 04 04 00 7B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:49:25]wFMCommunicate OK [18:49:25]SAM_PROTO_GetFieldsCounters done [18:49:25]requested_item shift.num is exist - process it [18:49:25]requested_item shift.opened is exist - process it [18:49:25]req_shift_opened [18:49:25]FM_GetShiftState [18:49:25]SAM_PROTO_GetShiftState [18:49:25]wFMCommunicate request_size=4 [18:49:25]MH_SAM_APDU [18:49:25]CAPDU: 80 13 01 00 [18:49:25]Write to MH i2c: E2 08 00 14 03 80 13 01 00 00 00 00 00 94 [18:49:25]Write i2c OK [18:49:25]MH_I2C_Read... [18:49:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:49:25]Read from MH i2c: E2 [18:49:25]MH_I2C_Read... [18:49:25]Read from MH i2c: E2 0E 00 [18:49:25]MH_I2C_Read... [18:49:25]Read from MH i2c: E2 0E 00 14 03 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 44 [18:49:25]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [18:49:25]wFMCommunicate OK [18:49:25]SAM_PROTO_GetShiftState done [18:49:25]FM_GetShiftState done [18:49:25]req_shift_opened done [18:49:25]requested_item shift.open_date is exist - process it [18:49:25]req_shift_open_date [18:49:25]req_shift_open_date done [18:49:25]produce_requested_data done [18:49:25]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68399,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [18:49:25]process_action_free close_receipt [18:49:25]json_value_free [18:49:25]json_value_free done [18:49:25]process_json_proto returns [18:49:25]Send response to host [18:49:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68399,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [18:49:25]free response buf [18:49:25]execute_script done [18:49:25]execute_script returns [18:49:25]free content buf [18:49:25]Sock 8.Close socket [18:49:25]Sock 8.Thread stoped [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:39]OFD Sender: No OFD packet to send [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:30]accept exits with 9 [18:53:30]New connection [18:53:30]New thread 3066858852 created [18:53:30]Thread 3066715492 joined [18:53:30]Waiting for new connection... [18:53:30] Sock 9.Parse request [18:53:30]Sock 9.Check first char [18:53:30]Sock 9.First char is OK [18:53:30]request: POST /json_proto HTTP/1.0 [18:53:30]Method: POST [18:53:30]URL: /json_proto [18:53:30]Method is POST - this is cgi request [18:53:30]url: /json_proto [18:53:30]query_string will be loaded in cgi processing [18:53:30]execute_cgi json_proto POST (null) [18:53:30]execute_cgi path=json_proto method=POST [18:53:30]POST find Content-Length [18:53:30]Host: 172.17.42.3:8080 [18:53:30]Content-Length: 799 [18:53:30]Content-Type: application/json [18:53:30] [18:53:30]POST finish read [18:53:30]Found Content-Length = 799 [18:53:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46394", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "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\u000A2087366", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:53:30]execute_script... [18:53:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46394", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "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\u000A2087366", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:53:30]POST & json_proto [18:53:30]process_json_proto [18:53:30]json parsed OK: [18:53:30]protocol is kg_v1.0 [18:53:30]action value=close_receipt [18:53:30]process_action close_receipt [18:53:30]cmd_close_receipt [18:53:30]MH_GetDate [18:53:30]Write to MH i2c: F0 00 00 15 03 07 [18:53:30]Write i2c OK [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: F0 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: F0 09 00 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: F0 09 00 15 03 00 2B 2F 21 67 28 A1 20 67 42 [18:53:30]GetLastDocTimeStamp 1730227762 [18:53:30]current date 1730228011 [18:53:30]FM_GetShiftState [18:53:30]SAM_PROTO_GetShiftState [18:53:30]wFMCommunicate request_size=4 [18:53:30]MH_SAM_APDU [18:53:30]CAPDU: 80 13 01 00 [18:53:30]Write to MH i2c: E2 08 00 16 03 80 13 01 00 00 00 00 00 96 [18:53:30]Write i2c OK [18:53:30]MH_I2C_Read... [18:53:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:30]Read from MH i2c: E2 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: E2 0E 00 [18:53:30]MH_I2C_Read... [18:53:30]Read from MH i2c: E2 0E 00 16 03 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 46 [18:53:30]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [18:53:30]wFMCommunicate OK [18:53:30]SAM_PROTO_GetShiftState done [18:53:30]FM_GetShiftState done [18:53:30]opened in 1730160885 [18:53:30]opened+sec_in_day 1730247285 [18:53:30]quantity*price = 0 [18:53:30]sum+1 = 1 [18:53:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 123 29.10.2024 18:53 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Талоны: Топливные Талоны 2087366 ФМ: 0000000000871758 ФД: 68400 ФПД: 38800403650669 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T185331&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68400&fm=38800403650669&tin=02508201610067®Number=0000000000091759&sum=0 [18:53:31]StoreToDocumentArchive [18:53:31]shift 548 fd 68400 [18:53:31]save to /storage/0548/doc_00068400 [18:53:31]save last doc name /storage/0548/doc_00068400 to /storage/kkm_last_doc_name [18:53:31]save OK [18:53:31]Clear old archive folders... [18:53:31]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:53:31]tlvbuf is 01DF0580 [18:53:31]SAM_PROTO_ClearQueue [18:53:31]wFMCommunicate request_size=4 [18:53:31]MH_SAM_APDU [18:53:31]CAPDU: 80 09 00 00 [18:53:31]Write to MH i2c: E2 08 00 23 03 80 09 00 00 00 00 00 00 98 [18:53:31]Write i2c OK [18:53:31]MH_I2C_Read... [18:53:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:53:31]Read from MH i2c: E2 [18:53:31]MH_I2C_Read... [18:53:31]Read from MH i2c: E2 03 00 [18:53:31]MH_I2C_Read... [18:53:31]Read from MH i2c: E2 03 00 23 03 00 90 00 9A [18:53:31]RAPDU: 90 00 [18:53:31]wFMCommunicate OK [18:53:31]SAM_PROTO_ClearQueue done [18:53:31]KKMCreateOFDPacket [18:53:31]OFDProtocolAddRootSTLVToBuf [18:53:31]FM_MakeSignedData [18:53:31]FM_MakeSignedData [18:53:31]SAM_PROTO_SignData [18:53:31]wFMCommunicate request_size=4 [18:53:31]MH_SAM_APDU [18:53:31]CAPDU: 80 0D 01 02 [18:53:31]Write to MH i2c: E2 08 00 24 03 80 0D 01 02 00 00 00 00 A0 [18:53:31]Write i2c OK [18:53:31]MH_I2C_Read... [18:53:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:53:31]Read from MH i2c: E2 [18:53:31]MH_I2C_Read... [18:53:31]Read from MH i2c: E2 03 00 [18:53:31]MH_I2C_Read... [18:53:31]Read from MH i2c: E2 03 00 24 03 00 90 00 9B [18:53:31]RAPDU: 90 00 [18:53:31]wFMCommunicate OK [18:53:31]wFMCommunicate request_size=255 [18:53:31]MH_SAM_APDU [18:53:31]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 33 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 7B 00 00 00 F4 03 04 00 2B 2F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 30 0B 01 00 35 04 06 00 23 [18:53:31]Write to MH i2c: E2 02 01 25 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 33 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 7B 00 00 00 F4 03 04 00 2B 2F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 30 0B 01 00 35 04 06 00 23 00 00 CF [18:53:31]Write i2c OK [18:53:31]MH_I2C_Read... [18:53:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:32]Read from MH i2c: E2 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: E2 03 00 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: E2 03 00 25 03 00 90 00 9C [18:53:32]RAPDU: 90 00 [18:53:32]wFMCommunicate OK [18:53:32]wFMCommunicate request_size=10 [18:53:32]MH_SAM_APDU [18:53:32]CAPDU: 80 0D 02 02 05 49 EC 46 D8 6D [18:53:32]Write to MH i2c: E2 0D 00 26 03 80 0D 02 02 05 00 49 EC 46 D8 6D 00 00 6D [18:53:32]Write i2c OK [18:53:32]MH_I2C_Read... [18:53:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:53:32]Read from MH i2c: E2 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: E2 03 00 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: E2 03 00 26 03 00 90 00 9D [18:53:32]RAPDU: 90 00 [18:53:32]wFMCommunicate OK [18:53:32]wFMCommunicate request_size=4 [18:53:32]MH_SAM_APDU [18:53:32]CAPDU: 80 0D 03 02 [18:53:32]Write to MH i2c: E2 08 00 27 03 80 0D 03 02 00 00 00 00 A5 [18:53:32]Write i2c OK [18:53:32]MH_I2C_Read... [18:53:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:53:32]Read from MH i2c: E2 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: E2 0B 00 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: E2 0B 00 27 03 00 D3 B8 8A C4 5E 67 01 37 90 00 7C [18:53:32]RAPDU: D3 B8 8A C4 5E 67 01 37 90 00 [18:53:32]wFMCommunicate OK [18:53:32]SAM_PROTO_SignData done [18:53:32]FM_MakeSignedData done [18:53:32]CreateOFDProtocolMessage [18:53:32]wFMCommunicate request_size=4 [18:53:32]MH_SAM_APDU [18:53:32]CAPDU: 80 11 00 00 [18:53:32]Write to MH i2c: E2 08 00 28 03 80 11 00 00 00 00 00 00 A5 [18:53:32]Write i2c OK [18:53:32]MH_I2C_Read... [18:53:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:32]Read from MH i2c: E2 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: E2 17 00 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: E2 17 00 28 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 FC [18:53:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:53:32]wFMCommunicate OK [18:53:32]CreateOFDProtocolMessage done [18:53:32]OFDSenderStorePacket 68400 [18:53:32]StoreOFDPacket docnum=68400 [18:53:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 56 9D 07 01 2A 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 33 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 7B 00 00 00 F4 03 04 00 2B 2F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 30 0B 01 00 35 04 06 00 23 49 EC 46 D8 6D D3 B8 8A C4 5E 67 01 37 [18:53:32]CheckFolder [18:53:32]dirname=/storage/ofd_packets [18:53:32]CheckFolder done [18:53:32]ProducePacketName [18:53:32]name=ofd_packets/00068400 [18:53:32]NVStorageSaveData ofd_packets/00068400 [18:53:32]File name is /storage/ofd_packets/00068400 [18:53:32]Write 301 bytes [18:53:32]NVStorageSaveData done [18:53:32]OFDSenderStorePacket done [18:53:32]KKMCreateOFDPacket done [18:53:32]NVStorageSaveData kkm_last_timestamp [18:53:32]File name is /storage/kkm_last_timestamp [18:53:32]Write 4 bytes [18:53:32]NVStorageSaveData done [18:53:32]ExternCall_PrintAddStr [18:53:32]wPrintStart [18:53:32]Write to MH i2c: 01 00 00 29 03 2C [18:53:32]Write i2c OK [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: 01 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: 01 07 00 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: 01 07 00 29 03 00 00 00 00 00 FF 0F 41 [18:53:32]RasterBufferAndPrint [18:53:32]line Счет N : (1)46394 [18:53:32]line ИНН: 02508201610067 [18:53:32]line Контрольно-Кассовый Чек [18:53:32]line ПРОДАЖА [18:53:32]line ТРК (МРК, ГНК) : 24 [18:53:32]line Товар: 2710124500 [18:53:32]line Аи-95-К-3 [18:53:32]line 10.000 * 0.00 [18:53:32]line = 0.00 [18:53:32]line НДС 12% НСП 1% [18:53:32]line > о реализуемом товаре [18:53:32]line ИТОГО: 0.00 [18:53:32]line НСП 1% : 0.00 [18:53:32]line НДС 12% : 0.00 [18:53:32]line Наличными: 0.00 [18:53:32]line Безнал.: 0.00 [18:53:32]line Место: АЗС № 160 "Партнер Нефть" [18:53:32]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:53:32]line СНО: Общий режим [18:53:32]line Чек 123 29.10.2024 18:53 [18:53:32]line Смена: 548 ФФД: 1.0 [18:53:32]line ЗНМ: 0300000093 [18:53:32]line РНМ: 0000000000091759 [18:53:32]line Версия ККМ: 001 [18:53:32]line Талоны: Топливные Талоны [18:53:32]line 2087366 [18:53:32]line ФМ: 0000000000871758 [18:53:32]line ФД: 68400 [18:53:32]line ФПД: 38800403650669 [18:53:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T185331&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68400&fm=38800403650669&tin=02508201610067®Number=0000000000091759&sum=0 [18:53:32]written 0, free lines is 4095 [18:53:32]OFD Sender: Processing packet 68400 [packets to send 28, broken 27] [18:53:32]ProducePacketName [18:53:32]name=ofd_packets/00068400 [18:53:32]OFD Sender: To server: pG, [18:53:32]CommunicateWithHost lk.salyk.kg:30040 [18:53:32]ConnectInit lk.salyk.kg [18:53:32]Connected sock=10 [18:53:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 56 9D 07 01 2A 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 33 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 7B 00 00 00 F4 03 04 00 2B 2F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 30 0B 01 00 35 04 06 00 23 49 EC 46 D8 6D D3 B8 8A C4 5E 67 01 37 [18:53:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 49 99 47 00 02 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 38 37 31 37 35 38 10 04 04 00 30 0B 01 00 F4 03 04 00 D3 DA 20 67 B6 04 01 00 00 47 80 71 29 F5 69 36 9B [18:53:32]CommunicateWithHost err = 0 [18:53:32]CheckOFDResponse [18:53:32]1017 (14) - 77093643461234 [18:53:32]1041 (16) - 0000000000871758 [18:53:32]1040 (4) - 68400 [18:53:32]1012 (4) - 29.10.2024 12:53 [18:53:32]1206 (1) - 0 [18:53:32]OFD Sender: Remove packet 68400 [18:53:32]ProducePacketName [18:53:32]name=ofd_packets/00068400 [18:53:32]NVStorageDeleteData [18:53:32]Write to MH i2c: 01 00 00 52 03 55 [18:53:32]Write i2c OK [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: 01 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: 01 07 00 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: 01 07 00 52 03 00 00 00 00 00 D7 0C 3F [18:53:32]RasterBufferAndPrint [18:53:32]line [18:53:32]line [18:53:32]line [18:53:32]line [18:53:32]line [18:53:32]written 0, free lines is 3294 [18:53:32]MH_Cut [18:53:32]Write to MH i2c: D1 01 00 59 03 01 2E [18:53:32]Write i2c OK [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: D1 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: D1 01 00 [18:53:32]MH_I2C_Read... [18:53:32]Read from MH i2c: D1 01 00 59 03 00 2D [18:53:32]Write to MH i2c: 01 00 00 5A 03 5D [18:53:32]Write i2c OK [18:53:32]MH_I2C_Read... [18:53:33]OFD Sender: No OFD packet to send [18:53:33]*** Cut start [18:53:33]*** Partial cut [18:53:33]*** CUTSNS_PIN = 1 [18:53:33]*** CUTSNS_PIN = 0 [18:53:33]*** Brake cut motor [18:53:34]Read from MH i2c: 01 [18:53:34]MH_I2C_Read... [18:53:34]*** Stop cut motor [18:53:34]*** Cut end [18:53:34]Read from MH i2c: 01 07 00 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: 01 07 00 5A 03 00 00 00 00 00 FF 0F 72 [18:53:34]process_action close_receipt done [18:53:34]requested_data is exist [18:53:34]produce_requested_data [18:53:34]requested_item fm.sn is exist - process it [18:53:34]wFMCommunicate request_size=4 [18:53:34]MH_SAM_APDU [18:53:34]CAPDU: 80 11 00 00 [18:53:34]Write to MH i2c: E2 08 00 5B 03 80 11 00 00 00 00 00 00 D8 [18:53:34]Write i2c OK [18:53:34]MH_I2C_Read... [18:53:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:34]Read from MH i2c: E2 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: E2 17 00 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: E2 17 00 5B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 2F [18:53:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:53:34]wFMCommunicate OK [18:53:34]requested_item fd.num is exist - process it [18:53:34]SAM_PROTO_GetFieldsCounters [18:53:34]wFMCommunicate request_size=4 [18:53:34]MH_SAM_APDU [18:53:34]CAPDU: 80 13 00 00 [18:53:34]Write to MH i2c: E2 08 00 5C 03 80 13 00 00 00 00 00 00 DB [18:53:34]Write i2c OK [18:53:34]MH_I2C_Read... [18:53:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:53:34]Read from MH i2c: E2 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: E2 62 00 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: E2 62 00 5C 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 30 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7B 00 00 00 5E 04 04 00 7B 00 00 00 57 04 04 00 7C 00 00 00 19 04 04 00 00 00 00 00 90 00 D9 [18:53:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 30 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7B 00 00 00 5E 04 04 00 7B 00 00 00 57 04 04 00 7C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:53:34]wFMCommunicate OK [18:53:34]SAM_PROTO_GetFieldsCounters done [18:53:34]requested_item shift.num is exist - process it [18:53:34]requested_item shift.opened is exist - process it [18:53:34]req_shift_opened [18:53:34]FM_GetShiftState [18:53:34]SAM_PROTO_GetShiftState [18:53:34]wFMCommunicate request_size=4 [18:53:34]MH_SAM_APDU [18:53:34]CAPDU: 80 13 01 00 [18:53:34]Write to MH i2c: E2 08 00 5D 03 80 13 01 00 00 00 00 00 DD [18:53:34]Write i2c OK [18:53:34]MH_I2C_Read... [18:53:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:34]Read from MH i2c: E2 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: E2 0E 00 [18:53:34]MH_I2C_Read... [18:53:34]Read from MH i2c: E2 0E 00 5D 03 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 8D [18:53:34]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [18:53:34]wFMCommunicate OK [18:53:34]SAM_PROTO_GetShiftState done [18:53:34]FM_GetShiftState done [18:53:34]req_shift_opened done [18:53:34]requested_item shift.open_date is exist - process it [18:53:34]req_shift_open_date [18:53:34]req_shift_open_date done [18:53:34]produce_requested_data done [18:53:34]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68400,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [18:53:34]process_action_free close_receipt [18:53:34]json_value_free [18:53:34]json_value_free done [18:53:34]process_json_proto returns [18:53:34]Send response to host [18:53:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68400,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [18:53:34]free response buf [18:53:34]execute_script done [18:53:34]execute_script returns [18:53:34]free content buf [18:53:34]Sock 9.Close socket [18:53:34]Sock 9.Thread stoped [18:53:38]OFD Sender: No OFD packet to send [18:53:43]OFD Sender: No OFD packet to send [18:53:48]OFD Sender: No OFD packet to send [18:53:53]OFD Sender: No OFD packet to send [18:53:58]OFD Sender: No OFD packet to send [18:54:03]OFD Sender: No OFD packet to send [18:54:08]OFD Sender: No OFD packet to send [18:54:13]OFD Sender: No OFD packet to send [18:54:18]OFD Sender: No OFD packet to send [18:54:23]OFD Sender: No OFD packet to send [18:54:28]OFD Sender: No OFD packet to send [18:54:33]OFD Sender: No OFD packet to send [18:54:38]OFD Sender: No OFD packet to send [18:54:43]OFD Sender: No OFD packet to send [18:54:48]OFD Sender: No OFD packet to send [18:54:53]OFD Sender: No OFD packet to send [18:54:58]OFD Sender: No OFD packet to send [18:55:03]OFD Sender: No OFD packet to send [18:55:08]OFD Sender: No OFD packet to send [18:55:13]OFD Sender: No OFD packet to send [18:55:18]OFD Sender: No OFD packet to send [18:55:23]OFD Sender: No OFD packet to send [18:55:28]OFD Sender: No OFD packet to send [18:55:33]OFD Sender: No OFD packet to send [18:55:38]OFD Sender: No OFD packet to send [18:55:43]OFD Sender: No OFD packet to send [18:55:48]OFD Sender: No OFD packet to send [18:55:53]OFD Sender: No OFD packet to send [18:55:58]OFD Sender: No OFD packet to send [18:56:03]OFD Sender: No OFD packet to send [18:56:08]OFD Sender: No OFD packet to send [18:56:13]OFD Sender: No OFD packet to send [18:56:18]OFD Sender: No OFD packet to send [18:56:23]OFD Sender: No OFD packet to send [18:56:28]OFD Sender: No OFD packet to send [18:56:33]OFD Sender: No OFD packet to send [18:56:38]OFD Sender: No OFD packet to send [18:56:43]OFD Sender: No OFD packet to send [18:56:48]OFD Sender: No OFD packet to send [18:56:53]OFD Sender: No OFD packet to send [18:56:58]OFD Sender: No OFD packet to send [18:57:03]int [18:57:03]Write to MH i2c: 01 00 00 5E 03 61 [18:57:03]*** FLAG_PRN_KEY set [18:57:03]Write i2c OK [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 07 00 [18:57:03]MH_I2C_Read... [18:57:03]*** FLAG_PRN_KEY reset [18:57:03]Read from MH i2c: 01 07 00 5E 03 00 00 00 00 00 FF 0F 76 [18:57:03]state=0 [18:57:03]int [18:57:03]Write to MH i2c: 01 00 00 5F 03 62 [18:57:03]*** FLAG_PRN_KEY set [18:57:03]Write i2c OK [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 07 00 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 07 00 5F 03 00 08 00 00 00 FF 0F 7F [18:57:03]state=0 [18:57:03]Key pressed [18:57:03]Feed [18:57:03]Write to MH i2c: D8 00 00 60 03 3A [18:57:03]Write i2c OK [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: D8 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: D8 01 00 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: D8 01 00 60 03 00 3B [18:57:03]int [18:57:03]Write to MH i2c: 01 00 00 61 03 64 [18:57:03]Write i2c OK [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 07 00 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 07 00 61 03 00 48 00 00 00 3C 00 EF [18:57:03]state=2 [18:57:03]Key pressed [18:57:03]OFD Sender: No OFD packet to send [18:57:03]int [18:57:03]Write to MH i2c: 01 00 00 62 03 65 [18:57:03]*** FLAG_PRN_KEY reset [18:57:03]Write i2c OK [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 07 00 [18:57:03]MH_I2C_Read... [18:57:03]Read from MH i2c: 01 07 00 62 03 00 00 00 00 00 FC 0F 77 [18:57:03]state=2 [18:57:03]Stop feed [18:57:08]OFD Sender: No OFD packet to send [18:57:13]OFD Sender: No OFD packet to send [18:57:18]OFD Sender: No OFD packet to send [18:57:23]OFD Sender: No OFD packet to send [18:57:28]OFD Sender: No OFD packet to send [18:57:33]OFD Sender: No OFD packet to send [18:57:38]OFD Sender: No OFD packet to send [18:57:43]OFD Sender: No OFD packet to send [18:57:48]OFD Sender: No OFD packet to send [18:57:53]OFD Sender: No OFD packet to send [18:57:58]OFD Sender: No OFD packet to send [18:58:03]OFD Sender: No OFD packet to send [18:58:08]OFD Sender: No OFD packet to send [18:58:13]OFD Sender: No OFD packet to send [18:58:18]OFD Sender: No OFD packet to send [18:58:23]OFD Sender: No OFD packet to send [18:58:28]OFD Sender: No OFD packet to send [18:58:33]OFD Sender: No OFD packet to send [18:58:38]OFD Sender: No OFD packet to send [18:58:43]OFD Sender: No OFD packet to send [18:58:48]OFD Sender: No OFD packet to send [18:58:53]OFD Sender: No OFD packet to send [18:58:58]OFD Sender: No OFD packet to send [18:59:03]OFD Sender: No OFD packet to send [18:59:03]int [18:59:03]Write to MH i2c: 01 00 00 63 03 66 [18:59:03]*** FLAG_PRN_KEY set [18:59:03]Write i2c OK [18:59:03]MH_I2C_Read... [18:59:03]Read from MH i2c: 01 [18:59:03]MH_I2C_Read... [18:59:03]Read from MH i2c: 01 07 00 [18:59:03]MH_I2C_Read... [18:59:03]Read from MH i2c: 01 07 00 63 03 00 08 00 00 00 FF 0F 83 [18:59:03]state=0 [18:59:03]Key pressed [18:59:03]Feed [18:59:03]Write to MH i2c: D8 00 00 64 03 3E [18:59:03]Write i2c OK [18:59:03]MH_I2C_Read... [18:59:03]Read from MH i2c: D8 [18:59:03]MH_I2C_Read... [18:59:03]Read from MH i2c: D8 01 00 [18:59:03]MH_I2C_Read... [18:59:03]Read from MH i2c: D8 01 00 64 03 00 3F [18:59:03]int [18:59:03]Write to MH i2c: 01 00 00 65 03 68 [18:59:03]Write i2c OK [18:59:03]MH_I2C_Read... [18:59:03]Read from MH i2c: 01 [18:59:03]MH_I2C_Read... [18:59:03]Read from MH i2c: 01 07 00 [18:59:03]MH_I2C_Read... [18:59:03]Read from MH i2c: 01 07 00 65 03 00 48 00 00 00 3D 00 F4 [18:59:03]state=2 [18:59:03]Key pressed [18:59:04]int [18:59:04]Write to MH i2c: 01 00 00 66 03 69 [18:59:04]*** FLAG_PRN_KEY reset [18:59:04]Write i2c OK [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 07 00 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 07 00 66 03 00 00 00 00 00 F7 0F 76 [18:59:04]state=2 [18:59:04]Stop feed [18:59:04]int [18:59:04]Write to MH i2c: 01 00 00 67 03 6A [18:59:04]*** FLAG_PRN_KEY set [18:59:04]Write i2c OK [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 07 00 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 07 00 67 03 00 08 00 00 00 FF 0F 87 [18:59:04]state=0 [18:59:04]Key pressed [18:59:04]Feed [18:59:04]Write to MH i2c: D8 00 00 68 03 42 [18:59:04]Write i2c OK [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: D8 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: D8 01 00 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: D8 01 00 68 03 00 43 [18:59:04]int [18:59:04]Write to MH i2c: 01 00 00 69 03 6C [18:59:04]Write i2c OK [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 07 00 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 07 00 69 03 00 48 00 00 00 3C 00 F7 [18:59:04]state=2 [18:59:04]Key pressed [18:59:04]int [18:59:04]Write to MH i2c: 01 00 00 6A 03 6D [18:59:04]*** FLAG_PRN_KEY reset [18:59:04]Write i2c OK [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 07 00 [18:59:04]MH_I2C_Read... [18:59:04]Read from MH i2c: 01 07 00 6A 03 00 00 00 00 00 F6 0F 79 [18:59:04]state=2 [18:59:04]Stop feed [18:59:08]OFD Sender: No OFD packet to send [18:59:13]OFD Sender: No OFD packet to send [18:59:18]OFD Sender: No OFD packet to send [18:59:23]OFD Sender: No OFD packet to send [18:59:28]OFD Sender: No OFD packet to send [18:59:33]OFD Sender: No OFD packet to send [18:59:38]OFD Sender: No OFD packet to send [18:59:43]OFD Sender: No OFD packet to send [18:59:48]OFD Sender: No OFD packet to send [18:59:53]OFD Sender: No OFD packet to send [18:59:57]accept exits with 8 [18:59:57]New connection [18:59:57]New thread 3066715492 created [18:59:57]Thread 3066858852 joined [18:59:57]Waiting for new connection... [18:59:57] Sock 8.Parse request [18:59:57]Sock 8.Check first char [18:59:57]Sock 8.First char is OK [18:59:57]request: POST /json_proto HTTP/1.0 [18:59:57]Method: POST [18:59:57]URL: /json_proto [18:59:57]Method is POST - this is cgi request [18:59:57]url: /json_proto [18:59:57]query_string will be loaded in cgi processing [18:59:57]execute_cgi json_proto POST (null) [18:59:57]execute_cgi path=json_proto method=POST [18:59:57]POST find Content-Length [18:59:57]Host: 172.17.42.3:8080 [18:59:57]Content-Length: 788 [18:59:57]Content-Type: application/json [18:59:57] [18:59:57]POST finish read [18:59:57]Found Content-Length = 788 [18:59:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46395", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 0.00, "quantity" : 50.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\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A68804", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:59:57]execute_script... [18:59: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)46395", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 0.00, "quantity" : 50.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\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A68804", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:59:57]POST & json_proto [18:59:57]process_json_proto [18:59:57]json parsed OK: [18:59:57]protocol is kg_v1.0 [18:59:57]action value=close_receipt [18:59:57]process_action close_receipt [18:59:57]cmd_close_receipt [18:59:57]MH_GetDate [18:59:57]Write to MH i2c: F0 00 00 6B 03 5D [18:59:57]Write i2c OK [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: F0 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: F0 09 00 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: F0 09 00 6B 03 00 AE 30 21 67 28 A1 20 67 1C [18:59:57]GetLastDocTimeStamp 1730228011 [18:59:57]current date 1730228398 [18:59:57]FM_GetShiftState [18:59:57]SAM_PROTO_GetShiftState [18:59:57]wFMCommunicate request_size=4 [18:59:57]MH_SAM_APDU [18:59:57]CAPDU: 80 13 01 00 [18:59:57]Write to MH i2c: E2 08 00 6C 03 80 13 01 00 00 00 00 00 EC [18:59:57]Write i2c OK [18:59:57]MH_I2C_Read... [18:59:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:59:57]Read from MH i2c: E2 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 0E 00 [18:59:57]MH_I2C_Read... [18:59:57]Read from MH i2c: E2 0E 00 6C 03 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 9C [18:59:57]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [18:59:57]wFMCommunicate OK [18:59:57]SAM_PROTO_GetShiftState done [18:59:57]FM_GetShiftState done [18:59:57]opened in 1730160885 [18:59:57]opened+sec_in_day 1730247285 [18:59:57]quantity*price = 0 [18:59:57]sum+1 = 1 [18:59:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 124 29.10.2024 18:59 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Талоны: Топливная Карта 68804 ФМ: 0000000000871758 ФД: 68401 ФПД: 27000907377330 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T185958&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68401&fm=27000907377330&tin=02508201610067®Number=0000000000091759&sum=0 [18:59:58]StoreToDocumentArchive [18:59:58]shift 548 fd 68401 [18:59:58]save to /storage/0548/doc_00068401 [18:59:58]save last doc name /storage/0548/doc_00068401 to /storage/kkm_last_doc_name [18:59:58]save OK [18:59:58]Clear old archive folders... [18:59:58]ProcessDocumentItem done err = 0, tmpTLVsize=248 [18:59:58]tlvbuf is 01DEEDA0 [18:59:58]SAM_PROTO_ClearQueue [18:59:58]wFMCommunicate request_size=4 [18:59:58]MH_SAM_APDU [18:59:58]CAPDU: 80 09 00 00 [18:59:58]Write to MH i2c: E2 08 00 79 03 80 09 00 00 00 00 00 00 EE [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:59:58]Read from MH i2c: E2 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 03 00 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 03 00 79 03 00 90 00 F0 [18:59:58]RAPDU: 90 00 [18:59:58]wFMCommunicate OK [18:59:58]SAM_PROTO_ClearQueue done [18:59:58]KKMCreateOFDPacket [18:59:58]OFDProtocolAddRootSTLVToBuf [18:59:58]FM_MakeSignedData [18:59:58]FM_MakeSignedData [18:59:58]SAM_PROTO_SignData [18:59:58]wFMCommunicate request_size=4 [18:59:58]MH_SAM_APDU [18:59:58]CAPDU: 80 0D 01 02 [18:59:58]Write to MH i2c: E2 08 00 7A 03 80 0D 01 02 00 00 00 00 F6 [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:59:58]Read from MH i2c: E2 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 03 00 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 03 00 7A 03 00 90 00 F1 [18:59:58]RAPDU: 90 00 [18:59:58]wFMCommunicate OK [18:59:58]wFMCommunicate request_size=255 [18:59:58]MH_SAM_APDU [18:59:58]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 50 C3 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 7C 00 00 00 F4 03 04 00 AE 30 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 31 0B 01 00 35 04 06 00 18 8E A3 7E [18:59:58]Write to MH i2c: E2 02 01 7B 03 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 50 C3 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 7C 00 00 00 F4 03 04 00 AE 30 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 31 0B 01 00 35 04 06 00 18 8E A3 7E 00 00 7C [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]OFD Sender: No OFD packet to send [18:59:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:59:58]Read from MH i2c: E2 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 03 00 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 03 00 7B 03 00 90 00 F2 [18:59:58]RAPDU: 90 00 [18:59:58]wFMCommunicate OK [18:59:58]wFMCommunicate request_size=7 [18:59:58]MH_SAM_APDU [18:59:58]CAPDU: 80 0D 02 02 02 2A B2 [18:59:58]Write to MH i2c: E2 0A 00 7C 03 80 0D 02 02 02 00 2A B2 00 00 D9 [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:59:58]Read from MH i2c: E2 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 03 00 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 03 00 7C 03 00 90 00 F3 [18:59:58]RAPDU: 90 00 [18:59:58]wFMCommunicate OK [18:59:58]wFMCommunicate request_size=4 [18:59:58]MH_SAM_APDU [18:59:58]CAPDU: 80 0D 03 02 [18:59:58]Write to MH i2c: E2 08 00 7D 03 80 0D 03 02 00 00 00 00 FB [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:59:58]Read from MH i2c: E2 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 0B 00 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 0B 00 7D 03 00 68 1E 08 15 81 53 BD 85 90 00 B5 [18:59:58]RAPDU: 68 1E 08 15 81 53 BD 85 90 00 [18:59:58]wFMCommunicate OK [18:59:58]SAM_PROTO_SignData done [18:59:58]FM_MakeSignedData done [18:59:58]CreateOFDProtocolMessage [18:59:58]wFMCommunicate request_size=4 [18:59:58]MH_SAM_APDU [18:59:58]CAPDU: 80 11 00 00 [18:59:58]Write to MH i2c: E2 08 00 7E 03 80 11 00 00 00 00 00 00 FB [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:59:58]Read from MH i2c: E2 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 17 00 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: E2 17 00 7E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 52 [18:59:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:59:58]wFMCommunicate OK [18:59:58]CreateOFDProtocolMessage done [18:59:58]OFDSenderStorePacket 68401 [18:59:58]StoreOFDPacket docnum=68401 [18:59:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 A9 2F 04 01 70 E7 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 50 C3 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 7C 00 00 00 F4 03 04 00 AE 30 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 31 0B 01 00 35 04 06 00 18 8E A3 7E 2A B2 68 1E 08 15 81 53 BD 85 [18:59:58]CheckFolder [18:59:58]dirname=/storage/ofd_packets [18:59:58]CheckFolder done [18:59:58]ProducePacketName [18:59:58]name=ofd_packets/00068401 [18:59:58]NVStorageSaveData ofd_packets/00068401 [18:59:58]File name is /storage/ofd_packets/00068401 [18:59:58]Write 298 bytes [18:59:58]NVStorageSaveData done [18:59:58]OFDSenderStorePacket done [18:59:58]KKMCreateOFDPacket done [18:59:58]NVStorageSaveData kkm_last_timestamp [18:59:58]File name is /storage/kkm_last_timestamp [18:59:58]Write 4 bytes [18:59:58]NVStorageSaveData done [18:59:58]ExternCall_PrintAddStr [18:59:58]wPrintStart [18:59:58]Write to MH i2c: 01 00 00 7F 03 82 [18:59:58]Write i2c OK [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: 01 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: 01 07 00 [18:59:58]MH_I2C_Read... [18:59:58]Read from MH i2c: 01 07 00 7F 03 00 00 00 00 00 FF 0F 97 [18:59:58]RasterBufferAndPrint [18:59:58]line Счет N : (1)46395 [18:59:58]line ИНН: 02508201610067 [18:59:58]line Контрольно-Кассовый Чек [18:59:58]line ПРОДАЖА [18:59:58]line ТРК (МРК, ГНК) : 11 [18:59:58]line Товар: 2710194210 [18:59:58]line ДТ-К-5 [18:59:58]line 50.000 * 0.00 [18:59:58]line = 0.00 [18:59:58]line НДС 12% НСП 1% [18:59:58]line > о реализуемом товаре [18:59:58]line ИТОГО: 0.00 [18:59:58]line НСП 1% : 0.00 [18:59:58]line НДС 12% : 0.00 [18:59:58]line Наличными: 0.00 [18:59:58]line Безнал.: 0.00 [18:59:58]line Место: АЗС № 160 "Партнер Нефть" [18:59:58]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:59:58]line СНО: Общий режим [18:59:58]line Чек 124 29.10.2024 18:59 [18:59:58]line Смена: 548 ФФД: 1.0 [18:59:58]line ЗНМ: 0300000093 [18:59:58]line РНМ: 0000000000091759 [18:59:58]line Версия ККМ: 001 [18:59:58]line Талоны: Топливная Карта [18:59:58]line 68804 [18:59:58]line ФМ: 0000000000871758 [18:59:58]line ФД: 68401 [18:59:58]line ФПД: 27000907377330 [18:59:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T185958&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68401&fm=27000907377330&tin=02508201610067®Number=0000000000091759&sum=0 [18:59:59]OFD Sender: Processing packet 68401 [packets to send 28, broken 27] [18:59:59]ProducePacketName [18:59:59]name=ofd_packets/00068401 [18:59:59]OFD Sender: To server: pG, [18:59:59]CommunicateWithHost lk.salyk.kg:30040 [18:59:59]ConnectInit lk.salyk.kg [18:59:59]written 0, free lines is 4095 [18:59:59]Connected sock=10 [18:59:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 A9 2F 04 01 70 E7 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 50 C3 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 7C 00 00 00 F4 03 04 00 AE 30 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 31 0B 01 00 35 04 06 00 18 8E A3 7E 2A B2 68 1E 08 15 81 53 BD 85 [18:59:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 7D 46 47 00 8B 43 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 31 0B 01 00 F4 03 04 00 56 DC 20 67 B6 04 01 00 00 5E 6B C0 73 56 73 AC 1E [18:59:59]CommunicateWithHost err = 0 [18:59:59]CheckOFDResponse [18:59:59]1017 (14) - 77093643461234 [18:59:59]1041 (16) - 0000000000871758 [18:59:59]1040 (4) - 68401 [18:59:59]1012 (4) - 29.10.2024 13:00 [18:59:59]1206 (1) - 0 [18:59:59]OFD Sender: Remove packet 68401 [18:59:59]ProducePacketName [18:59:59]name=ofd_packets/00068401 [18:59:59]NVStorageDeleteData [18:59:59]Write to MH i2c: 01 00 00 A8 03 AB [18:59:59]Write i2c OK [18:59:59]MH_I2C_Read... [18:59:59]Read from MH i2c: 01 [18:59:59]MH_I2C_Read... [18:59:59]Read from MH i2c: 01 07 00 [18:59:59]MH_I2C_Read... [18:59:59]Read from MH i2c: 01 07 00 A8 03 00 00 00 00 00 F3 0C B1 [18:59:59]RasterBufferAndPrint [18:59:59]line [18:59:59]line [18:59:59]line [18:59:59]line [18:59:59]line [18:59:59]written 0, free lines is 3321 [18:59:59]MH_Cut [18:59:59]Write to MH i2c: D1 01 00 AF 03 01 84 [18:59:59]Write i2c OK [18:59:59]MH_I2C_Read... [18:59:59]Read from MH i2c: D1 [18:59:59]MH_I2C_Read... [18:59:59]Read from MH i2c: D1 01 00 [18:59:59]MH_I2C_Read... [18:59:59]Read from MH i2c: D1 01 00 AF 03 00 83 [18:59:59]Write to MH i2c: 01 00 00 B0 03 B3 [18:59:59]Write i2c OK [18:59:59]MH_I2C_Read... [19:00:00]OFD Sender: No OFD packet to send [19:00:00]*** Cut start [19:00:00]*** Partial cut [19:00:00]*** CUTSNS_PIN = 1 [19:00:00]*** CUTSNS_PIN = 0 [19:00:00]*** Brake cut motor [19:00:01]Read from MH i2c: 01 [19:00:01]MH_I2C_Read... [19:00:01]*** Stop cut motor [19:00:01]*** Cut end [19:00:01]Read from MH i2c: 01 07 00 [19:00:01]MH_I2C_Read... [19:00:01]Read from MH i2c: 01 07 00 B0 03 00 00 00 00 00 FF 0F C8 [19:00:01]process_action close_receipt done [19:00:01]requested_data is exist [19:00:01]produce_requested_data [19:00:01]requested_item fm.sn is exist - process it [19:00:01]wFMCommunicate request_size=4 [19:00:01]MH_SAM_APDU [19:00:01]CAPDU: 80 11 00 00 [19:00:01]Write to MH i2c: E2 08 00 B1 03 80 11 00 00 00 00 00 00 2E [19:00:01]Write i2c OK [19:00:01]MH_I2C_Read... [19:00:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:01]Read from MH i2c: E2 [19:00:01]MH_I2C_Read... [19:00:01]Read from MH i2c: E2 17 00 [19:00:01]MH_I2C_Read... [19:00:01]Read from MH i2c: E2 17 00 B1 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 85 [19:00:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:00:01]wFMCommunicate OK [19:00:01]requested_item fd.num is exist - process it [19:00:01]SAM_PROTO_GetFieldsCounters [19:00:01]wFMCommunicate request_size=4 [19:00:01]MH_SAM_APDU [19:00:01]CAPDU: 80 13 00 00 [19:00:01]Write to MH i2c: E2 08 00 B2 03 80 13 00 00 00 00 00 00 31 [19:00:01]Write i2c OK [19:00:01]MH_I2C_Read... [19:00:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:00:01]Read from MH i2c: E2 [19:00:01]MH_I2C_Read... [19:00:01]Read from MH i2c: E2 62 00 [19:00:01]MH_I2C_Read... [19:00:01]Read from MH i2c: E2 62 00 B2 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 31 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7C 00 00 00 5E 04 04 00 7C 00 00 00 57 04 04 00 7D 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [19:00:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 31 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7C 00 00 00 5E 04 04 00 7C 00 00 00 57 04 04 00 7D 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:00:01]wFMCommunicate OK [19:00:01]SAM_PROTO_GetFieldsCounters done [19:00:01]requested_item shift.num is exist - process it [19:00:01]requested_item shift.opened is exist - process it [19:00:01]req_shift_opened [19:00:01]FM_GetShiftState [19:00:01]SAM_PROTO_GetShiftState [19:00:01]wFMCommunicate request_size=4 [19:00:01]MH_SAM_APDU [19:00:01]CAPDU: 80 13 01 00 [19:00:01]Write to MH i2c: E2 08 00 B3 03 80 13 01 00 00 00 00 00 33 [19:00:01]Write i2c OK [19:00:01]MH_I2C_Read... [19:00:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:01]Read from MH i2c: E2 [19:00:01]MH_I2C_Read... [19:00:01]Read from MH i2c: E2 0E 00 [19:00:01]MH_I2C_Read... [19:00:01]Read from MH i2c: E2 0E 00 B3 03 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 E3 [19:00:01]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:00:01]wFMCommunicate OK [19:00:01]SAM_PROTO_GetShiftState done [19:00:01]FM_GetShiftState done [19:00:01]req_shift_opened done [19:00:01]requested_item shift.open_date is exist - process it [19:00:01]req_shift_open_date [19:00:01]req_shift_open_date done [19:00:01]produce_requested_data done [19:00:01]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68401,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:00:01]process_action_free close_receipt [19:00:01]json_value_free [19:00:01]json_value_free done [19:00:01]process_json_proto returns [19:00:01]Send response to host [19:00:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68401,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:00:01]free response buf [19:00:01]execute_script done [19:00:01]execute_script returns [19:00:01]free content buf [19:00:01]Sock 8.Close socket [19:00:01]Sock 8.Thread stoped [19:00:05]OFD Sender: No OFD packet to send [19:00:05]int [19:00:05]Write to MH i2c: 01 00 00 B4 03 B7 [19:00:05]*** FLAG_PRN_KEY set [19:00:05]Write i2c OK [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: 01 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: 01 07 00 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: 01 07 00 B4 03 00 08 00 00 00 FF 0F D4 [19:00:05]state=0 [19:00:05]Key pressed [19:00:05]Feed [19:00:05]Write to MH i2c: D8 00 00 B5 03 8F [19:00:05]Write i2c OK [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: D8 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: D8 01 00 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: D8 01 00 B5 03 00 90 [19:00:05]int [19:00:05]Write to MH i2c: 01 00 00 B6 03 B9 [19:00:05]Write i2c OK [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: 01 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: 01 07 00 [19:00:05]MH_I2C_Read... [19:00:05]Read from MH i2c: 01 07 00 B6 03 00 48 00 00 00 3C 00 44 [19:00:05]state=2 [19:00:05]Key pressed [19:00:06]int [19:00:06]Write to MH i2c: 01 00 00 B7 03 BA [19:00:06]*** FLAG_PRN_KEY reset [19:00:06]Write i2c OK [19:00:06]MH_I2C_Read... [19:00:06]Read from MH i2c: 01 [19:00:06]MH_I2C_Read... [19:00:06]Read from MH i2c: 01 07 00 [19:00:06]MH_I2C_Read... [19:00:06]Read from MH i2c: 01 07 00 B7 03 00 00 00 00 00 FD 0F CD [19:00:06]state=2 [19:00:06]Stop feed [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:07]accept exits with 9 [19:01:07]New connection [19:01:07]New thread 3066858852 created [19:01:07]Thread 3066715492 joined [19:01:07]Waiting for new connection... [19:01:07] Sock 9.Parse request [19:01:07]Sock 9.Check first char [19:01:07]Sock 9.First char is OK [19:01:07]request: POST /json_proto HTTP/1.0 [19:01:07]Method: POST [19:01:07]URL: /json_proto [19:01:07]Method is POST - this is cgi request [19:01:07]url: /json_proto [19:01:07]query_string will be loaded in cgi processing [19:01:07]execute_cgi json_proto POST (null) [19:01:07]execute_cgi path=json_proto method=POST [19:01:07]POST find Content-Length [19:01:07]Host: 172.17.42.3:8080 [19:01:07]Content-Length: 708 [19:01:07]Content-Type: application/json [19:01:07] [19:01:07]POST finish read [19:01:07]Found Content-Length = 708 [19:01:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17247", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:01:07]execute_script... [19:01:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17247", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:01:07]POST & json_proto [19:01:07]process_json_proto [19:01:07]json parsed OK: [19:01:07]protocol is kg_v1.0 [19:01:07]action value=close_receipt [19:01:07]process_action close_receipt [19:01:07]cmd_close_receipt [19:01:07]MH_GetDate [19:01:07]Write to MH i2c: F0 00 00 B8 03 AA [19:01:07]Write i2c OK [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: F0 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: F0 09 00 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: F0 09 00 B8 03 00 F5 30 21 67 28 A1 20 67 B0 [19:01:07]GetLastDocTimeStamp 1730228398 [19:01:07]current date 1730228469 [19:01:07]FM_GetShiftState [19:01:07]SAM_PROTO_GetShiftState [19:01:07]wFMCommunicate request_size=4 [19:01:07]MH_SAM_APDU [19:01:07]CAPDU: 80 13 01 00 [19:01:07]Write to MH i2c: E2 08 00 B9 03 80 13 01 00 00 00 00 00 39 [19:01:07]Write i2c OK [19:01:07]MH_I2C_Read... [19:01:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:07]Read from MH i2c: E2 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 0E 00 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 0E 00 B9 03 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 E9 [19:01:07]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:01:07]wFMCommunicate OK [19:01:07]SAM_PROTO_GetShiftState done [19:01:07]FM_GetShiftState done [19:01:07]opened in 1730160885 [19:01:07]opened+sec_in_day 1730247285 [19:01:07]quantity*price = 9500 [19:01:07]sum+1 = 9501 [19:01:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 125 29.10.2024 19:01 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68402 ФПД: 132606811469887 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T190109&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68402&fm=132606811469887&tin=02508201610067®Number=0000000000091759&sum=9500 0 [19:01:08]StoreToDocumentArchive [19:01:08]shift 548 fd 68402 [19:01:08]save to /storage/0548/doc_00068402 [19:01:08]save last doc name /storage/0548/doc_00068402 to /storage/kkm_last_doc_name [19:01:08]save OK [19:01:08]Clear old archive folders... [19:01:08]ProcessDocumentItem done err = 0, tmpTLVsize=304 [19:01:08]tlvbuf is 01DEAFD0 [19:01:08]SAM_PROTO_ClearQueue [19:01:08]wFMCommunicate request_size=4 [19:01:08]MH_SAM_APDU [19:01:08]CAPDU: 80 09 00 00 [19:01:08]Write to MH i2c: E2 08 00 C6 03 80 09 00 00 00 00 00 00 3B [19:01:08]Write i2c OK [19:01:08]MH_I2C_Read... [19:01:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:01:09]Read from MH i2c: E2 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 03 00 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 03 00 C6 03 00 90 00 3D [19:01:09]RAPDU: 90 00 [19:01:09]wFMCommunicate OK [19:01:09]SAM_PROTO_ClearQueue done [19:01:09]KKMCreateOFDPacket [19:01:09]OFDProtocolAddRootSTLVToBuf [19:01:09]FM_MakeSignedData [19:01:09]FM_MakeSignedData [19:01:09]SAM_PROTO_SignData [19:01:09]wFMCommunicate request_size=4 [19:01:09]MH_SAM_APDU [19:01:09]CAPDU: 80 0D 01 02 [19:01:09]Write to MH i2c: E2 08 00 C7 03 80 0D 01 02 00 00 00 00 43 [19:01:09]Write i2c OK [19:01:09]MH_I2C_Read... [19:01:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:01:09]Read from MH i2c: E2 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 03 00 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 03 00 C7 03 00 90 00 3E [19:01:09]RAPDU: 90 00 [19:01:09]wFMCommunicate OK [19:01:09]wFMCommunicate request_size=255 [19:01:09]MH_SAM_APDU [19:01:09]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 F5 30 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 [19:01:09]Write to MH i2c: E2 02 01 C8 03 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 F5 30 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 00 00 D9 [19:01:09]Write i2c OK [19:01:09]MH_I2C_Read... [19:01:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:09]Read from MH i2c: E2 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 03 00 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 03 00 C8 03 00 90 00 3F [19:01:09]RAPDU: 90 00 [19:01:09]wFMCommunicate OK [19:01:09]wFMCommunicate request_size=63 [19:01:09]MH_SAM_APDU [19:01:09]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 32 0B 01 00 35 04 06 00 78 9A ED E4 78 3F [19:01:09]Write to MH i2c: E2 42 00 C9 03 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 32 0B 01 00 35 04 06 00 78 9A ED E4 78 3F 00 00 72 [19:01:09]Write i2c OK [19:01:09]MH_I2C_Read... [19:01:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:09]Read from MH i2c: E2 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 03 00 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 03 00 C9 03 00 90 00 40 [19:01:09]RAPDU: 90 00 [19:01:09]wFMCommunicate OK [19:01:09]wFMCommunicate request_size=4 [19:01:09]MH_SAM_APDU [19:01:09]CAPDU: 80 0D 03 02 [19:01:09]Write to MH i2c: E2 08 00 CA 03 80 0D 03 02 00 00 00 00 48 [19:01:09]Write i2c OK [19:01:09]MH_I2C_Read... [19:01:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:01:09]Read from MH i2c: E2 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 0B 00 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 0B 00 CA 03 00 BF 68 EE 12 9F 2D 8B D7 90 00 9E [19:01:09]RAPDU: BF 68 EE 12 9F 2D 8B D7 90 00 [19:01:09]wFMCommunicate OK [19:01:09]SAM_PROTO_SignData done [19:01:09]FM_MakeSignedData done [19:01:09]CreateOFDProtocolMessage [19:01:09]wFMCommunicate request_size=4 [19:01:09]MH_SAM_APDU [19:01:09]CAPDU: 80 11 00 00 [19:01:09]Write to MH i2c: E2 08 00 CB 03 80 11 00 00 00 00 00 00 48 [19:01:09]Write i2c OK [19:01:09]MH_I2C_Read... [19:01:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:09]Read from MH i2c: E2 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 17 00 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: E2 17 00 CB 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9F [19:01:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:01:09]wFMCommunicate OK [19:01:09]CreateOFDProtocolMessage done [19:01:09]OFDSenderStorePacket 68402 [19:01:09]StoreOFDPacket docnum=68402 [19:01:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 44 01 00 00 D4 15 3C 01 05 55 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 F5 30 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 32 0B 01 00 35 04 06 00 78 9A ED E4 78 3F BF 68 EE 12 9F 2D 8B D7 [19:01:09]CheckFolder [19:01:09]dirname=/storage/ofd_packets [19:01:09]CheckFolder done [19:01:09]ProducePacketName [19:01:09]name=ofd_packets/00068402 [19:01:09]NVStorageSaveData ofd_packets/00068402 [19:01:09]File name is /storage/ofd_packets/00068402 [19:01:09]Write 354 bytes [19:01:09]NVStorageSaveData done [19:01:09]OFDSenderStorePacket done [19:01:09]KKMCreateOFDPacket done [19:01:09]NVStorageSaveData kkm_last_timestamp [19:01:09]File name is /storage/kkm_last_timestamp [19:01:09]Write 4 bytes [19:01:09]NVStorageSaveData done [19:01:09]OFD Sender: Processing packet 68402 [packets to send 28, broken 27] [19:01:09]ProducePacketName [19:01:09]name=ofd_packets/00068402 [19:01:09]OFD Sender: To server: pG, [19:01:09]CommunicateWithHost lk.salyk.kg:30040 [19:01:09]ConnectInit lk.salyk.kg [19:01:09]ExternCall_PrintAddStr [19:01:09]wPrintStart [19:01:09]Write to MH i2c: 01 00 00 CC 03 CF [19:01:09]Write i2c OK [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: 01 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: 01 07 00 [19:01:09]MH_I2C_Read... [19:01:09]Read from MH i2c: 01 07 00 CC 03 00 00 00 00 00 FF 0F E4 [19:01:09]RasterBufferAndPrint [19:01:09]line Счет N : (3)17247 [19:01:09]line ИНН: 02508201610067 [19:01:09]line Контрольно-Кассовый Чек [19:01:09]line ПРОДАЖА [19:01:09]line Товар: 4700000480302 [19:01:09]line Напиток энерг Nitro манго-клуб 0.45 ж/б [19:01:09]line 1.000 * 95.00 [19:01:09]line = 95.00 [19:01:09]line НДС 12% НСП 1% [19:01:09]line > о реализуемом товаре [19:01:09]line ИТОГО: 95.00 [19:01:09]line НСП 1% : 0.84 [19:01:09]line НДС 12% : 10.09 [19:01:09]line Наличными: 95.00 [19:01:09]line Безнал.: 0.00 [19:01:09]line Место: АЗС № 160 "Партнер Нефть" [19:01:09]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:01:09]line СНО: Общий режим [19:01:09]line Чек 125 29.10.2024 19:01 [19:01:09]line Смена: 548 ФФД: 1.0 [19:01:09]line ЗНМ: 0300000093 [19:01:09]line РНМ: 0000000000091759 [19:01:09]line Версия ККМ: 001 [19:01:09]line ФМ: 0000000000871758 [19:01:09]line ФД: 68402 [19:01:09]line ФПД: 132606811469887 [19:01:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T190109&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68402&fm=132606811469887&tin=02508201610067®Number=0000000000091759&sum=9500 [19:01:09]line 0 [19:01:09]Connected sock=11 [19:01:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 44 01 00 00 D4 15 3C 01 05 55 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 F5 30 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 32 0B 01 00 35 04 06 00 78 9A ED E4 78 3F BF 68 EE 12 9F 2D 8B D7 [19:01:09]written 0, free lines is 4095 [19:01:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 AF B0 47 00 B2 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 32 0B 01 00 F4 03 04 00 9C DC 20 67 B6 04 01 00 00 52 77 B0 66 3F 96 C4 74 [19:01:10]CommunicateWithHost err = 0 [19:01:10]CheckOFDResponse [19:01:10]1017 (14) - 77093643461234 [19:01:10]1041 (16) - 0000000000871758 [19:01:10]1040 (4) - 68402 [19:01:10]1012 (4) - 29.10.2024 13:01 [19:01:10]1206 (1) - 0 [19:01:10]OFD Sender: Remove packet 68402 [19:01:10]ProducePacketName [19:01:10]name=ofd_packets/00068402 [19:01:10]NVStorageDeleteData [19:01:10]Write to MH i2c: 01 00 00 F4 03 F7 [19:01:10]Write i2c OK [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: 01 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: 01 07 00 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: 01 07 00 F4 03 00 00 00 00 00 D7 0C E1 [19:01:10]RasterBufferAndPrint [19:01:10]line [19:01:10]line [19:01:10]line [19:01:10]line [19:01:10]line [19:01:10]written 0, free lines is 3292 [19:01:10]MH_Cut [19:01:10]Write to MH i2c: D1 01 00 FB 03 01 D0 [19:01:10]Write i2c OK [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: D1 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: D1 01 00 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: D1 01 00 FB 03 00 CF [19:01:10]Write to MH i2c: 01 00 00 FC 03 FF [19:01:10]Write i2c OK [19:01:10]MH_I2C_Read... [19:01:10]OFD Sender: No OFD packet to send [19:01:11]*** Cut start [19:01:11]*** Partial cut [19:01:11]*** CUTSNS_PIN = 1 [19:01:11]*** CUTSNS_PIN = 0 [19:01:11]*** Brake cut motor [19:01:11]Read from MH i2c: 01 [19:01:11]MH_I2C_Read... [19:01:11]*** Stop cut motor [19:01:11]*** Cut end [19:01:11]Read from MH i2c: 01 07 00 [19:01:11]MH_I2C_Read... [19:01:11]Read from MH i2c: 01 07 00 FC 03 00 00 00 00 00 FF 0F 14 [19:01:11]process_action close_receipt done [19:01:11]requested_data is exist [19:01:11]produce_requested_data [19:01:11]requested_item fm.sn is exist - process it [19:01:11]wFMCommunicate request_size=4 [19:01:11]MH_SAM_APDU [19:01:11]CAPDU: 80 11 00 00 [19:01:11]Write to MH i2c: E2 08 00 FD 03 80 11 00 00 00 00 00 00 7A [19:01:11]Write i2c OK [19:01:11]MH_I2C_Read... [19:01:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:11]Read from MH i2c: E2 [19:01:11]MH_I2C_Read... [19:01:11]Read from MH i2c: E2 17 00 [19:01:11]MH_I2C_Read... [19:01:11]Read from MH i2c: E2 17 00 FD 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D1 [19:01:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:01:11]wFMCommunicate OK [19:01:11]requested_item fd.num is exist - process it [19:01:11]SAM_PROTO_GetFieldsCounters [19:01:11]wFMCommunicate request_size=4 [19:01:11]MH_SAM_APDU [19:01:11]CAPDU: 80 13 00 00 [19:01:11]Write to MH i2c: E2 08 00 FE 03 80 13 00 00 00 00 00 00 7D [19:01:11]Write i2c OK [19:01:11]MH_I2C_Read... [19:01:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:01:11]Read from MH i2c: E2 [19:01:11]MH_I2C_Read... [19:01:11]Read from MH i2c: E2 62 00 [19:01:11]MH_I2C_Read... [19:01:11]Read from MH i2c: E2 62 00 FE 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 32 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7D 00 00 00 5E 04 04 00 7D 00 00 00 57 04 04 00 7E 00 00 00 19 04 04 00 00 00 00 00 90 00 83 [19:01:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 32 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7D 00 00 00 5E 04 04 00 7D 00 00 00 57 04 04 00 7E 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:01:11]wFMCommunicate OK [19:01:11]SAM_PROTO_GetFieldsCounters done [19:01:11]requested_item shift.num is exist - process it [19:01:11]requested_item shift.opened is exist - process it [19:01:11]req_shift_opened [19:01:11]FM_GetShiftState [19:01:11]SAM_PROTO_GetShiftState [19:01:11]wFMCommunicate request_size=4 [19:01:11]MH_SAM_APDU [19:01:11]CAPDU: 80 13 01 00 [19:01:11]Write to MH i2c: E2 08 00 FF 03 80 13 01 00 00 00 00 00 7F [19:01:11]Write i2c OK [19:01:11]MH_I2C_Read... [19:01:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:11]Read from MH i2c: E2 [19:01:11]MH_I2C_Read... [19:01:11]Read from MH i2c: E2 0E 00 [19:01:11]MH_I2C_Read... [19:01:11]Read from MH i2c: E2 0E 00 FF 03 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 2F [19:01:12]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:01:12]wFMCommunicate OK [19:01:12]SAM_PROTO_GetShiftState done [19:01:12]FM_GetShiftState done [19:01:12]req_shift_opened done [19:01:12]requested_item shift.open_date is exist - process it [19:01:12]req_shift_open_date [19:01:12]req_shift_open_date done [19:01:12]produce_requested_data done [19:01:12]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68402,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:01:12]process_action_free close_receipt [19:01:12]json_value_free [19:01:12]json_value_free done [19:01:12]process_json_proto returns [19:01:12]Send response to host [19:01:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68402,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:01:12]free response buf [19:01:12]execute_script done [19:01:12]execute_script returns [19:01:12]free content buf [19:01:12]Sock 9.Close socket [19:01:12]Sock 9.Thread stoped [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:03:00]OFD Sender: No OFD packet to send [19:03:05]OFD Sender: No OFD packet to send [19:03:10]OFD Sender: No OFD packet to send [19:03:15]OFD Sender: No OFD packet to send [19:03:20]OFD Sender: No OFD packet to send [19:03:25]OFD Sender: No OFD packet to send [19:03:30]OFD Sender: No OFD packet to send [19:03:35]OFD Sender: No OFD packet to send [19:03:40]OFD Sender: No OFD packet to send [19:03:45]OFD Sender: No OFD packet to send [19:03:50]OFD Sender: No OFD packet to send [19:03:55]OFD Sender: No OFD packet to send [19:04:00]OFD Sender: No OFD packet to send [19:04:05]OFD Sender: No OFD packet to send [19:04:10]OFD Sender: No OFD packet to send [19:04:15]OFD Sender: No OFD packet to send [19:04:20]OFD Sender: No OFD packet to send [19:04:25]OFD Sender: No OFD packet to send [19:04:30]OFD Sender: No OFD packet to send [19:04:35]OFD Sender: No OFD packet to send [19:04:40]OFD Sender: No OFD packet to send [19:04:42]accept exits with 8 [19:04:42]New connection [19:04:42]New thread 3066715492 created [19:04:42]Thread 3066858852 joined [19:04:42]Waiting for new connection... [19:04:42] Sock 8.Parse request [19:04:42]Sock 8.Check first char [19:04:42]Sock 8.First char is OK [19:04:42]request: POST /json_proto HTTP/1.0 [19:04:42]Method: POST [19:04:42]URL: /json_proto [19:04:42]Method is POST - this is cgi request [19:04:42]url: /json_proto [19:04:42]query_string will be loaded in cgi processing [19:04:42]execute_cgi json_proto POST (null) [19:04:42]execute_cgi path=json_proto method=POST [19:04:42]POST find Content-Length [19:04:42]Host: 172.17.42.3:8080 [19:04:42]Content-Length: 983 [19:04:42]Content-Type: application/json [19:04:42] [19:04:42]POST finish read [19:04:42]Found Content-Length = 983 [19:04:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46396", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 132.980, "sum" : 10000.10, "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 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 132.98 \u0441\u043E\u043C", "deposit" : 10000.00, "total" : 10000.00, "payments": [ { "type": 0, "sum" : 10000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:42]execute_script... [19:04: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)46396", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 132.980, "sum" : 10000.10, "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 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 132.98 \u0441\u043E\u043C", "deposit" : 10000.00, "total" : 10000.00, "payments": [ { "type": 0, "sum" : 10000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:42]POST & json_proto [19:04:42]process_json_proto [19:04:42]json parsed OK: [19:04:42]protocol is kg_v1.0 [19:04:42]action value=close_receipt [19:04:42]process_action close_receipt [19:04:42]cmd_close_receipt [19:04:42]MH_GetDate [19:04:42]Write to MH i2c: F0 00 00 00 04 F3 [19:04:42]Write i2c OK [19:04:42]MH_I2C_Read... [19:04:42]Read from MH i2c: F0 [19:04:42]MH_I2C_Read... [19:04:42]Read from MH i2c: F0 09 00 [19:04:42]MH_I2C_Read... [19:04:42]Read from MH i2c: F0 09 00 00 04 00 CB 31 21 67 28 A1 20 67 D0 [19:04:42]GetLastDocTimeStamp 1730228469 [19:04:42]current date 1730228683 [19:04:42]FM_GetShiftState [19:04:42]SAM_PROTO_GetShiftState [19:04:42]wFMCommunicate request_size=4 [19:04:42]MH_SAM_APDU [19:04:42]CAPDU: 80 13 01 00 [19:04:42]Write to MH i2c: E2 08 00 01 04 80 13 01 00 00 00 00 00 82 [19:04:42]Write i2c OK [19:04:42]MH_I2C_Read... [19:04:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:42]Read from MH i2c: E2 [19:04:42]MH_I2C_Read... [19:04:42]Read from MH i2c: E2 0E 00 [19:04:42]MH_I2C_Read... [19:04:42]Read from MH i2c: E2 0E 00 01 04 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 32 [19:04:42]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:04:42]wFMCommunicate OK [19:04:42]SAM_PROTO_GetShiftState done [19:04:42]FM_GetShiftState done [19:04:42]opened in 1730160885 [19:04:42]opened+sec_in_day 1730247285 [19:04:42]quantity*price = 1000009 [19:04:42]sum+1 = 1000011 [19:04:42]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.10 ИТОГО: 10000.00 Внесено: 10000.00 СДАЧА: 0.00 НСП 1% : 88.50 НДС 12% : 1061.96 Наличными: 10000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 126 29.10.2024 19:04 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Дисконтная программа ДТ номер 160 сэкономлено 132.98 сом ФМ: 0000000000871758 ФД: 68403 ФПД: 122328282145916 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T190443&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68403&fm=122328282145916&tin=02508201610067®Number=0000000000091759&sum=1000000 [19:04:43]StoreToDocumentArchive [19:04:43]shift 548 fd 68403 [19:04:43]save to /storage/0548/doc_00068403 [19:04:43]save last doc name /storage/0548/doc_00068403 to /storage/kkm_last_doc_name [19:04:43]save OK [19:04:43]Clear old archive folders... [19:04:43]ProcessDocumentItem done err = 0, tmpTLVsize=248 [19:04:43]tlvbuf is 01DDF170 [19:04:43]SAM_PROTO_ClearQueue [19:04:43]wFMCommunicate request_size=4 [19:04:43]MH_SAM_APDU [19:04:43]CAPDU: 80 09 00 00 [19:04:43]Write to MH i2c: E2 08 00 0E 04 80 09 00 00 00 00 00 00 84 [19:04:43]Write i2c OK [19:04:43]MH_I2C_Read... [19:04:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:04:43]Read from MH i2c: E2 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 03 00 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 03 00 0E 04 00 90 00 86 [19:04:43]RAPDU: 90 00 [19:04:43]wFMCommunicate OK [19:04:43]SAM_PROTO_ClearQueue done [19:04:43]KKMCreateOFDPacket [19:04:43]OFDProtocolAddRootSTLVToBuf [19:04:43]FM_MakeSignedData [19:04:43]FM_MakeSignedData [19:04:43]SAM_PROTO_SignData [19:04:43]wFMCommunicate request_size=4 [19:04:43]MH_SAM_APDU [19:04:43]CAPDU: 80 0D 01 02 [19:04:43]Write to MH i2c: E2 08 00 0F 04 80 0D 01 02 00 00 00 00 8C [19:04:43]Write i2c OK [19:04:43]MH_I2C_Read... [19:04:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:04:43]Read from MH i2c: E2 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 03 00 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 03 00 0F 04 00 90 00 87 [19:04:43]RAPDU: 90 00 [19:04:43]wFMCommunicate OK [19:04:43]wFMCommunicate request_size=255 [19:04:43]MH_SAM_APDU [19:04:43]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 74 07 02 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 4A 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 CB 31 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 33 0B 01 00 35 04 06 00 6F 41 C5 CD [19:04:43]Write to MH i2c: E2 02 01 10 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 74 07 02 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 4A 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 CB 31 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 33 0B 01 00 35 04 06 00 6F 41 C5 CD 00 00 7A [19:04:43]Write i2c OK [19:04:43]MH_I2C_Read... [19:04:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:43]Read from MH i2c: E2 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 03 00 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 03 00 10 04 00 90 00 88 [19:04:43]RAPDU: 90 00 [19:04:43]wFMCommunicate OK [19:04:43]wFMCommunicate request_size=7 [19:04:43]MH_SAM_APDU [19:04:43]CAPDU: 80 0D 02 02 02 A4 7C [19:04:43]Write to MH i2c: E2 0A 00 11 04 80 0D 02 02 02 00 A4 7C 00 00 B3 [19:04:43]Write i2c OK [19:04:43]MH_I2C_Read... [19:04:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:43]Read from MH i2c: E2 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 03 00 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 03 00 11 04 00 90 00 89 [19:04:43]RAPDU: 90 00 [19:04:43]wFMCommunicate OK [19:04:43]wFMCommunicate request_size=4 [19:04:43]MH_SAM_APDU [19:04:43]CAPDU: 80 0D 03 02 [19:04:43]Write to MH i2c: E2 08 00 12 04 80 0D 03 02 00 00 00 00 91 [19:04:43]Write i2c OK [19:04:43]MH_I2C_Read... [19:04:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:04:43]Read from MH i2c: E2 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 0B 00 [19:04:43]MH_I2C_Read... [19:04:43]Read from MH i2c: E2 0B 00 12 04 00 C2 0C 78 2E A8 D7 9C EA 90 00 0B [19:04:43]RAPDU: C2 0C 78 2E A8 D7 9C EA 90 00 [19:04:43]wFMCommunicate OK [19:04:43]SAM_PROTO_SignData done [19:04:43]FM_MakeSignedData done [19:04:43]CreateOFDProtocolMessage [19:04:43]wFMCommunicate request_size=4 [19:04:43]MH_SAM_APDU [19:04:43]CAPDU: 80 11 00 00 [19:04:43]Write to MH i2c: E2 08 00 13 04 80 11 00 00 00 00 00 00 91 [19:04:43]Write i2c OK [19:04:43]MH_I2C_Read... [19:04:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:44]Read from MH i2c: E2 [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: E2 17 00 [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: E2 17 00 13 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E8 [19:04:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:04:44]wFMCommunicate OK [19:04:44]CreateOFDProtocolMessage done [19:04:44]OFDSenderStorePacket 68403 [19:04:44]StoreOFDPacket docnum=68403 [19:04:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 3F EF 04 01 91 09 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 74 07 02 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 4A 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 CB 31 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 33 0B 01 00 35 04 06 00 6F 41 C5 CD A4 7C C2 0C 78 2E A8 D7 9C EA [19:04:44]CheckFolder [19:04:44]dirname=/storage/ofd_packets [19:04:44]CheckFolder done [19:04:44]ProducePacketName [19:04:44]name=ofd_packets/00068403 [19:04:44]NVStorageSaveData ofd_packets/00068403 [19:04:44]File name is /storage/ofd_packets/00068403 [19:04:44]Write 298 bytes [19:04:44]NVStorageSaveData done [19:04:44]OFDSenderStorePacket done [19:04:44]KKMCreateOFDPacket done [19:04:44]NVStorageSaveData kkm_last_timestamp [19:04:44]File name is /storage/kkm_last_timestamp [19:04:44]Write 4 bytes [19:04:44]NVStorageSaveData done [19:04:44]ExternCall_PrintAddStr [19:04:44]wPrintStart [19:04:44]Write to MH i2c: 01 00 00 14 04 18 [19:04:44]Write i2c OK [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: 01 [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: 01 07 00 [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: 01 07 00 14 04 00 00 00 00 00 FF 0F 2D [19:04:44]RasterBufferAndPrint [19:04:44]line Счет N : (1)46396 [19:04:44]line ИНН: 02508201610067 [19:04:44]line Контрольно-Кассовый Чек [19:04:44]line ПРОДАЖА [19:04:44]line ТРК (МРК, ГНК) : 21 [19:04:44]line Товар: 2710194210 [19:04:44]line ДТ-К-5 [19:04:44]line 132.980 * 75.20 [19:04:44]line = 10000.10 [19:04:44]line НДС 12% НСП 1% [19:04:44]line > о реализуемом товаре [19:04:44]line ОКРУГЛЕНИЕ: -0.10 [19:04:44]line ИТОГО: 10000.00 [19:04:44]line Внесено: 10000.00 [19:04:44]line СДАЧА: 0.00 [19:04:44]line НСП 1% : 88.50 [19:04:44]line НДС 12% : 1061.96 [19:04:44]line Наличными: 10000.00 [19:04:44]line Безнал.: 0.00 [19:04:44]line Место: АЗС № 160 "Партнер Нефть" [19:04:44]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:04:44]line СНО: Общий режим [19:04:44]line Чек 126 29.10.2024 19:04 [19:04:44]line Смена: 548 ФФД: 1.0 [19:04:44]line ЗНМ: 0300000093 [19:04:44]line РНМ: 0000000000091759 [19:04:44]line Версия ККМ: 001 [19:04:44]line [19:04:44]line Дисконтная программа [19:04:44]line ДТ [19:04:44]line номер 160 [19:04:44]line сэкономлено 132.98 сом [19:04:44]line ФМ: 0000000000871758 [19:04:44]line ФД: 68403 [19:04:44]line ФПД: 122328282145916 [19:04:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T190443&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68403&fm=122328282145916&tin=02508201610067®Number=0000000000091759&sum=1000000 [19:04:44]OFD Sender: Processing packet 68403 [packets to send 28, broken 27] [19:04:44]ProducePacketName [19:04:44]name=ofd_packets/00068403 [19:04:44]OFD Sender: To server: pG, [19:04:44]CommunicateWithHost lk.salyk.kg:30040 [19:04:44]ConnectInit lk.salyk.kg [19:04:44]written 0, free lines is 4095 [19:04:44]Connected sock=10 [19:04:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 3F EF 04 01 91 09 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 74 07 02 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 4A 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7E 00 00 00 F4 03 04 00 CB 31 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 33 0B 01 00 35 04 06 00 6F 41 C5 CD A4 7C C2 0C 78 2E A8 D7 9C EA [19:04:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B6 A6 47 00 91 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 33 0B 01 00 F4 03 04 00 73 DD 20 67 B6 04 01 00 00 86 BF 23 0F C4 DD 39 BC [19:04:44]CommunicateWithHost err = 0 [19:04:44]CheckOFDResponse [19:04:44]1017 (14) - 77093643461234 [19:04:44]1041 (16) - 0000000000871758 [19:04:44]1040 (4) - 68403 [19:04:44]1012 (4) - 29.10.2024 13:04 [19:04:44]1206 (1) - 0 [19:04:44]OFD Sender: Remove packet 68403 [19:04:44]ProducePacketName [19:04:44]name=ofd_packets/00068403 [19:04:44]NVStorageDeleteData [19:04:44]Write to MH i2c: 01 00 00 43 04 47 [19:04:44]Write i2c OK [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: 01 [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: 01 07 00 [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: 01 07 00 43 04 00 00 00 00 00 6E 0C C8 [19:04:44]RasterBufferAndPrint [19:04:44]line [19:04:44]line [19:04:44]line [19:04:44]line [19:04:44]line [19:04:44]written 0, free lines is 3187 [19:04:44]MH_Cut [19:04:44]Write to MH i2c: D1 01 00 4A 04 01 20 [19:04:44]Write i2c OK [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: D1 [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: D1 01 00 [19:04:44]MH_I2C_Read... [19:04:44]Read from MH i2c: D1 01 00 4A 04 00 1F [19:04:44]Write to MH i2c: 01 00 00 4B 04 4F [19:04:44]Write i2c OK [19:04:44]MH_I2C_Read... [19:04:45]OFD Sender: No OFD packet to send [19:04:45]*** Cut start [19:04:45]*** Partial cut [19:04:45]*** CUTSNS_PIN = 1 [19:04:45]*** CUTSNS_PIN = 0 [19:04:45]*** Brake cut motor [19:04:46]Read from MH i2c: 01 [19:04:46]MH_I2C_Read... [19:04:46]*** Stop cut motor [19:04:46]*** Cut end [19:04:46]Read from MH i2c: 01 07 00 [19:04:46]MH_I2C_Read... [19:04:46]Read from MH i2c: 01 07 00 4B 04 00 00 00 00 00 FF 0F 64 [19:04:46]process_action close_receipt done [19:04:46]requested_data is exist [19:04:46]produce_requested_data [19:04:46]requested_item fm.sn is exist - process it [19:04:46]wFMCommunicate request_size=4 [19:04:46]MH_SAM_APDU [19:04:46]CAPDU: 80 11 00 00 [19:04:46]Write to MH i2c: E2 08 00 4C 04 80 11 00 00 00 00 00 00 CA [19:04:46]Write i2c OK [19:04:46]MH_I2C_Read... [19:04:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:46]Read from MH i2c: E2 [19:04:46]MH_I2C_Read... [19:04:46]Read from MH i2c: E2 17 00 [19:04:46]MH_I2C_Read... [19:04:46]Read from MH i2c: E2 17 00 4C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 21 [19:04:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:04:46]wFMCommunicate OK [19:04:46]requested_item fd.num is exist - process it [19:04:46]SAM_PROTO_GetFieldsCounters [19:04:46]wFMCommunicate request_size=4 [19:04:46]MH_SAM_APDU [19:04:46]CAPDU: 80 13 00 00 [19:04:46]Write to MH i2c: E2 08 00 4D 04 80 13 00 00 00 00 00 00 CD [19:04:46]Write i2c OK [19:04:46]MH_I2C_Read... [19:04:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:04:46]Read from MH i2c: E2 [19:04:46]MH_I2C_Read... [19:04:46]Read from MH i2c: E2 62 00 [19:04:46]MH_I2C_Read... [19:04:46]Read from MH i2c: E2 62 00 4D 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 33 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7E 00 00 00 5E 04 04 00 7E 00 00 00 57 04 04 00 7F 00 00 00 19 04 04 00 00 00 00 00 90 00 D7 [19:04:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 33 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7E 00 00 00 5E 04 04 00 7E 00 00 00 57 04 04 00 7F 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:04:46]wFMCommunicate OK [19:04:46]SAM_PROTO_GetFieldsCounters done [19:04:46]requested_item shift.num is exist - process it [19:04:46]requested_item shift.opened is exist - process it [19:04:46]req_shift_opened [19:04:46]FM_GetShiftState [19:04:46]SAM_PROTO_GetShiftState [19:04:46]wFMCommunicate request_size=4 [19:04:46]MH_SAM_APDU [19:04:46]CAPDU: 80 13 01 00 [19:04:46]Write to MH i2c: E2 08 00 4E 04 80 13 01 00 00 00 00 00 CF [19:04:46]Write i2c OK [19:04:46]MH_I2C_Read... [19:04:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:46]Read from MH i2c: E2 [19:04:46]MH_I2C_Read... [19:04:46]Read from MH i2c: E2 0E 00 [19:04:46]MH_I2C_Read... [19:04:46]Read from MH i2c: E2 0E 00 4E 04 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 7F [19:04:46]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:04:46]wFMCommunicate OK [19:04:46]SAM_PROTO_GetShiftState done [19:04:46]FM_GetShiftState done [19:04:46]req_shift_opened done [19:04:46]requested_item shift.open_date is exist - process it [19:04:46]req_shift_open_date [19:04:46]req_shift_open_date done [19:04:46]produce_requested_data done [19:04:46]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68403,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:04:46]process_action_free close_receipt [19:04:46]json_value_free [19:04:46]json_value_free done [19:04:46]process_json_proto returns [19:04:46]Send response to host [19:04:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68403,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:04:46]free response buf [19:04:46]execute_script done [19:04:46]execute_script returns [19:04:46]free content buf [19:04:46]Sock 8.Close socket [19:04:46]Sock 8.Thread stoped [19:04:50]OFD Sender: No OFD packet to send [19:04:55]OFD Sender: No OFD packet to send [19:05:00]OFD Sender: No OFD packet to send [19:05:05]OFD Sender: No OFD packet to send [19:05:10]OFD Sender: No OFD packet to send [19:05:15]OFD Sender: No OFD packet to send [19:05:20]OFD Sender: No OFD packet to send [19:05:25]OFD Sender: No OFD packet to send [19:05:30]OFD Sender: No OFD packet to send [19:05:35]OFD Sender: No OFD packet to send [19:05:40]OFD Sender: No OFD packet to send [19:05:45]OFD Sender: No OFD packet to send [19:05:50]OFD Sender: No OFD packet to send [19:05:55]OFD Sender: No OFD packet to send [19:06:00]OFD Sender: No OFD packet to send [19:06:05]OFD Sender: No OFD packet to send [19:06:10]OFD Sender: No OFD packet to send [19:06:15]OFD Sender: No OFD packet to send [19:06:20]OFD Sender: No OFD packet to send [19:06:25]OFD Sender: No OFD packet to send [19:06:30]OFD Sender: No OFD packet to send [19:06:35]OFD Sender: No OFD packet to send [19:06:40]OFD Sender: No OFD packet to send [19:06:45]OFD Sender: No OFD packet to send [19:06:50]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:20]OFD Sender: No OFD packet to send [19:10:25]OFD Sender: No OFD packet to send [19:10:30]OFD Sender: No OFD packet to send [19:10:35]OFD Sender: No OFD packet to send [19:10:40]OFD Sender: No OFD packet to send [19:10:45]OFD Sender: No OFD packet to send [19:10:45]accept exits with 9 [19:10:45]New connection [19:10:45]New thread 3066858852 created [19:10:45]Thread 3066715492 joined [19:10:45]Waiting for new connection... [19:10:45] Sock 9.Parse request [19:10:45]Sock 9.Check first char [19:10:45]Sock 9.First char is OK [19:10:45]request: POST /json_proto HTTP/1.0 [19:10:45]Method: POST [19:10:45]URL: /json_proto [19:10:45]Method is POST - this is cgi request [19:10:45]url: /json_proto [19:10:45]query_string will be loaded in cgi processing [19:10:45]execute_cgi json_proto POST (null) [19:10:45]execute_cgi path=json_proto method=POST [19:10:45]POST find Content-Length [19:10:45]Host: 172.17.42.3:8080 [19:10:45]Content-Length: 983 [19:10:45]Content-Type: application/json [19:10:45] [19:10:45]POST finish read [19:10:45]Found Content-Length = 983 [19:10:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46397", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 22.770, "sum" : 1500.54, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.77 \u0441\u043E\u043C", "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" ] } } [19:10:45]execute_script... [19:10: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)46397", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 22.770, "sum" : 1500.54, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.77 \u0441\u043E\u043C", "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" ] } } [19:10:45]POST & json_proto [19:10:45]process_json_proto [19:10:45]json parsed OK: [19:10:45]protocol is kg_v1.0 [19:10:45]action value=close_receipt [19:10:45]process_action close_receipt [19:10:45]cmd_close_receipt [19:10:45]MH_GetDate [19:10:45]Write to MH i2c: F0 00 00 4F 04 42 [19:10:45]Write i2c OK [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: F0 [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: F0 09 00 [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: F0 09 00 4F 04 00 37 33 21 67 28 A1 20 67 8D [19:10:45]GetLastDocTimeStamp 1730228683 [19:10:45]current date 1730229047 [19:10:45]FM_GetShiftState [19:10:45]SAM_PROTO_GetShiftState [19:10:45]wFMCommunicate request_size=4 [19:10:45]MH_SAM_APDU [19:10:45]CAPDU: 80 13 01 00 [19:10:45]Write to MH i2c: E2 08 00 50 04 80 13 01 00 00 00 00 00 D1 [19:10:45]Write i2c OK [19:10:45]MH_I2C_Read... [19:10:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:10:45]Read from MH i2c: E2 [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: E2 0E 00 [19:10:45]MH_I2C_Read... [19:10:45]Read from MH i2c: E2 0E 00 50 04 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 81 [19:10:45]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:10:45]wFMCommunicate OK [19:10:45]SAM_PROTO_GetShiftState done [19:10:45]FM_GetShiftState done [19:10:45]opened in 1730160885 [19:10:45]opened+sec_in_day 1730247285 [19:10:45]quantity*price = 150054 [19:10:45]sum+1 = 150055 [19:10:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.54 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.35 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 127 29.10.2024 19:10 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Дисконтная программа АИ-92 номер 160 сэкономлено 22.77 сом ФМ: 0000000000871758 ФД: 68404 ФПД: 131083200934063 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T191047&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68404&fm=131083200934063&tin=02508201610067®Number=0000000000091759&sum=150000 [19:10:47]StoreToDocumentArchive [19:10:47]shift 548 fd 68404 [19:10:47]save to /storage/0548/doc_00068404 [19:10:47]save last doc name /storage/0548/doc_00068404 to /storage/kkm_last_doc_name [19:10:47]save OK [19:10:47]Clear old archive folders... [19:10:47]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:10:47]tlvbuf is 01DF8960 [19:10:47]SAM_PROTO_ClearQueue [19:10:47]wFMCommunicate request_size=4 [19:10:47]MH_SAM_APDU [19:10:47]CAPDU: 80 09 00 00 [19:10:47]Write to MH i2c: E2 08 00 5D 04 80 09 00 00 00 00 00 00 D3 [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:10:47]Read from MH i2c: E2 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 03 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 03 00 5D 04 00 90 00 D5 [19:10:47]RAPDU: 90 00 [19:10:47]wFMCommunicate OK [19:10:47]SAM_PROTO_ClearQueue done [19:10:47]KKMCreateOFDPacket [19:10:47]OFDProtocolAddRootSTLVToBuf [19:10:47]FM_MakeSignedData [19:10:47]FM_MakeSignedData [19:10:47]SAM_PROTO_SignData [19:10:47]wFMCommunicate request_size=4 [19:10:47]MH_SAM_APDU [19:10:47]CAPDU: 80 0D 01 02 [19:10:47]Write to MH i2c: E2 08 00 5E 04 80 0D 01 02 00 00 00 00 DB [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:10:47]Read from MH i2c: E2 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 03 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 03 00 5E 04 00 90 00 D6 [19:10:47]RAPDU: 90 00 [19:10:47]wFMCommunicate OK [19:10:47]wFMCommunicate request_size=255 [19:10:47]MH_SAM_APDU [19:10:47]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 7F 00 00 00 F4 03 04 00 37 33 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 34 0B 01 00 35 04 06 00 77 [19:10:47]Write to MH i2c: E2 02 01 5F 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 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 7F 00 00 00 F4 03 04 00 37 33 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 34 0B 01 00 35 04 06 00 77 00 00 F8 [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:47]Read from MH i2c: E2 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 03 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 03 00 5F 04 00 90 00 D7 [19:10:47]RAPDU: 90 00 [19:10:47]wFMCommunicate OK [19:10:47]wFMCommunicate request_size=10 [19:10:47]MH_SAM_APDU [19:10:47]CAPDU: 80 0D 02 02 05 38 2F A0 B0 AF [19:10:47]Write to MH i2c: E2 0D 00 60 04 80 0D 02 02 05 00 38 2F A0 B0 AF 00 00 4E [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:47]Read from MH i2c: E2 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 03 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 03 00 60 04 00 90 00 D8 [19:10:47]RAPDU: 90 00 [19:10:47]wFMCommunicate OK [19:10:47]wFMCommunicate request_size=4 [19:10:47]MH_SAM_APDU [19:10:47]CAPDU: 80 0D 03 02 [19:10:47]Write to MH i2c: E2 08 00 61 04 80 0D 03 02 00 00 00 00 E0 [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:10:47]Read from MH i2c: E2 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 0B 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 0B 00 61 04 00 B2 54 FC 1A EE 2C 3D 0C 90 00 60 [19:10:47]RAPDU: B2 54 FC 1A EE 2C 3D 0C 90 00 [19:10:47]wFMCommunicate OK [19:10:47]SAM_PROTO_SignData done [19:10:47]FM_MakeSignedData done [19:10:47]CreateOFDProtocolMessage [19:10:47]wFMCommunicate request_size=4 [19:10:47]MH_SAM_APDU [19:10:47]CAPDU: 80 11 00 00 [19:10:47]Write to MH i2c: E2 08 00 62 04 80 11 00 00 00 00 00 00 E0 [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:10:47]Read from MH i2c: E2 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 17 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: E2 17 00 62 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 37 [19:10:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:10:47]wFMCommunicate OK [19:10:47]CreateOFDProtocolMessage done [19:10:47]OFDSenderStorePacket 68404 [19:10:47]StoreOFDPacket docnum=68404 [19:10:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 35 08 07 01 D2 87 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 7F 00 00 00 F4 03 04 00 37 33 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 34 0B 01 00 35 04 06 00 77 38 2F A0 B0 AF B2 54 FC 1A EE 2C 3D 0C [19:10:47]CheckFolder [19:10:47]dirname=/storage/ofd_packets [19:10:47]CheckFolder done [19:10:47]ProducePacketName [19:10:47]name=ofd_packets/00068404 [19:10:47]NVStorageSaveData ofd_packets/00068404 [19:10:47]File name is /storage/ofd_packets/00068404 [19:10:47]Write 301 bytes [19:10:47]NVStorageSaveData done [19:10:47]OFDSenderStorePacket done [19:10:47]KKMCreateOFDPacket done [19:10:47]NVStorageSaveData kkm_last_timestamp [19:10:47]File name is /storage/kkm_last_timestamp [19:10:47]Write 4 bytes [19:10:47]NVStorageSaveData done [19:10:47]ExternCall_PrintAddStr [19:10:47]wPrintStart [19:10:47]Write to MH i2c: 01 00 00 63 04 67 [19:10:47]Write i2c OK [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: 01 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: 01 07 00 [19:10:47]MH_I2C_Read... [19:10:47]Read from MH i2c: 01 07 00 63 04 00 00 00 00 00 FF 0F 7C [19:10:47]RasterBufferAndPrint [19:10:47]line Счет N : (1)46397 [19:10:47]line ИНН: 02508201610067 [19:10:47]line Контрольно-Кассовый Чек [19:10:47]line ПРОДАЖА [19:10:47]line ТРК (МРК, ГНК) : 23 [19:10:47]line Товар: 2710124130 [19:10:47]line Аи-92-К-5 [19:10:47]line 22.770 * 65.90 [19:10:47]line = 1500.54 [19:10:47]line НДС 12% НСП 1% [19:10:47]line > о реализуемом товаре [19:10:47]line ОКРУГЛЕНИЕ: -0.54 [19:10:47]line ИТОГО: 1500.00 [19:10:47]line Внесено: 1500.00 [19:10:47]line СДАЧА: 0.00 [19:10:47]line НСП 1% : 13.28 [19:10:47]line НДС 12% : 159.35 [19:10:47]line Наличными: 1500.00 [19:10:47]line Безнал.: 0.00 [19:10:47]line Место: АЗС № 160 "Партнер Нефть" [19:10:47]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:10:47]line СНО: Общий режим [19:10:47]line Чек 127 29.10.2024 19:10 [19:10:47]line Смена: 548 ФФД: 1.0 [19:10:47]line ЗНМ: 0300000093 [19:10:47]line РНМ: 0000000000091759 [19:10:47]line Версия ККМ: 001 [19:10:47]line [19:10:47]line Дисконтная программа [19:10:47]line АИ-92 [19:10:47]line номер 160 [19:10:47]line сэкономлено 22.77 сом [19:10:47]line ФМ: 0000000000871758 [19:10:47]line ФД: 68404 [19:10:47]line ФПД: 131083200934063 [19:10:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T191047&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68404&fm=131083200934063&tin=02508201610067®Number=0000000000091759&sum=150000 [19:10:47]OFD Sender: Processing packet 68404 [packets to send 28, broken 27] [19:10:47]ProducePacketName [19:10:47]name=ofd_packets/00068404 [19:10:47]OFD Sender: To server: pG, [19:10:47]CommunicateWithHost lk.salyk.kg:30040 [19:10:47]ConnectInit lk.salyk.kg [19:10:47]written 0, free lines is 4095 [19:10:47]Connected sock=10 [19:10:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 35 08 07 01 D2 87 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 7F 00 00 00 F4 03 04 00 37 33 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 34 0B 01 00 35 04 06 00 77 38 2F A0 B0 AF B2 54 FC 1A EE 2C 3D 0C [19:10:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E8 D5 47 00 49 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 38 37 31 37 35 38 10 04 04 00 34 0B 01 00 F4 03 04 00 DE DE 20 67 B6 04 01 00 00 82 BA 7C F5 F1 B0 41 D1 [19:10:48]CommunicateWithHost err = 0 [19:10:48]CheckOFDResponse [19:10:48]1017 (14) - 77093643461234 [19:10:48]1041 (16) - 0000000000871758 [19:10:48]1040 (4) - 68404 [19:10:48]1012 (4) - 29.10.2024 13:10 [19:10:48]1206 (1) - 0 [19:10:48]OFD Sender: Remove packet 68404 [19:10:48]ProducePacketName [19:10:48]name=ofd_packets/00068404 [19:10:48]NVStorageDeleteData [19:10:48]Write to MH i2c: 01 00 00 92 04 96 [19:10:48]Write i2c OK [19:10:48]MH_I2C_Read... [19:10:48]Read from MH i2c: 01 [19:10:48]MH_I2C_Read... [19:10:48]Read from MH i2c: 01 07 00 [19:10:48]MH_I2C_Read... [19:10:48]Read from MH i2c: 01 07 00 92 04 00 00 00 00 00 6E 0C 17 [19:10:48]RasterBufferAndPrint [19:10:48]line [19:10:48]line [19:10:48]line [19:10:48]line [19:10:48]line [19:10:48]written 0, free lines is 3187 [19:10:48]MH_Cut [19:10:48]Write to MH i2c: D1 01 00 99 04 01 6F [19:10:48]Write i2c OK [19:10:48]MH_I2C_Read... [19:10:48]Read from MH i2c: D1 [19:10:48]MH_I2C_Read... [19:10:48]Read from MH i2c: D1 01 00 [19:10:48]MH_I2C_Read... [19:10:48]Read from MH i2c: D1 01 00 99 04 00 6E [19:10:48]Write to MH i2c: 01 00 00 9A 04 9E [19:10:48]Write i2c OK [19:10:48]MH_I2C_Read... [19:10:48]OFD Sender: No OFD packet to send [19:10:49]*** Cut start [19:10:49]*** Partial cut [19:10:49]*** CUTSNS_PIN = 1 [19:10:49]*** CUTSNS_PIN = 0 [19:10:49]*** Brake cut motor [19:10:49]Read from MH i2c: 01 [19:10:49]MH_I2C_Read... [19:10:49]*** Stop cut motor [19:10:49]*** Cut end [19:10:49]Read from MH i2c: 01 07 00 [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: 01 07 00 9A 04 00 00 00 00 00 FF 0F B3 [19:10:49]process_action close_receipt done [19:10:49]requested_data is exist [19:10:49]produce_requested_data [19:10:49]requested_item fm.sn is exist - process it [19:10:49]wFMCommunicate request_size=4 [19:10:49]MH_SAM_APDU [19:10:49]CAPDU: 80 11 00 00 [19:10:49]Write to MH i2c: E2 08 00 9B 04 80 11 00 00 00 00 00 00 19 [19:10:49]Write i2c OK [19:10:49]MH_I2C_Read... [19:10:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:10:49]Read from MH i2c: E2 [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: E2 17 00 [19:10:49]MH_I2C_Read... [19:10:49]Read from MH i2c: E2 17 00 9B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 70 [19:10:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:10:49]wFMCommunicate OK [19:10:49]requested_item fd.num is exist - process it [19:10:49]SAM_PROTO_GetFieldsCounters [19:10:49]wFMCommunicate request_size=4 [19:10:49]MH_SAM_APDU [19:10:49]CAPDU: 80 13 00 00 [19:10:49]Write to MH i2c: E2 08 00 9C 04 80 13 00 00 00 00 00 00 1C [19:10:49]Write i2c OK [19:10:49]MH_I2C_Read... [19:10:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:10:50]Read from MH i2c: E2 [19:10:50]MH_I2C_Read... [19:10:50]Read from MH i2c: E2 62 00 [19:10:50]MH_I2C_Read... [19:10:50]Read from MH i2c: E2 62 00 9C 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 34 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7F 00 00 00 5E 04 04 00 7F 00 00 00 57 04 04 00 80 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [19:10:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 34 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 7F 00 00 00 5E 04 04 00 7F 00 00 00 57 04 04 00 80 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:10:50]wFMCommunicate OK [19:10:50]SAM_PROTO_GetFieldsCounters done [19:10:50]requested_item shift.num is exist - process it [19:10:50]requested_item shift.opened is exist - process it [19:10:50]req_shift_opened [19:10:50]FM_GetShiftState [19:10:50]SAM_PROTO_GetShiftState [19:10:50]wFMCommunicate request_size=4 [19:10:50]MH_SAM_APDU [19:10:50]CAPDU: 80 13 01 00 [19:10:50]Write to MH i2c: E2 08 00 9D 04 80 13 01 00 00 00 00 00 1E [19:10:50]Write i2c OK [19:10:50]MH_I2C_Read... [19:10:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:10:50]Read from MH i2c: E2 [19:10:50]MH_I2C_Read... [19:10:50]Read from MH i2c: E2 0E 00 [19:10:50]MH_I2C_Read... [19:10:50]Read from MH i2c: E2 0E 00 9D 04 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 CE [19:10:50]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:10:50]wFMCommunicate OK [19:10:50]SAM_PROTO_GetShiftState done [19:10:50]FM_GetShiftState done [19:10:50]req_shift_opened done [19:10:50]requested_item shift.open_date is exist - process it [19:10:50]req_shift_open_date [19:10:50]req_shift_open_date done [19:10:50]produce_requested_data done [19:10:50]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68404,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:10:50]process_action_free close_receipt [19:10:50]json_value_free [19:10:50]json_value_free done [19:10:50]process_json_proto returns [19:10:50]Send response to host [19:10:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68404,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:10:50]free response buf [19:10:50]execute_script done [19:10:50]execute_script returns [19:10:50]free content buf [19:10:50]Sock 9.Close socket [19:10:50]Sock 9.Thread stoped [19:10:53]OFD Sender: No OFD packet to send [19:10:58]OFD Sender: No OFD packet to send [19:11:03]OFD Sender: No OFD packet to send [19:11:08]OFD Sender: No OFD packet to send [19:11:13]OFD Sender: No OFD packet to send [19:11:18]OFD Sender: No OFD packet to send [19:11:23]OFD Sender: No OFD packet to send [19:11:28]OFD Sender: No OFD packet to send [19:11:33]OFD Sender: No OFD packet to send [19:11:38]OFD Sender: No OFD packet to send [19:11:43]OFD Sender: No OFD packet to send [19:11:48]OFD Sender: No OFD packet to send [19:11:53]OFD Sender: No OFD packet to send [19:11:58]OFD Sender: No OFD packet to send [19:12:03]OFD Sender: No OFD packet to send [19:12:08]OFD Sender: No OFD packet to send [19:12:13]OFD Sender: No OFD packet to send [19:12:18]OFD Sender: No OFD packet to send [19:12:23]OFD Sender: No OFD packet to send [19:12:28]OFD Sender: No OFD packet to send [19:12:33]OFD Sender: No OFD packet to send [19:12:38]OFD Sender: No OFD packet to send [19:12:43]OFD Sender: No OFD packet to send [19:12:48]OFD Sender: No OFD packet to send [19:12:53]OFD Sender: No OFD packet to send [19:12:58]OFD Sender: No OFD packet to send [19:13:03]OFD Sender: No OFD packet to send [19:13:08]OFD Sender: No OFD packet to send [19:13:13]OFD Sender: No OFD packet to send [19:13:18]OFD Sender: No OFD packet to send [19:13:23]OFD Sender: No OFD packet to send [19:13:28]OFD Sender: No OFD packet to send [19:13:33]OFD Sender: No OFD packet to send [19:13:38]OFD Sender: No OFD packet to send [19:13:43]OFD Sender: No OFD packet to send [19:13:48]OFD Sender: No OFD packet to send [19:13:53]OFD Sender: No OFD packet to send [19:13:58]OFD Sender: No OFD packet to send [19:14:03]OFD Sender: No OFD packet to send [19:14:08]OFD Sender: No OFD packet to send [19:14:13]OFD Sender: No OFD packet to send [19:14:18]OFD Sender: No OFD packet to send [19:14:23]OFD Sender: No OFD packet to send [19:14:28]OFD Sender: No OFD packet to send [19:14:33]OFD Sender: No OFD packet to send [19:14:38]OFD Sender: No OFD packet to send [19:14:43]OFD Sender: No OFD packet to send [19:14:48]OFD Sender: No OFD packet to send [19:14:53]OFD Sender: No OFD packet to send [19:14:58]OFD Sender: No OFD packet to send [19:15:03]OFD Sender: No OFD packet to send [19:15:08]OFD Sender: No OFD packet to send [19:15:13]OFD Sender: No OFD packet to send [19:15:18]OFD Sender: No OFD packet to send [19:15:23]OFD Sender: No OFD packet to send [19:15:28]OFD Sender: No OFD packet to send [19:15:33]OFD Sender: No OFD packet to send [19:15:38]OFD Sender: No OFD packet to send [19:15:43]OFD Sender: No OFD packet to send [19:15:48]OFD Sender: No OFD packet to send [19:15:53]OFD Sender: No OFD packet to send [19:15:58]OFD Sender: No OFD packet to send [19:16:03]OFD Sender: No OFD packet to send [19:16:08]OFD Sender: No OFD packet to send [19:16:13]OFD Sender: No OFD packet to send [19:16:18]OFD Sender: No OFD packet to send [19:16:23]OFD Sender: No OFD packet to send [19:16:28]OFD Sender: No OFD packet to send [19:16:33]OFD Sender: No OFD packet to send [19:16:38]OFD Sender: No OFD packet to send [19:16:43]OFD Sender: No OFD packet to send [19:16:48]OFD Sender: No OFD packet to send [19:16:53]OFD Sender: No OFD packet to send [19:16:58]OFD Sender: No OFD packet to send [19:17:03]OFD Sender: No OFD packet to send [19:17:08]OFD Sender: No OFD packet to send [19:17:13]OFD Sender: No OFD packet to send [19:17:18]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:57]accept exits with 8 [19:19:57]New connection [19:19:57]New thread 3066715492 created [19:19:57]Thread 3066858852 joined [19:19:57]Waiting for new connection... [19:19:57] Sock 8.Parse request [19:19:57]Sock 8.Check first char [19:19:57]Sock 8.First char is OK [19:19:57]request: POST /json_proto HTTP/1.0 [19:19:57]Method: POST [19:19:57]URL: /json_proto [19:19:57]Method is POST - this is cgi request [19:19:57]url: /json_proto [19:19:57]query_string will be loaded in cgi processing [19:19:57]execute_cgi json_proto POST (null) [19:19:57]execute_cgi path=json_proto method=POST [19:19:57]POST find Content-Length [19:19:57]Host: 172.17.42.3:8080 [19:19:57]Content-Length: 620 [19:19:57]Content-Type: application/json [19:19:57] [19:19:57]POST finish read [19:19:57]Found Content-Length = 620 [19:19:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17248", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:57]execute_script... [19:19:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17248", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:57]POST & json_proto [19:19:57]process_json_proto [19:19:57]json parsed OK: [19:19:57]protocol is kg_v1.0 [19:19:57]action value=close_receipt [19:19:57]process_action close_receipt [19:19:57]cmd_close_receipt [19:19:57]MH_GetDate [19:19:57]Write to MH i2c: F0 00 00 9E 04 91 [19:19:57]Write i2c OK [19:19:57]MH_I2C_Read... [19:19:57]Read from MH i2c: F0 [19:19:57]MH_I2C_Read... [19:19:57]Read from MH i2c: F0 09 00 [19:19:57]MH_I2C_Read... [19:19:57]Read from MH i2c: F0 09 00 9E 04 00 5E 35 21 67 28 A1 20 67 05 [19:19:57]GetLastDocTimeStamp 1730229047 [19:19:57]current date 1730229598 [19:19:57]FM_GetShiftState [19:19:57]SAM_PROTO_GetShiftState [19:19:57]wFMCommunicate request_size=4 [19:19:57]MH_SAM_APDU [19:19:57]CAPDU: 80 13 01 00 [19:19:57]Write to MH i2c: E2 08 00 9F 04 80 13 01 00 00 00 00 00 20 [19:19:57]Write i2c OK [19:19:57]MH_I2C_Read... [19:19:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:19:57]Read from MH i2c: E2 [19:19:57]MH_I2C_Read... [19:19:57]Read from MH i2c: E2 0E 00 [19:19:57]MH_I2C_Read... [19:19:57]Read from MH i2c: E2 0E 00 9F 04 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D0 [19:19:57]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:19:57]wFMCommunicate OK [19:19:57]SAM_PROTO_GetShiftState done [19:19:57]FM_GetShiftState done [19:19:57]opened in 1730160885 [19:19:57]opened+sec_in_day 1730247285 [19:19:57]quantity*price = 14400 [19:19:57]sum+1 = 14401 [19:19:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 128 29.10.2024 19:19 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68405 ФПД: 23840945260636 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T191959&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68405&fm=23840945260636&tin=02508201610067®Number=0000000000091759&sum=14400 0 [19:19:58]StoreToDocumentArchive [19:19:58]shift 548 fd 68405 [19:19:58]save to /storage/0548/doc_00068405 [19:19:58]save last doc name /storage/0548/doc_00068405 to /storage/kkm_last_doc_name [19:19:58]save OK [19:19:58]Clear old archive folders... [19:19:58]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:19:58]tlvbuf is 01DF5B40 [19:19:58]SAM_PROTO_ClearQueue [19:19:58]wFMCommunicate request_size=4 [19:19:58]MH_SAM_APDU [19:19:58]CAPDU: 80 09 00 00 [19:19:58]Write to MH i2c: E2 08 00 AC 04 80 09 00 00 00 00 00 00 22 [19:19:58]Write i2c OK [19:19:58]MH_I2C_Read... [19:19:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:19:58]Read from MH i2c: E2 [19:19:58]MH_I2C_Read... [19:19:58]Read from MH i2c: E2 03 00 [19:19:58]MH_I2C_Read... [19:19:58]Read from MH i2c: E2 03 00 AC 04 00 90 00 24 [19:19:58]RAPDU: 90 00 [19:19:58]wFMCommunicate OK [19:19:58]SAM_PROTO_ClearQueue done [19:19:58]KKMCreateOFDPacket [19:19:58]OFDProtocolAddRootSTLVToBuf [19:19:58]FM_MakeSignedData [19:19:58]FM_MakeSignedData [19:19:58]SAM_PROTO_SignData [19:19:58]wFMCommunicate request_size=4 [19:19:58]MH_SAM_APDU [19:19:58]CAPDU: 80 0D 01 02 [19:19:58]Write to MH i2c: E2 08 00 AD 04 80 0D 01 02 00 00 00 00 2A [19:19:58]Write i2c OK [19:19:58]MH_I2C_Read... [19:19:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:19:58]Read from MH i2c: E2 [19:19:58]MH_I2C_Read... [19:19:58]Read from MH i2c: E2 03 00 [19:19:58]MH_I2C_Read... [19:19:58]Read from MH i2c: E2 03 00 AD 04 00 90 00 25 [19:19:58]RAPDU: 90 00 [19:19:58]wFMCommunicate OK [19:19:58]wFMCommunicate request_size=255 [19:19:58]MH_SAM_APDU [19:19:58]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 5F 35 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 [19:19:58]Write to MH i2c: E2 02 01 AE 04 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 5F 35 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 00 00 5C [19:19:58]Write i2c OK [19:19:58]MH_I2C_Read... [19:19:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:59]Read from MH i2c: E2 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: E2 03 00 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: E2 03 00 AE 04 00 90 00 26 [19:19:59]RAPDU: 90 00 [19:19:59]wFMCommunicate OK [19:19:59]wFMCommunicate request_size=32 [19:19:59]MH_SAM_APDU [19:19:59]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 35 38 10 04 04 00 35 0B 01 00 35 04 06 00 15 AE E7 12 C8 5C [19:19:59]Write to MH i2c: E2 23 00 AF 04 80 0D 02 02 1B 00 30 30 30 38 37 31 37 35 38 10 04 04 00 35 0B 01 00 35 04 06 00 15 AE E7 12 C8 5C 00 00 AF [19:19:59]Write i2c OK [19:19:59]MH_I2C_Read... [19:19:59]OFD Sender: No OFD packet to send [19:19:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:59]Read from MH i2c: E2 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: E2 03 00 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: E2 03 00 AF 04 00 90 00 27 [19:19:59]RAPDU: 90 00 [19:19:59]wFMCommunicate OK [19:19:59]wFMCommunicate request_size=4 [19:19:59]MH_SAM_APDU [19:19:59]CAPDU: 80 0D 03 02 [19:19:59]Write to MH i2c: E2 08 00 B0 04 80 0D 03 02 00 00 00 00 2F [19:19:59]Write i2c OK [19:19:59]MH_I2C_Read... [19:19:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:19:59]Read from MH i2c: E2 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: E2 0B 00 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: E2 0B 00 B0 04 00 3A 8C 2B A5 3E EB 24 0C 90 00 1F [19:19:59]RAPDU: 3A 8C 2B A5 3E EB 24 0C 90 00 [19:19:59]wFMCommunicate OK [19:19:59]SAM_PROTO_SignData done [19:19:59]FM_MakeSignedData done [19:19:59]CreateOFDProtocolMessage [19:19:59]wFMCommunicate request_size=4 [19:19:59]MH_SAM_APDU [19:19:59]CAPDU: 80 11 00 00 [19:19:59]Write to MH i2c: E2 08 00 B1 04 80 11 00 00 00 00 00 00 2F [19:19:59]Write i2c OK [19:19:59]MH_I2C_Read... [19:19:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:19:59]Read from MH i2c: E2 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: E2 17 00 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: E2 17 00 B1 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 86 [19:19:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:19:59]wFMCommunicate OK [19:19:59]CreateOFDProtocolMessage done [19:19:59]OFDSenderStorePacket 68405 [19:19:59]StoreOFDPacket docnum=68405 [19:19:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 A5 4D 1D 01 FF E8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 5F 35 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 35 0B 01 00 35 04 06 00 15 AE E7 12 C8 5C 3A 8C 2B A5 3E EB 24 0C [19:19:59]CheckFolder [19:19:59]dirname=/storage/ofd_packets [19:19:59]CheckFolder done [19:19:59]ProducePacketName [19:19:59]name=ofd_packets/00068405 [19:19:59]NVStorageSaveData ofd_packets/00068405 [19:19:59]File name is /storage/ofd_packets/00068405 [19:19:59]Write 323 bytes [19:19:59]NVStorageSaveData done [19:19:59]OFDSenderStorePacket done [19:19:59]KKMCreateOFDPacket done [19:19:59]NVStorageSaveData kkm_last_timestamp [19:19:59]File name is /storage/kkm_last_timestamp [19:19:59]Write 4 bytes [19:19:59]NVStorageSaveData done [19:19:59]ExternCall_PrintAddStr [19:19:59]wPrintStart [19:19:59]Write to MH i2c: 01 00 00 B2 04 B6 [19:19:59]Write i2c OK [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: 01 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: 01 07 00 [19:19:59]MH_I2C_Read... [19:19:59]Read from MH i2c: 01 07 00 B2 04 00 00 00 00 00 FF 0F CB [19:19:59]RasterBufferAndPrint [19:19:59]line Счет N : (3)17248 [19:19:59]line ИНН: 02508201610067 [19:19:59]line Контрольно-Кассовый Чек [19:19:59]line ПРОДАЖА [19:19:59]line Товар: 48743570 [19:19:59]line Сигареты Winston XStyle Blue [19:19:59]line 1.000 * 144.00 [19:19:59]line = 144.00 [19:19:59]line НДС 12% НСП 1% [19:19:59]line > о реализуемом товаре [19:19:59]line ИТОГО: 144.00 [19:19:59]line НСП 1% : 1.27 [19:19:59]line НДС 12% : 15.29 [19:19:59]line Наличными: 144.00 [19:19:59]line Безнал.: 0.00 [19:19:59]line Место: АЗС № 160 "Партнер Нефть" [19:19:59]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:19:59]line СНО: Общий режим [19:19:59]line Чек 128 29.10.2024 19:19 [19:19:59]line Смена: 548 ФФД: 1.0 [19:19:59]line ЗНМ: 0300000093 [19:19:59]line РНМ: 0000000000091759 [19:19:59]line Версия ККМ: 001 [19:19:59]line ФМ: 0000000000871758 [19:19:59]line ФД: 68405 [19:19:59]line ФПД: 23840945260636 [19:19:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T191959&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68405&fm=23840945260636&tin=02508201610067®Number=0000000000091759&sum=14400 [19:19:59]OFD Sender: Processing packet 68405 [packets to send 28, broken 27] [19:19:59]ProducePacketName [19:19:59]name=ofd_packets/00068405 [19:19:59]OFD Sender: To server: pG, [19:19:59]CommunicateWithHost lk.salyk.kg:30040 [19:19:59]ConnectInit lk.salyk.kg [19:19:59]line 0 [19:19:59]written 0, free lines is 4095 [19:19:59]Connected sock=10 [19:19:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 A5 4D 1D 01 FF E8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 5F 35 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 35 0B 01 00 35 04 06 00 15 AE E7 12 C8 5C 3A 8C 2B A5 3E EB 24 0C [19:19:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 33 20 47 00 F9 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 35 0B 01 00 F4 03 04 00 06 E1 20 67 B6 04 01 00 00 1A AE EC E9 B1 6C 3C E4 [19:19:59]CommunicateWithHost err = 0 [19:19:59]CheckOFDResponse [19:19:59]1017 (14) - 77093643461234 [19:19:59]1041 (16) - 0000000000871758 [19:19:59]1040 (4) - 68405 [19:19:59]1012 (4) - 29.10.2024 13:20 [19:19:59]1206 (1) - 0 [19:19:59]OFD Sender: Remove packet 68405 [19:19:59]ProducePacketName [19:19:59]name=ofd_packets/00068405 [19:19:59]NVStorageDeleteData [19:20:00]Write to MH i2c: 01 00 00 D9 04 DD [19:20:00]Write i2c OK [19:20:00]MH_I2C_Read... [19:20:00]Read from MH i2c: 01 [19:20:00]MH_I2C_Read... [19:20:00]Read from MH i2c: 01 07 00 [19:20:00]MH_I2C_Read... [19:20:00]Read from MH i2c: 01 07 00 D9 04 00 00 00 00 00 E6 0C D6 [19:20:00]RasterBufferAndPrint [19:20:00]line [19:20:00]line [19:20:00]line [19:20:00]line [19:20:00]line [19:20:00]written 0, free lines is 3306 [19:20:00]MH_Cut [19:20:00]Write to MH i2c: D1 01 00 E0 04 01 B6 [19:20:00]Write i2c OK [19:20:00]MH_I2C_Read... [19:20:00]Read from MH i2c: D1 [19:20:00]MH_I2C_Read... [19:20:00]Read from MH i2c: D1 01 00 [19:20:00]MH_I2C_Read... [19:20:00]Read from MH i2c: D1 01 00 E0 04 00 B5 [19:20:00]Write to MH i2c: 01 00 00 E1 04 E5 [19:20:00]Write i2c OK [19:20:00]MH_I2C_Read... [19:20:00]OFD Sender: No OFD packet to send [19:20:00]*** Cut start [19:20:00]*** Partial cut [19:20:00]*** CUTSNS_PIN = 1 [19:20:00]*** CUTSNS_PIN = 0 [19:20:01]*** Brake cut motor [19:20:01]Read from MH i2c: 01 [19:20:01]MH_I2C_Read... [19:20:01]*** Stop cut motor [19:20:01]*** Cut end [19:20:01]Read from MH i2c: 01 07 00 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: 01 07 00 E1 04 00 00 00 00 00 FF 0F FA [19:20:01]process_action close_receipt done [19:20:01]requested_data is exist [19:20:01]produce_requested_data [19:20:01]requested_item fm.sn is exist - process it [19:20:01]wFMCommunicate request_size=4 [19:20:01]MH_SAM_APDU [19:20:01]CAPDU: 80 11 00 00 [19:20:01]Write to MH i2c: E2 08 00 E2 04 80 11 00 00 00 00 00 00 60 [19:20:01]Write i2c OK [19:20:01]MH_I2C_Read... [19:20:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:20:01]Read from MH i2c: E2 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: E2 17 00 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: E2 17 00 E2 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B7 [19:20:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:20:01]wFMCommunicate OK [19:20:01]requested_item fd.num is exist - process it [19:20:01]SAM_PROTO_GetFieldsCounters [19:20:01]wFMCommunicate request_size=4 [19:20:01]MH_SAM_APDU [19:20:01]CAPDU: 80 13 00 00 [19:20:01]Write to MH i2c: E2 08 00 E3 04 80 13 00 00 00 00 00 00 63 [19:20:01]Write i2c OK [19:20:01]MH_I2C_Read... [19:20:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:20:01]Read from MH i2c: E2 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: E2 62 00 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: E2 62 00 E3 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 35 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [19:20:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 35 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:20:01]wFMCommunicate OK [19:20:01]SAM_PROTO_GetFieldsCounters done [19:20:01]requested_item shift.num is exist - process it [19:20:01]requested_item shift.opened is exist - process it [19:20:01]req_shift_opened [19:20:01]FM_GetShiftState [19:20:01]SAM_PROTO_GetShiftState [19:20:01]wFMCommunicate request_size=4 [19:20:01]MH_SAM_APDU [19:20:01]CAPDU: 80 13 01 00 [19:20:01]Write to MH i2c: E2 08 00 E4 04 80 13 01 00 00 00 00 00 65 [19:20:01]Write i2c OK [19:20:01]MH_I2C_Read... [19:20:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:20:01]Read from MH i2c: E2 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: E2 0E 00 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: E2 0E 00 E4 04 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 15 [19:20:01]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:20:01]wFMCommunicate OK [19:20:01]SAM_PROTO_GetShiftState done [19:20:01]FM_GetShiftState done [19:20:01]req_shift_opened done [19:20:01]requested_item shift.open_date is exist - process it [19:20:01]req_shift_open_date [19:20:01]req_shift_open_date done [19:20:01]produce_requested_data done [19:20:01]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68405,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:20:01]process_action_free close_receipt [19:20:01]json_value_free [19:20:01]json_value_free done [19:20:01]process_json_proto returns [19:20:01]Send response to host [19:20:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68405,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:20:01]free response buf [19:20:01]execute_script done [19:20:01]execute_script returns [19:20:01]free content buf [19:20:01]Sock 8.Close socket [19:20:01]Sock 8.Thread stoped [19:20:05]OFD Sender: No OFD packet to send [19:20:10]OFD Sender: No OFD packet to send [19:20:15]OFD Sender: No OFD packet to send [19:20:20]OFD Sender: No OFD packet to send [19:20:25]OFD Sender: No OFD packet to send [19:20:30]OFD Sender: No OFD packet to send [19:20:35]OFD Sender: No OFD packet to send [19:20:40]OFD Sender: No OFD packet to send [19:20:45]OFD Sender: No OFD packet to send [19:20:50]OFD Sender: No OFD packet to send [19:20:55]OFD Sender: No OFD packet to send [19:21:00]OFD Sender: No OFD packet to send [19:21:05]OFD Sender: No OFD packet to send [19:21:10]OFD Sender: No OFD packet to send [19:21:15]OFD Sender: No OFD packet to send [19:21:20]OFD Sender: No OFD packet to send [19:21:25]OFD Sender: No OFD packet to send [19:21:30]OFD Sender: No OFD packet to send [19:21:35]OFD Sender: No OFD packet to send [19:21:40]OFD Sender: No OFD packet to send [19:21:45]OFD Sender: No OFD packet to send [19:21:50]OFD Sender: No OFD packet to send [19:21:55]OFD Sender: No OFD packet to send [19:22:00]OFD Sender: No OFD packet to send [19:22:05]OFD Sender: No OFD packet to send [19:22:10]OFD Sender: No OFD packet to send [19:22:15]OFD Sender: No OFD packet to send [19:22:20]OFD Sender: No OFD packet to send [19:22:25]OFD Sender: No OFD packet to send [19:22:30]OFD Sender: No OFD packet to send [19:22:35]OFD Sender: No OFD packet to send [19:22:40]OFD Sender: No OFD packet to send [19:22:45]OFD Sender: No OFD packet to send [19:22:50]OFD Sender: No OFD packet to send [19:22:55]OFD Sender: No OFD packet to send [19:23:00]OFD Sender: No OFD packet to send [19:23:05]OFD Sender: No OFD packet to send [19:23:10]OFD Sender: No OFD packet to send [19:23:15]OFD Sender: No OFD packet to send [19:23:20]OFD Sender: No OFD packet to send [19:23:25]OFD Sender: No OFD packet to send [19:23:30]OFD Sender: No OFD packet to send [19:23:35]OFD Sender: No OFD packet to send [19:23:40]OFD Sender: No OFD packet to send [19:23:45]OFD Sender: No OFD packet to send [19:23:50]OFD Sender: No OFD packet to send [19:23:55]OFD Sender: No OFD packet to send [19:24:00]OFD Sender: No OFD packet to send [19:24:05]OFD Sender: No OFD packet to send [19:24:10]OFD Sender: No OFD packet to send [19:24:15]OFD Sender: No OFD packet to send [19:24:20]OFD Sender: No OFD packet to send [19:24:25]OFD Sender: No OFD packet to send [19:24:30]OFD Sender: No OFD packet to send [19:24:35]OFD Sender: No OFD packet to send [19:24:40]OFD Sender: No OFD packet to send [19:24:45]OFD Sender: No OFD packet to send [19:24:50]OFD Sender: No OFD packet to send [19:24:55]OFD Sender: No OFD packet to send [19:25:00]OFD Sender: No OFD packet to send [19:25:05]OFD Sender: No OFD packet to send [19:25:10]OFD Sender: No OFD packet to send [19:25:15]OFD Sender: No OFD packet to send [19:25:20]OFD Sender: No OFD packet to send [19:25:25]OFD Sender: No OFD packet to send [19:25:30]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:36]int [19:29:36]Write to MH i2c: 01 00 00 E5 04 E9 [19:29:36]Write i2c OK [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 [19:29:36]MH_I2C_Read... [19:29:36]*** FLAG_PRN_KEY set [19:29:36]*** FLAG_PRN_KEY reset [19:29:36]Read from MH i2c: 01 07 00 [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 07 00 E5 04 00 00 00 00 00 FF 0F FE [19:29:36]state=0 [19:29:36]int [19:29:36]Write to MH i2c: 01 00 00 E6 04 EA [19:29:36]*** FLAG_PRN_KEY set [19:29:36]Write i2c OK [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 07 00 [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 07 00 E6 04 00 08 00 00 00 FF 0F 07 [19:29:36]state=0 [19:29:36]Key pressed [19:29:36]Feed [19:29:36]Write to MH i2c: D8 00 00 E7 04 C2 [19:29:36]Write i2c OK [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: D8 [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: D8 01 00 [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: D8 01 00 E7 04 00 C3 [19:29:36]int [19:29:36]Write to MH i2c: 01 00 00 E8 04 EC [19:29:36]Write i2c OK [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 07 00 [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 07 00 E8 04 00 48 00 00 00 3C 00 77 [19:29:36]state=2 [19:29:36]Key pressed [19:29:36]int [19:29:36]Write to MH i2c: 01 00 00 E9 04 ED [19:29:36]*** FLAG_PRN_KEY reset [19:29:36]Write i2c OK [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 07 00 [19:29:36]MH_I2C_Read... [19:29:36]Read from MH i2c: 01 07 00 E9 04 00 00 00 00 00 F9 0F FC [19:29:36]state=2 [19:29:36]Stop feed [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:07]accept exits with 9 [19:30:07]New connection [19:30:07]New thread 3066858852 created [19:30:07]Thread 3066715492 joined [19:30:07]Waiting for new connection... [19:30:07] Sock 9.Parse request [19:30:07]Sock 9.Check first char [19:30:07]Sock 9.First char is OK [19:30:07]request: POST /json_proto HTTP/1.0 [19:30:07]Method: POST [19:30:07]URL: /json_proto [19:30:07]Method is POST - this is cgi request [19:30:07]url: /json_proto [19:30:07]query_string will be loaded in cgi processing [19:30:07]execute_cgi json_proto POST (null) [19:30:07]execute_cgi path=json_proto method=POST [19:30:07]POST find Content-Length [19:30:07]Host: 172.17.42.3:8080 [19:30:07]Content-Length: 791 [19:30:07]Content-Type: application/json [19:30:07] [19:30:07]POST finish read [19:30:07]Found Content-Length = 791 [19:30:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46398", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 13.770, "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\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A74898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:07]execute_script... [19:30: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)46398", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 13.770, "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\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A74898", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:07]POST & json_proto [19:30:07]process_json_proto [19:30:07]json parsed OK: [19:30:07]protocol is kg_v1.0 [19:30:07]action value=close_receipt [19:30:07]process_action close_receipt [19:30:07]cmd_close_receipt [19:30:07]MH_GetDate [19:30:07]Write to MH i2c: F0 00 00 EA 04 DD [19:30:07]Write i2c OK [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: F0 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: F0 09 00 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: F0 09 00 EA 04 00 C0 37 21 67 28 A1 20 67 B5 [19:30:07]GetLastDocTimeStamp 1730229599 [19:30:07]current date 1730230208 [19:30:07]FM_GetShiftState [19:30:07]SAM_PROTO_GetShiftState [19:30:07]wFMCommunicate request_size=4 [19:30:07]MH_SAM_APDU [19:30:07]CAPDU: 80 13 01 00 [19:30:07]Write to MH i2c: E2 08 00 EB 04 80 13 01 00 00 00 00 00 6C [19:30:07]Write i2c OK [19:30:07]MH_I2C_Read... [19:30:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:07]Read from MH i2c: E2 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 0E 00 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 0E 00 EB 04 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 1C [19:30:07]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:30:07]wFMCommunicate OK [19:30:07]SAM_PROTO_GetShiftState done [19:30:07]FM_GetShiftState done [19:30:07]opened in 1730160885 [19:30:07]opened+sec_in_day 1730247285 [19:30:07]quantity*price = 0 [19:30:07]sum+1 = 1 [19:30:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 129 29.10.2024 19:30 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Талоны: Топливная Карта 74898 ФМ: 0000000000871758 ФД: 68406 ФПД: 245125312133463 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T193008&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68406&fm=245125312133463&tin=02508201610067®Number=0000000000091759&sum=0 [19:30:08]StoreToDocumentArchive [19:30:08]shift 548 fd 68406 [19:30:08]save to /storage/0548/doc_00068406 [19:30:08]save last doc name /storage/0548/doc_00068406 to /storage/kkm_last_doc_name [19:30:08]save OK [19:30:08]Clear old archive folders... [19:30:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:30:08]tlvbuf is 01E08950 [19:30:08]SAM_PROTO_ClearQueue [19:30:08]wFMCommunicate request_size=4 [19:30:08]MH_SAM_APDU [19:30:08]CAPDU: 80 09 00 00 [19:30:08]Write to MH i2c: E2 08 00 F8 04 80 09 00 00 00 00 00 00 6E [19:30:08]Write i2c OK [19:30:08]MH_I2C_Read... [19:30:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:30:08]Read from MH i2c: E2 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: E2 03 00 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: E2 03 00 F8 04 00 90 00 70 [19:30:08]RAPDU: 90 00 [19:30:08]wFMCommunicate OK [19:30:08]SAM_PROTO_ClearQueue done [19:30:08]KKMCreateOFDPacket [19:30:08]OFDProtocolAddRootSTLVToBuf [19:30:08]FM_MakeSignedData [19:30:08]FM_MakeSignedData [19:30:08]SAM_PROTO_SignData [19:30:08]wFMCommunicate request_size=4 [19:30:08]MH_SAM_APDU [19:30:08]CAPDU: 80 0D 01 02 [19:30:08]Write to MH i2c: E2 08 00 F9 04 80 0D 01 02 00 00 00 00 76 [19:30:08]Write i2c OK [19:30:08]MH_I2C_Read... [19:30:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:30:08]Read from MH i2c: E2 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: E2 03 00 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: E2 03 00 F9 04 00 90 00 71 [19:30:08]RAPDU: 90 00 [19:30:08]wFMCommunicate OK [19:30:08]wFMCommunicate request_size=255 [19:30:08]MH_SAM_APDU [19:30:08]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 CA 35 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 81 00 00 00 F4 03 04 00 C0 37 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 36 0B 01 00 35 04 06 00 DE [19:30:08]Write to MH i2c: E2 02 01 FA 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 CA 35 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 81 00 00 00 F4 03 04 00 C0 37 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 36 0B 01 00 35 04 06 00 DE 00 00 CF [19:30:08]Write i2c OK [19:30:08]MH_I2C_Read... [19:30:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:08]Read from MH i2c: E2 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: E2 03 00 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: E2 03 00 FA 04 00 90 00 72 [19:30:08]RAPDU: 90 00 [19:30:08]wFMCommunicate OK [19:30:08]wFMCommunicate request_size=10 [19:30:08]MH_SAM_APDU [19:30:08]CAPDU: 80 0D 02 02 05 F0 AF 27 B9 57 [19:30:08]Write to MH i2c: E2 0D 00 FB 04 80 0D 02 02 05 00 F0 AF 27 B9 57 00 00 59 [19:30:08]Write i2c OK [19:30:08]MH_I2C_Read... [19:30:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:08]Read from MH i2c: E2 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: E2 03 00 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: E2 03 00 FB 04 00 90 00 73 [19:30:08]RAPDU: 90 00 [19:30:08]wFMCommunicate OK [19:30:08]wFMCommunicate request_size=4 [19:30:08]MH_SAM_APDU [19:30:08]CAPDU: 80 0D 03 02 [19:30:08]Write to MH i2c: E2 08 00 FC 04 80 0D 03 02 00 00 00 00 7B [19:30:08]Write i2c OK [19:30:08]MH_I2C_Read... [19:30:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:30:09]Read from MH i2c: E2 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 0B 00 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 0B 00 FC 04 00 2C 3C D3 35 B4 AF 7E DD 90 00 AA [19:30:09]RAPDU: 2C 3C D3 35 B4 AF 7E DD 90 00 [19:30:09]wFMCommunicate OK [19:30:09]SAM_PROTO_SignData done [19:30:09]FM_MakeSignedData done [19:30:09]CreateOFDProtocolMessage [19:30:09]wFMCommunicate request_size=4 [19:30:09]MH_SAM_APDU [19:30:09]CAPDU: 80 11 00 00 [19:30:09]Write to MH i2c: E2 08 00 FD 04 80 11 00 00 00 00 00 00 7B [19:30:09]Write i2c OK [19:30:09]MH_I2C_Read... [19:30:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:09]Read from MH i2c: E2 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 17 00 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 17 00 FD 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D2 [19:30:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:30:09]wFMCommunicate OK [19:30:09]CreateOFDProtocolMessage done [19:30:09]OFDSenderStorePacket 68406 [19:30:09]StoreOFDPacket docnum=68406 [19:30:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 55 B9 07 01 D8 A5 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CA 35 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 81 00 00 00 F4 03 04 00 C0 37 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 36 0B 01 00 35 04 06 00 DE F0 AF 27 B9 57 2C 3C D3 35 B4 AF 7E DD [19:30:09]CheckFolder [19:30:09]dirname=/storage/ofd_packets [19:30:09]CheckFolder done [19:30:09]ProducePacketName [19:30:09]name=ofd_packets/00068406 [19:30:09]NVStorageSaveData ofd_packets/00068406 [19:30:09]File name is /storage/ofd_packets/00068406 [19:30:09]Write 301 bytes [19:30:09]NVStorageSaveData done [19:30:09]OFDSenderStorePacket done [19:30:09]KKMCreateOFDPacket done [19:30:09]NVStorageSaveData kkm_last_timestamp [19:30:09]File name is /storage/kkm_last_timestamp [19:30:09]Write 4 bytes [19:30:09]NVStorageSaveData done [19:30:09]ExternCall_PrintAddStr [19:30:09]wPrintStart [19:30:09]Write to MH i2c: 01 00 00 FE 04 02 [19:30:09]Write i2c OK [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: 01 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: 01 07 00 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: 01 07 00 FE 04 00 00 00 00 00 FF 0F 17 [19:30:09]RasterBufferAndPrint [19:30:09]line Счет N : (1)46398 [19:30:09]line ИНН: 02508201610067 [19:30:09]line Контрольно-Кассовый Чек [19:30:09]line ПРОДАЖА [19:30:09]line ТРК (МРК, ГНК) : 33 [19:30:09]line Товар: 2710124130 [19:30:09]line Аи-92-К-5 [19:30:09]line 13.770 * 0.00 [19:30:09]line = 0.00 [19:30:09]line НДС 12% НСП 1% [19:30:09]line > о реализуемом товаре [19:30:09]line ИТОГО: 0.00 [19:30:09]line НСП 1% : 0.00 [19:30:09]line НДС 12% : 0.00 [19:30:09]line Наличными: 0.00 [19:30:09]line Безнал.: 0.00 [19:30:09]line Место: АЗС № 160 "Партнер Нефть" [19:30:09]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:30:09]line СНО: Общий режим [19:30:09]line Чек 129 29.10.2024 19:30 [19:30:09]line Смена: 548 ФФД: 1.0 [19:30:09]line ЗНМ: 0300000093 [19:30:09]line РНМ: 0000000000091759 [19:30:09]line Версия ККМ: 001 [19:30:09]line Талоны: Топливная Карта [19:30:09]line 74898 [19:30:09]line ФМ: 0000000000871758 [19:30:09]line ФД: 68406 [19:30:09]line ФПД: 245125312133463 [19:30:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T193008&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68406&fm=245125312133463&tin=02508201610067®Number=0000000000091759&sum=0 [19:30:09]written 0, free lines is 4095 [19:30:09]OFD Sender: Processing packet 68406 [packets to send 28, broken 27] [19:30:09]ProducePacketName [19:30:09]name=ofd_packets/00068406 [19:30:09]OFD Sender: To server: pG, [19:30:09]CommunicateWithHost lk.salyk.kg:30040 [19:30:09]ConnectInit lk.salyk.kg [19:30:09]Connected sock=10 [19:30:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 55 B9 07 01 D8 A5 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CA 35 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 81 00 00 00 F4 03 04 00 C0 37 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 36 0B 01 00 35 04 06 00 DE F0 AF 27 B9 57 2C 3C D3 35 B4 AF 7E DD [19:30:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 30 2C 47 00 23 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 36 0B 01 00 F4 03 04 00 68 E3 20 67 B6 04 01 00 00 F8 4A 99 E4 E9 0C BE C7 [19:30:09]CommunicateWithHost err = 0 [19:30:09]CheckOFDResponse [19:30:09]1017 (14) - 77093643461234 [19:30:09]1041 (16) - 0000000000871758 [19:30:09]1040 (4) - 68406 [19:30:09]1012 (4) - 29.10.2024 13:30 [19:30:09]1206 (1) - 0 [19:30:09]OFD Sender: Remove packet 68406 [19:30:09]ProducePacketName [19:30:09]name=ofd_packets/00068406 [19:30:09]NVStorageDeleteData [19:30:09]Write to MH i2c: 01 00 00 27 05 2C [19:30:09]Write i2c OK [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: 01 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: 01 07 00 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: 01 07 00 27 05 00 00 00 00 00 DE 0C 1D [19:30:09]RasterBufferAndPrint [19:30:09]line [19:30:09]line [19:30:09]line [19:30:09]line [19:30:09]line [19:30:09]written 0, free lines is 3298 [19:30:09]MH_Cut [19:30:09]Write to MH i2c: D1 01 00 2E 05 01 05 [19:30:09]Write i2c OK [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: D1 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: D1 01 00 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: D1 01 00 2E 05 00 04 [19:30:09]Write to MH i2c: 01 00 00 2F 05 34 [19:30:09]Write i2c OK [19:30:09]MH_I2C_Read... [19:30:09]OFD Sender: No OFD packet to send [19:30:10]*** Cut start [19:30:10]*** Partial cut [19:30:10]*** CUTSNS_PIN = 1 [19:30:10]*** CUTSNS_PIN = 0 [19:30:10]*** Brake cut motor [19:30:10]Read from MH i2c: 01 [19:30:10]MH_I2C_Read... [19:30:10]*** Stop cut motor [19:30:10]*** Cut end [19:30:10]Read from MH i2c: 01 07 00 [19:30:10]MH_I2C_Read... [19:30:10]Read from MH i2c: 01 07 00 2F 05 00 00 00 00 00 FF 0F 49 [19:30:10]process_action close_receipt done [19:30:10]requested_data is exist [19:30:10]produce_requested_data [19:30:10]requested_item fm.sn is exist - process it [19:30:10]wFMCommunicate request_size=4 [19:30:10]MH_SAM_APDU [19:30:10]CAPDU: 80 11 00 00 [19:30:10]Write to MH i2c: E2 08 00 30 05 80 11 00 00 00 00 00 00 AF [19:30:10]Write i2c OK [19:30:10]MH_I2C_Read... [19:30:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:10]Read from MH i2c: E2 [19:30:10]MH_I2C_Read... [19:30:10]Read from MH i2c: E2 17 00 [19:30:10]MH_I2C_Read... [19:30:10]Read from MH i2c: E2 17 00 30 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 06 [19:30:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:30:10]wFMCommunicate OK [19:30:10]requested_item fd.num is exist - process it [19:30:10]SAM_PROTO_GetFieldsCounters [19:30:10]wFMCommunicate request_size=4 [19:30:10]MH_SAM_APDU [19:30:10]CAPDU: 80 13 00 00 [19:30:11]Write to MH i2c: E2 08 00 31 05 80 13 00 00 00 00 00 00 B2 [19:30:11]Write i2c OK [19:30:11]MH_I2C_Read... [19:30:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:30:11]Read from MH i2c: E2 [19:30:11]MH_I2C_Read... [19:30:11]Read from MH i2c: E2 62 00 [19:30:11]MH_I2C_Read... [19:30:11]Read from MH i2c: E2 62 00 31 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 36 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 C8 [19:30:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 36 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:30:11]wFMCommunicate OK [19:30:11]SAM_PROTO_GetFieldsCounters done [19:30:11]requested_item shift.num is exist - process it [19:30:11]requested_item shift.opened is exist - process it [19:30:11]req_shift_opened [19:30:11]FM_GetShiftState [19:30:11]SAM_PROTO_GetShiftState [19:30:11]wFMCommunicate request_size=4 [19:30:11]MH_SAM_APDU [19:30:11]CAPDU: 80 13 01 00 [19:30:11]Write to MH i2c: E2 08 00 32 05 80 13 01 00 00 00 00 00 B4 [19:30:11]Write i2c OK [19:30:11]MH_I2C_Read... [19:30:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:11]Read from MH i2c: E2 [19:30:11]MH_I2C_Read... [19:30:11]Read from MH i2c: E2 0E 00 [19:30:11]MH_I2C_Read... [19:30:11]Read from MH i2c: E2 0E 00 32 05 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 64 [19:30:11]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:30:11]wFMCommunicate OK [19:30:11]SAM_PROTO_GetShiftState done [19:30:11]FM_GetShiftState done [19:30:11]req_shift_opened done [19:30:11]requested_item shift.open_date is exist - process it [19:30:11]req_shift_open_date [19:30:11]req_shift_open_date done [19:30:11]produce_requested_data done [19:30:11]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68406,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:30:11]process_action_free close_receipt [19:30:11]json_value_free [19:30:11]json_value_free done [19:30:11]process_json_proto returns [19:30:11]Send response to host [19:30:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68406,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:30:11]free response buf [19:30:11]execute_script done [19:30:11]execute_script returns [19:30:11]free content buf [19:30:11]Sock 9.Close socket [19:30:11]Sock 9.Thread stoped [19:30:13]int [19:30:13]Write to MH i2c: 01 00 00 33 05 38 [19:30:13]*** FLAG_PRN_KEY set [19:30:13]Write i2c OK [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: 01 [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: 01 07 00 [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: 01 07 00 33 05 00 08 00 00 00 FF 0F 55 [19:30:13]state=0 [19:30:13]Key pressed [19:30:13]Feed [19:30:13]Write to MH i2c: D8 00 00 34 05 10 [19:30:13]Write i2c OK [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: D8 [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: D8 01 00 [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: D8 01 00 34 05 00 11 [19:30:13]int [19:30:13]Write to MH i2c: 01 00 00 35 05 3A [19:30:13]Write i2c OK [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: 01 [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: 01 07 00 [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: 01 07 00 35 05 00 48 00 00 00 3C 00 C5 [19:30:13]state=2 [19:30:13]Key pressed [19:30:13]int [19:30:13]Write to MH i2c: 01 00 00 36 05 3B [19:30:13]*** FLAG_PRN_KEY reset [19:30:13]Write i2c OK [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: 01 [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: 01 07 00 [19:30:13]MH_I2C_Read... [19:30:13]Read from MH i2c: 01 07 00 36 05 00 00 00 00 00 F7 0F 48 [19:30:13]state=2 [19:30:13]Stop feed [19:30:14]OFD Sender: No OFD packet to send [19:30:19]OFD Sender: No OFD packet to send [19:30:24]OFD Sender: No OFD packet to send [19:30:29]OFD Sender: No OFD packet to send [19:30:34]OFD Sender: No OFD packet to send [19:30:39]OFD Sender: No OFD packet to send [19:30:44]OFD Sender: No OFD packet to send [19:30:49]OFD Sender: No OFD packet to send [19:30:54]OFD Sender: No OFD packet to send [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:15]OFD Sender: No OFD packet to send [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:40]OFD Sender: No OFD packet to send [19:33:45]OFD Sender: No OFD packet to send [19:33:50]OFD Sender: No OFD packet to send [19:33:55]OFD Sender: No OFD packet to send [19:34:00]OFD Sender: No OFD packet to send [19:34:05]OFD Sender: No OFD packet to send [19:34:10]OFD Sender: No OFD packet to send [19:34:15]OFD Sender: No OFD packet to send [19:34:20]OFD Sender: No OFD packet to send [19:34:25]OFD Sender: No OFD packet to send [19:34:30]OFD Sender: No OFD packet to send [19:34:35]OFD Sender: No OFD packet to send [19:34:40]OFD Sender: No OFD packet to send [19:34:45]OFD Sender: No OFD packet to send [19:34:50]OFD Sender: No OFD packet to send [19:34:55]OFD Sender: No OFD packet to send [19:35:00]OFD Sender: No OFD packet to send [19:35:05]OFD Sender: No OFD packet to send [19:35:10]OFD Sender: No OFD packet to send [19:35:15]OFD Sender: No OFD packet to send [19:35:20]OFD Sender: No OFD packet to send [19:35:25]OFD Sender: No OFD packet to send [19:35:30]OFD Sender: No OFD packet to send [19:35:35]OFD Sender: No OFD packet to send [19:35:40]OFD Sender: No OFD packet to send [19:35:45]OFD Sender: No OFD packet to send [19:35:50]OFD Sender: No OFD packet to send [19:35:55]OFD Sender: No OFD packet to send [19:36:00]OFD Sender: No OFD packet to send [19:36:05]OFD Sender: No OFD packet to send [19:36:10]OFD Sender: No OFD packet to send [19:36:15]OFD Sender: No OFD packet to send [19:36:20]OFD Sender: No OFD packet to send [19:36:25]OFD Sender: No OFD packet to send [19:36:30]OFD Sender: No OFD packet to send [19:36:35]OFD Sender: No OFD packet to send [19:36:40]OFD Sender: No OFD packet to send [19:36:45]OFD Sender: No OFD packet to send [19:36:50]OFD Sender: No OFD packet to send [19:36:55]OFD Sender: No OFD packet to send [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:40]OFD Sender: No OFD packet to send [19:38:45]OFD Sender: No OFD packet to send [19:38:50]OFD Sender: No OFD packet to send [19:38:55]OFD Sender: No OFD packet to send [19:39:00]OFD Sender: No OFD packet to send [19:39:05]OFD Sender: No OFD packet to send [19:39:10]OFD Sender: No OFD packet to send [19:39:15]OFD Sender: No OFD packet to send [19:39:20]OFD Sender: No OFD packet to send [19:39:25]OFD Sender: No OFD packet to send [19:39:30]OFD Sender: No OFD packet to send [19:39:35]OFD Sender: No OFD packet to send [19:39:40]OFD Sender: No OFD packet to send [19:39:45]OFD Sender: No OFD packet to send [19:39:50]OFD Sender: No OFD packet to send [19:39:55]OFD Sender: No OFD packet to send [19:40:00]OFD Sender: No OFD packet to send [19:40:05]OFD Sender: No OFD packet to send [19:40:10]OFD Sender: No OFD packet to send [19:40:15]OFD Sender: No OFD packet to send [19:40:20]OFD Sender: No OFD packet to send [19:40:25]OFD Sender: No OFD packet to send [19:40:30]OFD Sender: No OFD packet to send [19:40:35]OFD Sender: No OFD packet to send [19:40:40]OFD Sender: No OFD packet to send [19:40:45]OFD Sender: No OFD packet to send [19:40:50]OFD Sender: No OFD packet to send [19:40:55]OFD Sender: No OFD packet to send [19:41:00]OFD Sender: No OFD packet to send [19:41:05]OFD Sender: No OFD packet to send [19:41:10]OFD Sender: No OFD packet to send [19:41:15]OFD Sender: No OFD packet to send [19:41:20]OFD Sender: No OFD packet to send [19:41:25]OFD Sender: No OFD packet to send [19:41:30]OFD Sender: No OFD packet to send [19:41:35]OFD Sender: No OFD packet to send [19:41:37]accept exits with 8 [19:41:37]New connection [19:41:37]New thread 3066715492 created [19:41:37]Thread 3066858852 joined [19:41:37]Waiting for new connection... [19:41:37] Sock 8.Parse request [19:41:37]Sock 8.Check first char [19:41:37]Sock 8.First char is OK [19:41:37]request: POST /json_proto HTTP/1.0 [19:41:37]Method: POST [19:41:37]URL: /json_proto [19:41:37]Method is POST - this is cgi request [19:41:37]url: /json_proto [19:41:37]query_string will be loaded in cgi processing [19:41:37]execute_cgi json_proto POST (null) [19:41:37]execute_cgi path=json_proto method=POST [19:41:37]POST find Content-Length [19:41:37]Host: 172.17.42.3:8080 [19:41:37]Content-Length: 644 [19:41:37]Content-Type: application/json [19:41:37] [19:41:37]POST finish read [19:41:37]Found Content-Length = 644 [19:41:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17249", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:41:37]execute_script... [19:41:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17249", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:41:37]POST & json_proto [19:41:37]process_json_proto [19:41:37]json parsed OK: [19:41:37]protocol is kg_v1.0 [19:41:37]action value=close_receipt [19:41:37]process_action close_receipt [19:41:37]cmd_close_receipt [19:41:37]MH_GetDate [19:41:37]Write to MH i2c: F0 00 00 37 05 2B [19:41:37]Write i2c OK [19:41:37]MH_I2C_Read... [19:41:37]Read from MH i2c: F0 [19:41:37]MH_I2C_Read... [19:41:37]Read from MH i2c: F0 09 00 [19:41:37]MH_I2C_Read... [19:41:37]Read from MH i2c: F0 09 00 37 05 00 72 3A 21 67 28 A1 20 67 B8 [19:41:37]GetLastDocTimeStamp 1730230208 [19:41:37]current date 1730230898 [19:41:37]FM_GetShiftState [19:41:37]SAM_PROTO_GetShiftState [19:41:37]wFMCommunicate request_size=4 [19:41:37]MH_SAM_APDU [19:41:37]CAPDU: 80 13 01 00 [19:41:37]Write to MH i2c: E2 08 00 38 05 80 13 01 00 00 00 00 00 BA [19:41:37]Write i2c OK [19:41:37]MH_I2C_Read... [19:41:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:41:37]Read from MH i2c: E2 [19:41:37]MH_I2C_Read... [19:41:37]Read from MH i2c: E2 0E 00 [19:41:37]MH_I2C_Read... [19:41:37]Read from MH i2c: E2 0E 00 38 05 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 6A [19:41:37]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:41:37]wFMCommunicate OK [19:41:37]SAM_PROTO_GetShiftState done [19:41:37]FM_GetShiftState done [19:41:37]opened in 1730160885 [19:41:37]opened+sec_in_day 1730247285 [19:41:37]quantity*price = 7900 [19:41:37]sum+1 = 7901 [19:41:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 79.00 НСП 1% : 0.70 НДС 12% : 8.39 Наличными: 79.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 130 29.10.2024 19:41 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68407 ФПД: 118065038487640 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T194139&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68407&fm=118065038487640&tin=02508201610067®Number=0000000000091759&sum=7900 0 [19:41:38]StoreToDocumentArchive [19:41:38]shift 548 fd 68407 [19:41:38]save to /storage/0548/doc_00068407 [19:41:38]save last doc name /storage/0548/doc_00068407 to /storage/kkm_last_doc_name [19:41:38]save OK [19:41:38]Clear old archive folders... [19:41:38]ProcessDocumentItem done err = 0, tmpTLVsize=276 [19:41:38]tlvbuf is 01DFBF60 [19:41:38]SAM_PROTO_ClearQueue [19:41:38]wFMCommunicate request_size=4 [19:41:38]MH_SAM_APDU [19:41:38]CAPDU: 80 09 00 00 [19:41:38]Write to MH i2c: E2 08 00 45 05 80 09 00 00 00 00 00 00 BC [19:41:38]Write i2c OK [19:41:38]MH_I2C_Read... [19:41:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:41:38]Read from MH i2c: E2 [19:41:38]MH_I2C_Read... [19:41:38]Read from MH i2c: E2 03 00 [19:41:38]MH_I2C_Read... [19:41:38]Read from MH i2c: E2 03 00 45 05 00 90 00 BE [19:41:38]RAPDU: 90 00 [19:41:38]wFMCommunicate OK [19:41:38]SAM_PROTO_ClearQueue done [19:41:38]KKMCreateOFDPacket [19:41:38]OFDProtocolAddRootSTLVToBuf [19:41:38]FM_MakeSignedData [19:41:38]FM_MakeSignedData [19:41:38]SAM_PROTO_SignData [19:41:38]wFMCommunicate request_size=4 [19:41:38]MH_SAM_APDU [19:41:38]CAPDU: 80 0D 01 02 [19:41:38]Write to MH i2c: E2 08 00 46 05 80 0D 01 02 00 00 00 00 C4 [19:41:38]Write i2c OK [19:41:38]MH_I2C_Read... [19:41:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:41:38]Read from MH i2c: E2 [19:41:38]MH_I2C_Read... [19:41:38]Read from MH i2c: E2 03 00 [19:41:38]MH_I2C_Read... [19:41:38]Read from MH i2c: E2 03 00 46 05 00 90 00 BF [19:41:38]RAPDU: 90 00 [19:41:38]wFMCommunicate OK [19:41:38]wFMCommunicate request_size=255 [19:41:38]MH_SAM_APDU [19:41:38]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 82 00 00 00 F4 03 04 00 73 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 [19:41:38]Write to MH i2c: E2 02 01 47 05 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 82 00 00 00 F4 03 04 00 73 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 00 00 8A [19:41:38]Write i2c OK [19:41:38]MH_I2C_Read... [19:41:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:41:39]Read from MH i2c: E2 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: E2 03 00 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: E2 03 00 47 05 00 90 00 C0 [19:41:39]RAPDU: 90 00 [19:41:39]wFMCommunicate OK [19:41:39]wFMCommunicate request_size=35 [19:41:39]MH_SAM_APDU [19:41:39]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 37 0B 01 00 35 04 06 00 6B 61 28 AD F0 58 [19:41:39]Write to MH i2c: E2 26 00 48 05 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 37 0B 01 00 35 04 06 00 6B 61 28 AD F0 58 00 00 EA [19:41:39]Write i2c OK [19:41:39]MH_I2C_Read... [19:41:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:41:39]Read from MH i2c: E2 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: E2 03 00 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: E2 03 00 48 05 00 90 00 C1 [19:41:39]RAPDU: 90 00 [19:41:39]wFMCommunicate OK [19:41:39]wFMCommunicate request_size=4 [19:41:39]MH_SAM_APDU [19:41:39]CAPDU: 80 0D 03 02 [19:41:39]Write to MH i2c: E2 08 00 49 05 80 0D 03 02 00 00 00 00 C9 [19:41:39]Write i2c OK [19:41:39]MH_I2C_Read... [19:41:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:41:39]Read from MH i2c: E2 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: E2 0B 00 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: E2 0B 00 49 05 00 7E 11 98 8C 58 20 CE E5 90 00 A8 [19:41:39]RAPDU: 7E 11 98 8C 58 20 CE E5 90 00 [19:41:39]wFMCommunicate OK [19:41:39]SAM_PROTO_SignData done [19:41:39]FM_MakeSignedData done [19:41:39]CreateOFDProtocolMessage [19:41:39]wFMCommunicate request_size=4 [19:41:39]MH_SAM_APDU [19:41:39]CAPDU: 80 11 00 00 [19:41:39]Write to MH i2c: E2 08 00 4A 05 80 11 00 00 00 00 00 00 C9 [19:41:39]Write i2c OK [19:41:39]MH_I2C_Read... [19:41:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:41:39]Read from MH i2c: E2 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: E2 17 00 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: E2 17 00 4A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 20 [19:41:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:41:39]wFMCommunicate OK [19:41:39]CreateOFDProtocolMessage done [19:41:39]OFDSenderStorePacket 68407 [19:41:39]StoreOFDPacket docnum=68407 [19:41:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 C7 78 20 01 CE 2B 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 82 00 00 00 F4 03 04 00 73 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 37 0B 01 00 35 04 06 00 6B 61 28 AD F0 58 7E 11 98 8C 58 20 CE E5 [19:41:39]CheckFolder [19:41:39]dirname=/storage/ofd_packets [19:41:39]CheckFolder done [19:41:39]ProducePacketName [19:41:39]name=ofd_packets/00068407 [19:41:39]NVStorageSaveData ofd_packets/00068407 [19:41:39]File name is /storage/ofd_packets/00068407 [19:41:39]Write 326 bytes [19:41:39]NVStorageSaveData done [19:41:39]OFDSenderStorePacket done [19:41:39]KKMCreateOFDPacket done [19:41:39]NVStorageSaveData kkm_last_timestamp [19:41:39]File name is /storage/kkm_last_timestamp [19:41:39]Write 4 bytes [19:41:39]NVStorageSaveData done [19:41:39]ExternCall_PrintAddStr [19:41:39]wPrintStart [19:41:39]Write to MH i2c: 01 00 00 4B 05 50 [19:41:39]Write i2c OK [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: 01 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: 01 07 00 [19:41:39]MH_I2C_Read... [19:41:39]Read from MH i2c: 01 07 00 4B 05 00 00 00 00 00 FF 0F 65 [19:41:39]RasterBufferAndPrint [19:41:39]line Счет N : (3)17249 [19:41:39]line ИНН: 02508201610067 [19:41:39]line Контрольно-Кассовый Чек [19:41:39]line ПРОДАЖА [19:41:39]line Товар: 4700000310043 [19:41:39]line Вода Жалалабат 27 1л [19:41:39]line 1.000 * 79.00 [19:41:39]line = 79.00 [19:41:39]line НДС 12% НСП 1% [19:41:39]line > о реализуемом товаре [19:41:39]line ИТОГО: 79.00 [19:41:39]line НСП 1% : 0.70 [19:41:39]line НДС 12% : 8.39 [19:41:39]line Наличными: 79.00 [19:41:39]line Безнал.: 0.00 [19:41:39]line Место: АЗС № 160 "Партнер Нефть" [19:41:39]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:41:39]line СНО: Общий режим [19:41:39]line Чек 130 29.10.2024 19:41 [19:41:39]line Смена: 548 ФФД: 1.0 [19:41:39]line ЗНМ: 0300000093 [19:41:39]line РНМ: 0000000000091759 [19:41:39]line Версия ККМ: 001 [19:41:39]line ФМ: 0000000000871758 [19:41:39]line ФД: 68407 [19:41:39]line ФПД: 118065038487640 [19:41:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T194139&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68407&fm=118065038487640&tin=02508201610067®Number=0000000000091759&sum=7900 [19:41:39]OFD Sender: Processing packet 68407 [packets to send 28, broken 27] [19:41:39]ProducePacketName [19:41:39]name=ofd_packets/00068407 [19:41:39]OFD Sender: To server: pG, [19:41:39]CommunicateWithHost lk.salyk.kg:30040 [19:41:39]ConnectInit lk.salyk.kg [19:41:39]line 0 [19:41:39]written 0, free lines is 4095 [19:41:39]Connected sock=10 [19:41:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 C7 78 20 01 CE 2B 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 82 00 00 00 F4 03 04 00 73 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 37 0B 01 00 35 04 06 00 6B 61 28 AD F0 58 7E 11 98 8C 58 20 CE E5 [19:41:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 CD 55 47 00 49 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 37 0B 01 00 F4 03 04 00 1A E6 20 67 B6 04 01 00 00 86 6B 7F 32 92 1C 87 77 [19:41:39]CommunicateWithHost err = 0 [19:41:39]CheckOFDResponse [19:41:39]1017 (14) - 77093643461234 [19:41:39]1041 (16) - 0000000000871758 [19:41:39]1040 (4) - 68407 [19:41:39]1012 (4) - 29.10.2024 13:41 [19:41:39]1206 (1) - 0 [19:41:39]OFD Sender: Remove packet 68407 [19:41:39]ProducePacketName [19:41:39]name=ofd_packets/00068407 [19:41:39]NVStorageDeleteData [19:41:40]Write to MH i2c: 01 00 00 72 05 77 [19:41:40]Write i2c OK [19:41:40]MH_I2C_Read... [19:41:40]Read from MH i2c: 01 [19:41:40]MH_I2C_Read... [19:41:40]Read from MH i2c: 01 07 00 [19:41:40]MH_I2C_Read... [19:41:40]Read from MH i2c: 01 07 00 72 05 00 00 00 00 00 F3 0C 7D [19:41:40]RasterBufferAndPrint [19:41:40]line [19:41:40]line [19:41:40]line [19:41:40]line [19:41:40]line [19:41:40]written 0, free lines is 3320 [19:41:40]MH_Cut [19:41:40]Write to MH i2c: D1 01 00 79 05 01 50 [19:41:40]Write i2c OK [19:41:40]MH_I2C_Read... [19:41:40]Read from MH i2c: D1 [19:41:40]MH_I2C_Read... [19:41:40]Read from MH i2c: D1 01 00 [19:41:40]MH_I2C_Read... [19:41:40]Read from MH i2c: D1 01 00 79 05 00 4F [19:41:40]Write to MH i2c: 01 00 00 7A 05 7F [19:41:40]Write i2c OK [19:41:40]MH_I2C_Read... [19:41:40]OFD Sender: No OFD packet to send [19:41:40]*** Cut start [19:41:40]*** Partial cut [19:41:40]*** CUTSNS_PIN = 1 [19:41:40]*** CUTSNS_PIN = 0 [19:41:41]*** Brake cut motor [19:41:41]Read from MH i2c: 01 [19:41:41]MH_I2C_Read... [19:41:41]*** Stop cut motor [19:41:41]*** Cut end [19:41:41]Read from MH i2c: 01 07 00 [19:41:41]MH_I2C_Read... [19:41:41]Read from MH i2c: 01 07 00 7A 05 00 00 00 00 00 FF 0F 94 [19:41:41]process_action close_receipt done [19:41:41]requested_data is exist [19:41:41]produce_requested_data [19:41:41]requested_item fm.sn is exist - process it [19:41:41]wFMCommunicate request_size=4 [19:41:41]MH_SAM_APDU [19:41:41]CAPDU: 80 11 00 00 [19:41:41]Write to MH i2c: E2 08 00 7B 05 80 11 00 00 00 00 00 00 FA [19:41:41]Write i2c OK [19:41:41]MH_I2C_Read... [19:41:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:41:41]Read from MH i2c: E2 [19:41:41]MH_I2C_Read... [19:41:41]Read from MH i2c: E2 17 00 [19:41:41]MH_I2C_Read... [19:41:41]Read from MH i2c: E2 17 00 7B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 51 [19:41:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:41:41]wFMCommunicate OK [19:41:41]requested_item fd.num is exist - process it [19:41:41]SAM_PROTO_GetFieldsCounters [19:41:41]wFMCommunicate request_size=4 [19:41:41]MH_SAM_APDU [19:41:41]CAPDU: 80 13 00 00 [19:41:41]Write to MH i2c: E2 08 00 7C 05 80 13 00 00 00 00 00 00 FD [19:41:41]Write i2c OK [19:41:41]MH_I2C_Read... [19:41:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:41:41]Read from MH i2c: E2 [19:41:41]MH_I2C_Read... [19:41:41]Read from MH i2c: E2 62 00 [19:41:41]MH_I2C_Read... [19:41:41]Read from MH i2c: E2 62 00 7C 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 37 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 82 00 00 00 5E 04 04 00 82 00 00 00 57 04 04 00 83 00 00 00 19 04 04 00 00 00 00 00 90 00 17 [19:41:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 37 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 82 00 00 00 5E 04 04 00 82 00 00 00 57 04 04 00 83 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:41:41]wFMCommunicate OK [19:41:41]SAM_PROTO_GetFieldsCounters done [19:41:41]requested_item shift.num is exist - process it [19:41:41]requested_item shift.opened is exist - process it [19:41:41]req_shift_opened [19:41:41]FM_GetShiftState [19:41:41]SAM_PROTO_GetShiftState [19:41:41]wFMCommunicate request_size=4 [19:41:41]MH_SAM_APDU [19:41:41]CAPDU: 80 13 01 00 [19:41:41]Write to MH i2c: E2 08 00 7D 05 80 13 01 00 00 00 00 00 FF [19:41:41]Write i2c OK [19:41:41]MH_I2C_Read... [19:41:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:41:41]Read from MH i2c: E2 [19:41:41]MH_I2C_Read... [19:41:41]Read from MH i2c: E2 0E 00 [19:41:41]MH_I2C_Read... [19:41:41]Read from MH i2c: E2 0E 00 7D 05 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 AF [19:41:41]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:41:41]wFMCommunicate OK [19:41:41]SAM_PROTO_GetShiftState done [19:41:41]FM_GetShiftState done [19:41:41]req_shift_opened done [19:41:41]requested_item shift.open_date is exist - process it [19:41:41]req_shift_open_date [19:41:41]req_shift_open_date done [19:41:41]produce_requested_data done [19:41:41]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68407,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:41:41]process_action_free close_receipt [19:41:41]json_value_free [19:41:41]json_value_free done [19:41:41]process_json_proto returns [19:41:41]Send response to host [19:41:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68407,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:41:41]free response buf [19:41:41]execute_script done [19:41:41]execute_script returns [19:41:41]free content buf [19:41:41]Sock 8.Close socket [19:41:41]Sock 8.Thread stoped [19:41:45]OFD Sender: No OFD packet to send [19:41:50]OFD Sender: No OFD packet to send [19:41:55]OFD Sender: No OFD packet to send [19:42:00]OFD Sender: No OFD packet to send [19:42:01]accept exits with 9 [19:42:01]New connection [19:42:01]New thread 3066858852 created [19:42:01]Thread 3066715492 joined [19:42:01]Waiting for new connection... [19:42:01] Sock 9.Parse request [19:42:01]Sock 9.Check first char [19:42:01]Sock 9.First char is OK [19:42:01]request: POST /json_proto HTTP/1.0 [19:42:01]Method: POST [19:42:01]URL: /json_proto [19:42:01]Method is POST - this is cgi request [19:42:01]url: /json_proto [19:42:01]query_string will be loaded in cgi processing [19:42:01]execute_cgi json_proto POST (null) [19:42:01]execute_cgi path=json_proto method=POST [19:42:01]POST find Content-Length [19:42:01]Host: 172.17.42.3:8080 [19:42:01]Content-Length: 674 [19:42:01]Content-Type: application/json [19:42:01] [19:42:01]POST finish read [19:42:01]Found Content-Length = 674 [19:42:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46399", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "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 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:01]execute_script... [19:42:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46399", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "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 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:01]POST & json_proto [19:42:01]process_json_proto [19:42:01]json parsed OK: [19:42:01]protocol is kg_v1.0 [19:42:01]action value=close_receipt [19:42:01]process_action close_receipt [19:42:01]cmd_close_receipt [19:42:01]MH_GetDate [19:42:01]Write to MH i2c: F0 00 00 7E 05 72 [19:42:01]Write i2c OK [19:42:01]MH_I2C_Read... [19:42:01]Read from MH i2c: F0 [19:42:01]MH_I2C_Read... [19:42:01]Read from MH i2c: F0 09 00 [19:42:01]MH_I2C_Read... [19:42:01]Read from MH i2c: F0 09 00 7E 05 00 8A 3A 21 67 28 A1 20 67 17 [19:42:01]GetLastDocTimeStamp 1730230899 [19:42:01]current date 1730230922 [19:42:01]FM_GetShiftState [19:42:01]SAM_PROTO_GetShiftState [19:42:01]wFMCommunicate request_size=4 [19:42:01]MH_SAM_APDU [19:42:01]CAPDU: 80 13 01 00 [19:42:01]Write to MH i2c: E2 08 00 7F 05 80 13 01 00 00 00 00 00 01 [19:42:01]Write i2c OK [19:42:01]MH_I2C_Read... [19:42:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:01]Read from MH i2c: E2 [19:42:01]MH_I2C_Read... [19:42:01]Read from MH i2c: E2 0E 00 [19:42:01]MH_I2C_Read... [19:42:01]Read from MH i2c: E2 0E 00 7F 05 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 B1 [19:42:01]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:42:01]wFMCommunicate OK [19:42:01]SAM_PROTO_GetShiftState done [19:42:01]FM_GetShiftState done [19:42:01]opened in 1730160885 [19:42:01]opened+sec_in_day 1730247285 [19:42:01]quantity*price = 200001 [19:42:01]sum+1 = 200003 [19:42:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.39 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 131 29.10.2024 19:42 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68408 ФПД: 177887248093230 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T194202&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68408&fm=177887248093230&tin=02508201610067®Number=0000000000091759&sum=200000 [19:42:02]StoreToDocumentArchive [19:42:02]shift 548 fd 68408 [19:42:02]save to /storage/0548/doc_00068408 [19:42:02]save last doc name /storage/0548/doc_00068408 to /storage/kkm_last_doc_name [19:42:02]save OK [19:42:02]Clear old archive folders... [19:42:02]ProcessDocumentItem done err = 0, tmpTLVsize=252 [19:42:02]tlvbuf is 01DFDED0 [19:42:02]SAM_PROTO_ClearQueue [19:42:02]wFMCommunicate request_size=4 [19:42:02]MH_SAM_APDU [19:42:02]CAPDU: 80 09 00 00 [19:42:02]Write to MH i2c: E2 08 00 8C 05 80 09 00 00 00 00 00 00 03 [19:42:02]Write i2c OK [19:42:02]MH_I2C_Read... [19:42:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:42:02]Read from MH i2c: E2 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 03 00 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 03 00 8C 05 00 90 00 05 [19:42:02]RAPDU: 90 00 [19:42:02]wFMCommunicate OK [19:42:02]SAM_PROTO_ClearQueue done [19:42:02]KKMCreateOFDPacket [19:42:02]OFDProtocolAddRootSTLVToBuf [19:42:02]FM_MakeSignedData [19:42:02]FM_MakeSignedData [19:42:02]SAM_PROTO_SignData [19:42:02]wFMCommunicate request_size=4 [19:42:02]MH_SAM_APDU [19:42:02]CAPDU: 80 0D 01 02 [19:42:02]Write to MH i2c: E2 08 00 8D 05 80 0D 01 02 00 00 00 00 0B [19:42:02]Write i2c OK [19:42:02]MH_I2C_Read... [19:42:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:42:02]Read from MH i2c: E2 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 03 00 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 03 00 8D 05 00 90 00 06 [19:42:02]RAPDU: 90 00 [19:42:02]wFMCommunicate OK [19:42:02]wFMCommunicate request_size=255 [19:42:02]MH_SAM_APDU [19:42:02]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 8A 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 38 0B 01 00 35 04 06 00 [19:42:02]Write to MH i2c: E2 02 01 8E 05 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 8A 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 38 0B 01 00 35 04 06 00 00 00 A9 [19:42:02]Write i2c OK [19:42:02]MH_I2C_Read... [19:42:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:03]Read from MH i2c: E2 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: E2 03 00 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: E2 03 00 8E 05 00 90 00 07 [19:42:03]RAPDU: 90 00 [19:42:03]wFMCommunicate OK [19:42:03]wFMCommunicate request_size=11 [19:42:03]MH_SAM_APDU [19:42:03]CAPDU: 80 0D 02 02 06 A1 C9 9A 3B 90 2E [19:42:03]Write to MH i2c: E2 0E 00 8F 05 80 0D 02 02 06 00 A1 C9 9A 3B 90 2E 00 00 17 [19:42:03]Write i2c OK [19:42:03]MH_I2C_Read... [19:42:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:03]Read from MH i2c: E2 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: E2 03 00 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: E2 03 00 8F 05 00 90 00 08 [19:42:03]RAPDU: 90 00 [19:42:03]wFMCommunicate OK [19:42:03]wFMCommunicate request_size=4 [19:42:03]MH_SAM_APDU [19:42:03]CAPDU: 80 0D 03 02 [19:42:03]Write to MH i2c: E2 08 00 90 05 80 0D 03 02 00 00 00 00 10 [19:42:03]Write i2c OK [19:42:03]MH_I2C_Read... [19:42:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:03]Read from MH i2c: E2 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: E2 0B 00 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: E2 0B 00 90 05 00 F0 04 4C AF 47 02 C3 82 90 00 8E [19:42:03]RAPDU: F0 04 4C AF 47 02 C3 82 90 00 [19:42:03]wFMCommunicate OK [19:42:03]SAM_PROTO_SignData done [19:42:03]FM_MakeSignedData done [19:42:03]CreateOFDProtocolMessage [19:42:03]wFMCommunicate request_size=4 [19:42:03]MH_SAM_APDU [19:42:03]CAPDU: 80 11 00 00 [19:42:03]Write to MH i2c: E2 08 00 91 05 80 11 00 00 00 00 00 00 10 [19:42:03]Write i2c OK [19:42:03]MH_I2C_Read... [19:42:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:03]Read from MH i2c: E2 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: E2 17 00 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: E2 17 00 91 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 67 [19:42:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:42:03]wFMCommunicate OK [19:42:03]CreateOFDProtocolMessage done [19:42:03]OFDSenderStorePacket 68408 [19:42:03]StoreOFDPacket docnum=68408 [19:42:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 C3 AF 08 01 77 86 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 8A 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 38 0B 01 00 35 04 06 00 A1 C9 9A 3B 90 2E F0 04 4C AF 47 02 C3 82 [19:42:03]CheckFolder [19:42:03]dirname=/storage/ofd_packets [19:42:03]CheckFolder done [19:42:03]ProducePacketName [19:42:03]name=ofd_packets/00068408 [19:42:03]NVStorageSaveData ofd_packets/00068408 [19:42:03]File name is /storage/ofd_packets/00068408 [19:42:03]Write 302 bytes [19:42:03]NVStorageSaveData done [19:42:03]OFDSenderStorePacket done [19:42:03]KKMCreateOFDPacket done [19:42:03]NVStorageSaveData kkm_last_timestamp [19:42:03]File name is /storage/kkm_last_timestamp [19:42:03]Write 4 bytes [19:42:03]NVStorageSaveData done [19:42:03]ExternCall_PrintAddStr [19:42:03]wPrintStart [19:42:03]Write to MH i2c: 01 00 00 92 05 97 [19:42:03]Write i2c OK [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: 01 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: 01 07 00 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: 01 07 00 92 05 00 00 00 00 00 FF 0F AC [19:42:03]RasterBufferAndPrint [19:42:03]line Счет N : (1)46399 [19:42:03]line ИНН: 02508201610067 [19:42:03]line Контрольно-Кассовый Чек [19:42:03]line ПРОДАЖА [19:42:03]line ТРК (МРК, ГНК) : 22 [19:42:03]line Товар: 2710124130 [19:42:03]line SUPER-92-К-5 [19:42:03]line 29.240 * 68.40 [19:42:03]line = 2000.02 [19:42:03]line НДС 12% НСП 1% [19:42:03]line > о реализуемом товаре [19:42:03]line ОКРУГЛЕНИЕ: -0.02 [19:42:03]line ИТОГО: 2000.00 [19:42:03]line Внесено: 2000.00 [19:42:03]line СДАЧА: 0.00 [19:42:03]line НСП 1% : 17.70 [19:42:03]line НДС 12% : 212.39 [19:42:03]line Наличными: 2000.00 [19:42:03]line Безнал.: 0.00 [19:42:03]line Место: АЗС № 160 "Партнер Нефть" [19:42:03]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:42:03]line СНО: Общий режим [19:42:03]line Чек 131 29.10.2024 19:42 [19:42:03]line Смена: 548 ФФД: 1.0 [19:42:03]line ЗНМ: 0300000093 [19:42:03]line РНМ: 0000000000091759 [19:42:03]line Версия ККМ: 001 [19:42:03]line ФМ: 0000000000871758 [19:42:03]line ФД: 68408 [19:42:03]line ФПД: 177887248093230 [19:42:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T194202&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68408&fm=177887248093230&tin=02508201610067®Number=0000000000091759&sum=200000 [19:42:03]written 0, free lines is 4095 [19:42:03]OFD Sender: Processing packet 68408 [packets to send 28, broken 27] [19:42:03]ProducePacketName [19:42:03]name=ofd_packets/00068408 [19:42:03]OFD Sender: To server: pG, [19:42:03]CommunicateWithHost lk.salyk.kg:30040 [19:42:03]ConnectInit lk.salyk.kg [19:42:03]Connected sock=10 [19:42:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 C3 AF 08 01 77 86 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 8A 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 38 0B 01 00 35 04 06 00 A1 C9 9A 3B 90 2E F0 04 4C AF 47 02 C3 82 [19:42:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 C6 BA 47 00 C7 A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 38 0B 01 00 F4 03 04 00 32 E6 20 67 B6 04 01 00 00 6B F9 C0 C3 E3 1C 42 34 [19:42:03]CommunicateWithHost err = 0 [19:42:03]CheckOFDResponse [19:42:03]1017 (14) - 77093643461234 [19:42:03]1041 (16) - 0000000000871758 [19:42:03]1040 (4) - 68408 [19:42:03]1012 (4) - 29.10.2024 13:42 [19:42:03]1206 (1) - 0 [19:42:03]OFD Sender: Remove packet 68408 [19:42:03]ProducePacketName [19:42:03]name=ofd_packets/00068408 [19:42:03]NVStorageDeleteData [19:42:03]Write to MH i2c: 01 00 00 BC 05 C1 [19:42:03]Write i2c OK [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: 01 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: 01 07 00 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: 01 07 00 BC 05 00 00 00 00 00 C5 0C 99 [19:42:03]RasterBufferAndPrint [19:42:03]line [19:42:03]line [19:42:03]line [19:42:03]line [19:42:03]line [19:42:03]written 0, free lines is 3275 [19:42:03]MH_Cut [19:42:03]Write to MH i2c: D1 01 00 C3 05 01 9A [19:42:03]Write i2c OK [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: D1 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: D1 01 00 [19:42:03]MH_I2C_Read... [19:42:03]Read from MH i2c: D1 01 00 C3 05 00 99 [19:42:03]Write to MH i2c: 01 00 00 C4 05 C9 [19:42:03]Write i2c OK [19:42:03]MH_I2C_Read... [19:42:04]OFD Sender: No OFD packet to send [19:42:04]*** Cut start [19:42:04]*** Partial cut [19:42:04]*** CUTSNS_PIN = 1 [19:42:04]*** CUTSNS_PIN = 0 [19:42:05]*** Brake cut motor [19:42:05]Read from MH i2c: 01 [19:42:05]MH_I2C_Read... [19:42:05]*** Stop cut motor [19:42:05]*** Cut end [19:42:05]Read from MH i2c: 01 07 00 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: 01 07 00 C4 05 00 00 00 00 00 FF 0F DE [19:42:05]process_action close_receipt done [19:42:05]requested_data is exist [19:42:05]produce_requested_data [19:42:05]requested_item fm.sn is exist - process it [19:42:05]wFMCommunicate request_size=4 [19:42:05]MH_SAM_APDU [19:42:05]CAPDU: 80 11 00 00 [19:42:05]Write to MH i2c: E2 08 00 C5 05 80 11 00 00 00 00 00 00 44 [19:42:05]Write i2c OK [19:42:05]MH_I2C_Read... [19:42:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:05]Read from MH i2c: E2 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 17 00 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 17 00 C5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9B [19:42:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:42:05]wFMCommunicate OK [19:42:05]requested_item fd.num is exist - process it [19:42:05]SAM_PROTO_GetFieldsCounters [19:42:05]wFMCommunicate request_size=4 [19:42:05]MH_SAM_APDU [19:42:05]CAPDU: 80 13 00 00 [19:42:05]Write to MH i2c: E2 08 00 C6 05 80 13 00 00 00 00 00 00 47 [19:42:05]Write i2c OK [19:42:05]MH_I2C_Read... [19:42:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:42:05]Read from MH i2c: E2 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 62 00 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 62 00 C6 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 38 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 83 00 00 00 5E 04 04 00 83 00 00 00 57 04 04 00 84 00 00 00 19 04 04 00 00 00 00 00 90 00 65 [19:42:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 38 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 83 00 00 00 5E 04 04 00 83 00 00 00 57 04 04 00 84 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:42:05]wFMCommunicate OK [19:42:05]SAM_PROTO_GetFieldsCounters done [19:42:05]requested_item shift.num is exist - process it [19:42:05]requested_item shift.opened is exist - process it [19:42:05]req_shift_opened [19:42:05]FM_GetShiftState [19:42:05]SAM_PROTO_GetShiftState [19:42:05]wFMCommunicate request_size=4 [19:42:05]MH_SAM_APDU [19:42:05]CAPDU: 80 13 01 00 [19:42:05]Write to MH i2c: E2 08 00 C7 05 80 13 01 00 00 00 00 00 49 [19:42:05]Write i2c OK [19:42:05]MH_I2C_Read... [19:42:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:05]Read from MH i2c: E2 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 0E 00 [19:42:05]MH_I2C_Read... [19:42:05]Read from MH i2c: E2 0E 00 C7 05 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 F9 [19:42:05]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:42:05]wFMCommunicate OK [19:42:05]SAM_PROTO_GetShiftState done [19:42:05]FM_GetShiftState done [19:42:05]req_shift_opened done [19:42:05]requested_item shift.open_date is exist - process it [19:42:05]req_shift_open_date [19:42:05]req_shift_open_date done [19:42:05]produce_requested_data done [19:42:05]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68408,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:42:05]process_action_free close_receipt [19:42:05]json_value_free [19:42:05]json_value_free done [19:42:05]process_json_proto returns [19:42:05]Send response to host [19:42:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68408,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:42:05]free response buf [19:42:05]execute_script done [19:42:05]execute_script returns [19:42:05]free content buf [19:42:05]Sock 9.Close socket [19:42:05]Sock 9.Thread stoped [19:42:09]OFD Sender: No OFD packet to send [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:22]accept exits with 8 [19:42:22]New connection [19:42:22]New thread 3066715492 created [19:42:22]Thread 3066858852 joined [19:42:22]Waiting for new connection... [19:42:22] Sock 8.Parse request [19:42:22]Sock 8.Check first char [19:42:22]Sock 8.First char is OK [19:42:22]request: POST /json_proto HTTP/1.0 [19:42:22]Method: POST [19:42:22]URL: /json_proto [19:42:22]Method is POST - this is cgi request [19:42:22]url: /json_proto [19:42:22]query_string will be loaded in cgi processing [19:42:22]execute_cgi json_proto POST (null) [19:42:22]execute_cgi path=json_proto method=POST [19:42:22]POST find Content-Length [19:42:22]Host: 172.17.42.3:8080 [19:42:22]Content-Length: 697 [19:42:22]Content-Type: application/json [19:42:22] [19:42:22]POST finish read [19:42:22]Found Content-Length = 697 [19:42:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17250", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:22]execute_script... [19:42:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17250", "tax_sys" : 0, "items" : [ { "code": "4870001571528", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,0 \u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:22]POST & json_proto [19:42:22]process_json_proto [19:42:22]json parsed OK: [19:42:22]protocol is kg_v1.0 [19:42:22]action value=close_receipt [19:42:22]process_action close_receipt [19:42:22]cmd_close_receipt [19:42:22]MH_GetDate [19:42:22]Write to MH i2c: F0 00 00 C8 05 BC [19:42:22]Write i2c OK [19:42:22]MH_I2C_Read... [19:42:22]Read from MH i2c: F0 [19:42:22]MH_I2C_Read... [19:42:22]Read from MH i2c: F0 09 00 [19:42:22]MH_I2C_Read... [19:42:22]Read from MH i2c: F0 09 00 C8 05 00 9F 3A 21 67 28 A1 20 67 76 [19:42:22]GetLastDocTimeStamp 1730230922 [19:42:22]current date 1730230943 [19:42:22]FM_GetShiftState [19:42:22]SAM_PROTO_GetShiftState [19:42:22]wFMCommunicate request_size=4 [19:42:22]MH_SAM_APDU [19:42:22]CAPDU: 80 13 01 00 [19:42:22]Write to MH i2c: E2 08 00 C9 05 80 13 01 00 00 00 00 00 4B [19:42:22]Write i2c OK [19:42:22]MH_I2C_Read... [19:42:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:22]Read from MH i2c: E2 [19:42:22]MH_I2C_Read... [19:42:22]Read from MH i2c: E2 0E 00 [19:42:22]MH_I2C_Read... [19:42:22]Read from MH i2c: E2 0E 00 C9 05 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 FB [19:42:22]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:42:22]wFMCommunicate OK [19:42:22]SAM_PROTO_GetShiftState done [19:42:22]FM_GetShiftState done [19:42:22]opened in 1730160885 [19:42:22]opened+sec_in_day 1730247285 [19:42:22]quantity*price = 10000 [19:42:22]sum+1 = 10001 [19:42:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 132 29.10.2024 19:42 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68409 ФПД: 101912295192038 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T194223&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68409&fm=101912295192038&tin=02508201610067®Number=0000000000091759&sum=10000 0 [19:42:23]StoreToDocumentArchive [19:42:23]shift 548 fd 68409 [19:42:23]save to /storage/0548/doc_00068409 [19:42:23]save last doc name /storage/0548/doc_00068409 to /storage/kkm_last_doc_name [19:42:23]save OK [19:42:23]Clear old archive folders... [19:42:23]ProcessDocumentItem done err = 0, tmpTLVsize=298 [19:42:23]tlvbuf is 01DDEB60 [19:42:23]SAM_PROTO_ClearQueue [19:42:23]wFMCommunicate request_size=4 [19:42:23]MH_SAM_APDU [19:42:23]CAPDU: 80 09 00 00 [19:42:23]Write to MH i2c: E2 08 00 D6 05 80 09 00 00 00 00 00 00 4D [19:42:23]Write i2c OK [19:42:23]MH_I2C_Read... [19:42:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:42:23]Read from MH i2c: E2 [19:42:23]MH_I2C_Read... [19:42:23]Read from MH i2c: E2 03 00 [19:42:23]MH_I2C_Read... [19:42:23]Read from MH i2c: E2 03 00 D6 05 00 90 00 4F [19:42:23]RAPDU: 90 00 [19:42:23]wFMCommunicate OK [19:42:23]SAM_PROTO_ClearQueue done [19:42:23]KKMCreateOFDPacket [19:42:23]OFDProtocolAddRootSTLVToBuf [19:42:23]FM_MakeSignedData [19:42:23]FM_MakeSignedData [19:42:23]SAM_PROTO_SignData [19:42:23]wFMCommunicate request_size=4 [19:42:23]MH_SAM_APDU [19:42:23]CAPDU: 80 0D 01 02 [19:42:23]Write to MH i2c: E2 08 00 D7 05 80 0D 01 02 00 00 00 00 55 [19:42:23]Write i2c OK [19:42:23]MH_I2C_Read... [19:42:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:42:23]Read from MH i2c: E2 [19:42:23]MH_I2C_Read... [19:42:23]Read from MH i2c: E2 03 00 [19:42:23]MH_I2C_Read... [19:42:23]Read from MH i2c: E2 03 00 D7 05 00 90 00 50 [19:42:23]RAPDU: 90 00 [19:42:23]wFMCommunicate OK [19:42:23]wFMCommunicate request_size=255 [19:42:23]MH_SAM_APDU [19:42:23]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 9F 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [19:42:23]Write to MH i2c: E2 02 01 D8 05 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 9F 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 C9 [19:42:23]Write i2c OK [19:42:23]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 D8 05 00 90 00 51 [19:42:24]RAPDU: 90 00 [19:42:24]wFMCommunicate OK [19:42:24]wFMCommunicate request_size=57 [19:42:24]MH_SAM_APDU [19:42:24]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 39 0B 01 00 35 04 06 00 5C B0 4E 27 35 E6 [19:42:24]Write to MH i2c: E2 3C 00 D9 05 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 39 0B 01 00 35 04 06 00 5C B0 4E 27 35 E6 00 00 00 [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 03 00 D9 05 00 90 00 52 [19:42:24]RAPDU: 90 00 [19:42:24]wFMCommunicate OK [19:42:24]wFMCommunicate request_size=4 [19:42:24]MH_SAM_APDU [19:42:24]CAPDU: 80 0D 03 02 [19:42:24]Write to MH i2c: E2 08 00 DA 05 80 0D 03 02 00 00 00 00 5A [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 0B 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 0B 00 DA 05 00 3F 27 6F 0A A3 BD 0E AA 90 00 52 [19:42:24]RAPDU: 3F 27 6F 0A A3 BD 0E AA 90 00 [19:42:24]wFMCommunicate OK [19:42:24]SAM_PROTO_SignData done [19:42:24]FM_MakeSignedData done [19:42:24]CreateOFDProtocolMessage [19:42:24]wFMCommunicate request_size=4 [19:42:24]MH_SAM_APDU [19:42:24]CAPDU: 80 11 00 00 [19:42:24]Write to MH i2c: E2 08 00 DB 05 80 11 00 00 00 00 00 00 5A [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:24]Read from MH i2c: E2 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 17 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: E2 17 00 DB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B1 [19:42:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:42:24]wFMCommunicate OK [19:42:24]CreateOFDProtocolMessage done [19:42:24]OFDSenderStorePacket 68409 [19:42:24]StoreOFDPacket docnum=68409 [19:42:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3E 01 00 00 BD 93 36 01 59 DA 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 9F 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 39 0B 01 00 35 04 06 00 5C B0 4E 27 35 E6 3F 27 6F 0A A3 BD 0E AA [19:42:24]CheckFolder [19:42:24]dirname=/storage/ofd_packets [19:42:24]CheckFolder done [19:42:24]ProducePacketName [19:42:24]name=ofd_packets/00068409 [19:42:24]NVStorageSaveData ofd_packets/00068409 [19:42:24]File name is /storage/ofd_packets/00068409 [19:42:24]Write 348 bytes [19:42:24]NVStorageSaveData done [19:42:24]OFDSenderStorePacket done [19:42:24]KKMCreateOFDPacket done [19:42:24]NVStorageSaveData kkm_last_timestamp [19:42:24]File name is /storage/kkm_last_timestamp [19:42:24]Write 4 bytes [19:42:24]NVStorageSaveData done [19:42:24]ExternCall_PrintAddStr [19:42:24]wPrintStart [19:42:24]Write to MH i2c: 01 00 00 DC 05 E1 [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: 01 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: 01 07 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: 01 07 00 DC 05 00 00 00 00 00 FF 0F F6 [19:42:24]RasterBufferAndPrint [19:42:24]line Счет N : (3)17250 [19:42:24]line ИНН: 02508201610067 [19:42:24]line Контрольно-Кассовый Чек [19:42:24]line ПРОДАЖА [19:42:24]line Товар: 4870001571528 [19:42:24]line Вода ASU пит н.газ персик ПЭТ 1,0 л [19:42:24]line 1.000 * 100.00 [19:42:24]line = 100.00 [19:42:24]line НДС 12% НСП 1% [19:42:24]line > о реализуемом товаре [19:42:24]line ИТОГО: 100.00 [19:42:24]line НСП 1% : 0.88 [19:42:24]line НДС 12% : 10.62 [19:42:24]line Наличными: 100.00 [19:42:24]line Безнал.: 0.00 [19:42:24]line Место: АЗС № 160 "Партнер Нефть" [19:42:24]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:42:24]line СНО: Общий режим [19:42:24]line Чек 132 29.10.2024 19:42 [19:42:24]line Смена: 548 ФФД: 1.0 [19:42:24]line ЗНМ: 0300000093 [19:42:24]line РНМ: 0000000000091759 [19:42:24]line Версия ККМ: 001 [19:42:24]line ФМ: 0000000000871758 [19:42:24]line ФД: 68409 [19:42:24]line ФПД: 101912295192038 [19:42:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T194223&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68409&fm=101912295192038&tin=02508201610067®Number=0000000000091759&sum=10000 [19:42:24]line 0 [19:42:24]OFD Sender: Processing packet 68409 [packets to send 28, broken 27] [19:42:24]ProducePacketName [19:42:24]name=ofd_packets/00068409 [19:42:24]OFD Sender: To server: pG, [19:42:24]CommunicateWithHost lk.salyk.kg:30040 [19:42:24]ConnectInit lk.salyk.kg [19:42:24]written 0, free lines is 4095 [19:42:24]Connected sock=10 [19:42:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3E 01 00 00 BD 93 36 01 59 DA 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 35 32 38 06 04 38 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 30 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 9F 3A 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 39 0B 01 00 35 04 06 00 5C B0 4E 27 35 E6 3F 27 6F 0A A3 BD 0E AA [19:42:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BC 5C 47 00 44 E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 39 0B 01 00 F4 03 04 00 47 E6 20 67 B6 04 01 00 00 1F 77 76 0C DC 06 93 64 [19:42:24]CommunicateWithHost err = 0 [19:42:24]CheckOFDResponse [19:42:24]1017 (14) - 77093643461234 [19:42:24]1041 (16) - 0000000000871758 [19:42:24]1040 (4) - 68409 [19:42:24]1012 (4) - 29.10.2024 13:42 [19:42:24]1206 (1) - 0 [19:42:24]OFD Sender: Remove packet 68409 [19:42:24]ProducePacketName [19:42:24]name=ofd_packets/00068409 [19:42:24]NVStorageDeleteData [19:42:24]Write to MH i2c: 01 00 00 04 06 0A [19:42:24]Write i2c OK [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: 01 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: 01 07 00 [19:42:24]MH_I2C_Read... [19:42:24]Read from MH i2c: 01 07 00 04 06 00 00 00 00 00 D6 0C F3 [19:42:24]RasterBufferAndPrint [19:42:24]line [19:42:24]line [19:42:24]line [19:42:24]line [19:42:24]line [19:42:24]written 0, free lines is 3292 [19:42:25]MH_Cut [19:42:25]Write to MH i2c: D1 01 00 0B 06 01 E3 [19:42:25]Write i2c OK [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: D1 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: D1 01 00 [19:42:25]MH_I2C_Read... [19:42:25]Read from MH i2c: D1 01 00 0B 06 00 E2 [19:42:25]Write to MH i2c: 01 00 00 0C 06 12 [19:42:25]Write i2c OK [19:42:25]MH_I2C_Read... [19:42:25]OFD Sender: No OFD packet to send [19:42:25]*** Cut start [19:42:25]*** Partial cut [19:42:25]*** CUTSNS_PIN = 1 [19:42:25]*** CUTSNS_PIN = 0 [19:42:26]*** Brake cut motor [19:42:26]Read from MH i2c: 01 [19:42:26]MH_I2C_Read... [19:42:26]*** Stop cut motor [19:42:26]*** Cut end [19:42:26]Read from MH i2c: 01 07 00 [19:42:26]MH_I2C_Read... [19:42:26]Read from MH i2c: 01 07 00 0C 06 00 00 00 00 00 FF 0F 27 [19:42:26]process_action close_receipt done [19:42:26]requested_data is exist [19:42:26]produce_requested_data [19:42:26]requested_item fm.sn is exist - process it [19:42:26]wFMCommunicate request_size=4 [19:42:26]MH_SAM_APDU [19:42:26]CAPDU: 80 11 00 00 [19:42:26]Write to MH i2c: E2 08 00 0D 06 80 11 00 00 00 00 00 00 8D [19:42:26]Write i2c OK [19:42:26]MH_I2C_Read... [19:42:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:26]Read from MH i2c: E2 [19:42:26]MH_I2C_Read... [19:42:26]Read from MH i2c: E2 17 00 [19:42:26]MH_I2C_Read... [19:42:26]Read from MH i2c: E2 17 00 0D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E4 [19:42:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:42:26]wFMCommunicate OK [19:42:26]requested_item fd.num is exist - process it [19:42:26]SAM_PROTO_GetFieldsCounters [19:42:26]wFMCommunicate request_size=4 [19:42:26]MH_SAM_APDU [19:42:26]CAPDU: 80 13 00 00 [19:42:26]Write to MH i2c: E2 08 00 0E 06 80 13 00 00 00 00 00 00 90 [19:42:26]Write i2c OK [19:42:26]MH_I2C_Read... [19:42:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:42:26]Read from MH i2c: E2 [19:42:26]MH_I2C_Read... [19:42:26]Read from MH i2c: E2 62 00 [19:42:26]MH_I2C_Read... [19:42:26]Read from MH i2c: E2 62 00 0E 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 39 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 84 00 00 00 5E 04 04 00 84 00 00 00 57 04 04 00 85 00 00 00 19 04 04 00 00 00 00 00 90 00 B2 [19:42:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 39 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 84 00 00 00 5E 04 04 00 84 00 00 00 57 04 04 00 85 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:42:26]wFMCommunicate OK [19:42:26]SAM_PROTO_GetFieldsCounters done [19:42:26]requested_item shift.num is exist - process it [19:42:26]requested_item shift.opened is exist - process it [19:42:26]req_shift_opened [19:42:26]FM_GetShiftState [19:42:26]SAM_PROTO_GetShiftState [19:42:26]wFMCommunicate request_size=4 [19:42:26]MH_SAM_APDU [19:42:26]CAPDU: 80 13 01 00 [19:42:26]Write to MH i2c: E2 08 00 0F 06 80 13 01 00 00 00 00 00 92 [19:42:26]Write i2c OK [19:42:26]MH_I2C_Read... [19:42:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:26]Read from MH i2c: E2 [19:42:26]MH_I2C_Read... [19:42:26]Read from MH i2c: E2 0E 00 [19:42:26]MH_I2C_Read... [19:42:26]Read from MH i2c: E2 0E 00 0F 06 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 42 [19:42:26]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:42:26]wFMCommunicate OK [19:42:26]SAM_PROTO_GetShiftState done [19:42:26]FM_GetShiftState done [19:42:26]req_shift_opened done [19:42:26]requested_item shift.open_date is exist - process it [19:42:26]req_shift_open_date [19:42:26]req_shift_open_date done [19:42:26]produce_requested_data done [19:42:26]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68409,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:42:26]process_action_free close_receipt [19:42:26]json_value_free [19:42:26]json_value_free done [19:42:26]process_json_proto returns [19:42:26]Send response to host [19:42:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68409,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:42:26]free response buf [19:42:26]execute_script done [19:42:26]execute_script returns [19:42:26]free content buf [19:42:26]Sock 8.Close socket [19:42:26]Sock 8.Thread stoped [19:42:30]OFD Sender: No OFD packet to send [19:42:35]OFD Sender: No OFD packet to send [19:42:40]OFD Sender: No OFD packet to send [19:42:45]OFD Sender: No OFD packet to send [19:42:50]OFD Sender: No OFD packet to send [19:42:55]OFD Sender: No OFD packet to send [19:43:00]OFD Sender: No OFD packet to send [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:30]OFD Sender: No OFD packet to send [19:43:35]OFD Sender: No OFD packet to send [19:43:40]OFD Sender: No OFD packet to send [19:43:45]OFD Sender: No OFD packet to send [19:43:50]OFD Sender: No OFD packet to send [19:43:55]OFD Sender: No OFD packet to send [19:44:00]OFD Sender: No OFD packet to send [19:44:05]OFD Sender: No OFD packet to send [19:44:10]OFD Sender: No OFD packet to send [19:44:15]OFD Sender: No OFD packet to send [19:44:20]OFD Sender: No OFD packet to send [19:44:25]OFD Sender: No OFD packet to send [19:44:30]OFD Sender: No OFD packet to send [19:44:35]OFD Sender: No OFD packet to send [19:44:40]OFD Sender: No OFD packet to send [19:44:45]OFD Sender: No OFD packet to send [19:44:50]OFD Sender: No OFD packet to send [19:44:55]OFD Sender: No OFD packet to send [19:45:00]OFD Sender: No OFD packet to send [19:45:05]OFD Sender: No OFD packet to send [19:45:10]OFD Sender: No OFD packet to send [19:45:15]OFD Sender: No OFD packet to send [19:45:20]OFD Sender: No OFD packet to send [19:45:25]OFD Sender: No OFD packet to send [19:45:30]OFD Sender: No OFD packet to send [19:45:35]OFD Sender: No OFD packet to send [19:45:40]OFD Sender: No OFD packet to send [19:45:45]OFD Sender: No OFD packet to send [19:45:50]OFD Sender: No OFD packet to send [19:45:55]OFD Sender: No OFD packet to send [19:46:00]OFD Sender: No OFD packet to send [19:46:05]OFD Sender: No OFD packet to send [19:46:10]OFD Sender: No OFD packet to send [19:46:15]OFD Sender: No OFD packet to send [19:46:20]OFD Sender: No OFD packet to send [19:46:25]OFD Sender: No OFD packet to send [19:46:30]OFD Sender: No OFD packet to send [19:46:35]OFD Sender: No OFD packet to send [19:46:40]OFD Sender: No OFD packet to send [19:46:45]OFD Sender: No OFD packet to send [19:46:50]OFD Sender: No OFD packet to send [19:46:55]OFD Sender: No OFD packet to send [19:47:00]OFD Sender: No OFD packet to send [19:47:05]OFD Sender: No OFD packet to send [19:47:10]OFD Sender: No OFD packet to send [19:47:15]OFD Sender: No OFD packet to send [19:47:20]OFD Sender: No OFD packet to send [19:47:25]OFD Sender: No OFD packet to send [19:47:30]OFD Sender: No OFD packet to send [19:47:35]OFD Sender: No OFD packet to send [19:47:40]OFD Sender: No OFD packet to send [19:47:45]OFD Sender: No OFD packet to send [19:47:50]OFD Sender: No OFD packet to send [19:47:55]OFD Sender: No OFD packet to send [19:48:00]OFD Sender: No OFD packet to send [19:48:05]OFD Sender: No OFD packet to send [19:48:10]OFD Sender: No OFD packet to send [19:48:15]OFD Sender: No OFD packet to send [19:48:20]OFD Sender: No OFD packet to send [19:48:25]OFD Sender: No OFD packet to send [19:48:30]OFD Sender: No OFD packet to send [19:48:35]OFD Sender: No OFD packet to send [19:48:40]OFD Sender: No OFD packet to send [19:48:45]OFD Sender: No OFD packet to send [19:48:50]OFD Sender: No OFD packet to send [19:48:55]OFD Sender: No OFD packet to send [19:49:00]OFD Sender: No OFD packet to send [19:49:05]OFD Sender: No OFD packet to send [19:49:10]OFD Sender: No OFD packet to send [19:49:15]OFD Sender: No OFD packet to send [19:49:20]OFD Sender: No OFD packet to send [19:49:25]OFD Sender: No OFD packet to send [19:49:30]OFD Sender: No OFD packet to send [19:49:35]OFD Sender: No OFD packet to send [19:49:40]OFD Sender: No OFD packet to send [19:49:45]OFD Sender: No OFD packet to send [19:49:50]OFD Sender: No OFD packet to send [19:49:55]OFD Sender: No OFD packet to send [19:50:00]OFD Sender: No OFD packet to send [19:50:05]OFD Sender: No OFD packet to send [19:50:10]OFD Sender: No OFD packet to send [19:50:15]OFD Sender: No OFD packet to send [19:50:20]OFD Sender: No OFD packet to send [19:50:25]OFD Sender: No OFD packet to send [19:50:30]OFD Sender: No OFD packet to send [19:50:35]OFD Sender: No OFD packet to send [19:50:40]OFD Sender: No OFD packet to send [19:50:45]OFD Sender: No OFD packet to send [19:50:50]OFD Sender: No OFD packet to send [19:50:55]OFD Sender: No OFD packet to send [19:51:00]OFD Sender: No OFD packet to send [19:51:05]OFD Sender: No OFD packet to send [19:51:10]OFD Sender: No OFD packet to send [19:51:15]OFD Sender: No OFD packet to send [19:51:20]OFD Sender: No OFD packet to send [19:51:25]OFD Sender: No OFD packet to send [19:51:30]OFD Sender: No OFD packet to send [19:51:35]OFD Sender: No OFD packet to send [19:51:40]OFD Sender: No OFD packet to send [19:51:45]OFD Sender: No OFD packet to send [19:51:50]OFD Sender: No OFD packet to send [19:51:55]OFD Sender: No OFD packet to send [19:52:00]OFD Sender: No OFD packet to send [19:52:05]OFD Sender: No OFD packet to send [19:52:10]OFD Sender: No OFD packet to send [19:52:15]OFD Sender: No OFD packet to send [19:52:20]OFD Sender: No OFD packet to send [19:52:25]OFD Sender: No OFD packet to send [19:52:30]OFD Sender: No OFD packet to send [19:52:35]OFD Sender: No OFD packet to send [19:52:40]OFD Sender: No OFD packet to send [19:52:45]OFD Sender: No OFD packet to send [19:52:50]OFD Sender: No OFD packet to send [19:52:55]OFD Sender: No OFD packet to send [19:53:00]OFD Sender: No OFD packet to send [19:53:05]OFD Sender: No OFD packet to send [19:53:10]OFD Sender: No OFD packet to send [19:53:15]OFD Sender: No OFD packet to send [19:53:20]OFD Sender: No OFD packet to send [19:53:25]OFD Sender: No OFD packet to send [19:53:30]OFD Sender: No OFD packet to send [19:53:35]OFD Sender: No OFD packet to send [19:53:40]OFD Sender: No OFD packet to send [19:53:45]OFD Sender: No OFD packet to send [19:53:50]OFD Sender: No OFD packet to send [19:53:55]OFD Sender: No OFD packet to send [19:54:00]OFD Sender: No OFD packet to send [19:54:05]OFD Sender: No OFD packet to send [19:54:10]OFD Sender: No OFD packet to send [19:54:15]OFD Sender: No OFD packet to send [19:54:20]OFD Sender: No OFD packet to send [19:54:25]OFD Sender: No OFD packet to send [19:54:30]OFD Sender: No OFD packet to send [19:54:35]OFD Sender: No OFD packet to send [19:54:40]OFD Sender: No OFD packet to send [19:54:45]OFD Sender: No OFD packet to send [19:54:50]OFD Sender: No OFD packet to send [19:54:55]OFD Sender: No OFD packet to send [19:55:00]OFD Sender: No OFD packet to send [19:55:05]OFD Sender: No OFD packet to send [19:55:10]OFD Sender: No OFD packet to send [19:55:16]OFD Sender: No OFD packet to send [19:55:21]OFD Sender: No OFD packet to send [19:55:26]OFD Sender: No OFD packet to send [19:55:31]OFD Sender: No OFD packet to send [19:55:36]OFD Sender: No OFD packet to send [19:55:41]OFD Sender: No OFD packet to send [19:55:46]OFD Sender: No OFD packet to send [19:55:51]OFD Sender: No OFD packet to send [19:55:56]OFD Sender: No OFD packet to send [19:56:01]OFD Sender: No OFD packet to send [19:56:06]OFD Sender: No OFD packet to send [19:56:11]OFD Sender: No OFD packet to send [19:56:16]OFD Sender: No OFD packet to send [19:56:21]OFD Sender: No OFD packet to send [19:56:26]OFD Sender: No OFD packet to send [19:56:31]OFD Sender: No OFD packet to send [19:56:36]OFD Sender: No OFD packet to send [19:56:40]int [19:56:40]Write to MH i2c: 01 00 00 10 06 16 [19:56:40]*** FLAG_PRN_KEY set [19:56:40]Write i2c OK [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: 01 [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: 01 07 00 [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: 01 07 00 10 06 00 08 00 00 00 FF 0F 33 [19:56:40]state=0 [19:56:40]Key pressed [19:56:40]Feed [19:56:40]Write to MH i2c: D8 00 00 11 06 EE [19:56:40]Write i2c OK [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: D8 [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: D8 01 00 [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: D8 01 00 11 06 00 EF [19:56:40]int [19:56:40]Write to MH i2c: 01 00 00 12 06 18 [19:56:40]Write i2c OK [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: 01 [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: 01 07 00 [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: 01 07 00 12 06 00 48 00 00 00 3C 00 A3 [19:56:40]state=2 [19:56:40]Key pressed [19:56:40]int [19:56:40]Write to MH i2c: 01 00 00 13 06 19 [19:56:40]*** FLAG_PRN_KEY reset [19:56:40]Write i2c OK [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: 01 [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: 01 07 00 [19:56:40]MH_I2C_Read... [19:56:40]Read from MH i2c: 01 07 00 13 06 00 00 00 00 00 F8 0F 27 [19:56:40]state=2 [19:56:40]Stop feed [19:56:41]OFD Sender: No OFD packet to send [19:56:46]OFD Sender: No OFD packet to send [19:56:51]OFD Sender: No OFD packet to send [19:56:56]OFD Sender: No OFD packet to send [19:57:01]OFD Sender: No OFD packet to send [19:57:06]OFD Sender: No OFD packet to send [19:57:11]OFD Sender: No OFD packet to send [19:57:16]OFD Sender: No OFD packet to send [19:57:21]OFD Sender: No OFD packet to send [19:57:26]OFD Sender: No OFD packet to send [19:57:31]OFD Sender: No OFD packet to send [19:57:36]OFD Sender: No OFD packet to send [19:57:41]OFD Sender: No OFD packet to send [19:57:46]OFD Sender: No OFD packet to send [19:57:51]OFD Sender: No OFD packet to send [19:57:56]OFD Sender: No OFD packet to send [19:58:01]OFD Sender: No OFD packet to send [19:58:06]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:06]accept exits with 9 [19:59:06]New connection [19:59:06]New thread 3066858852 created [19:59:06]Thread 3066715492 joined [19:59:06]Waiting for new connection... [19:59:06] Sock 9.Parse request [19:59:06]Sock 9.Check first char [19:59:06]Sock 9.First char is OK [19:59:06]request: POST /json_proto HTTP/1.0 [19:59:06]Method: POST [19:59:06]URL: /json_proto [19:59:06]Method is POST - this is cgi request [19:59:06]url: /json_proto [19:59:06]query_string will be loaded in cgi processing [19:59:06]execute_cgi json_proto POST (null) [19:59:06]execute_cgi path=json_proto method=POST [19:59:06]POST find Content-Length [19:59:06]Host: 172.17.42.3:8080 [19:59:06]Content-Length: 815 [19:59:06]Content-Type: application/json [19:59:06] [19:59:06]POST finish read [19:59:06]Found Content-Length = 815 [19:59:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46400", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 53.450, "sum" : 4072.89, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 4072.89 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:06]execute_script... [19:59: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)46400", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 53.450, "sum" : 4072.89, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 4072.89 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:59:06]POST & json_proto [19:59:06]process_json_proto [19:59:06]json parsed OK: [19:59:06]protocol is kg_v1.0 [19:59:06]action value=close_receipt [19:59:06]process_action close_receipt [19:59:06]cmd_close_receipt [19:59:06]MH_GetDate [19:59:06]Write to MH i2c: F0 00 00 14 06 09 [19:59:06]Write i2c OK [19:59:06]MH_I2C_Read... [19:59:06]Read from MH i2c: F0 [19:59:06]MH_I2C_Read... [19:59:06]Read from MH i2c: F0 09 00 [19:59:06]MH_I2C_Read... [19:59:06]Read from MH i2c: F0 09 00 14 06 00 8C 3E 21 67 28 A1 20 67 B4 [19:59:06]GetLastDocTimeStamp 1730230943 [19:59:06]current date 1730231948 [19:59:06]FM_GetShiftState [19:59:06]SAM_PROTO_GetShiftState [19:59:06]wFMCommunicate request_size=4 [19:59:06]MH_SAM_APDU [19:59:06]CAPDU: 80 13 01 00 [19:59:06]Write to MH i2c: E2 08 00 15 06 80 13 01 00 00 00 00 00 98 [19:59:06]Write i2c OK [19:59:06]MH_I2C_Read... [19:59:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:06]Read from MH i2c: E2 [19:59:06]MH_I2C_Read... [19:59:06]Read from MH i2c: E2 0E 00 [19:59:06]MH_I2C_Read... [19:59:06]Read from MH i2c: E2 0E 00 15 06 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 48 [19:59:06]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:59:06]wFMCommunicate OK [19:59:06]SAM_PROTO_GetShiftState done [19:59:06]FM_GetShiftState done [19:59:06]opened in 1730160885 [19:59:06]opened+sec_in_day 1730247285 [19:59:06]quantity*price = 407289 [19:59:06]sum+1 = 407290 [19:59:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 4072.89 НСП 1% : 36.04 НДС 12% : 432.52 Наличными: 0.00 Безнал.: 4072.89 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 133 29.10.2024 19:59 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68410 ФПД: 264577107832076 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T195908&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68410&fm=264577107832076&tin=02508201610067®Number=0000000000091759&sum=407289 [19:59:07]StoreToDocumentArchive [19:59:07]shift 548 fd 68410 [19:59:07]save to /storage/0548/doc_00068410 [19:59:07]save last doc name /storage/0548/doc_00068410 to /storage/kkm_last_doc_name [19:59:07]save OK [19:59:07]Clear old archive folders... [19:59:07]ProcessDocumentItem done err = 0, tmpTLVsize=248 [19:59:07]tlvbuf is 01DF3F30 [19:59:07]SAM_PROTO_ClearQueue [19:59:07]wFMCommunicate request_size=4 [19:59:07]MH_SAM_APDU [19:59:07]CAPDU: 80 09 00 00 [19:59:07]Write to MH i2c: E2 08 00 22 06 80 09 00 00 00 00 00 00 9A [19:59:07]Write i2c OK [19:59:07]MH_I2C_Read... [19:59:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:59:07]Read from MH i2c: E2 [19:59:07]MH_I2C_Read... [19:59:07]Read from MH i2c: E2 03 00 [19:59:07]MH_I2C_Read... [19:59:07]Read from MH i2c: E2 03 00 22 06 00 90 00 9C [19:59:07]RAPDU: 90 00 [19:59:07]wFMCommunicate OK [19:59:07]SAM_PROTO_ClearQueue done [19:59:07]KKMCreateOFDPacket [19:59:07]OFDProtocolAddRootSTLVToBuf [19:59:07]FM_MakeSignedData [19:59:07]FM_MakeSignedData [19:59:07]SAM_PROTO_SignData [19:59:07]wFMCommunicate request_size=4 [19:59:07]MH_SAM_APDU [19:59:07]CAPDU: 80 0D 01 02 [19:59:07]Write to MH i2c: E2 08 00 23 06 80 0D 01 02 00 00 00 00 A2 [19:59:07]Write i2c OK [19:59:07]MH_I2C_Read... [19:59:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:59:07]Read from MH i2c: E2 [19:59:07]MH_I2C_Read... [19:59:07]Read from MH i2c: E2 03 00 [19:59:07]MH_I2C_Read... [19:59:07]Read from MH i2c: E2 03 00 23 06 00 90 00 9D [19:59:07]RAPDU: 90 00 [19:59:07]wFMCommunicate OK [19:59:07]wFMCommunicate request_size=255 [19:59:07]MH_SAM_APDU [19:59:07]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 CA D0 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 F9 36 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F9 36 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 A8 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F9 36 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 85 00 00 00 F4 03 04 00 8C 3E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3A 0B 01 00 35 04 06 00 F0 A1 A8 87 [19:59:07]Write to MH i2c: E2 02 01 24 06 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 CA D0 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 F9 36 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F9 36 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 A8 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F9 36 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 85 00 00 00 F4 03 04 00 8C 3E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3A 0B 01 00 35 04 06 00 F0 A1 A8 87 00 00 E4 [19:59:07]Write i2c OK [19:59:07]MH_I2C_Read... [19:59:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:08]Read from MH i2c: E2 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: E2 03 00 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: E2 03 00 24 06 00 90 00 9E [19:59:08]RAPDU: 90 00 [19:59:08]wFMCommunicate OK [19:59:08]wFMCommunicate request_size=7 [19:59:08]MH_SAM_APDU [19:59:08]CAPDU: 80 0D 02 02 02 2D 0C [19:59:08]Write to MH i2c: E2 0A 00 25 06 80 0D 02 02 02 00 2D 0C 00 00 E2 [19:59:08]Write i2c OK [19:59:08]MH_I2C_Read... [19:59:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:59:08]Read from MH i2c: E2 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: E2 03 00 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: E2 03 00 25 06 00 90 00 9F [19:59:08]RAPDU: 90 00 [19:59:08]wFMCommunicate OK [19:59:08]wFMCommunicate request_size=4 [19:59:08]MH_SAM_APDU [19:59:08]CAPDU: 80 0D 03 02 [19:59:08]Write to MH i2c: E2 08 00 26 06 80 0D 03 02 00 00 00 00 A7 [19:59:08]Write i2c OK [19:59:08]MH_I2C_Read... [19:59:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:59:08]Read from MH i2c: E2 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: E2 0B 00 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: E2 0B 00 26 06 00 2D 0C 63 49 60 5F A7 F5 90 00 E8 [19:59:08]RAPDU: 2D 0C 63 49 60 5F A7 F5 90 00 [19:59:08]wFMCommunicate OK [19:59:08]SAM_PROTO_SignData done [19:59:08]FM_MakeSignedData done [19:59:08]CreateOFDProtocolMessage [19:59:08]wFMCommunicate request_size=4 [19:59:08]MH_SAM_APDU [19:59:08]CAPDU: 80 11 00 00 [19:59:08]Write to MH i2c: E2 08 00 27 06 80 11 00 00 00 00 00 00 A7 [19:59:08]Write i2c OK [19:59:08]MH_I2C_Read... [19:59:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:08]Read from MH i2c: E2 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: E2 17 00 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: E2 17 00 27 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 FE [19:59:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:59:08]wFMCommunicate OK [19:59:08]CreateOFDProtocolMessage done [19:59:08]OFDSenderStorePacket 68410 [19:59:08]StoreOFDPacket docnum=68410 [19:59:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E1 A2 04 01 75 C0 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 CA D0 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 F9 36 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F9 36 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 A8 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F9 36 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 85 00 00 00 F4 03 04 00 8C 3E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3A 0B 01 00 35 04 06 00 F0 A1 A8 87 2D 0C 2D 0C 63 49 60 5F A7 F5 [19:59:08]CheckFolder [19:59:08]dirname=/storage/ofd_packets [19:59:08]CheckFolder done [19:59:08]ProducePacketName [19:59:08]name=ofd_packets/00068410 [19:59:08]NVStorageSaveData ofd_packets/00068410 [19:59:08]File name is /storage/ofd_packets/00068410 [19:59:08]Write 298 bytes [19:59:08]NVStorageSaveData done [19:59:08]OFDSenderStorePacket done [19:59:08]KKMCreateOFDPacket done [19:59:08]NVStorageSaveData kkm_last_timestamp [19:59:08]File name is /storage/kkm_last_timestamp [19:59:08]Write 4 bytes [19:59:08]NVStorageSaveData done [19:59:08]ExternCall_PrintAddStr [19:59:08]wPrintStart [19:59:08]Write to MH i2c: 01 00 00 28 06 2E [19:59:08]Write i2c OK [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: 01 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: 01 07 00 [19:59:08]MH_I2C_Read... [19:59:08]Read from MH i2c: 01 07 00 28 06 00 00 00 00 00 FF 0F 43 [19:59:08]RasterBufferAndPrint [19:59:08]line Счет N : (1)46400 [19:59:08]line ИНН: 02508201610067 [19:59:08]line Контрольно-Кассовый Чек [19:59:08]line ПРОДАЖА [19:59:08]line ТРК (МРК, ГНК) : 11 [19:59:08]line Товар: 2710194210 [19:59:08]line ДТ-К-5 [19:59:08]line 53.450 * 76.20 [19:59:08]line = 4072.89 [19:59:08]line НДС 12% НСП 1% [19:59:08]line > о реализуемом товаре [19:59:08]line ИТОГО: 4072.89 [19:59:08]line НСП 1% : 36.04 [19:59:08]line НДС 12% : 432.52 [19:59:08]line Наличными: 0.00 [19:59:08]line Безнал.: 4072.89 [19:59:08]line Место: АЗС № 160 "Партнер Нефть" [19:59:08]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:59:08]line СНО: Общий режим [19:59:08]line Чек 133 29.10.2024 19:59 [19:59:08]line Смена: 548 ФФД: 1.0 [19:59:08]line ЗНМ: 0300000093 [19:59:08]line РНМ: 0000000000091759 [19:59:08]line Версия ККМ: 001 [19:59:08]line Платежная система: Бакай Банк [19:59:08]line ФМ: 0000000000871758 [19:59:08]line ФД: 68410 [19:59:08]line ФПД: 264577107832076 [19:59:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T195908&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68410&fm=264577107832076&tin=02508201610067®Number=0000000000091759&sum=407289 [19:59:08]OFD Sender: Processing packet 68410 [packets to send 28, broken 27] [19:59:08]ProducePacketName [19:59:08]name=ofd_packets/00068410 [19:59:08]OFD Sender: To server: pG, [19:59:08]CommunicateWithHost lk.salyk.kg:30040 [19:59:08]ConnectInit lk.salyk.kg [19:59:08]written 0, free lines is 4095 [19:59:08]Connected sock=10 [19:59:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E1 A2 04 01 75 C0 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 CA D0 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 F9 36 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F9 36 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 0E 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 A8 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F9 36 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 85 00 00 00 F4 03 04 00 8C 3E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3A 0B 01 00 35 04 06 00 F0 A1 A8 87 2D 0C 2D 0C 63 49 60 5F A7 F5 [19:59:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 6D 28 47 00 5E 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3A 0B 01 00 F4 03 04 00 33 EA 20 67 B6 04 01 00 00 28 DD 59 F3 3B 19 C3 DA [19:59:08]CommunicateWithHost err = 0 [19:59:08]CheckOFDResponse [19:59:08]1017 (14) - 77093643461234 [19:59:08]1041 (16) - 0000000000871758 [19:59:08]1040 (4) - 68410 [19:59:08]1012 (4) - 29.10.2024 13:59 [19:59:08]1206 (1) - 0 [19:59:08]OFD Sender: Remove packet 68410 [19:59:08]ProducePacketName [19:59:08]name=ofd_packets/00068410 [19:59:08]NVStorageDeleteData [19:59:09]Write to MH i2c: 01 00 00 51 06 57 [19:59:09]Write i2c OK [19:59:09]MH_I2C_Read... [19:59:09]Read from MH i2c: 01 [19:59:09]MH_I2C_Read... [19:59:09]Read from MH i2c: 01 07 00 [19:59:09]MH_I2C_Read... [19:59:09]Read from MH i2c: 01 07 00 51 06 00 00 00 00 00 DE 0C 48 [19:59:09]RasterBufferAndPrint [19:59:09]line [19:59:09]line [19:59:09]line [19:59:09]line [19:59:09]line [19:59:09]written 0, free lines is 3300 [19:59:09]MH_Cut [19:59:09]Write to MH i2c: D1 01 00 58 06 01 30 [19:59:09]Write i2c OK [19:59:09]MH_I2C_Read... [19:59:09]Read from MH i2c: D1 [19:59:09]MH_I2C_Read... [19:59:09]Read from MH i2c: D1 01 00 [19:59:09]MH_I2C_Read... [19:59:09]Read from MH i2c: D1 01 00 58 06 00 2F [19:59:09]Write to MH i2c: 01 00 00 59 06 5F [19:59:09]Write i2c OK [19:59:09]MH_I2C_Read... [19:59:09]OFD Sender: No OFD packet to send [19:59:09]*** Cut start [19:59:09]*** Partial cut [19:59:09]*** CUTSNS_PIN = 1 [19:59:09]*** CUTSNS_PIN = 0 [19:59:10]*** Brake cut motor [19:59:10]Read from MH i2c: 01 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 07 00 [19:59:10]MH_I2C_Read... [19:59:10]int [19:59:10]*** Stop cut motor [19:59:10]*** Cut end [19:59:10]*** FLAG_PRN_KEY set [19:59:10]Read from MH i2c: 01 07 00 59 06 00 00 00 00 00 FF 0F 74 [19:59:10]process_action close_receipt done [19:59:10]requested_data is exist [19:59:10]produce_requested_data [19:59:10]requested_item fm.sn is exist - process it [19:59:10]wFMCommunicate request_size=4 [19:59:10]MH_SAM_APDU [19:59:10]CAPDU: 80 11 00 00 [19:59:10]Write to MH i2c: E2 08 00 5A 06 80 11 00 00 00 00 00 00 DA [19:59:10]Write i2c OK [19:59:10]MH_I2C_Read... [19:59:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:59:10]Read from MH i2c: E2 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: E2 17 00 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: E2 17 00 5A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 31 [19:59:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:59:10]wFMCommunicate OK [19:59:10]requested_item fd.num is exist - process it [19:59:10]SAM_PROTO_GetFieldsCounters [19:59:10]wFMCommunicate request_size=4 [19:59:10]MH_SAM_APDU [19:59:10]CAPDU: 80 13 00 00 [19:59:10]Write to MH i2c: E2 08 00 5B 06 80 13 00 00 00 00 00 00 DD [19:59:10]Write i2c OK [19:59:10]MH_I2C_Read... [19:59:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:59:10]*** FLAG_PRN_KEY reset [19:59:10]Read from MH i2c: E2 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: E2 62 00 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: E2 62 00 5B 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 85 00 00 00 5E 04 04 00 85 00 00 00 57 04 04 00 86 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [19:59:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 85 00 00 00 5E 04 04 00 85 00 00 00 57 04 04 00 86 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:59:10]wFMCommunicate OK [19:59:10]SAM_PROTO_GetFieldsCounters done [19:59:10]requested_item shift.num is exist - process it [19:59:10]requested_item shift.opened is exist - process it [19:59:10]req_shift_opened [19:59:10]FM_GetShiftState [19:59:10]SAM_PROTO_GetShiftState [19:59:10]wFMCommunicate request_size=4 [19:59:10]MH_SAM_APDU [19:59:10]CAPDU: 80 13 01 00 [19:59:10]Write to MH i2c: 01 00 00 5C 06 62 [19:59:10]Write i2c OK [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 07 00 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 07 00 5C 06 00 00 00 00 00 FF 0F 77 [19:59:10]state=0 [19:59:10]Write to MH i2c: E2 08 00 5D 06 80 13 01 00 00 00 00 00 E0 [19:59:10]Write i2c OK [19:59:10]MH_I2C_Read... [19:59:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:59:10]Read from MH i2c: E2 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: E2 0E 00 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: E2 0E 00 5D 06 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 90 [19:59:10]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [19:59:10]wFMCommunicate OK [19:59:10]SAM_PROTO_GetShiftState done [19:59:10]FM_GetShiftState done [19:59:10]req_shift_opened done [19:59:10]requested_item shift.open_date is exist - process it [19:59:10]req_shift_open_date [19:59:10]req_shift_open_date done [19:59:10]produce_requested_data done [19:59:10]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68410,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [19:59:10]process_action_free close_receipt [19:59:10]json_value_free [19:59:10]json_value_free done [19:59:10]process_json_proto returns [19:59:10]Send response to host [19:59:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68410,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [19:59:10]free response buf [19:59:10]execute_script done [19:59:10]execute_script returns [19:59:10]free content buf [19:59:10]Sock 9.Close socket [19:59:10]Sock 9.Thread stoped [19:59:10]int [19:59:10]Write to MH i2c: 01 00 00 5E 06 64 [19:59:10]*** FLAG_PRN_KEY set [19:59:10]Write i2c OK [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 07 00 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 07 00 5E 06 00 08 00 00 00 FF 0F 81 [19:59:10]state=0 [19:59:10]Key pressed [19:59:10]Feed [19:59:10]Write to MH i2c: D8 00 00 5F 06 3C [19:59:10]Write i2c OK [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: D8 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: D8 01 00 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: D8 01 00 5F 06 00 3D [19:59:10]int [19:59:10]Write to MH i2c: 01 00 00 60 06 66 [19:59:10]Write i2c OK [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 07 00 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 07 00 60 06 00 48 00 00 00 3C 00 F1 [19:59:10]state=2 [19:59:10]Key pressed [19:59:10]int [19:59:10]Write to MH i2c: 01 00 00 61 06 67 [19:59:10]*** FLAG_PRN_KEY reset [19:59:10]Write i2c OK [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 07 00 [19:59:10]MH_I2C_Read... [19:59:10]Read from MH i2c: 01 07 00 61 06 00 00 00 00 00 F9 0F 76 [19:59:10]state=2 [19:59:10]Stop feed [19:59:14]OFD Sender: No OFD packet to send [19:59:19]OFD Sender: No OFD packet to send [19:59:24]OFD Sender: No OFD packet to send [19:59:29]OFD Sender: No OFD packet to send [19:59:34]OFD Sender: No OFD packet to send [19:59:39]OFD Sender: No OFD packet to send [19:59:44]OFD Sender: No OFD packet to send [19:59:49]OFD Sender: No OFD packet to send [19:59:54]OFD Sender: No OFD packet to send [19:59:59]OFD Sender: No OFD packet to send [20:00:04]OFD Sender: No OFD packet to send [20:00:09]OFD Sender: No OFD packet to send [20:00:14]OFD Sender: No OFD packet to send [20:00:19]OFD Sender: No OFD packet to send [20:00:24]OFD Sender: No OFD packet to send [20:00:29]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:49]accept exits with 8 [20:00:49]New connection [20:00:49]New thread 3066715492 created [20:00:49]Thread 3066858852 joined [20:00:49]Waiting for new connection... [20:00:49] Sock 8.Parse request [20:00:49]Sock 8.Check first char [20:00:49]Sock 8.First char is OK [20:00:49]request: POST /json_proto HTTP/1.0 [20:00:49]Method: POST [20:00:49]URL: /json_proto [20:00:49]Method is POST - this is cgi request [20:00:49]url: /json_proto [20:00:49]query_string will be loaded in cgi processing [20:00:49]execute_cgi json_proto POST (null) [20:00:49]execute_cgi path=json_proto method=POST [20:00:49]POST find Content-Length [20:00:49]Host: 172.17.42.3:8080 [20:00:49]Content-Length: 1006 [20:00:49]Content-Type: application/json [20:00:49] [20:00:49]POST finish read [20:00:49]Found Content-Length = 1006 [20:00:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17251", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:00:49]execute_script... [20:00:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17251", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:00:49]POST & json_proto [20:00:49]process_json_proto [20:00:49]json parsed OK: [20:00:49]protocol is kg_v1.0 [20:00:49]action value=close_receipt [20:00:49]process_action close_receipt [20:00:49]cmd_close_receipt [20:00:49]MH_GetDate [20:00:49]Write to MH i2c: F0 00 00 62 06 57 [20:00:49]Write i2c OK [20:00:49]MH_I2C_Read... [20:00:49]Read from MH i2c: F0 [20:00:49]MH_I2C_Read... [20:00:49]Read from MH i2c: F0 09 00 [20:00:49]MH_I2C_Read... [20:00:49]Read from MH i2c: F0 09 00 62 06 00 F3 3E 21 67 28 A1 20 67 69 [20:00:49]GetLastDocTimeStamp 1730231948 [20:00:49]current date 1730232051 [20:00:49]FM_GetShiftState [20:00:49]SAM_PROTO_GetShiftState [20:00:49]wFMCommunicate request_size=4 [20:00:49]MH_SAM_APDU [20:00:49]CAPDU: 80 13 01 00 [20:00:49]Write to MH i2c: E2 08 00 63 06 80 13 01 00 00 00 00 00 E6 [20:00:49]Write i2c OK [20:00:49]MH_I2C_Read... [20:00:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:00:49]Read from MH i2c: E2 [20:00:49]MH_I2C_Read... [20:00:49]Read from MH i2c: E2 0E 00 [20:00:49]MH_I2C_Read... [20:00:49]Read from MH i2c: E2 0E 00 63 06 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 96 [20:00:49]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:00:49]wFMCommunicate OK [20:00:49]SAM_PROTO_GetShiftState done [20:00:49]FM_GetShiftState done [20:00:49]opened in 1730160885 [20:00:49]opened+sec_in_day 1730247285 [20:00:49]quantity*price = 17000 [20:00:49]sum+1 = 17001 [20:00:49]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 290.00 НСП 1% : 2.56 НДС 12% : 30.79 Наличными: 290.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 134 29.10.2024 20:00 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68411 ФПД: 2586347577092 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T200051&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68411&fm=2586347577092&tin=02508201610067®Number=0000000000091759&sum=29000 0 [20:00:50]StoreToDocumentArchive [20:00:50]shift 548 fd 68411 [20:00:50]save to /storage/0548/doc_00068411 [20:00:50]save last doc name /storage/0548/doc_00068411 to /storage/kkm_last_doc_name [20:00:50]save OK [20:00:50]Clear old archive folders... [20:00:50]ProcessDocumentItem done err = 0, tmpTLVsize=425 [20:00:50]tlvbuf is 01DF3B20 [20:00:50]SAM_PROTO_ClearQueue [20:00:50]wFMCommunicate request_size=4 [20:00:50]MH_SAM_APDU [20:00:50]CAPDU: 80 09 00 00 [20:00:50]Write to MH i2c: E2 08 00 70 06 80 09 00 00 00 00 00 00 E8 [20:00:50]Write i2c OK [20:00:50]MH_I2C_Read... [20:00:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:00:50]Read from MH i2c: E2 [20:00:50]MH_I2C_Read... [20:00:50]Read from MH i2c: E2 03 00 [20:00:50]MH_I2C_Read... [20:00:50]Read from MH i2c: E2 03 00 70 06 00 90 00 EA [20:00:50]RAPDU: 90 00 [20:00:50]wFMCommunicate OK [20:00:50]SAM_PROTO_ClearQueue done [20:00:50]KKMCreateOFDPacket [20:00:50]OFDProtocolAddRootSTLVToBuf [20:00:50]FM_MakeSignedData [20:00:50]FM_MakeSignedData [20:00:50]SAM_PROTO_SignData [20:00:50]wFMCommunicate request_size=4 [20:00:50]MH_SAM_APDU [20:00:50]CAPDU: 80 0D 01 02 [20:00:50]Write to MH i2c: E2 08 00 71 06 80 0D 01 02 00 00 00 00 F0 [20:00:50]Write i2c OK [20:00:50]MH_I2C_Read... [20:00:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:00:50]Read from MH i2c: E2 [20:00:50]MH_I2C_Read... [20:00:50]Read from MH i2c: E2 03 00 [20:00:50]MH_I2C_Read... [20:00:50]Read from MH i2c: E2 03 00 71 06 00 90 00 EB [20:00:50]RAPDU: 90 00 [20:00:50]wFMCommunicate OK [20:00:50]wFMCommunicate request_size=255 [20:00:50]MH_SAM_APDU [20:00:50]CAPDU: 80 0D 02 02 FA 03 00 A9 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 [20:00:50]Write to MH i2c: E2 02 01 72 06 80 0D 02 02 FA 00 03 00 A9 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 00 00 28 [20:00:50]Write i2c OK [20:00:50]MH_I2C_Read... [20:00:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:00:51]Read from MH i2c: E2 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: E2 03 00 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: E2 03 00 72 06 00 90 00 EC [20:00:51]RAPDU: 90 00 [20:00:51]wFMCommunicate OK [20:00:51]wFMCommunicate request_size=184 [20:00:51]MH_SAM_APDU [20:00:51]CAPDU: 80 0D 02 02 B3 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 F3 3E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3B 0B 01 00 35 04 06 00 02 5A 2E 54 1F 04 [20:00:51]Write to MH i2c: E2 BB 00 73 06 80 0D 02 02 B3 00 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 F3 3E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3B 0B 01 00 35 04 06 00 02 5A 2E 54 1F 04 00 00 9A [20:00:51]Write i2c OK [20:00:51]MH_I2C_Read... [20:00:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:00:51]Read from MH i2c: E2 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: E2 03 00 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: E2 03 00 73 06 00 90 00 ED [20:00:51]RAPDU: 90 00 [20:00:51]wFMCommunicate OK [20:00:51]wFMCommunicate request_size=4 [20:00:51]MH_SAM_APDU [20:00:51]CAPDU: 80 0D 03 02 [20:00:51]Write to MH i2c: E2 08 00 74 06 80 0D 03 02 00 00 00 00 F5 [20:00:51]Write i2c OK [20:00:51]MH_I2C_Read... [20:00:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:00:51]Read from MH i2c: E2 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: E2 0B 00 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: E2 0B 00 74 06 00 15 BC 4B F1 7F 11 E1 7A 90 00 EE [20:00:51]RAPDU: 15 BC 4B F1 7F 11 E1 7A 90 00 [20:00:51]wFMCommunicate OK [20:00:51]SAM_PROTO_SignData done [20:00:51]FM_MakeSignedData done [20:00:51]CreateOFDProtocolMessage [20:00:51]wFMCommunicate request_size=4 [20:00:51]MH_SAM_APDU [20:00:51]CAPDU: 80 11 00 00 [20:00:51]Write to MH i2c: E2 08 00 75 06 80 11 00 00 00 00 00 00 F5 [20:00:51]Write i2c OK [20:00:51]MH_I2C_Read... [20:00:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:00:51]Read from MH i2c: E2 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: E2 17 00 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: E2 17 00 75 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 4C [20:00:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:00:51]wFMCommunicate OK [20:00:51]CreateOFDProtocolMessage done [20:00:51]OFDSenderStorePacket 68411 [20:00:51]StoreOFDPacket docnum=68411 [20:00:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 BD 01 00 00 9A CE B5 01 1A 4C 5A 03 01 00 03 00 A9 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 F3 3E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3B 0B 01 00 35 04 06 00 02 5A 2E 54 1F 04 15 BC 4B F1 7F 11 E1 7A [20:00:51]CheckFolder [20:00:51]dirname=/storage/ofd_packets [20:00:51]CheckFolder done [20:00:51]ProducePacketName [20:00:51]name=ofd_packets/00068411 [20:00:51]NVStorageSaveData ofd_packets/00068411 [20:00:51]File name is /storage/ofd_packets/00068411 [20:00:51]Write 475 bytes [20:00:51]NVStorageSaveData done [20:00:51]OFDSenderStorePacket done [20:00:51]KKMCreateOFDPacket done [20:00:51]NVStorageSaveData kkm_last_timestamp [20:00:51]File name is /storage/kkm_last_timestamp [20:00:51]Write 4 bytes [20:00:51]NVStorageSaveData done [20:00:51]ExternCall_PrintAddStr [20:00:51]wPrintStart [20:00:51]Write to MH i2c: 01 00 00 76 06 7C [20:00:51]Write i2c OK [20:00:51]MH_I2C_Read... [20:00:51]OFD Sender: Processing packet 68411 [packets to send 28, broken 27] [20:00:51]ProducePacketName [20:00:51]name=ofd_packets/00068411 [20:00:51]OFD Sender: To server: pG, [20:00:51]CommunicateWithHost lk.salyk.kg:30040 [20:00:51]ConnectInit lk.salyk.kg [20:00:51]Read from MH i2c: 01 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: 01 07 00 [20:00:51]MH_I2C_Read... [20:00:51]Read from MH i2c: 01 07 00 76 06 00 00 00 00 00 FF 0F 91 [20:00:51]RasterBufferAndPrint [20:00:51]line Счет N : (3)17251 [20:00:51]line ИНН: 02508201610067 [20:00:51]line Контрольно-Кассовый Чек [20:00:51]line ПРОДАЖА [20:00:51]line Товар: 5449000176448 [20:00:51]line Сок Piko Pulpy апельсин ПЭТ 1л [20:00:51]line 1.000 * 170.00 [20:00:51]line = 170.00 [20:00:51]line НДС 12% НСП 1% [20:00:51]line > о реализуемом товаре [20:00:51]line Товар: 5449000027474 [20:00:51]line Напиток FuzeTea зел чай манго,ромашка 1л [20:00:51]line 1.000 * 120.00 [20:00:51]line = 120.00 [20:00:51]line НДС 12% НСП 1% [20:00:51]line > о реализуемом товаре [20:00:51]line ИТОГО: 290.00 [20:00:51]line НСП 1% : 2.56 [20:00:51]line НДС 12% : 30.79 [20:00:51]line Наличными: 290.00 [20:00:51]line Безнал.: 0.00 [20:00:51]line Место: АЗС № 160 "Партнер Нефть" [20:00:51]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:00:51]line СНО: Общий режим [20:00:51]line Чек 134 29.10.2024 20:00 [20:00:51]line Смена: 548 ФФД: 1.0 [20:00:51]line ЗНМ: 0300000093 [20:00:51]line РНМ: 0000000000091759 [20:00:51]line Версия ККМ: 001 [20:00:51]line ФМ: 0000000000871758 [20:00:51]line ФД: 68411 [20:00:51]line ФПД: 2586347577092 [20:00:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T200051&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68411&fm=2586347577092&tin=02508201610067®Number=0000000000091759&sum=29000 [20:00:51]line 0 [20:00:51]written 0, free lines is 4095 [20:00:51]Connected sock=10 [20:00:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 BD 01 00 00 9A CE B5 01 1A 4C 5A 03 01 00 03 00 A9 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 F3 3E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3B 0B 01 00 35 04 06 00 02 5A 2E 54 1F 04 15 BC 4B F1 7F 11 E1 7A [20:00:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 DF 90 47 00 B0 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 38 37 31 37 35 38 10 04 04 00 3B 0B 01 00 F4 03 04 00 9A EA 20 67 B6 04 01 00 00 06 96 C1 B0 A7 4F 18 C1 [20:00:52]CommunicateWithHost err = 0 [20:00:52]CheckOFDResponse [20:00:52]1017 (14) - 77093643461234 [20:00:52]1041 (16) - 0000000000871758 [20:00:52]1040 (4) - 68411 [20:00:52]1012 (4) - 29.10.2024 14:00 [20:00:52]1206 (1) - 0 [20:00:52]OFD Sender: Remove packet 68411 [20:00:52]ProducePacketName [20:00:52]name=ofd_packets/00068411 [20:00:52]NVStorageDeleteData [20:00:52]Write to MH i2c: 01 00 00 A5 06 AB [20:00:52]Write i2c OK [20:00:52]MH_I2C_Read... [20:00:52]Read from MH i2c: 01 [20:00:52]MH_I2C_Read... [20:00:52]Read from MH i2c: 01 07 00 [20:00:52]MH_I2C_Read... [20:00:52]Read from MH i2c: 01 07 00 A5 06 00 00 00 00 00 5C 0C 1A [20:00:52]RasterBufferAndPrint [20:00:52]line [20:00:52]line [20:00:52]line [20:00:52]line [20:00:52]line [20:00:52]written 0, free lines is 3170 [20:00:52]MH_Cut [20:00:52]Write to MH i2c: D1 01 00 AC 06 01 84 [20:00:52]Write i2c OK [20:00:52]MH_I2C_Read... [20:00:52]Read from MH i2c: D1 [20:00:52]MH_I2C_Read... [20:00:52]Read from MH i2c: D1 01 00 [20:00:52]MH_I2C_Read... [20:00:52]Read from MH i2c: D1 01 00 AC 06 00 83 [20:00:52]Write to MH i2c: 01 00 00 AD 06 B3 [20:00:52]Write i2c OK [20:00:52]MH_I2C_Read... [20:00:52]OFD Sender: No OFD packet to send [20:00:53]*** Cut start [20:00:53]*** Partial cut [20:00:53]*** CUTSNS_PIN = 1 [20:00:53]*** CUTSNS_PIN = 0 [20:00:53]*** Brake cut motor [20:00:53]Read from MH i2c: 01 [20:00:53]MH_I2C_Read... [20:00:53]*** Stop cut motor [20:00:53]*** Cut end [20:00:53]Read from MH i2c: 01 07 00 [20:00:53]MH_I2C_Read... [20:00:53]Read from MH i2c: 01 07 00 AD 06 00 00 00 00 00 FF 0F C8 [20:00:53]process_action close_receipt done [20:00:53]requested_data is exist [20:00:53]produce_requested_data [20:00:53]requested_item fm.sn is exist - process it [20:00:53]wFMCommunicate request_size=4 [20:00:53]MH_SAM_APDU [20:00:53]CAPDU: 80 11 00 00 [20:00:53]Write to MH i2c: E2 08 00 AE 06 80 11 00 00 00 00 00 00 2E [20:00:53]Write i2c OK [20:00:53]MH_I2C_Read... [20:00:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:00:53]Read from MH i2c: E2 [20:00:53]MH_I2C_Read... [20:00:53]Read from MH i2c: E2 17 00 [20:00:53]MH_I2C_Read... [20:00:53]Read from MH i2c: E2 17 00 AE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 85 [20:00:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:00:53]wFMCommunicate OK [20:00:53]requested_item fd.num is exist - process it [20:00:53]SAM_PROTO_GetFieldsCounters [20:00:53]wFMCommunicate request_size=4 [20:00:53]MH_SAM_APDU [20:00:53]CAPDU: 80 13 00 00 [20:00:53]Write to MH i2c: E2 08 00 AF 06 80 13 00 00 00 00 00 00 31 [20:00:53]Write i2c OK [20:00:53]MH_I2C_Read... [20:00:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:00:54]Read from MH i2c: E2 [20:00:54]MH_I2C_Read... [20:00:54]Read from MH i2c: E2 62 00 [20:00:54]MH_I2C_Read... [20:00:54]Read from MH i2c: E2 62 00 AF 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3B 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 86 00 00 00 5E 04 04 00 86 00 00 00 57 04 04 00 87 00 00 00 19 04 04 00 00 00 00 00 90 00 5B [20:00:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3B 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 86 00 00 00 5E 04 04 00 86 00 00 00 57 04 04 00 87 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:00:54]wFMCommunicate OK [20:00:54]SAM_PROTO_GetFieldsCounters done [20:00:54]requested_item shift.num is exist - process it [20:00:54]requested_item shift.opened is exist - process it [20:00:54]req_shift_opened [20:00:54]FM_GetShiftState [20:00:54]SAM_PROTO_GetShiftState [20:00:54]wFMCommunicate request_size=4 [20:00:54]MH_SAM_APDU [20:00:54]CAPDU: 80 13 01 00 [20:00:54]Write to MH i2c: E2 08 00 B0 06 80 13 01 00 00 00 00 00 33 [20:00:54]Write i2c OK [20:00:54]MH_I2C_Read... [20:00:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:00:54]Read from MH i2c: E2 [20:00:54]MH_I2C_Read... [20:00:54]Read from MH i2c: E2 0E 00 [20:00:54]MH_I2C_Read... [20:00:54]Read from MH i2c: E2 0E 00 B0 06 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 E3 [20:00:54]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:00:54]wFMCommunicate OK [20:00:54]SAM_PROTO_GetShiftState done [20:00:54]FM_GetShiftState done [20:00:54]req_shift_opened done [20:00:54]requested_item shift.open_date is exist - process it [20:00:54]req_shift_open_date [20:00:54]req_shift_open_date done [20:00:54]produce_requested_data done [20:00:54]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68411,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [20:00:54]process_action_free close_receipt [20:00:54]json_value_free [20:00:54]json_value_free done [20:00:54]process_json_proto returns [20:00:54]Send response to host [20:00:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68411,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [20:00:54]free response buf [20:00:54]execute_script done [20:00:54]execute_script returns [20:00:54]free content buf [20:00:54]Sock 8.Close socket [20:00:54]Sock 8.Thread stoped [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:04]accept exits with 9 [20:01:04]New connection [20:01:04]New thread 3066858852 created [20:01:04]Thread 3066715492 joined [20:01:04]Waiting for new connection... [20:01:04] Sock 9.Parse request [20:01:04]Sock 9.Check first char [20:01:04]Sock 9.First char is OK [20:01:04]request: POST /json_proto HTTP/1.0 [20:01:04]Method: POST [20:01:04]URL: /json_proto [20:01:04]Method is POST - this is cgi request [20:01:04]url: /json_proto [20:01:04]query_string will be loaded in cgi processing [20:01:04]execute_cgi json_proto POST (null) [20:01:04]execute_cgi path=json_proto method=POST [20:01:04]POST find Content-Length [20:01:04]Host: 172.17.42.3:8080 [20:01:04]Content-Length: 983 [20:01:04]Content-Type: application/json [20:01:04] [20:01:04]POST finish read [20:01:04]Found Content-Length = 983 [20:01:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46401", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 30.350, "sum" : 2000.07, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 30.35 \u0441\u043E\u043C", "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:04]execute_script... [20:01: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)46401", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 30.350, "sum" : 2000.07, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 30.35 \u0441\u043E\u043C", "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:04]POST & json_proto [20:01:04]process_json_proto [20:01:04]json parsed OK: [20:01:04]protocol is kg_v1.0 [20:01:04]action value=close_receipt [20:01:04]process_action close_receipt [20:01:04]cmd_close_receipt [20:01:04]MH_GetDate [20:01:04]Write to MH i2c: F0 00 00 B1 06 A6 [20:01:04]Write i2c OK [20:01:04]MH_I2C_Read... [20:01:04]Read from MH i2c: F0 [20:01:04]MH_I2C_Read... [20:01:04]Read from MH i2c: F0 09 00 [20:01:04]MH_I2C_Read... [20:01:04]Read from MH i2c: F0 09 00 B1 06 00 02 3F 21 67 28 A1 20 67 C8 [20:01:04]GetLastDocTimeStamp 1730232051 [20:01:04]current date 1730232066 [20:01:04]FM_GetShiftState [20:01:04]SAM_PROTO_GetShiftState [20:01:04]wFMCommunicate request_size=4 [20:01:04]MH_SAM_APDU [20:01:04]CAPDU: 80 13 01 00 [20:01:04]Write to MH i2c: E2 08 00 B2 06 80 13 01 00 00 00 00 00 35 [20:01:04]Write i2c OK [20:01:04]MH_I2C_Read... [20:01:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:05]Read from MH i2c: E2 [20:01:05]MH_I2C_Read... [20:01:05]Read from MH i2c: E2 0E 00 [20:01:05]MH_I2C_Read... [20:01:05]Read from MH i2c: E2 0E 00 B2 06 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 E5 [20:01:05]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:01:05]wFMCommunicate OK [20:01:05]SAM_PROTO_GetShiftState done [20:01:05]FM_GetShiftState done [20:01:05]opened in 1730160885 [20:01:05]opened+sec_in_day 1730247285 [20:01:05]quantity*price = 200006 [20:01:05]sum+1 = 200008 [20:01:05]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.07 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.40 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 135 29.10.2024 20:01 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Дисконтная программа АИ-92 номер 160 сэкономлено 30.35 сом ФМ: 0000000000871758 ФД: 68412 ФПД: 147949952437522 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T200106&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68412&fm=147949952437522&tin=02508201610067®Number=0000000000091759&sum=200000 [20:01:06]StoreToDocumentArchive [20:01:06]shift 548 fd 68412 [20:01:06]save to /storage/0548/doc_00068412 [20:01:06]save last doc name /storage/0548/doc_00068412 to /storage/kkm_last_doc_name [20:01:06]save OK [20:01:06]Clear old archive folders... [20:01:06]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:01:06]tlvbuf is 01DF48E0 [20:01:06]SAM_PROTO_ClearQueue [20:01:06]wFMCommunicate request_size=4 [20:01:06]MH_SAM_APDU [20:01:06]CAPDU: 80 09 00 00 [20:01:06]Write to MH i2c: E2 08 00 BF 06 80 09 00 00 00 00 00 00 37 [20:01:06]Write i2c OK [20:01:06]MH_I2C_Read... [20:01:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:01:06]Read from MH i2c: E2 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 03 00 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 03 00 BF 06 00 90 00 39 [20:01:06]RAPDU: 90 00 [20:01:06]wFMCommunicate OK [20:01:06]SAM_PROTO_ClearQueue done [20:01:06]KKMCreateOFDPacket [20:01:06]OFDProtocolAddRootSTLVToBuf [20:01:06]FM_MakeSignedData [20:01:06]FM_MakeSignedData [20:01:06]SAM_PROTO_SignData [20:01:06]wFMCommunicate request_size=4 [20:01:06]MH_SAM_APDU [20:01:06]CAPDU: 80 0D 01 02 [20:01:06]Write to MH i2c: E2 08 00 C0 06 80 0D 01 02 00 00 00 00 3F [20:01:06]Write i2c OK [20:01:06]MH_I2C_Read... [20:01:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:01:06]Read from MH i2c: E2 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 03 00 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 03 00 C0 06 00 90 00 3A [20:01:06]RAPDU: 90 00 [20:01:06]wFMCommunicate OK [20:01:06]wFMCommunicate request_size=255 [20:01:06]MH_SAM_APDU [20:01: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 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 47 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 02 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3C 0B 01 00 35 04 06 00 86 [20:01:06]Write to MH i2c: E2 02 01 C1 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8E 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 47 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 02 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3C 0B 01 00 35 04 06 00 86 00 00 A3 [20:01:06]Write i2c OK [20:01:06]MH_I2C_Read... [20:01:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:06]Read from MH i2c: E2 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 03 00 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 03 00 C1 06 00 90 00 3B [20:01:06]RAPDU: 90 00 [20:01:06]wFMCommunicate OK [20:01:06]wFMCommunicate request_size=10 [20:01:06]MH_SAM_APDU [20:01:06]CAPDU: 80 0D 02 02 05 8F 48 5C 0D 12 [20:01:06]Write to MH i2c: E2 0D 00 C2 06 80 0D 02 02 05 00 8F 48 5C 0D 12 00 00 9E [20:01:06]Write i2c OK [20:01:06]MH_I2C_Read... [20:01:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:06]Read from MH i2c: E2 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 03 00 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 03 00 C2 06 00 90 00 3C [20:01:06]RAPDU: 90 00 [20:01:06]wFMCommunicate OK [20:01:06]wFMCommunicate request_size=4 [20:01:06]MH_SAM_APDU [20:01:06]CAPDU: 80 0D 03 02 [20:01:06]Write to MH i2c: E2 08 00 C3 06 80 0D 03 02 00 00 00 00 44 [20:01:06]Write i2c OK [20:01:06]MH_I2C_Read... [20:01:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:01:06]Read from MH i2c: E2 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 0B 00 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 0B 00 C3 06 00 1E 34 25 12 5B 01 DE C3 90 00 CB [20:01:06]RAPDU: 1E 34 25 12 5B 01 DE C3 90 00 [20:01:06]wFMCommunicate OK [20:01:06]SAM_PROTO_SignData done [20:01:06]FM_MakeSignedData done [20:01:06]CreateOFDProtocolMessage [20:01:06]wFMCommunicate request_size=4 [20:01:06]MH_SAM_APDU [20:01:06]CAPDU: 80 11 00 00 [20:01:06]Write to MH i2c: E2 08 00 C4 06 80 11 00 00 00 00 00 00 44 [20:01:06]Write i2c OK [20:01:06]MH_I2C_Read... [20:01:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:06]Read from MH i2c: E2 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 17 00 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: E2 17 00 C4 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9B [20:01:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:01:06]wFMCommunicate OK [20:01:06]CreateOFDProtocolMessage done [20:01:06]OFDSenderStorePacket 68412 [20:01:06]StoreOFDPacket docnum=68412 [20:01:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 4F 12 07 01 7E 73 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 8E 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 47 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 02 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3C 0B 01 00 35 04 06 00 86 8F 48 5C 0D 12 1E 34 25 12 5B 01 DE C3 [20:01:06]CheckFolder [20:01:06]dirname=/storage/ofd_packets [20:01:06]CheckFolder done [20:01:06]ProducePacketName [20:01:06]name=ofd_packets/00068412 [20:01:06]NVStorageSaveData ofd_packets/00068412 [20:01:06]File name is /storage/ofd_packets/00068412 [20:01:06]Write 301 bytes [20:01:06]NVStorageSaveData done [20:01:06]OFDSenderStorePacket done [20:01:06]KKMCreateOFDPacket done [20:01:06]NVStorageSaveData kkm_last_timestamp [20:01:06]File name is /storage/kkm_last_timestamp [20:01:06]Write 4 bytes [20:01:06]NVStorageSaveData done [20:01:06]ExternCall_PrintAddStr [20:01:06]wPrintStart [20:01:06]Write to MH i2c: 01 00 00 C5 06 CB [20:01:06]Write i2c OK [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: 01 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: 01 07 00 [20:01:06]MH_I2C_Read... [20:01:06]Read from MH i2c: 01 07 00 C5 06 00 00 00 00 00 FF 0F E0 [20:01:06]RasterBufferAndPrint [20:01:06]line Счет N : (1)46401 [20:01:06]line ИНН: 02508201610067 [20:01:06]line Контрольно-Кассовый Чек [20:01:06]line ПРОДАЖА [20:01:06]line ТРК (МРК, ГНК) : 33 [20:01:06]line Товар: 2710124130 [20:01:06]line Аи-92-К-5 [20:01:06]line 30.350 * 65.90 [20:01:06]line = 2000.07 [20:01:06]line НДС 12% НСП 1% [20:01:06]line > о реализуемом товаре [20:01:06]line ОКРУГЛЕНИЕ: -0.07 [20:01:06]line ИТОГО: 2000.00 [20:01:06]line Внесено: 2000.00 [20:01:06]line СДАЧА: 0.00 [20:01:06]line НСП 1% : 17.70 [20:01:06]line НДС 12% : 212.40 [20:01:06]line Наличными: 2000.00 [20:01:06]line Безнал.: 0.00 [20:01:06]line Место: АЗС № 160 "Партнер Нефть" [20:01:06]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:01:06]line СНО: Общий режим [20:01:06]line Чек 135 29.10.2024 20:01 [20:01:06]line Смена: 548 ФФД: 1.0 [20:01:06]line ЗНМ: 0300000093 [20:01:06]line РНМ: 0000000000091759 [20:01:06]line Версия ККМ: 001 [20:01:06]line [20:01:06]line Дисконтная программа [20:01:06]line АИ-92 [20:01:06]line номер 160 [20:01:06]line сэкономлено 30.35 сом [20:01:06]line ФМ: 0000000000871758 [20:01:06]line ФД: 68412 [20:01:06]line ФПД: 147949952437522 [20:01:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T200106&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68412&fm=147949952437522&tin=02508201610067®Number=0000000000091759&sum=200000 [20:01:07]OFD Sender: Processing packet 68412 [packets to send 28, broken 27] [20:01:07]ProducePacketName [20:01:07]name=ofd_packets/00068412 [20:01:07]OFD Sender: To server: pG, [20:01:07]CommunicateWithHost lk.salyk.kg:30040 [20:01:07]ConnectInit lk.salyk.kg [20:01:07]written 0, free lines is 4095 [20:01:07]Connected sock=11 [20:01:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 4F 12 07 01 7E 73 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 8E 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 47 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 02 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3C 0B 01 00 35 04 06 00 86 8F 48 5C 0D 12 1E 34 25 12 5B 01 DE C3 [20:01:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2C 5C 47 00 DC 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3C 0B 01 00 F4 03 04 00 AA EA 20 67 B6 04 01 00 00 1C 46 80 5A C8 56 AE 3D [20:01:07]CommunicateWithHost err = 0 [20:01:07]CheckOFDResponse [20:01:07]1017 (14) - 77093643461234 [20:01:07]1041 (16) - 0000000000871758 [20:01:07]1040 (4) - 68412 [20:01:07]1012 (4) - 29.10.2024 14:01 [20:01:07]1206 (1) - 0 [20:01:07]OFD Sender: Remove packet 68412 [20:01:07]ProducePacketName [20:01:07]name=ofd_packets/00068412 [20:01:07]NVStorageDeleteData [20:01:07]Write to MH i2c: 01 00 00 F4 06 FA [20:01:07]Write i2c OK [20:01:07]MH_I2C_Read... [20:01:07]Read from MH i2c: 01 [20:01:07]MH_I2C_Read... [20:01:07]Read from MH i2c: 01 07 00 [20:01:07]MH_I2C_Read... [20:01:07]Read from MH i2c: 01 07 00 F4 06 00 00 00 00 00 69 0C 76 [20:01:07]RasterBufferAndPrint [20:01:07]line [20:01:07]line [20:01:07]line [20:01:07]line [20:01:07]line [20:01:07]written 0, free lines is 3182 [20:01:07]MH_Cut [20:01:07]Write to MH i2c: D1 01 00 FB 06 01 D3 [20:01:07]Write i2c OK [20:01:07]MH_I2C_Read... [20:01:07]Read from MH i2c: D1 [20:01:07]MH_I2C_Read... [20:01:07]Read from MH i2c: D1 01 00 [20:01:07]MH_I2C_Read... [20:01:07]Read from MH i2c: D1 01 00 FB 06 00 D2 [20:01:07]Write to MH i2c: 01 00 00 FC 06 02 [20:01:07]Write i2c OK [20:01:07]MH_I2C_Read... [20:01:07]OFD Sender: No OFD packet to send [20:01:08]*** Cut start [20:01:08]*** Partial cut [20:01:08]*** CUTSNS_PIN = 1 [20:01:08]*** CUTSNS_PIN = 0 [20:01:08]*** Brake cut motor [20:01:08]Read from MH i2c: 01 [20:01:08]MH_I2C_Read... [20:01:08]*** Stop cut motor [20:01:09]*** Cut end [20:01:09]Read from MH i2c: 01 07 00 [20:01:09]MH_I2C_Read... [20:01:09]Read from MH i2c: 01 07 00 FC 06 00 00 00 00 00 FF 0F 17 [20:01:09]process_action close_receipt done [20:01:09]requested_data is exist [20:01:09]produce_requested_data [20:01:09]requested_item fm.sn is exist - process it [20:01:09]wFMCommunicate request_size=4 [20:01:09]MH_SAM_APDU [20:01:09]CAPDU: 80 11 00 00 [20:01:09]Write to MH i2c: E2 08 00 FD 06 80 11 00 00 00 00 00 00 7D [20:01:09]Write i2c OK [20:01:09]MH_I2C_Read... [20:01:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:09]Read from MH i2c: E2 [20:01:09]MH_I2C_Read... [20:01:09]Read from MH i2c: E2 17 00 [20:01:09]MH_I2C_Read... [20:01:09]Read from MH i2c: E2 17 00 FD 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D4 [20:01:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:01:09]wFMCommunicate OK [20:01:09]requested_item fd.num is exist - process it [20:01:09]SAM_PROTO_GetFieldsCounters [20:01:09]wFMCommunicate request_size=4 [20:01:09]MH_SAM_APDU [20:01:09]CAPDU: 80 13 00 00 [20:01:09]Write to MH i2c: E2 08 00 FE 06 80 13 00 00 00 00 00 00 80 [20:01:09]Write i2c OK [20:01:09]MH_I2C_Read... [20:01:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:01:09]Read from MH i2c: E2 [20:01:09]MH_I2C_Read... [20:01:09]Read from MH i2c: E2 62 00 [20:01:09]MH_I2C_Read... [20:01:09]Read from MH i2c: E2 62 00 FE 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3C 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 87 00 00 00 5E 04 04 00 87 00 00 00 57 04 04 00 88 00 00 00 19 04 04 00 00 00 00 00 90 00 AE [20:01:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3C 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 87 00 00 00 5E 04 04 00 87 00 00 00 57 04 04 00 88 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:01:09]wFMCommunicate OK [20:01:09]SAM_PROTO_GetFieldsCounters done [20:01:09]requested_item shift.num is exist - process it [20:01:09]requested_item shift.opened is exist - process it [20:01:09]req_shift_opened [20:01:09]FM_GetShiftState [20:01:09]SAM_PROTO_GetShiftState [20:01:09]wFMCommunicate request_size=4 [20:01:09]MH_SAM_APDU [20:01:09]CAPDU: 80 13 01 00 [20:01:09]Write to MH i2c: E2 08 00 FF 06 80 13 01 00 00 00 00 00 82 [20:01:09]Write i2c OK [20:01:09]MH_I2C_Read... [20:01:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:09]Read from MH i2c: E2 [20:01:09]MH_I2C_Read... [20:01:09]Read from MH i2c: E2 0E 00 [20:01:09]MH_I2C_Read... [20:01:09]Read from MH i2c: E2 0E 00 FF 06 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 32 [20:01:09]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:01:09]wFMCommunicate OK [20:01:09]SAM_PROTO_GetShiftState done [20:01:09]FM_GetShiftState done [20:01:09]req_shift_opened done [20:01:09]requested_item shift.open_date is exist - process it [20:01:09]req_shift_open_date [20:01:09]req_shift_open_date done [20:01:09]produce_requested_data done [20:01:09]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68412,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [20:01:09]process_action_free close_receipt [20:01:09]json_value_free [20:01:09]json_value_free done [20:01:09]process_json_proto returns [20:01:09]Send response to host [20:01:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68412,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [20:01:09]free response buf [20:01:09]execute_script done [20:01:09]execute_script returns [20:01:09]free content buf [20:01:09]Sock 9.Close socket [20:01:09]Sock 9.Thread stoped [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:35]accept exits with 8 [20:01:35]New connection [20:01:35]New thread 3066715492 created [20:01:35]Thread 3066858852 joined [20:01:35]Waiting for new connection... [20:01:35] Sock 8.Parse request [20:01:35]Sock 8.Check first char [20:01:35]Sock 8.First char is OK [20:01:35]request: POST /json_proto HTTP/1.0 [20:01:35]Method: POST [20:01:35]URL: /json_proto [20:01:35]Method is POST - this is cgi request [20:01:35]url: /json_proto [20:01:35]query_string will be loaded in cgi processing [20:01:35]execute_cgi json_proto POST (null) [20:01:35]execute_cgi path=json_proto method=POST [20:01:35]POST find Content-Length [20:01:35]Host: 172.17.42.3:8080 [20:01:35]Content-Length: 676 [20:01:35]Content-Type: application/json [20:01:35] [20:01:35]POST finish read [20:01:35]Found Content-Length = 676 [20:01:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46403", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 3.140, "sum" : 210.07, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 210.00, "total" : 210.00, "payments": [ { "type": 0, "sum" : 210.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:35]execute_script... [20:01:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46403", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 3.140, "sum" : 210.07, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 210.00, "total" : 210.00, "payments": [ { "type": 0, "sum" : 210.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:35]POST & json_proto [20:01:35]process_json_proto [20:01:35]json parsed OK: [20:01:35]protocol is kg_v1.0 [20:01:35]action value=close_receipt [20:01:35]process_action close_receipt [20:01:35]cmd_close_receipt [20:01:35]MH_GetDate [20:01:35]Write to MH i2c: F0 00 00 00 07 F6 [20:01:35]Write i2c OK [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: F0 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: F0 09 00 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: F0 09 00 00 07 00 20 3F 21 67 28 A1 20 67 36 [20:01:35]GetLastDocTimeStamp 1730232066 [20:01:35]current date 1730232096 [20:01:35]FM_GetShiftState [20:01:35]SAM_PROTO_GetShiftState [20:01:35]wFMCommunicate request_size=4 [20:01:35]MH_SAM_APDU [20:01:35]CAPDU: 80 13 01 00 [20:01:35]Write to MH i2c: E2 08 00 01 07 80 13 01 00 00 00 00 00 85 [20:01:35]Write i2c OK [20:01:35]MH_I2C_Read... [20:01:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:35]Read from MH i2c: E2 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 0E 00 [20:01:35]MH_I2C_Read... [20:01:35]Read from MH i2c: E2 0E 00 01 07 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 35 [20:01:35]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:01:35]wFMCommunicate OK [20:01:35]SAM_PROTO_GetShiftState done [20:01:35]FM_GetShiftState done [20:01:35]opened in 1730160885 [20:01:35]opened+sec_in_day 1730247285 [20:01:35]quantity*price = 21006 [20:01:35]sum+1 = 21008 [20:01:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.07 ИТОГО: 210.00 Внесено: 210.00 СДАЧА: 0.00 НСП 1% : 1.86 НДС 12% : 22.31 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 136 29.10.2024 20:01 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68413 ФПД: 172011765661290 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T200136&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68413&fm=172011765661290&tin=02508201610067®Number=0000000000091759&sum=21000 [20:01:36]StoreToDocumentArchive [20:01:36]shift 548 fd 68413 [20:01:36]save to /storage/0548/doc_00068413 [20:01:36]save last doc name /storage/0548/doc_00068413 to /storage/kkm_last_doc_name [20:01:36]save OK [20:01:36]Clear old archive folders... [20:01:36]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:01:36]tlvbuf is 01DF15D0 [20:01:36]SAM_PROTO_ClearQueue [20:01:36]wFMCommunicate request_size=4 [20:01:36]MH_SAM_APDU [20:01:36]CAPDU: 80 09 00 00 [20:01:36]Write to MH i2c: E2 08 00 0E 07 80 09 00 00 00 00 00 00 87 [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 03 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 03 00 0E 07 00 90 00 89 [20:01:36]RAPDU: 90 00 [20:01:36]wFMCommunicate OK [20:01:36]SAM_PROTO_ClearQueue done [20:01:36]KKMCreateOFDPacket [20:01:36]OFDProtocolAddRootSTLVToBuf [20:01:36]FM_MakeSignedData [20:01:36]FM_MakeSignedData [20:01:36]SAM_PROTO_SignData [20:01:36]wFMCommunicate request_size=4 [20:01:36]MH_SAM_APDU [20:01:36]CAPDU: 80 0D 01 02 [20:01:36]Write to MH i2c: E2 08 00 0F 07 80 0D 01 02 00 00 00 00 8F [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 03 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 03 00 0F 07 00 90 00 8A [20:01:36]RAPDU: 90 00 [20:01:36]wFMCommunicate OK [20:01:36]wFMCommunicate request_size=255 [20:01:36]MH_SAM_APDU [20:01:36]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 44 0C 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 0F 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 20 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3D 0B 01 00 35 04 06 00 9C [20:01:36]Write to MH i2c: E2 02 01 10 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 44 0C 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 0F 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 20 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3D 0B 01 00 35 04 06 00 9C 00 00 37 [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 03 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 03 00 10 07 00 90 00 8B [20:01:36]RAPDU: 90 00 [20:01:36]wFMCommunicate OK [20:01:36]wFMCommunicate request_size=10 [20:01:36]MH_SAM_APDU [20:01:36]CAPDU: 80 0D 02 02 05 71 9C 30 7E 6A [20:01:36]Write to MH i2c: E2 0D 00 11 07 80 0D 02 02 05 00 71 9C 30 7E 6A 00 00 C1 [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 03 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 03 00 11 07 00 90 00 8C [20:01:36]RAPDU: 90 00 [20:01:36]wFMCommunicate OK [20:01:36]wFMCommunicate request_size=4 [20:01:36]MH_SAM_APDU [20:01:36]CAPDU: 80 0D 03 02 [20:01:36]Write to MH i2c: E2 08 00 12 07 80 0D 03 02 00 00 00 00 94 [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 0B 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 0B 00 12 07 00 82 28 9A E5 B4 B1 14 1F 90 00 56 [20:01:36]RAPDU: 82 28 9A E5 B4 B1 14 1F 90 00 [20:01:36]wFMCommunicate OK [20:01:36]SAM_PROTO_SignData done [20:01:36]FM_MakeSignedData done [20:01:36]CreateOFDProtocolMessage [20:01:36]wFMCommunicate request_size=4 [20:01:36]MH_SAM_APDU [20:01:36]CAPDU: 80 11 00 00 [20:01:36]Write to MH i2c: E2 08 00 13 07 80 11 00 00 00 00 00 00 94 [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 17 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 17 00 13 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 EB [20:01:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:01:36]wFMCommunicate OK [20:01:36]CreateOFDProtocolMessage done [20:01:36]OFDSenderStorePacket 68413 [20:01:36]StoreOFDPacket docnum=68413 [20:01:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 08 D7 07 01 F6 5D 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 44 0C 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 0F 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 20 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3D 0B 01 00 35 04 06 00 9C 71 9C 30 7E 6A 82 28 9A E5 B4 B1 14 1F [20:01:36]CheckFolder [20:01:36]dirname=/storage/ofd_packets [20:01:36]CheckFolder done [20:01:36]ProducePacketName [20:01:36]name=ofd_packets/00068413 [20:01:36]NVStorageSaveData ofd_packets/00068413 [20:01:36]File name is /storage/ofd_packets/00068413 [20:01:36]Write 301 bytes [20:01:36]NVStorageSaveData done [20:01:36]OFDSenderStorePacket done [20:01:36]KKMCreateOFDPacket done [20:01:36]NVStorageSaveData kkm_last_timestamp [20:01:36]File name is /storage/kkm_last_timestamp [20:01:36]Write 4 bytes [20:01:36]NVStorageSaveData done [20:01:36]ExternCall_PrintAddStr [20:01:36]wPrintStart [20:01:36]Write to MH i2c: 01 00 00 14 07 1B [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: 01 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: 01 07 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: 01 07 00 14 07 00 00 00 00 00 FF 0F 30 [20:01:36]RasterBufferAndPrint [20:01:36]line Счет N : (1)46403 [20:01:36]line ИНН: 02508201610067 [20:01:36]line Контрольно-Кассовый Чек [20:01:36]line ПРОДАЖА [20:01:36]line ТРК (МРК, ГНК) : 33 [20:01:36]line Товар: 2710124130 [20:01:36]line Аи-92-К-5 [20:01:36]line 3.140 * 66.90 [20:01:36]line = 210.07 [20:01:36]line НДС 12% НСП 1% [20:01:36]line > о реализуемом товаре [20:01:36]line ОКРУГЛЕНИЕ: -0.07 [20:01:36]line ИТОГО: 210.00 [20:01:36]line Внесено: 210.00 [20:01:36]line СДАЧА: 0.00 [20:01:36]line НСП 1% : 1.86 [20:01:36]line НДС 12% : 22.31 [20:01:36]line Наличными: 210.00 [20:01:36]line Безнал.: 0.00 [20:01:36]line Место: АЗС № 160 "Партнер Нефть" [20:01:36]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:01:36]line СНО: Общий режим [20:01:36]line Чек 136 29.10.2024 20:01 [20:01:36]line Смена: 548 ФФД: 1.0 [20:01:36]line ЗНМ: 0300000093 [20:01:36]line РНМ: 0000000000091759 [20:01:36]line Версия ККМ: 001 [20:01:36]line ФМ: 0000000000871758 [20:01:36]line ФД: 68413 [20:01:36]line ФПД: 172011765661290 [20:01:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T200136&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68413&fm=172011765661290&tin=02508201610067®Number=0000000000091759&sum=21000 [20:01:36]written 0, free lines is 4095 [20:01:36]OFD Sender: Processing packet 68413 [packets to send 28, broken 27] [20:01:36]ProducePacketName [20:01:36]name=ofd_packets/00068413 [20:01:37]OFD Sender: To server: pG, [20:01:37]CommunicateWithHost lk.salyk.kg:30040 [20:01:37]ConnectInit lk.salyk.kg [20:01:37]Connected sock=10 [20:01:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 08 D7 07 01 F6 5D 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 44 0C 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 0F 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 20 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3D 0B 01 00 35 04 06 00 9C 71 9C 30 7E 6A 82 28 9A E5 B4 B1 14 1F [20:01:37]Write to MH i2c: 01 00 00 3E 07 45 [20:01:37]Write i2c OK [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: 01 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: 01 07 00 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: 01 07 00 3E 07 00 00 00 00 00 C7 0C 1F [20:01:37]RasterBufferAndPrint [20:01:37]line [20:01:37]line [20:01:37]line [20:01:37]line [20:01:37]line [20:01:37]written 0, free lines is 3277 [20:01:37]MH_Cut [20:01:37]Write to MH i2c: D1 01 00 45 07 01 1E [20:01:37]Write i2c OK [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: D1 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: D1 01 00 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: D1 01 00 45 07 00 1D [20:01:37]Write to MH i2c: 01 00 00 46 07 4D [20:01:37]Write i2c OK [20:01:37]MH_I2C_Read... [20:01:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3A 08 47 00 98 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3D 0B 01 00 F4 03 04 00 C8 EA 20 67 B6 04 01 00 00 5F 43 36 CD 5F 9F 1C AC [20:01:37]CommunicateWithHost err = 0 [20:01:37]CheckOFDResponse [20:01:37]1017 (14) - 77093643461234 [20:01:37]1041 (16) - 0000000000871758 [20:01:37]1040 (4) - 68413 [20:01:37]1012 (4) - 29.10.2024 14:01 [20:01:37]1206 (1) - 0 [20:01:37]OFD Sender: Remove packet 68413 [20:01:37]ProducePacketName [20:01:37]name=ofd_packets/00068413 [20:01:37]NVStorageDeleteData [20:01:38]OFD Sender: No OFD packet to send [20:01:38]*** Cut start [20:01:38]*** Partial cut [20:01:38]*** CUTSNS_PIN = 1 [20:01:38]*** CUTSNS_PIN = 0 [20:01:38]*** Brake cut motor [20:01:38]Read from MH i2c: 01 [20:01:38]MH_I2C_Read... [20:01:38]*** Stop cut motor [20:01:38]*** Cut end [20:01:38]Read from MH i2c: 01 07 00 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: 01 07 00 46 07 00 00 00 00 00 FF 0F 62 [20:01:38]process_action close_receipt done [20:01:38]requested_data is exist [20:01:38]produce_requested_data [20:01:38]requested_item fm.sn is exist - process it [20:01:38]wFMCommunicate request_size=4 [20:01:38]MH_SAM_APDU [20:01:38]CAPDU: 80 11 00 00 [20:01:38]Write to MH i2c: E2 08 00 47 07 80 11 00 00 00 00 00 00 C8 [20:01:38]Write i2c OK [20:01:38]MH_I2C_Read... [20:01:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:38]Read from MH i2c: E2 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 17 00 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 17 00 47 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 1F [20:01:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:01:38]wFMCommunicate OK [20:01:38]requested_item fd.num is exist - process it [20:01:38]SAM_PROTO_GetFieldsCounters [20:01:38]wFMCommunicate request_size=4 [20:01:38]MH_SAM_APDU [20:01:38]CAPDU: 80 13 00 00 [20:01:38]Write to MH i2c: E2 08 00 48 07 80 13 00 00 00 00 00 00 CB [20:01:38]Write i2c OK [20:01:38]MH_I2C_Read... [20:01:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:01:39]Read from MH i2c: E2 [20:01:39]MH_I2C_Read... [20:01:39]Read from MH i2c: E2 62 00 [20:01:39]MH_I2C_Read... [20:01:39]Read from MH i2c: E2 62 00 48 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 88 00 00 00 5E 04 04 00 88 00 00 00 57 04 04 00 89 00 00 00 19 04 04 00 00 00 00 00 90 00 FD [20:01:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 88 00 00 00 5E 04 04 00 88 00 00 00 57 04 04 00 89 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:01:39]wFMCommunicate OK [20:01:39]SAM_PROTO_GetFieldsCounters done [20:01:39]requested_item shift.num is exist - process it [20:01:39]requested_item shift.opened is exist - process it [20:01:39]req_shift_opened [20:01:39]FM_GetShiftState [20:01:39]SAM_PROTO_GetShiftState [20:01:39]wFMCommunicate request_size=4 [20:01:39]MH_SAM_APDU [20:01:39]CAPDU: 80 13 01 00 [20:01:39]Write to MH i2c: E2 08 00 49 07 80 13 01 00 00 00 00 00 CD [20:01:39]Write i2c OK [20:01:39]MH_I2C_Read... [20:01:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:39]Read from MH i2c: E2 [20:01:39]MH_I2C_Read... [20:01:39]Read from MH i2c: E2 0E 00 [20:01:39]MH_I2C_Read... [20:01:39]Read from MH i2c: E2 0E 00 49 07 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 7D [20:01:39]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:01:39]wFMCommunicate OK [20:01:39]SAM_PROTO_GetShiftState done [20:01:39]FM_GetShiftState done [20:01:39]req_shift_opened done [20:01:39]requested_item shift.open_date is exist - process it [20:01:39]req_shift_open_date [20:01:39]req_shift_open_date done [20:01:39]produce_requested_data done [20:01:39]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68413,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [20:01:39]process_action_free close_receipt [20:01:39]json_value_free [20:01:39]json_value_free done [20:01:39]process_json_proto returns [20:01:39]Send response to host [20:01:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68413,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [20:01:39]free response buf [20:01:39]execute_script done [20:01:39]execute_script returns [20:01:39]free content buf [20:01:39]Sock 8.Close socket [20:01:39]Sock 8.Thread stoped [20:01:43]OFD Sender: No OFD packet to send [20:01:48]OFD Sender: No OFD packet to send [20:01:53]OFD Sender: No OFD packet to send [20:01:58]OFD Sender: No OFD packet to send [20:02:03]OFD Sender: No OFD packet to send [20:02:08]OFD Sender: No OFD packet to send [20:02:13]OFD Sender: No OFD packet to send [20:02:18]OFD Sender: No OFD packet to send [20:02:23]OFD Sender: No OFD packet to send [20:02:28]OFD Sender: No OFD packet to send [20:02:33]OFD Sender: No OFD packet to send [20:02:38]OFD Sender: No OFD packet to send [20:02:43]OFD Sender: No OFD packet to send [20:02:48]OFD Sender: No OFD packet to send [20:02:53]OFD Sender: No OFD packet to send [20:02:58]OFD Sender: No OFD packet to send [20:03:03]OFD Sender: No OFD packet to send [20:03:08]OFD Sender: No OFD packet to send [20:03:13]OFD Sender: No OFD packet to send [20:03:18]OFD Sender: No OFD packet to send [20:03:23]OFD Sender: No OFD packet to send [20:03:28]OFD Sender: No OFD packet to send [20:03:33]OFD Sender: No OFD packet to send [20:03:38]OFD Sender: No OFD packet to send [20:03:43]OFD Sender: No OFD packet to send [20:03:46]int [20:03:46]Write to MH i2c: 01 00 00 4A 07 51 [20:03:46]*** FLAG_PRN_KEY set [20:03:46]Write i2c OK [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: 01 [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: 01 07 00 [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: 01 07 00 4A 07 00 08 00 00 00 FF 0F 6E [20:03:46]state=0 [20:03:46]Key pressed [20:03:46]Feed [20:03:46]Write to MH i2c: D8 00 00 4B 07 29 [20:03:46]Write i2c OK [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: D8 [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: D8 01 00 [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: D8 01 00 4B 07 00 2A [20:03:46]int [20:03:46]Write to MH i2c: 01 00 00 4C 07 53 [20:03:46]Write i2c OK [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: 01 [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: 01 07 00 [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: 01 07 00 4C 07 00 48 00 00 00 3C 00 DE [20:03:46]state=2 [20:03:46]Key pressed [20:03:46]int [20:03:46]Write to MH i2c: 01 00 00 4D 07 54 [20:03:46]*** FLAG_PRN_KEY reset [20:03:46]Write i2c OK [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: 01 [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: 01 07 00 [20:03:46]MH_I2C_Read... [20:03:46]Read from MH i2c: 01 07 00 4D 07 00 00 00 00 00 FA 0F 64 [20:03:46]state=2 [20:03:46]Stop feed [20:03:47]int [20:03:47]Write to MH i2c: 01 00 00 4E 07 55 [20:03:47]Write i2c OK [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 07 00 [20:03:47]MH_I2C_Read... [20:03:47]*** FLAG_PRN_KEY set [20:03:47]*** FLAG_PRN_KEY reset [20:03:47]Read from MH i2c: 01 07 00 4E 07 00 00 00 00 00 FF 0F 6A [20:03:47]state=0 [20:03:47]int [20:03:47]Write to MH i2c: 01 00 00 4F 07 56 [20:03:47]Write i2c OK [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 07 00 [20:03:47]MH_I2C_Read... [20:03:47]*** FLAG_PRN_KEY set [20:03:47]*** FLAG_PRN_KEY reset [20:03:47]Read from MH i2c: 01 07 00 4F 07 00 00 00 00 00 FF 0F 6B [20:03:47]state=0 [20:03:47]int [20:03:47]Write to MH i2c: 01 00 00 50 07 57 [20:03:47]*** FLAG_PRN_KEY set [20:03:47]Write i2c OK [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 07 00 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 07 00 50 07 00 08 00 00 00 FF 0F 74 [20:03:47]state=0 [20:03:47]Key pressed [20:03:47]Feed [20:03:47]Write to MH i2c: D8 00 00 51 07 2F [20:03:47]Write i2c OK [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: D8 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: D8 01 00 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: D8 01 00 51 07 00 30 [20:03:47]int [20:03:47]Write to MH i2c: 01 00 00 52 07 59 [20:03:47]Write i2c OK [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 07 00 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 07 00 52 07 00 48 00 00 00 3C 00 E4 [20:03:47]state=2 [20:03:47]Key pressed [20:03:47]int [20:03:47]Write to MH i2c: 01 00 00 53 07 5A [20:03:47]*** FLAG_PRN_KEY reset [20:03:47]Write i2c OK [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 07 00 [20:03:47]MH_I2C_Read... [20:03:47]Read from MH i2c: 01 07 00 53 07 00 00 00 00 00 F5 0F 65 [20:03:47]state=2 [20:03:47]Stop feed [20:03:48]OFD Sender: No OFD packet to send [20:03:53]OFD Sender: No OFD packet to send [20:03:58]OFD Sender: No OFD packet to send [20:04:03]OFD Sender: No OFD packet to send [20:04:08]OFD Sender: No OFD packet to send [20:04:13]OFD Sender: No OFD packet to send [20:04:18]OFD Sender: No OFD packet to send [20:04:23]OFD Sender: No OFD packet to send [20:04:28]OFD Sender: No OFD packet to send [20:04:33]OFD Sender: No OFD packet to send [20:04:38]OFD Sender: No OFD packet to send [20:04:43]OFD Sender: No OFD packet to send [20:04:46]accept exits with 9 [20:04:46]New connection [20:04:46]New thread 3066858852 created [20:04:46]Thread 3066715492 joined [20:04:46]Waiting for new connection... [20:04:46] Sock 9.Parse request [20:04:46]Sock 9.Check first char [20:04:46]Sock 9.First char is OK [20:04:46]request: POST /json_proto HTTP/1.0 [20:04:46]Method: POST [20:04:46]URL: /json_proto [20:04:46]Method is POST - this is cgi request [20:04:46]url: /json_proto [20:04:46]query_string will be loaded in cgi processing [20:04:46]execute_cgi json_proto POST (null) [20:04:46]execute_cgi path=json_proto method=POST [20:04:46]POST find Content-Length [20:04:46]Host: 172.17.42.3:8080 [20:04:46]Content-Length: 799 [20:04:46]Content-Type: application/json [20:04:46] [20:04:46]POST finish read [20:04:46]Found Content-Length = 799 [20:04:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46404", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 39.380, "sum" : 3000.76, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 3000.76 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:04:46]execute_script... [20:04:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46404", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 39.380, "sum" : 3000.76, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 3000.76 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:04:46]POST & json_proto [20:04:46]process_json_proto [20:04:46]json parsed OK: [20:04:46]protocol is kg_v1.0 [20:04:46]action value=close_receipt [20:04:46]process_action close_receipt [20:04:46]cmd_close_receipt [20:04:46]MH_GetDate [20:04:46]Write to MH i2c: F0 00 00 54 07 4A [20:04:46]Write i2c OK [20:04:46]MH_I2C_Read... [20:04:46]Read from MH i2c: F0 [20:04:46]MH_I2C_Read... [20:04:46]Read from MH i2c: F0 09 00 [20:04:46]MH_I2C_Read... [20:04:46]Read from MH i2c: F0 09 00 54 07 00 E0 3F 21 67 28 A1 20 67 4A [20:04:46]GetLastDocTimeStamp 1730232096 [20:04:46]current date 1730232288 [20:04:46]FM_GetShiftState [20:04:46]SAM_PROTO_GetShiftState [20:04:46]wFMCommunicate request_size=4 [20:04:46]MH_SAM_APDU [20:04:46]CAPDU: 80 13 01 00 [20:04:46]Write to MH i2c: E2 08 00 55 07 80 13 01 00 00 00 00 00 D9 [20:04:46]Write i2c OK [20:04:46]MH_I2C_Read... [20:04:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:46]Read from MH i2c: E2 [20:04:46]MH_I2C_Read... [20:04:46]Read from MH i2c: E2 0E 00 [20:04:46]MH_I2C_Read... [20:04:46]Read from MH i2c: E2 0E 00 55 07 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 89 [20:04:46]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:04:46]wFMCommunicate OK [20:04:46]SAM_PROTO_GetShiftState done [20:04:46]FM_GetShiftState done [20:04:46]opened in 1730160885 [20:04:46]opened+sec_in_day 1730247285 [20:04:46]quantity*price = 300075 [20:04:46]sum+1 = 300077 [20:04:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 3000.76 НСП 1% : 26.55 НДС 12% : 318.66 Наличными: 0.00 Безнал.: 3000.76 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 137 29.10.2024 20:04 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871758 ФД: 68414 ФПД: 99665710611925 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T200448&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68414&fm=99665710611925&tin=02508201610067®Number=0000000000091759&sum=300076 [20:04:48]StoreToDocumentArchive [20:04:48]shift 548 fd 68414 [20:04:48]save to /storage/0548/doc_00068414 [20:04:48]save last doc name /storage/0548/doc_00068414 to /storage/kkm_last_doc_name [20:04:48]save OK [20:04:48]Clear old archive folders... [20:04:48]ProcessDocumentItem done err = 0, tmpTLVsize=248 [20:04:48]tlvbuf is B6E91460 [20:04:48]SAM_PROTO_ClearQueue [20:04:48]wFMCommunicate request_size=4 [20:04:48]MH_SAM_APDU [20:04:48]CAPDU: 80 09 00 00 [20:04:48]Write to MH i2c: E2 08 00 62 07 80 09 00 00 00 00 00 00 DB [20:04:48]Write i2c OK [20:04:48]MH_I2C_Read... [20:04:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:04:48]Read from MH i2c: E2 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 03 00 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 03 00 62 07 00 90 00 DD [20:04:48]RAPDU: 90 00 [20:04:48]wFMCommunicate OK [20:04:48]SAM_PROTO_ClearQueue done [20:04:48]KKMCreateOFDPacket [20:04:48]OFDProtocolAddRootSTLVToBuf [20:04:48]FM_MakeSignedData [20:04:48]FM_MakeSignedData [20:04:48]SAM_PROTO_SignData [20:04:48]wFMCommunicate request_size=4 [20:04:48]MH_SAM_APDU [20:04:48]CAPDU: 80 0D 01 02 [20:04:48]Write to MH i2c: E2 08 00 63 07 80 0D 01 02 00 00 00 00 E3 [20:04:48]Write i2c OK [20:04:48]MH_I2C_Read... [20:04:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:04:48]Read from MH i2c: E2 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 03 00 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 03 00 63 07 00 90 00 DE [20:04:48]RAPDU: 90 00 [20:04:48]wFMCommunicate OK [20:04:48]wFMCommunicate request_size=255 [20:04:48]MH_SAM_APDU [20:04:48]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 2C 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 E0 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3E 0B 01 00 35 04 06 00 5A A5 3B 46 [20:04:48]Write to MH i2c: E2 02 01 64 07 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 2C 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 E0 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3E 0B 01 00 35 04 06 00 5A A5 3B 46 00 00 63 [20:04:48]Write i2c OK [20:04:48]MH_I2C_Read... [20:04:48]OFD Sender: No OFD packet to send [20:04:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:48]Read from MH i2c: E2 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 03 00 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 03 00 64 07 00 90 00 DF [20:04:48]RAPDU: 90 00 [20:04:48]wFMCommunicate OK [20:04:48]wFMCommunicate request_size=7 [20:04:48]MH_SAM_APDU [20:04:48]CAPDU: 80 0D 02 02 02 FD D5 [20:04:48]Write to MH i2c: E2 0A 00 65 07 80 0D 02 02 02 00 FD D5 00 00 BC [20:04:48]Write i2c OK [20:04:48]MH_I2C_Read... [20:04:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:48]Read from MH i2c: E2 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 03 00 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 03 00 65 07 00 90 00 E0 [20:04:48]RAPDU: 90 00 [20:04:48]wFMCommunicate OK [20:04:48]wFMCommunicate request_size=4 [20:04:48]MH_SAM_APDU [20:04:48]CAPDU: 80 0D 03 02 [20:04:48]Write to MH i2c: E2 08 00 66 07 80 0D 03 02 00 00 00 00 E8 [20:04:48]Write i2c OK [20:04:48]MH_I2C_Read... [20:04:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:04:48]Read from MH i2c: E2 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 0B 00 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 0B 00 66 07 00 2C DB 3D 82 6A 7B 6E C7 90 00 C9 [20:04:48]RAPDU: 2C DB 3D 82 6A 7B 6E C7 90 00 [20:04:48]wFMCommunicate OK [20:04:48]SAM_PROTO_SignData done [20:04:48]FM_MakeSignedData done [20:04:48]CreateOFDProtocolMessage [20:04:48]wFMCommunicate request_size=4 [20:04:48]MH_SAM_APDU [20:04:48]CAPDU: 80 11 00 00 [20:04:48]Write to MH i2c: E2 08 00 67 07 80 11 00 00 00 00 00 00 E8 [20:04:48]Write i2c OK [20:04:48]MH_I2C_Read... [20:04:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:48]Read from MH i2c: E2 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 17 00 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: E2 17 00 67 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 3F [20:04:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:04:48]wFMCommunicate OK [20:04:48]CreateOFDProtocolMessage done [20:04:48]OFDSenderStorePacket 68414 [20:04:48]StoreOFDPacket docnum=68414 [20:04:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 53 89 04 01 68 B0 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 2C 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 E0 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3E 0B 01 00 35 04 06 00 5A A5 3B 46 FD D5 2C DB 3D 82 6A 7B 6E C7 [20:04:48]CheckFolder [20:04:48]dirname=/storage/ofd_packets [20:04:48]CheckFolder done [20:04:48]ProducePacketName [20:04:48]name=ofd_packets/00068414 [20:04:48]NVStorageSaveData ofd_packets/00068414 [20:04:48]File name is /storage/ofd_packets/00068414 [20:04:48]Write 298 bytes [20:04:48]NVStorageSaveData done [20:04:48]OFDSenderStorePacket done [20:04:48]KKMCreateOFDPacket done [20:04:48]NVStorageSaveData kkm_last_timestamp [20:04:48]File name is /storage/kkm_last_timestamp [20:04:48]Write 4 bytes [20:04:48]NVStorageSaveData done [20:04:48]ExternCall_PrintAddStr [20:04:48]wPrintStart [20:04:48]Write to MH i2c: 01 00 00 68 07 6F [20:04:48]Write i2c OK [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: 01 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: 01 07 00 [20:04:48]MH_I2C_Read... [20:04:48]Read from MH i2c: 01 07 00 68 07 00 00 00 00 00 FF 0F 84 [20:04:48]RasterBufferAndPrint [20:04:48]line Счет N : (1)46404 [20:04:48]line ИНН: 02508201610067 [20:04:48]line Контрольно-Кассовый Чек [20:04:48]line ПРОДАЖА [20:04:48]line ТРК (МРК, ГНК) : 11 [20:04:48]line Товар: 2710194210 [20:04:48]line ДТ-К-5 [20:04:48]line 39.380 * 76.20 [20:04:48]line = 3000.76 [20:04:48]line НДС 12% НСП 1% [20:04:48]line > о реализуемом товаре [20:04:48]line ИТОГО: 3000.76 [20:04:48]line НСП 1% : 26.55 [20:04:48]line НДС 12% : 318.66 [20:04:48]line Наличными: 0.00 [20:04:48]line Безнал.: 3000.76 [20:04:48]line Место: АЗС № 160 "Партнер Нефть" [20:04:48]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:04:48]line СНО: Общий режим [20:04:48]line Чек 137 29.10.2024 20:04 [20:04:48]line Смена: 548 ФФД: 1.0 [20:04:48]line ЗНМ: 0300000093 [20:04:48]line РНМ: 0000000000091759 [20:04:48]line Версия ККМ: 001 [20:04:48]line Платежная система: O! деньги [20:04:48]line ФМ: 0000000000871758 [20:04:48]line ФД: 68414 [20:04:48]line ФПД: 99665710611925 [20:04:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T200448&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68414&fm=99665710611925&tin=02508201610067®Number=0000000000091759&sum=300076 [20:04:48]written 0, free lines is 4095 [20:04:48]OFD Sender: Processing packet 68414 [packets to send 28, broken 27] [20:04:48]ProducePacketName [20:04:48]name=ofd_packets/00068414 [20:04:48]OFD Sender: To server: pG, [20:04:48]CommunicateWithHost lk.salyk.kg:30040 [20:04:48]ConnectInit lk.salyk.kg [20:04:48]Connected sock=10 [20:04:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 53 89 04 01 68 B0 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 2C 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 E0 3F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3E 0B 01 00 35 04 06 00 5A A5 3B 46 FD D5 2C DB 3D 82 6A 7B 6E C7 [20:04:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 5C 04 47 00 13 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3E 0B 01 00 F4 03 04 00 87 EB 20 67 B6 04 01 00 00 60 0D 3B AC 25 BA 2F 9C [20:04:48]CommunicateWithHost err = 0 [20:04:48]CheckOFDResponse [20:04:48]1017 (14) - 77093643461234 [20:04:48]1041 (16) - 0000000000871758 [20:04:48]1040 (4) - 68414 [20:04:48]1012 (4) - 29.10.2024 14:04 [20:04:48]1206 (1) - 0 [20:04:48]OFD Sender: Remove packet 68414 [20:04:48]ProducePacketName [20:04:48]name=ofd_packets/00068414 [20:04:48]NVStorageDeleteData [20:04:49]Write to MH i2c: 01 00 00 91 07 98 [20:04:49]Write i2c OK [20:04:49]MH_I2C_Read... [20:04:49]Read from MH i2c: 01 [20:04:49]MH_I2C_Read... [20:04:49]Read from MH i2c: 01 07 00 [20:04:49]MH_I2C_Read... [20:04:49]Read from MH i2c: 01 07 00 91 07 00 00 00 00 00 D4 0C 7F [20:04:49]RasterBufferAndPrint [20:04:49]line [20:04:49]line [20:04:49]line [20:04:49]line [20:04:49]line [20:04:49]written 0, free lines is 3288 [20:04:49]MH_Cut [20:04:49]Write to MH i2c: D1 01 00 98 07 01 71 [20:04:49]Write i2c OK [20:04:49]MH_I2C_Read... [20:04:49]Read from MH i2c: D1 [20:04:49]MH_I2C_Read... [20:04:49]Read from MH i2c: D1 01 00 [20:04:49]MH_I2C_Read... [20:04:49]Read from MH i2c: D1 01 00 98 07 00 70 [20:04:49]Write to MH i2c: 01 00 00 99 07 A0 [20:04:49]Write i2c OK [20:04:49]MH_I2C_Read... [20:04:49]OFD Sender: No OFD packet to send [20:04:49]*** Cut start [20:04:49]*** Partial cut [20:04:49]*** CUTSNS_PIN = 1 [20:04:49]*** CUTSNS_PIN = 0 [20:04:50]*** Brake cut motor [20:04:50]Read from MH i2c: 01 [20:04:50]MH_I2C_Read... [20:04:50]*** Stop cut motor [20:04:50]*** Cut end [20:04:50]Read from MH i2c: 01 07 00 [20:04:50]MH_I2C_Read... [20:04:50]Read from MH i2c: 01 07 00 99 07 00 00 00 00 00 FF 0F B5 [20:04:50]process_action close_receipt done [20:04:50]requested_data is exist [20:04:50]produce_requested_data [20:04:50]requested_item fm.sn is exist - process it [20:04:50]wFMCommunicate request_size=4 [20:04:50]MH_SAM_APDU [20:04:50]CAPDU: 80 11 00 00 [20:04:50]Write to MH i2c: E2 08 00 9A 07 80 11 00 00 00 00 00 00 1B [20:04:50]Write i2c OK [20:04:50]MH_I2C_Read... [20:04:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:50]Read from MH i2c: E2 [20:04:50]MH_I2C_Read... [20:04:50]Read from MH i2c: E2 17 00 [20:04:50]MH_I2C_Read... [20:04:50]Read from MH i2c: E2 17 00 9A 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 72 [20:04:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:04:50]wFMCommunicate OK [20:04:50]requested_item fd.num is exist - process it [20:04:50]SAM_PROTO_GetFieldsCounters [20:04:50]wFMCommunicate request_size=4 [20:04:50]MH_SAM_APDU [20:04:50]CAPDU: 80 13 00 00 [20:04:50]Write to MH i2c: E2 08 00 9B 07 80 13 00 00 00 00 00 00 1E [20:04:50]Write i2c OK [20:04:50]MH_I2C_Read... [20:04:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:04:50]Read from MH i2c: E2 [20:04:50]MH_I2C_Read... [20:04:50]Read from MH i2c: E2 62 00 [20:04:50]MH_I2C_Read... [20:04:50]Read from MH i2c: E2 62 00 9B 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 89 00 00 00 5E 04 04 00 89 00 00 00 57 04 04 00 8A 00 00 00 19 04 04 00 00 00 00 00 90 00 54 [20:04:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 89 00 00 00 5E 04 04 00 89 00 00 00 57 04 04 00 8A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:04:50]wFMCommunicate OK [20:04:50]SAM_PROTO_GetFieldsCounters done [20:04:50]requested_item shift.num is exist - process it [20:04:50]requested_item shift.opened is exist - process it [20:04:50]req_shift_opened [20:04:50]FM_GetShiftState [20:04:50]SAM_PROTO_GetShiftState [20:04:50]wFMCommunicate request_size=4 [20:04:50]MH_SAM_APDU [20:04:50]CAPDU: 80 13 01 00 [20:04:50]Write to MH i2c: E2 08 00 9C 07 80 13 01 00 00 00 00 00 20 [20:04:50]Write i2c OK [20:04:50]MH_I2C_Read... [20:04:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:50]Read from MH i2c: E2 [20:04:50]MH_I2C_Read... [20:04:50]Read from MH i2c: E2 0E 00 [20:04:50]MH_I2C_Read... [20:04:50]Read from MH i2c: E2 0E 00 9C 07 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D0 [20:04:50]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:04:50]wFMCommunicate OK [20:04:50]SAM_PROTO_GetShiftState done [20:04:50]FM_GetShiftState done [20:04:50]req_shift_opened done [20:04:50]requested_item shift.open_date is exist - process it [20:04:50]req_shift_open_date [20:04:50]req_shift_open_date done [20:04:50]produce_requested_data done [20:04:50]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68414,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [20:04:50]process_action_free close_receipt [20:04:50]json_value_free [20:04:50]json_value_free done [20:04:50]process_json_proto returns [20:04:50]Send response to host [20:04:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68414,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [20:04:50]free response buf [20:04:50]execute_script done [20:04:50]execute_script returns [20:04:50]free content buf [20:04:50]Sock 9.Close socket [20:04:50]Sock 9.Thread stoped [20:04:54]int [20:04:54]Write to MH i2c: 01 00 00 9D 07 A4 [20:04:54]Write i2c OK [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 [20:04:54]MH_I2C_Read... [20:04:54]*** FLAG_PRN_KEY set [20:04:54]*** FLAG_PRN_KEY reset [20:04:54]Read from MH i2c: 01 07 00 [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 07 00 9D 07 00 00 00 00 00 FF 0F B9 [20:04:54]state=0 [20:04:54]int [20:04:54]Write to MH i2c: 01 00 00 9E 07 A5 [20:04:54]*** FLAG_PRN_KEY set [20:04:54]Write i2c OK [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 07 00 [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 07 00 9E 07 00 08 00 00 00 FF 0F C2 [20:04:54]state=0 [20:04:54]Key pressed [20:04:54]Feed [20:04:54]Write to MH i2c: D8 00 00 9F 07 7D [20:04:54]Write i2c OK [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: D8 [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: D8 01 00 [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: D8 01 00 9F 07 00 7E [20:04:54]int [20:04:54]Write to MH i2c: 01 00 00 A0 07 A7 [20:04:54]Write i2c OK [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 07 00 [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 07 00 A0 07 00 48 00 00 00 3C 00 32 [20:04:54]state=2 [20:04:54]Key pressed [20:04:54]int [20:04:54]Write to MH i2c: 01 00 00 A1 07 A8 [20:04:54]*** FLAG_PRN_KEY reset [20:04:54]Write i2c OK [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 07 00 [20:04:54]MH_I2C_Read... [20:04:54]Read from MH i2c: 01 07 00 A1 07 00 00 00 00 00 F9 0F B7 [20:04:54]state=2 [20:04:54]Stop feed [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:49]OFD Sender: No OFD packet to send [20:05:54]OFD Sender: No OFD packet to send [20:05:59]OFD Sender: No OFD packet to send [20:06:04]OFD Sender: No OFD packet to send [20:06:09]OFD Sender: No OFD packet to send [20:06:14]OFD Sender: No OFD packet to send [20:06:19]OFD Sender: No OFD packet to send [20:06:24]OFD Sender: No OFD packet to send [20:06:29]OFD Sender: No OFD packet to send [20:06:34]OFD Sender: No OFD packet to send [20:06:39]OFD Sender: No OFD packet to send [20:06:44]OFD Sender: No OFD packet to send [20:06:49]OFD Sender: No OFD packet to send [20:06:54]OFD Sender: No OFD packet to send [20:06:59]OFD Sender: No OFD packet to send [20:07:04]OFD Sender: No OFD packet to send [20:07:09]OFD Sender: No OFD packet to send [20:07:14]OFD Sender: No OFD packet to send [20:07:19]OFD Sender: No OFD packet to send [20:07:24]OFD Sender: No OFD packet to send [20:07:29]OFD Sender: No OFD packet to send [20:07:34]OFD Sender: No OFD packet to send [20:07:39]OFD Sender: No OFD packet to send [20:07:44]OFD Sender: No OFD packet to send [20:07:49]OFD Sender: No OFD packet to send [20:07:54]OFD Sender: No OFD packet to send [20:07:59]OFD Sender: No OFD packet to send [20:08:04]OFD Sender: No OFD packet to send [20:08:09]OFD Sender: No OFD packet to send [20:08:14]OFD Sender: No OFD packet to send [20:08:19]OFD Sender: No OFD packet to send [20:08:24]OFD Sender: No OFD packet to send [20:08:29]OFD Sender: No OFD packet to send [20:08:34]OFD Sender: No OFD packet to send [20:08:39]OFD Sender: No OFD packet to send [20:08:44]OFD Sender: No OFD packet to send [20:08:49]OFD Sender: No OFD packet to send [20:08:54]OFD Sender: No OFD packet to send [20:08:59]OFD Sender: No OFD packet to send [20:09:04]OFD Sender: No OFD packet to send [20:09:09]OFD Sender: No OFD packet to send [20:09:14]OFD Sender: No OFD packet to send [20:09:19]OFD Sender: No OFD packet to send [20:09:24]OFD Sender: No OFD packet to send [20:09:29]OFD Sender: No OFD packet to send [20:09:34]OFD Sender: No OFD packet to send [20:09:39]OFD Sender: No OFD packet to send [20:09:44]OFD Sender: No OFD packet to send [20:09:49]OFD Sender: No OFD packet to send [20:09:54]OFD Sender: No OFD packet to send [20:09:59]OFD Sender: No OFD packet to send [20:10:04]OFD Sender: No OFD packet to send [20:10:09]OFD Sender: No OFD packet to send [20:10:14]OFD Sender: No OFD packet to send [20:10:19]OFD Sender: No OFD packet to send [20:10:24]OFD Sender: No OFD packet to send [20:10:29]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:44]OFD Sender: No OFD packet to send [20:10:49]OFD Sender: No OFD packet to send [20:10:54]OFD Sender: No OFD packet to send [20:10:59]OFD Sender: No OFD packet to send [20:11:04]OFD Sender: No OFD packet to send [20:11:09]OFD Sender: No OFD packet to send [20:11:14]OFD Sender: No OFD packet to send [20:11:19]OFD Sender: No OFD packet to send [20:11:24]OFD Sender: No OFD packet to send [20:11:29]OFD Sender: No OFD packet to send [20:11:34]OFD Sender: No OFD packet to send [20:11:39]OFD Sender: No OFD packet to send [20:11:44]OFD Sender: No OFD packet to send [20:11:49]OFD Sender: No OFD packet to send [20:11:54]OFD Sender: No OFD packet to send [20:11:59]OFD Sender: No OFD packet to send [20:12:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:04]OFD Sender: No OFD packet to send [20:15:09]OFD Sender: No OFD packet to send [20:15:14]OFD Sender: No OFD packet to send [20:15:19]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:50]OFD Sender: No OFD packet to send [20:15:55]OFD Sender: No OFD packet to send [20:16:00]OFD Sender: No OFD packet to send [20:16:05]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:25]OFD Sender: No OFD packet to send [20:16:30]OFD Sender: No OFD packet to send [20:16:35]OFD Sender: No OFD packet to send [20:16:40]OFD Sender: No OFD packet to send [20:16:45]OFD Sender: No OFD packet to send [20:16:50]OFD Sender: No OFD packet to send [20:16:55]OFD Sender: No OFD packet to send [20:17:00]OFD Sender: No OFD packet to send [20:17:05]OFD Sender: No OFD packet to send [20:17:10]OFD Sender: No OFD packet to send [20:17:15]OFD Sender: No OFD packet to send [20:17:20]OFD Sender: No OFD packet to send [20:17:25]OFD Sender: No OFD packet to send [20:17:30]OFD Sender: No OFD packet to send [20:17:35]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:05]OFD Sender: No OFD packet to send [20:19:10]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20: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:11]OFD Sender: No OFD packet to send [20:35:16]OFD Sender: No OFD packet to send [20:35:21]OFD Sender: No OFD packet to send [20:35:26]OFD Sender: No OFD packet to send [20:35:31]OFD Sender: No OFD packet to send [20:35:35]ConnectInit Can't connect to host [20:35:36]OFD Sender: No OFD packet to send [20:35:41]OFD Sender: No OFD packet to send [20:35:46]OFD Sender: No OFD packet to send [20:35:51]OFD Sender: No OFD packet to send [20:35:56]OFD Sender: No OFD packet to send [20:36:01]OFD Sender: No OFD packet to send [20:36:06]OFD Sender: No OFD packet to send [20:36:11]OFD Sender: No OFD packet to send [20:36:16]OFD Sender: No OFD packet to send [20:36:21]OFD Sender: No OFD packet to send [20:36:26]OFD Sender: No OFD packet to send [20:36:31]OFD Sender: No OFD packet to send [20:36:36]OFD Sender: No OFD packet to send [20:36:41]OFD Sender: No OFD packet to send [20:36:46]OFD Sender: No OFD packet to send [20:36:51]OFD Sender: No OFD packet to send [20:36:56]OFD Sender: No OFD packet to send [20:37:01]OFD Sender: No OFD packet to send [20:37:06]OFD Sender: No OFD packet to send [20:37:11]OFD Sender: No OFD packet to send [20:37:16]OFD Sender: No OFD packet to send [20:37:21]OFD Sender: No OFD packet to send [20:37:26]OFD Sender: No OFD packet to send [20:37:31]OFD Sender: No OFD packet to send [20:37:36]OFD Sender: No OFD packet to send [20:37:41]OFD Sender: No OFD packet to send [20:37:46]OFD Sender: No OFD packet to send [20:37:51]OFD Sender: No OFD packet to send [20:37:56]OFD Sender: No OFD packet to send [20:38:01]OFD Sender: No OFD packet to send [20:38:06]OFD Sender: No OFD packet to send [20:38:11]OFD Sender: No OFD packet to send [20:38:16]OFD Sender: No OFD packet to send [20:38:21]OFD Sender: No OFD packet to send [20:38:26]OFD Sender: No OFD packet to send [20:38:31]OFD Sender: No OFD packet to send [20:38:36]OFD Sender: No OFD packet to send [20:38:41]OFD Sender: No OFD packet to send [20:38:46]OFD Sender: No OFD packet to send [20:38:51]OFD Sender: No OFD packet to send [20:38:56]OFD Sender: No OFD packet to send [20:39:01]OFD Sender: No OFD packet to send [20:39:06]OFD Sender: No OFD packet to send [20:39:11]OFD Sender: No OFD packet to send [20:39:16]OFD Sender: No OFD packet to send [20:39:21]OFD Sender: No OFD packet to send [20:39:26]OFD Sender: No OFD packet to send [20:39:31]OFD Sender: No OFD packet to send [20:39:36]OFD Sender: No OFD packet to send [20:39:41]OFD Sender: No OFD packet to send [20:39:46]OFD Sender: No OFD packet to send [20:39:51]OFD Sender: No OFD packet to send [20:39:56]OFD Sender: No OFD packet to send [20:40:01]OFD Sender: No OFD packet to send [20:40:06]OFD Sender: No OFD packet to send [20:40:11]OFD Sender: No OFD packet to send [20:40:16]OFD Sender: No OFD packet to send [20:40:21]OFD Sender: No OFD packet to send [20:40:26]OFD Sender: No OFD packet to send [20:40:31]OFD Sender: No OFD packet to send [20:40:36]OFD Sender: No OFD packet to send [20:40:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]OFD Sender: No OFD packet to send [20:41:46]OFD Sender: No OFD packet to send [20:41:51]OFD Sender: No OFD packet to send [20:41:56]OFD Sender: No OFD packet to send [20:42:01]OFD Sender: No OFD packet to send [20:42:06]OFD Sender: No OFD packet to send [20:42:11]OFD Sender: No OFD packet to send [20:42:16]OFD Sender: No OFD packet to send [20:42:21]OFD Sender: No OFD packet to send [20:42:26]OFD Sender: No OFD packet to send [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:46]OFD Sender: No OFD packet to send [20:42:51]OFD Sender: No OFD packet to send [20:42:56]OFD Sender: No OFD packet to send [20:43:01]OFD Sender: No OFD packet to send [20:43:06]OFD Sender: No OFD packet to send [20:43:11]OFD Sender: No OFD packet to send [20:43:16]OFD Sender: No OFD packet to send [20:43:21]OFD Sender: No OFD packet to send [20:43:26]OFD Sender: No OFD packet to send [20:43:31]OFD Sender: No OFD packet to send [20:43:32]accept exits with 8 [20:43:32]New connection [20:43:32]New thread 3066715492 created [20:43:32]Thread 3066858852 joined [20:43:32]Waiting for new connection... [20:43:32] Sock 8.Parse request [20:43:32]Sock 8.Check first char [20:43:32]Sock 8.First char is OK [20:43:32]request: POST /json_proto HTTP/1.0 [20:43:32]Method: POST [20:43:32]URL: /json_proto [20:43:32]Method is POST - this is cgi request [20:43:32]url: /json_proto [20:43:32]query_string will be loaded in cgi processing [20:43:32]execute_cgi json_proto POST (null) [20:43:32]execute_cgi path=json_proto method=POST [20:43:32]POST find Content-Length [20:43:32]Host: 172.17.42.3:8080 [20:43:32]Content-Length: 815 [20:43:32]Content-Type: application/json [20:43:32] [20:43:32]POST finish read [20:43:32]Found Content-Length = 815 [20:43:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46406", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:43:32]execute_script... [20:43:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46406", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:43:32]POST & json_proto [20:43:32]process_json_proto [20:43:32]json parsed OK: [20:43:32]protocol is kg_v1.0 [20:43:32]action value=close_receipt [20:43:32]process_action close_receipt [20:43:32]cmd_close_receipt [20:43:32]MH_GetDate [20:43:32]Write to MH i2c: F0 00 00 A2 07 98 [20:43:32]Write i2c OK [20:43:32]MH_I2C_Read... [20:43:32]Read from MH i2c: F0 [20:43:32]MH_I2C_Read... [20:43:32]Read from MH i2c: F0 09 00 [20:43:32]MH_I2C_Read... [20:43:32]Read from MH i2c: F0 09 00 A2 07 00 F6 48 21 67 28 A1 20 67 B7 [20:43:32]GetLastDocTimeStamp 1730232288 [20:43:32]current date 1730234614 [20:43:32]FM_GetShiftState [20:43:32]SAM_PROTO_GetShiftState [20:43:32]wFMCommunicate request_size=4 [20:43:32]MH_SAM_APDU [20:43:32]CAPDU: 80 13 01 00 [20:43:32]Write to MH i2c: E2 08 00 A3 07 80 13 01 00 00 00 00 00 27 [20:43:32]Write i2c OK [20:43:32]MH_I2C_Read... [20:43:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:43:32]Read from MH i2c: E2 [20:43:32]MH_I2C_Read... [20:43:32]Read from MH i2c: E2 0E 00 [20:43:32]MH_I2C_Read... [20:43:32]Read from MH i2c: E2 0E 00 A3 07 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D7 [20:43:32]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:43:32]wFMCommunicate OK [20:43:32]SAM_PROTO_GetShiftState done [20:43:32]FM_GetShiftState done [20:43:32]opened in 1730160885 [20:43:32]opened+sec_in_day 1730247285 [20:43:32]quantity*price = 100050 [20:43:32]sum+1 = 100052 [20:43:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.51 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 0.00 Безнал.: 1000.51 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 138 29.10.2024 20:43 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68415 ФПД: 49676880126132 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T204334&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68415&fm=49676880126132&tin=02508201610067®Number=0000000000091759&sum=100051 [20:43:33]StoreToDocumentArchive [20:43:33]shift 548 fd 68415 [20:43:33]save to /storage/0548/doc_00068415 [20:43:33]save last doc name /storage/0548/doc_00068415 to /storage/kkm_last_doc_name [20:43:33]save OK [20:43:33]Clear old archive folders... [20:43:33]ProcessDocumentItem done err = 0, tmpTLVsize=248 [20:43:33]tlvbuf is B6D91450 [20:43:33]SAM_PROTO_ClearQueue [20:43:33]wFMCommunicate request_size=4 [20:43:33]MH_SAM_APDU [20:43:33]CAPDU: 80 09 00 00 [20:43:33]Write to MH i2c: E2 08 00 B0 07 80 09 00 00 00 00 00 00 29 [20:43:33]Write i2c OK [20:43:33]MH_I2C_Read... [20:43:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:43:33]Read from MH i2c: E2 [20:43:33]MH_I2C_Read... [20:43:33]Read from MH i2c: E2 03 00 [20:43:33]MH_I2C_Read... [20:43:33]Read from MH i2c: E2 03 00 B0 07 00 90 00 2B [20:43:33]RAPDU: 90 00 [20:43:33]wFMCommunicate OK [20:43:33]SAM_PROTO_ClearQueue done [20:43:33]KKMCreateOFDPacket [20:43:33]OFDProtocolAddRootSTLVToBuf [20:43:33]FM_MakeSignedData [20:43:33]FM_MakeSignedData [20:43:33]SAM_PROTO_SignData [20:43:33]wFMCommunicate request_size=4 [20:43:33]MH_SAM_APDU [20:43:33]CAPDU: 80 0D 01 02 [20:43:33]Write to MH i2c: E2 08 00 B1 07 80 0D 01 02 00 00 00 00 31 [20:43:33]Write i2c OK [20:43:33]MH_I2C_Read... [20:43:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:43:33]Read from MH i2c: E2 [20:43:33]MH_I2C_Read... [20:43:33]Read from MH i2c: E2 03 00 [20:43:33]MH_I2C_Read... [20:43:33]Read from MH i2c: E2 03 00 B1 07 00 90 00 2C [20:43:33]RAPDU: 90 00 [20:43:33]wFMCommunicate OK [20:43:33]wFMCommunicate request_size=255 [20:43:33]MH_SAM_APDU [20:43: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 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 D3 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 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 F6 48 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3F 0B 01 00 35 04 06 00 2D 2E 4C CB [20:43:33]Write to MH i2c: E2 02 01 B2 07 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 D3 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 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 F6 48 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3F 0B 01 00 35 04 06 00 2D 2E 4C CB 00 00 59 [20:43:33]Write i2c OK [20:43:33]MH_I2C_Read... [20:43:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:43:34]Read from MH i2c: E2 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: E2 03 00 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: E2 03 00 B2 07 00 90 00 2D [20:43:34]RAPDU: 90 00 [20:43:34]wFMCommunicate OK [20:43:34]wFMCommunicate request_size=7 [20:43:34]MH_SAM_APDU [20:43:34]CAPDU: 80 0D 02 02 02 20 B4 [20:43:34]Write to MH i2c: E2 0A 00 B3 07 80 0D 02 02 02 00 20 B4 00 00 0C [20:43:34]Write i2c OK [20:43:34]MH_I2C_Read... [20:43:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:43:34]Read from MH i2c: E2 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: E2 03 00 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: E2 03 00 B3 07 00 90 00 2E [20:43:34]RAPDU: 90 00 [20:43:34]wFMCommunicate OK [20:43:34]wFMCommunicate request_size=4 [20:43:34]MH_SAM_APDU [20:43:34]CAPDU: 80 0D 03 02 [20:43:34]Write to MH i2c: E2 08 00 B4 07 80 0D 03 02 00 00 00 00 36 [20:43:34]Write i2c OK [20:43:34]MH_I2C_Read... [20:43:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:43:34]Read from MH i2c: E2 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: E2 0B 00 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: E2 0B 00 B4 07 00 F9 7F 63 73 DD 8E CC B6 90 00 72 [20:43:34]RAPDU: F9 7F 63 73 DD 8E CC B6 90 00 [20:43:34]wFMCommunicate OK [20:43:34]SAM_PROTO_SignData done [20:43:34]FM_MakeSignedData done [20:43:34]CreateOFDProtocolMessage [20:43:34]wFMCommunicate request_size=4 [20:43:34]MH_SAM_APDU [20:43:34]CAPDU: 80 11 00 00 [20:43:34]Write to MH i2c: E2 08 00 B5 07 80 11 00 00 00 00 00 00 36 [20:43:34]Write i2c OK [20:43:34]MH_I2C_Read... [20:43:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:43:34]Read from MH i2c: E2 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: E2 17 00 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: E2 17 00 B5 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 8D [20:43:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:43:34]wFMCommunicate OK [20:43:34]CreateOFDProtocolMessage done [20:43:34]OFDSenderStorePacket 68415 [20:43:34]StoreOFDPacket docnum=68415 [20:43:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 F0 B3 04 01 8C A6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 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 D3 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 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 F6 48 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3F 0B 01 00 35 04 06 00 2D 2E 4C CB 20 B4 F9 7F 63 73 DD 8E CC B6 [20:43:34]CheckFolder [20:43:34]dirname=/storage/ofd_packets [20:43:34]CheckFolder done [20:43:34]ProducePacketName [20:43:34]name=ofd_packets/00068415 [20:43:34]NVStorageSaveData ofd_packets/00068415 [20:43:34]File name is /storage/ofd_packets/00068415 [20:43:34]Write 298 bytes [20:43:34]NVStorageSaveData done [20:43:34]OFDSenderStorePacket done [20:43:34]KKMCreateOFDPacket done [20:43:34]NVStorageSaveData kkm_last_timestamp [20:43:34]File name is /storage/kkm_last_timestamp [20:43:34]Write 4 bytes [20:43:34]NVStorageSaveData done [20:43:34]ExternCall_PrintAddStr [20:43:34]wPrintStart [20:43:34]Write to MH i2c: 01 00 00 B6 07 BD [20:43:34]Write i2c OK [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: 01 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: 01 07 00 [20:43:34]MH_I2C_Read... [20:43:34]Read from MH i2c: 01 07 00 B6 07 00 00 00 00 00 FF 0F D2 [20:43:34]RasterBufferAndPrint [20:43:34]line Счет N : (1)46406 [20:43:34]line ИНН: 02508201610067 [20:43:34]line Контрольно-Кассовый Чек [20:43:34]line ПРОДАЖА [20:43:34]line ТРК (МРК, ГНК) : 11 [20:43:34]line Товар: 2710194210 [20:43:34]line ДТ-К-5 [20:43:34]line 13.130 * 76.20 [20:43:34]line = 1000.51 [20:43:34]line НДС 12% НСП 1% [20:43:34]line > о реализуемом товаре [20:43:34]line ИТОГО: 1000.51 [20:43:34]line НСП 1% : 8.85 [20:43:34]line НДС 12% : 106.25 [20:43:34]line Наличными: 0.00 [20:43:34]line Безнал.: 1000.51 [20:43:34]line Место: АЗС № 160 "Партнер Нефть" [20:43:34]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:43:34]line СНО: Общий режим [20:43:34]line Чек 138 29.10.2024 20:43 [20:43:34]line Смена: 548 ФФД: 1.0 [20:43:34]line ЗНМ: 0300000093 [20:43:34]line РНМ: 0000000000091759 [20:43:34]line Версия ККМ: 001 [20:43:34]line Платежная система: Бакай Банк [20:43:34]line ФМ: 0000000000871758 [20:43:34]line ФД: 68415 [20:43:34]line ФПД: 49676880126132 [20:43:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T204334&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68415&fm=49676880126132&tin=02508201610067®Number=0000000000091759&sum=100051 [20:43:34]OFD Sender: Processing packet 68415 [packets to send 28, broken 27] [20:43:34]ProducePacketName [20:43:34]name=ofd_packets/00068415 [20:43:34]OFD Sender: To server: pG, [20:43:34]CommunicateWithHost lk.salyk.kg:30040 [20:43:34]ConnectInit lk.salyk.kg [20:43:34]written 0, free lines is 4095 [20:43:34]Connected sock=11 [20:43:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 F0 B3 04 01 8C A6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 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 D3 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 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 F6 48 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3F 0B 01 00 35 04 06 00 2D 2E 4C CB 20 B4 F9 7F 63 73 DD 8E CC B6 [20:43:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F5 83 47 00 75 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3F 0B 01 00 F4 03 04 00 9D F4 20 67 B6 04 01 00 00 75 54 C6 54 AC E0 6E 0A [20:43:34]CommunicateWithHost err = 0 [20:43:34]CheckOFDResponse [20:43:34]1017 (14) - 77093643461234 [20:43:34]1041 (16) - 0000000000871758 [20:43:34]1040 (4) - 68415 [20:43:34]1012 (4) - 29.10.2024 14:43 [20:43:34]1206 (1) - 0 [20:43:34]OFD Sender: Remove packet 68415 [20:43:34]ProducePacketName [20:43:34]name=ofd_packets/00068415 [20:43:34]NVStorageDeleteData [20:43:35]Write to MH i2c: 01 00 00 DF 07 E6 [20:43:35]Write i2c OK [20:43:35]MH_I2C_Read... [20:43:35]Read from MH i2c: 01 [20:43:35]MH_I2C_Read... [20:43:35]Read from MH i2c: 01 07 00 [20:43:35]MH_I2C_Read... [20:43:35]Read from MH i2c: 01 07 00 DF 07 00 00 00 00 00 CF 0C C8 [20:43:35]RasterBufferAndPrint [20:43:35]line [20:43:35]line [20:43:35]line [20:43:35]line [20:43:35]line [20:43:35]written 0, free lines is 3284 [20:43:35]MH_Cut [20:43:35]Write to MH i2c: D1 01 00 E6 07 01 BF [20:43:35]Write i2c OK [20:43:35]MH_I2C_Read... [20:43:35]Read from MH i2c: D1 [20:43:35]MH_I2C_Read... [20:43:35]Read from MH i2c: D1 01 00 [20:43:35]MH_I2C_Read... [20:43:35]Read from MH i2c: D1 01 00 E6 07 00 BE [20:43:35]Write to MH i2c: 01 00 00 E7 07 EE [20:43:35]Write i2c OK [20:43:35]MH_I2C_Read... [20:43:35]OFD Sender: No OFD packet to send [20:43:35]*** Cut start [20:43:35]*** Partial cut [20:43:35]*** CUTSNS_PIN = 1 [20:43:35]*** CUTSNS_PIN = 0 [20:43:36]*** Brake cut motor [20:43:36]Read from MH i2c: 01 [20:43:36]MH_I2C_Read... [20:43:36]*** Stop cut motor [20:43:36]*** Cut end [20:43:36]Read from MH i2c: 01 07 00 [20:43:36]MH_I2C_Read... [20:43:36]Read from MH i2c: 01 07 00 E7 07 00 00 00 00 00 FF 0F 03 [20:43:36]process_action close_receipt done [20:43:36]requested_data is exist [20:43:36]produce_requested_data [20:43:36]requested_item fm.sn is exist - process it [20:43:36]wFMCommunicate request_size=4 [20:43:36]MH_SAM_APDU [20:43:36]CAPDU: 80 11 00 00 [20:43:36]Write to MH i2c: E2 08 00 E8 07 80 11 00 00 00 00 00 00 69 [20:43:36]Write i2c OK [20:43:36]MH_I2C_Read... [20:43:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:43:36]Read from MH i2c: E2 [20:43:36]MH_I2C_Read... [20:43:36]Read from MH i2c: E2 17 00 [20:43:36]MH_I2C_Read... [20:43:36]Read from MH i2c: E2 17 00 E8 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C0 [20:43:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:43:36]wFMCommunicate OK [20:43:36]requested_item fd.num is exist - process it [20:43:36]SAM_PROTO_GetFieldsCounters [20:43:36]wFMCommunicate request_size=4 [20:43:36]MH_SAM_APDU [20:43:36]CAPDU: 80 13 00 00 [20:43:36]Write to MH i2c: E2 08 00 E9 07 80 13 00 00 00 00 00 00 6C [20:43:36]Write i2c OK [20:43:36]MH_I2C_Read... [20:43:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:43:36]Read from MH i2c: E2 [20:43:36]MH_I2C_Read... [20:43:36]Read from MH i2c: E2 62 00 [20:43:36]MH_I2C_Read... [20:43:36]Read from MH i2c: E2 62 00 E9 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3F 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [20:43:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 3F 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:43:36]wFMCommunicate OK [20:43:36]SAM_PROTO_GetFieldsCounters done [20:43:36]requested_item shift.num is exist - process it [20:43:36]requested_item shift.opened is exist - process it [20:43:36]req_shift_opened [20:43:36]FM_GetShiftState [20:43:36]SAM_PROTO_GetShiftState [20:43:36]wFMCommunicate request_size=4 [20:43:36]MH_SAM_APDU [20:43:36]CAPDU: 80 13 01 00 [20:43:36]Write to MH i2c: E2 08 00 EA 07 80 13 01 00 00 00 00 00 6E [20:43:36]Write i2c OK [20:43:36]MH_I2C_Read... [20:43:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:43:36]Read from MH i2c: E2 [20:43:36]MH_I2C_Read... [20:43:36]Read from MH i2c: E2 0E 00 [20:43:36]MH_I2C_Read... [20:43:36]Read from MH i2c: E2 0E 00 EA 07 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 1E [20:43:36]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:43:36]wFMCommunicate OK [20:43:36]SAM_PROTO_GetShiftState done [20:43:36]FM_GetShiftState done [20:43:36]req_shift_opened done [20:43:36]requested_item shift.open_date is exist - process it [20:43:36]req_shift_open_date [20:43:36]req_shift_open_date done [20:43:36]produce_requested_data done [20:43:36]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68415,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [20:43:36]process_action_free close_receipt [20:43:36]json_value_free [20:43:36]json_value_free done [20:43:36]process_json_proto returns [20:43:36]Send response to host [20:43:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68415,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [20:43:36]free response buf [20:43:36]execute_script done [20:43:36]execute_script returns [20:43:36]free content buf [20:43:36]Sock 8.Close socket [20:43:36]Sock 8.Thread stoped [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:06]accept exits with 9 [20:44:06]New connection [20:44:06]New thread 3066858852 created [20:44:06]Thread 3066715492 joined [20:44:06]Waiting for new connection... [20:44:06] Sock 9.Parse request [20:44:06]Sock 9.Check first char [20:44:06]Sock 9.First char is OK [20:44:06]request: POST /json_proto HTTP/1.0 [20:44:06]Method: POST [20:44:06]URL: /json_proto [20:44:06]Method is POST - this is cgi request [20:44:06]url: /json_proto [20:44:06]query_string will be loaded in cgi processing [20:44:06]execute_cgi json_proto POST (null) [20:44:06]execute_cgi path=json_proto method=POST [20:44:06]POST find Content-Length [20:44:06]Host: 172.17.42.3:8080 [20:44:06]Content-Length: 977 [20:44:06]Content-Type: application/json [20:44:06] [20:44:06]POST finish read [20:44:06]Found Content-Length = 977 [20:44:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46405", "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" : 75.20, "quantity" : 99.740, "sum" : 7500.45, "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 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 99.74 \u0441\u043E\u043C", "deposit" : 7500.00, "total" : 7500.00, "payments": [ { "type": 0, "sum" : 7500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:44:06]execute_script... [20:44: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)46405", "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" : 75.20, "quantity" : 99.740, "sum" : 7500.45, "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 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 99.74 \u0441\u043E\u043C", "deposit" : 7500.00, "total" : 7500.00, "payments": [ { "type": 0, "sum" : 7500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:44:06]POST & json_proto [20:44:06]process_json_proto [20:44:06]json parsed OK: [20:44:06]protocol is kg_v1.0 [20:44:06]action value=close_receipt [20:44:06]process_action close_receipt [20:44:06]cmd_close_receipt [20:44:06]MH_GetDate [20:44:06]Write to MH i2c: F0 00 00 EB 07 E1 [20:44:06]Write i2c OK [20:44:06]MH_I2C_Read... [20:44:06]Read from MH i2c: F0 [20:44:06]MH_I2C_Read... [20:44:06]Read from MH i2c: F0 09 00 [20:44:06]MH_I2C_Read... [20:44:06]Read from MH i2c: F0 09 00 EB 07 00 18 49 21 67 28 A1 20 67 23 [20:44:06]GetLastDocTimeStamp 1730234614 [20:44:06]current date 1730234648 [20:44:06]FM_GetShiftState [20:44:06]SAM_PROTO_GetShiftState [20:44:06]wFMCommunicate request_size=4 [20:44:06]MH_SAM_APDU [20:44:06]CAPDU: 80 13 01 00 [20:44:06]Write to MH i2c: E2 08 00 EC 07 80 13 01 00 00 00 00 00 70 [20:44:06]Write i2c OK [20:44:06]MH_I2C_Read... [20:44:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:44:06]Read from MH i2c: E2 [20:44:06]MH_I2C_Read... [20:44:06]Read from MH i2c: E2 0E 00 [20:44:06]MH_I2C_Read... [20:44:06]Read from MH i2c: E2 0E 00 EC 07 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 20 [20:44:06]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:44:06]wFMCommunicate OK [20:44:06]SAM_PROTO_GetShiftState done [20:44:06]FM_GetShiftState done [20:44:06]opened in 1730160885 [20:44:06]opened+sec_in_day 1730247285 [20:44:06]quantity*price = 750044 [20:44:06]sum+1 = 750046 [20:44:06]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 7500.00 Внесено: 7500.00 СДАЧА: 0.00 НСП 1% : 66.38 НДС 12% : 796.51 Наличными: 7500.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 139 29.10.2024 20:44 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Дисконтная программа ДТ номер 160 сэкономлено 99.74 сом ФМ: 0000000000871758 ФД: 68416 ФПД: 34726812671805 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T204408&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68416&fm=34726812671805&tin=02508201610067®Number=0000000000091759&sum=750000 [20:44:07]StoreToDocumentArchive [20:44:07]shift 548 fd 68416 [20:44:07]save to /storage/0548/doc_00068416 [20:44:07]save last doc name /storage/0548/doc_00068416 to /storage/kkm_last_doc_name [20:44:07]save OK [20:44:07]Clear old archive folders... [20:44:07]ProcessDocumentItem done err = 0, tmpTLVsize=248 [20:44:07]tlvbuf is 01DFE850 [20:44:07]SAM_PROTO_ClearQueue [20:44:07]wFMCommunicate request_size=4 [20:44:07]MH_SAM_APDU [20:44:07]CAPDU: 80 09 00 00 [20:44:07]Write to MH i2c: E2 08 00 F9 07 80 09 00 00 00 00 00 00 72 [20:44:07]Write i2c OK [20:44:07]MH_I2C_Read... [20:44:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:44:07]Read from MH i2c: E2 [20:44:07]MH_I2C_Read... [20:44:07]Read from MH i2c: E2 03 00 [20:44:07]MH_I2C_Read... [20:44:07]Read from MH i2c: E2 03 00 F9 07 00 90 00 74 [20:44:07]RAPDU: 90 00 [20:44:07]wFMCommunicate OK [20:44:07]SAM_PROTO_ClearQueue done [20:44:07]KKMCreateOFDPacket [20:44:07]OFDProtocolAddRootSTLVToBuf [20:44:07]FM_MakeSignedData [20:44:07]FM_MakeSignedData [20:44:07]SAM_PROTO_SignData [20:44:07]wFMCommunicate request_size=4 [20:44:07]MH_SAM_APDU [20:44:07]CAPDU: 80 0D 01 02 [20:44:07]Write to MH i2c: E2 08 00 FA 07 80 0D 01 02 00 00 00 00 7A [20:44:08]Write i2c OK [20:44:08]MH_I2C_Read... [20:44:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:44:08]Read from MH i2c: E2 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 03 00 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 03 00 FA 07 00 90 00 75 [20:44:08]RAPDU: 90 00 [20:44:08]wFMCommunicate OK [20:44:08]wFMCommunicate request_size=255 [20:44:08]MH_SAM_APDU [20:44:08]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 9C 85 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 DD 71 0B 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 71 0B 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 19 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 37 01 00 00 00 07 04 06 00 B0 71 0B 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 18 49 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 40 0B 01 00 35 04 06 00 1F 95 77 55 [20:44:08]Write to MH i2c: E2 02 01 FB 07 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 9C 85 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 DD 71 0B 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 71 0B 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 19 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 37 01 00 00 00 07 04 06 00 B0 71 0B 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 18 49 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 40 0B 01 00 35 04 06 00 1F 95 77 55 00 00 F9 [20:44:08]Write i2c OK [20:44:08]MH_I2C_Read... [20:44:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:44:08]Read from MH i2c: E2 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 03 00 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 03 00 FB 07 00 90 00 76 [20:44:08]RAPDU: 90 00 [20:44:08]wFMCommunicate OK [20:44:08]wFMCommunicate request_size=7 [20:44:08]MH_SAM_APDU [20:44:08]CAPDU: 80 0D 02 02 02 5F 3D [20:44:08]Write to MH i2c: E2 0A 00 FC 07 80 0D 02 02 02 00 5F 3D 00 00 1D [20:44:08]Write i2c OK [20:44:08]MH_I2C_Read... [20:44:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:44:08]Read from MH i2c: E2 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 03 00 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 03 00 FC 07 00 90 00 77 [20:44:08]RAPDU: 90 00 [20:44:08]wFMCommunicate OK [20:44:08]wFMCommunicate request_size=4 [20:44:08]MH_SAM_APDU [20:44:08]CAPDU: 80 0D 03 02 [20:44:08]Write to MH i2c: E2 08 00 FD 07 80 0D 03 02 00 00 00 00 7F [20:44:08]Write i2c OK [20:44:08]MH_I2C_Read... [20:44:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:44:08]Read from MH i2c: E2 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 0B 00 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 0B 00 FD 07 00 74 CE 27 9B D5 91 6A 24 90 00 78 [20:44:08]RAPDU: 74 CE 27 9B D5 91 6A 24 90 00 [20:44:08]wFMCommunicate OK [20:44:08]SAM_PROTO_SignData done [20:44:08]FM_MakeSignedData done [20:44:08]CreateOFDProtocolMessage [20:44:08]wFMCommunicate request_size=4 [20:44:08]MH_SAM_APDU [20:44:08]CAPDU: 80 11 00 00 [20:44:08]Write to MH i2c: E2 08 00 FE 07 80 11 00 00 00 00 00 00 7F [20:44:08]Write i2c OK [20:44:08]MH_I2C_Read... [20:44:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:44:08]Read from MH i2c: E2 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 17 00 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: E2 17 00 FE 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D6 [20:44:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:44:08]wFMCommunicate OK [20:44:08]CreateOFDProtocolMessage done [20:44:08]OFDSenderStorePacket 68416 [20:44:08]StoreOFDPacket docnum=68416 [20:44:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E8 7A 04 01 CE 9B 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 9C 85 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 DD 71 0B 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 71 0B 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 19 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 37 01 00 00 00 07 04 06 00 B0 71 0B 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 18 49 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 40 0B 01 00 35 04 06 00 1F 95 77 55 5F 3D 74 CE 27 9B D5 91 6A 24 [20:44:08]CheckFolder [20:44:08]dirname=/storage/ofd_packets [20:44:08]CheckFolder done [20:44:08]ProducePacketName [20:44:08]name=ofd_packets/00068416 [20:44:08]NVStorageSaveData ofd_packets/00068416 [20:44:08]File name is /storage/ofd_packets/00068416 [20:44:08]Write 298 bytes [20:44:08]NVStorageSaveData done [20:44:08]OFDSenderStorePacket done [20:44:08]KKMCreateOFDPacket done [20:44:08]NVStorageSaveData kkm_last_timestamp [20:44:08]File name is /storage/kkm_last_timestamp [20:44:08]Write 4 bytes [20:44:08]NVStorageSaveData done [20:44:08]ExternCall_PrintAddStr [20:44:08]wPrintStart [20:44:08]Write to MH i2c: 01 00 00 FF 07 06 [20:44:08]Write i2c OK [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: 01 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: 01 07 00 [20:44:08]MH_I2C_Read... [20:44:08]Read from MH i2c: 01 07 00 FF 07 00 00 00 00 00 FF 0F 1B [20:44:08]RasterBufferAndPrint [20:44:08]line Счет N : (1)46405 [20:44:08]line ИНН: 02508201610067 [20:44:08]line Контрольно-Кассовый Чек [20:44:08]line ПРОДАЖА [20:44:08]line ТРК (МРК, ГНК) : 31 [20:44:08]line Товар: 2710194210 [20:44:08]line ДТ-К-5 [20:44:08]line 99.740 * 75.20 [20:44:08]line = 7500.45 [20:44:08]line НДС 12% НСП 1% [20:44:08]line > о реализуемом товаре [20:44:08]line ОКРУГЛЕНИЕ: -0.45 [20:44:08]line ИТОГО: 7500.00 [20:44:08]line Внесено: 7500.00 [20:44:08]line СДАЧА: 0.00 [20:44:08]line НСП 1% : 66.38 [20:44:08]line НДС 12% : 796.51 [20:44:08]line Наличными: 7500.00 [20:44:08]line Безнал.: 0.00 [20:44:08]line Место: АЗС № 160 "Партнер Нефть" [20:44:08]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:44:08]line СНО: Общий режим [20:44:08]line Чек 139 29.10.2024 20:44 [20:44:08]line Смена: 548 ФФД: 1.0 [20:44:08]line ЗНМ: 0300000093 [20:44:08]line РНМ: 0000000000091759 [20:44:08]line Версия ККМ: 001 [20:44:08]line [20:44:08]line Дисконтная программа [20:44:08]line ДТ [20:44:08]line номер 160 [20:44:08]line сэкономлено 99.74 сом [20:44:08]line ФМ: 0000000000871758 [20:44:08]line ФД: 68416 [20:44:08]line ФПД: 34726812671805 [20:44:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T204408&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68416&fm=34726812671805&tin=02508201610067®Number=0000000000091759&sum=750000 [20:44:08]OFD Sender: Processing packet 68416 [packets to send 28, broken 27] [20:44:08]ProducePacketName [20:44:08]name=ofd_packets/00068416 [20:44:08]OFD Sender: To server: pG, [20:44:08]CommunicateWithHost lk.salyk.kg:30040 [20:44:08]ConnectInit lk.salyk.kg [20:44:08]written 0, free lines is 4095 [20:44:08]Connected sock=10 [20:44:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E8 7A 04 01 CE 9B 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 9C 85 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 DD 71 0B 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 71 0B 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 19 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 37 01 00 00 00 07 04 06 00 B0 71 0B 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 18 49 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 40 0B 01 00 35 04 06 00 1F 95 77 55 5F 3D 74 CE 27 9B D5 91 6A 24 [20:44:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 62 55 47 00 BA BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 40 0B 01 00 F4 03 04 00 BF F4 20 67 B6 04 01 00 00 0B 2D E9 F9 8F 4A B7 AF [20:44:09]CommunicateWithHost err = 0 [20:44:09]CheckOFDResponse [20:44:09]1017 (14) - 77093643461234 [20:44:09]1041 (16) - 0000000000871758 [20:44:09]1040 (4) - 68416 [20:44:09]1012 (4) - 29.10.2024 14:44 [20:44:09]1206 (1) - 0 [20:44:09]OFD Sender: Remove packet 68416 [20:44:09]ProducePacketName [20:44:09]name=ofd_packets/00068416 [20:44:09]NVStorageDeleteData [20:44:09]Write to MH i2c: 01 00 00 2E 08 36 [20:44:09]Write i2c OK [20:44:09]MH_I2C_Read... [20:44:09]Read from MH i2c: 01 [20:44:09]MH_I2C_Read... [20:44:09]Read from MH i2c: 01 07 00 [20:44:09]MH_I2C_Read... [20:44:09]Read from MH i2c: 01 07 00 2E 08 00 00 00 00 00 68 0C B1 [20:44:09]RasterBufferAndPrint [20:44:09]line [20:44:09]line [20:44:09]line [20:44:09]line [20:44:09]line [20:44:09]written 0, free lines is 3182 [20:44:09]MH_Cut [20:44:09]Write to MH i2c: D1 01 00 35 08 01 0F [20:44:09]Write i2c OK [20:44:09]MH_I2C_Read... [20:44:09]Read from MH i2c: D1 [20:44:09]MH_I2C_Read... [20:44:09]Read from MH i2c: D1 01 00 [20:44:09]MH_I2C_Read... [20:44:09]Read from MH i2c: D1 01 00 35 08 00 0E [20:44:09]Write to MH i2c: 01 00 00 36 08 3E [20:44:09]Write i2c OK [20:44:09]MH_I2C_Read... [20:44:09]OFD Sender: No OFD packet to send [20:44:10]*** Cut start [20:44:10]*** Partial cut [20:44:10]*** CUTSNS_PIN = 1 [20:44:10]*** CUTSNS_PIN = 0 [20:44:10]*** Brake cut motor [20:44:10]Read from MH i2c: 01 [20:44:10]MH_I2C_Read... [20:44:10]*** Stop cut motor [20:44:10]*** Cut end [20:44:10]Read from MH i2c: 01 07 00 [20:44:10]MH_I2C_Read... [20:44:10]Read from MH i2c: 01 07 00 36 08 00 00 00 00 00 FF 0F 53 [20:44:10]process_action close_receipt done [20:44:10]requested_data is exist [20:44:10]produce_requested_data [20:44:10]requested_item fm.sn is exist - process it [20:44:10]wFMCommunicate request_size=4 [20:44:10]MH_SAM_APDU [20:44:10]CAPDU: 80 11 00 00 [20:44:10]Write to MH i2c: E2 08 00 37 08 80 11 00 00 00 00 00 00 B9 [20:44:10]Write i2c OK [20:44:10]MH_I2C_Read... [20:44:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:44:10]Read from MH i2c: E2 [20:44:10]MH_I2C_Read... [20:44:10]Read from MH i2c: E2 17 00 [20:44:10]MH_I2C_Read... [20:44:10]Read from MH i2c: E2 17 00 37 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 10 [20:44:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:44:10]wFMCommunicate OK [20:44:10]requested_item fd.num is exist - process it [20:44:10]SAM_PROTO_GetFieldsCounters [20:44:10]wFMCommunicate request_size=4 [20:44:10]MH_SAM_APDU [20:44:10]CAPDU: 80 13 00 00 [20:44:10]Write to MH i2c: E2 08 00 38 08 80 13 00 00 00 00 00 00 BC [20:44:10]Write i2c OK [20:44:10]MH_I2C_Read... [20:44:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:44:10]Read from MH i2c: E2 [20:44:10]MH_I2C_Read... [20:44:10]Read from MH i2c: E2 62 00 [20:44:10]MH_I2C_Read... [20:44:10]Read from MH i2c: E2 62 00 38 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 40 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [20:44:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 40 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:44:10]wFMCommunicate OK [20:44:10]SAM_PROTO_GetFieldsCounters done [20:44:10]requested_item shift.num is exist - process it [20:44:10]requested_item shift.opened is exist - process it [20:44:10]req_shift_opened [20:44:10]FM_GetShiftState [20:44:10]SAM_PROTO_GetShiftState [20:44:10]wFMCommunicate request_size=4 [20:44:10]MH_SAM_APDU [20:44:10]CAPDU: 80 13 01 00 [20:44:10]Write to MH i2c: E2 08 00 39 08 80 13 01 00 00 00 00 00 BE [20:44:10]Write i2c OK [20:44:11]MH_I2C_Read... [20:44:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:44:11]Read from MH i2c: E2 [20:44:11]MH_I2C_Read... [20:44:11]Read from MH i2c: E2 0E 00 [20:44:11]MH_I2C_Read... [20:44:11]Read from MH i2c: E2 0E 00 39 08 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 6E [20:44:11]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:44:11]wFMCommunicate OK [20:44:11]SAM_PROTO_GetShiftState done [20:44:11]FM_GetShiftState done [20:44:11]req_shift_opened done [20:44:11]requested_item shift.open_date is exist - process it [20:44:11]req_shift_open_date [20:44:11]req_shift_open_date done [20:44:11]produce_requested_data done [20:44:11]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68416,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [20:44:11]process_action_free close_receipt [20:44:11]json_value_free [20:44:11]json_value_free done [20:44:11]process_json_proto returns [20:44:11]Send response to host [20:44:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68416,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [20:44:11]free response buf [20:44:11]execute_script done [20:44:11]execute_script returns [20:44:11]free content buf [20:44:11]Sock 9.Close socket [20:44:11]Sock 9.Thread stoped [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:32]accept exits with 8 [20:44:32]New connection [20:44:32]New thread 3066715492 created [20:44:32]Thread 3066858852 joined [20:44:32]Waiting for new connection... [20:44:32] Sock 8.Parse request [20:44:32]Sock 8.Check first char [20:44:32]Sock 8.First char is OK [20:44:32]request: POST /json_proto HTTP/1.0 [20:44:32]Method: POST [20:44:32]URL: /json_proto [20:44:32]Method is POST - this is cgi request [20:44:32]url: /json_proto [20:44:32]query_string will be loaded in cgi processing [20:44:32]execute_cgi json_proto POST (null) [20:44:32]execute_cgi path=json_proto method=POST [20:44:32]POST find Content-Length [20:44:32]Host: 172.17.42.3:8080 [20:44:32]Content-Length: 678 [20:44:32]Content-Type: application/json [20:44:32] [20:44:32]POST finish read [20:44:32]Found Content-Length = 678 [20:44:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46407", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 39.370, "sum" : 2999.99, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 2999.00, "payments": [ { "type": 0, "sum" : 2999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:44:32]execute_script... [20:44:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46407", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 39.370, "sum" : 2999.99, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 2999.00, "payments": [ { "type": 0, "sum" : 2999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:44:32]POST & json_proto [20:44:32]process_json_proto [20:44:32]json parsed OK: [20:44:32]protocol is kg_v1.0 [20:44:32]action value=close_receipt [20:44:32]process_action close_receipt [20:44:32]cmd_close_receipt [20:44:32]MH_GetDate [20:44:32]Write to MH i2c: F0 00 00 3A 08 31 [20:44:32]Write i2c OK [20:44:32]MH_I2C_Read... [20:44:32]Read from MH i2c: F0 [20:44:32]MH_I2C_Read... [20:44:32]Read from MH i2c: F0 09 00 [20:44:32]MH_I2C_Read... [20:44:32]Read from MH i2c: F0 09 00 3A 08 00 32 49 21 67 28 A1 20 67 8D [20:44:32]GetLastDocTimeStamp 1730234648 [20:44:32]current date 1730234674 [20:44:32]FM_GetShiftState [20:44:32]SAM_PROTO_GetShiftState [20:44:32]wFMCommunicate request_size=4 [20:44:32]MH_SAM_APDU [20:44:32]CAPDU: 80 13 01 00 [20:44:32]Write to MH i2c: E2 08 00 3B 08 80 13 01 00 00 00 00 00 C0 [20:44:32]Write i2c OK [20:44:32]MH_I2C_Read... [20:44:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:44:32]Read from MH i2c: E2 [20:44:32]MH_I2C_Read... [20:44:32]Read from MH i2c: E2 0E 00 [20:44:32]MH_I2C_Read... [20:44:32]Read from MH i2c: E2 0E 00 3B 08 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 70 [20:44:32]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:44:32]wFMCommunicate OK [20:44:32]SAM_PROTO_GetShiftState done [20:44:32]FM_GetShiftState done [20:44:32]opened in 1730160885 [20:44:32]opened+sec_in_day 1730247285 [20:44:32]quantity*price = 299999 [20:44:32]sum+1 = 300000 [20:44:32]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.99 ИТОГО: 2999.00 Внесено: 3000.00 СДАЧА: 1.00 НСП 1% : 26.55 НДС 12% : 318.58 Наличными: 2999.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 140 29.10.2024 20:44 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68417 ФПД: 121354510681617 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T204434&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68417&fm=121354510681617&tin=02508201610067®Number=0000000000091759&sum=299900 [20:44:33]StoreToDocumentArchive [20:44:33]shift 548 fd 68417 [20:44:33]save to /storage/0548/doc_00068417 [20:44:33]save last doc name /storage/0548/doc_00068417 to /storage/kkm_last_doc_name [20:44:33]save OK [20:44:33]Clear old archive folders... [20:44:33]ProcessDocumentItem done err = 0, tmpTLVsize=248 [20:44:33]tlvbuf is 01E084B0 [20:44:33]SAM_PROTO_ClearQueue [20:44:33]wFMCommunicate request_size=4 [20:44:33]MH_SAM_APDU [20:44:33]CAPDU: 80 09 00 00 [20:44:33]Write to MH i2c: E2 08 00 48 08 80 09 00 00 00 00 00 00 C2 [20:44:33]Write i2c OK [20:44:33]MH_I2C_Read... [20:44:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:44:33]Read from MH i2c: E2 [20:44:33]MH_I2C_Read... [20:44:33]Read from MH i2c: E2 03 00 [20:44:33]MH_I2C_Read... [20:44:33]Read from MH i2c: E2 03 00 48 08 00 90 00 C4 [20:44:33]RAPDU: 90 00 [20:44:33]wFMCommunicate OK [20:44:33]SAM_PROTO_ClearQueue done [20:44:33]KKMCreateOFDPacket [20:44:33]OFDProtocolAddRootSTLVToBuf [20:44:33]FM_MakeSignedData [20:44:33]FM_MakeSignedData [20:44:33]SAM_PROTO_SignData [20:44:33]wFMCommunicate request_size=4 [20:44:33]MH_SAM_APDU [20:44:33]CAPDU: 80 0D 01 02 [20:44:33]Write to MH i2c: E2 08 00 49 08 80 0D 01 02 00 00 00 00 CA [20:44:33]Write i2c OK [20:44:33]MH_I2C_Read... [20:44:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:44:33]Read from MH i2c: E2 [20:44:33]MH_I2C_Read... [20:44:33]Read from MH i2c: E2 03 00 [20:44:33]MH_I2C_Read... [20:44:33]Read from MH i2c: E2 03 00 49 08 00 90 00 C5 [20:44:33]RAPDU: 90 00 [20:44:33]wFMCommunicate OK [20:44:33]wFMCommunicate request_size=255 [20:44:33]MH_SAM_APDU [20:44: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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8C 00 00 00 F4 03 04 00 32 49 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 41 0B 01 00 35 04 06 00 6E 5F 0C 80 [20:44:33]Write to MH i2c: E2 02 01 4A 08 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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8C 00 00 00 F4 03 04 00 32 49 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 41 0B 01 00 35 04 06 00 6E 5F 0C 80 00 00 C3 [20:44:33]Write i2c OK [20:44:33]MH_I2C_Read... [20:44:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:44:33]Read from MH i2c: E2 [20:44:33]MH_I2C_Read... [20:44:33]Read from MH i2c: E2 03 00 [20:44:33]MH_I2C_Read... [20:44:33]Read from MH i2c: E2 03 00 4A 08 00 90 00 C6 [20:44:33]RAPDU: 90 00 [20:44:33]wFMCommunicate OK [20:44:33]wFMCommunicate request_size=7 [20:44:33]MH_SAM_APDU [20:44:33]CAPDU: 80 0D 02 02 02 46 11 [20:44:33]Write to MH i2c: E2 0A 00 4B 08 80 0D 02 02 02 00 46 11 00 00 28 [20:44:33]Write i2c OK [20:44:33]MH_I2C_Read... [20:44:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:44:33]Read from MH i2c: E2 [20:44:33]MH_I2C_Read... [20:44:33]Read from MH i2c: E2 03 00 [20:44:33]MH_I2C_Read... [20:44:33]Read from MH i2c: E2 03 00 4B 08 00 90 00 C7 [20:44:33]RAPDU: 90 00 [20:44:33]wFMCommunicate OK [20:44:33]wFMCommunicate request_size=4 [20:44:33]MH_SAM_APDU [20:44:33]CAPDU: 80 0D 03 02 [20:44:33]Write to MH i2c: E2 08 00 4C 08 80 0D 03 02 00 00 00 00 CF [20:44:33]Write i2c OK [20:44:33]MH_I2C_Read... [20:44:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:44:34]Read from MH i2c: E2 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: E2 0B 00 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: E2 0B 00 4C 08 00 CB 3F 95 DB 3B C3 BE 27 90 00 2D [20:44:34]RAPDU: CB 3F 95 DB 3B C3 BE 27 90 00 [20:44:34]wFMCommunicate OK [20:44:34]SAM_PROTO_SignData done [20:44:34]FM_MakeSignedData done [20:44:34]CreateOFDProtocolMessage [20:44:34]wFMCommunicate request_size=4 [20:44:34]MH_SAM_APDU [20:44:34]CAPDU: 80 11 00 00 [20:44:34]Write to MH i2c: E2 08 00 4D 08 80 11 00 00 00 00 00 00 CF [20:44:34]Write i2c OK [20:44:34]MH_I2C_Read... [20:44:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:44:34]Read from MH i2c: E2 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: E2 17 00 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: E2 17 00 4D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 26 [20:44:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:44:34]wFMCommunicate OK [20:44:34]CreateOFDProtocolMessage done [20:44:34]OFDSenderStorePacket 68417 [20:44:34]StoreOFDPacket docnum=68417 [20:44:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 84 9B 04 01 69 3E 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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8C 00 00 00 F4 03 04 00 32 49 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 41 0B 01 00 35 04 06 00 6E 5F 0C 80 46 11 CB 3F 95 DB 3B C3 BE 27 [20:44:34]CheckFolder [20:44:34]dirname=/storage/ofd_packets [20:44:34]CheckFolder done [20:44:34]ProducePacketName [20:44:34]name=ofd_packets/00068417 [20:44:34]NVStorageSaveData ofd_packets/00068417 [20:44:34]File name is /storage/ofd_packets/00068417 [20:44:34]Write 298 bytes [20:44:34]NVStorageSaveData done [20:44:34]OFDSenderStorePacket done [20:44:34]KKMCreateOFDPacket done [20:44:34]NVStorageSaveData kkm_last_timestamp [20:44:34]File name is /storage/kkm_last_timestamp [20:44:34]Write 4 bytes [20:44:34]NVStorageSaveData done [20:44:34]ExternCall_PrintAddStr [20:44:34]wPrintStart [20:44:34]Write to MH i2c: 01 00 00 4E 08 56 [20:44:34]Write i2c OK [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: 01 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: 01 07 00 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: 01 07 00 4E 08 00 00 00 00 00 FF 0F 6B [20:44:34]RasterBufferAndPrint [20:44:34]line Счет N : (1)46407 [20:44:34]line ИНН: 02508201610067 [20:44:34]line Контрольно-Кассовый Чек [20:44:34]line ПРОДАЖА [20:44:34]line ТРК (МРК, ГНК) : 11 [20:44:34]line Товар: 2710194210 [20:44:34]line ДТ-К-5 [20:44:34]line 39.370 * 76.20 [20:44:34]line = 2999.99 [20:44:34]line НДС 12% НСП 1% [20:44:34]line > о реализуемом товаре [20:44:34]line ОКРУГЛЕНИЕ: -0.99 [20:44:34]line ИТОГО: 2999.00 [20:44:34]line Внесено: 3000.00 [20:44:34]line СДАЧА: 1.00 [20:44:34]line НСП 1% : 26.55 [20:44:34]line НДС 12% : 318.58 [20:44:34]line Наличными: 2999.00 [20:44:34]line Безнал.: 0.00 [20:44:34]line Место: АЗС № 160 "Партнер Нефть" [20:44:34]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:44:34]line СНО: Общий режим [20:44:34]line Чек 140 29.10.2024 20:44 [20:44:34]line Смена: 548 ФФД: 1.0 [20:44:34]line ЗНМ: 0300000093 [20:44:34]line РНМ: 0000000000091759 [20:44:34]line Версия ККМ: 001 [20:44:34]line ФМ: 0000000000871758 [20:44:34]line ФД: 68417 [20:44:34]line ФПД: 121354510681617 [20:44:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T204434&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68417&fm=121354510681617&tin=02508201610067®Number=0000000000091759&sum=299900 [20:44:34]OFD Sender: Processing packet 68417 [packets to send 28, broken 27] [20:44:34]ProducePacketName [20:44:34]name=ofd_packets/00068417 [20:44:34]OFD Sender: To server: pG, [20:44:34]CommunicateWithHost lk.salyk.kg:30040 [20:44:34]ConnectInit lk.salyk.kg [20:44:34]written 0, free lines is 4095 [20:44:34]Connected sock=9 [20:44:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 84 9B 04 01 69 3E 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 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8C 00 00 00 F4 03 04 00 32 49 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 41 0B 01 00 35 04 06 00 6E 5F 0C 80 46 11 CB 3F 95 DB 3B C3 BE 27 [20:44:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 CC 13 47 00 52 A1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 41 0B 01 00 F4 03 04 00 D9 F4 20 67 B6 04 01 00 00 C7 78 32 48 D0 14 07 C7 [20:44:34]CommunicateWithHost err = 0 [20:44:34]CheckOFDResponse [20:44:34]1017 (14) - 77093643461234 [20:44:34]1041 (16) - 0000000000871758 [20:44:34]1040 (4) - 68417 [20:44:34]1012 (4) - 29.10.2024 14:44 [20:44:34]1206 (1) - 0 [20:44:34]OFD Sender: Remove packet 68417 [20:44:34]ProducePacketName [20:44:34]name=ofd_packets/00068417 [20:44:34]NVStorageDeleteData [20:44:34]Write to MH i2c: 01 00 00 78 08 80 [20:44:34]Write i2c OK [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: 01 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: 01 07 00 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: 01 07 00 78 08 00 00 00 00 00 BA 0C 4D [20:44:34]RasterBufferAndPrint [20:44:34]line [20:44:34]line [20:44:34]line [20:44:34]line [20:44:34]line [20:44:34]written 0, free lines is 3265 [20:44:34]MH_Cut [20:44:34]Write to MH i2c: D1 01 00 7F 08 01 59 [20:44:34]Write i2c OK [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: D1 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: D1 01 00 [20:44:34]MH_I2C_Read... [20:44:34]Read from MH i2c: D1 01 00 7F 08 00 58 [20:44:34]Write to MH i2c: 01 00 00 80 08 88 [20:44:34]Write i2c OK [20:44:34]MH_I2C_Read... [20:44:35]OFD Sender: No OFD packet to send [20:44:35]*** Cut start [20:44:35]*** Partial cut [20:44:35]*** CUTSNS_PIN = 1 [20:44:35]*** CUTSNS_PIN = 0 [20:44:35]*** Brake cut motor [20:44:36]Read from MH i2c: 01 [20:44:36]MH_I2C_Read... [20:44:36]*** Stop cut motor [20:44:36]*** Cut end [20:44:36]Read from MH i2c: 01 07 00 [20:44:36]MH_I2C_Read... [20:44:36]Read from MH i2c: 01 07 00 80 08 00 00 00 00 00 FF 0F 9D [20:44:36]process_action close_receipt done [20:44:36]requested_data is exist [20:44:36]produce_requested_data [20:44:36]requested_item fm.sn is exist - process it [20:44:36]wFMCommunicate request_size=4 [20:44:36]MH_SAM_APDU [20:44:36]CAPDU: 80 11 00 00 [20:44:36]Write to MH i2c: E2 08 00 81 08 80 11 00 00 00 00 00 00 03 [20:44:36]Write i2c OK [20:44:36]MH_I2C_Read... [20:44:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:44:36]Read from MH i2c: E2 [20:44:36]MH_I2C_Read... [20:44:36]Read from MH i2c: E2 17 00 [20:44:36]MH_I2C_Read... [20:44:36]Read from MH i2c: E2 17 00 81 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 5A [20:44:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:44:36]wFMCommunicate OK [20:44:36]requested_item fd.num is exist - process it [20:44:36]SAM_PROTO_GetFieldsCounters [20:44:36]wFMCommunicate request_size=4 [20:44:36]MH_SAM_APDU [20:44:36]CAPDU: 80 13 00 00 [20:44:36]Write to MH i2c: E2 08 00 82 08 80 13 00 00 00 00 00 00 06 [20:44:36]Write i2c OK [20:44:36]MH_I2C_Read... [20:44:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:44:36]Read from MH i2c: E2 [20:44:36]MH_I2C_Read... [20:44:36]Read from MH i2c: E2 62 00 [20:44:36]MH_I2C_Read... [20:44:36]Read from MH i2c: E2 62 00 82 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 41 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8C 00 00 00 5E 04 04 00 8C 00 00 00 57 04 04 00 8D 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [20:44:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 41 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8C 00 00 00 5E 04 04 00 8C 00 00 00 57 04 04 00 8D 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:44:36]wFMCommunicate OK [20:44:36]SAM_PROTO_GetFieldsCounters done [20:44:36]requested_item shift.num is exist - process it [20:44:36]requested_item shift.opened is exist - process it [20:44:36]req_shift_opened [20:44:36]FM_GetShiftState [20:44:36]SAM_PROTO_GetShiftState [20:44:36]wFMCommunicate request_size=4 [20:44:36]MH_SAM_APDU [20:44:36]CAPDU: 80 13 01 00 [20:44:36]Write to MH i2c: E2 08 00 83 08 80 13 01 00 00 00 00 00 08 [20:44:36]Write i2c OK [20:44:36]MH_I2C_Read... [20:44:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:44:36]Read from MH i2c: E2 [20:44:36]MH_I2C_Read... [20:44:36]Read from MH i2c: E2 0E 00 [20:44:36]MH_I2C_Read... [20:44:36]Read from MH i2c: E2 0E 00 83 08 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 B8 [20:44:36]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:44:36]wFMCommunicate OK [20:44:36]SAM_PROTO_GetShiftState done [20:44:36]FM_GetShiftState done [20:44:36]req_shift_opened done [20:44:36]requested_item shift.open_date is exist - process it [20:44:36]req_shift_open_date [20:44:36]req_shift_open_date done [20:44:36]produce_requested_data done [20:44:36]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68417,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [20:44:36]process_action_free close_receipt [20:44:36]json_value_free [20:44:36]json_value_free done [20:44:36]process_json_proto returns [20:44:36]Send response to host [20:44:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68417,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [20:44:36]free response buf [20:44:36]execute_script done [20:44:36]execute_script returns [20:44:36]free content buf [20:44:36]Sock 8.Close socket [20:44:36]Sock 8.Thread stoped [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:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]accept exits with 10 [20:54:55]New connection [20:54:55]New thread 3066858852 created [20:54:55]Thread 3066715492 joined [20:54:55]Waiting for new connection... [20:54:55] Sock 10.Parse request [20:54:55]Sock 10.Check first char [20:54:55]Sock 10.First char is OK [20:54:55]request: POST /json_proto HTTP/1.0 [20:54:55]Method: POST [20:54:55]URL: /json_proto [20:54:55]Method is POST - this is cgi request [20:54:55]url: /json_proto [20:54:55]query_string will be loaded in cgi processing [20:54:55]execute_cgi json_proto POST (null) [20:54:55]execute_cgi path=json_proto method=POST [20:54:55]POST find Content-Length [20:54:55]Host: 172.17.42.3:8080 [20:54:55]Content-Length: 815 [20:54:55]Content-Type: application/json [20:54:55] [20:54:55]POST finish read [20:54:55]Found Content-Length = 815 [20:54:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46408", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 32.810, "sum" : 2500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 2500.12 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:55]execute_script... [20:54:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46408", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 32.810, "sum" : 2500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 2500.12 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:55]POST & json_proto [20:54:55]process_json_proto [20:54:55]json parsed OK: [20:54:55]protocol is kg_v1.0 [20:54:55]action value=close_receipt [20:54:55]process_action close_receipt [20:54:55]cmd_close_receipt [20:54:55]MH_GetDate [20:54:55]Write to MH i2c: F0 00 00 84 08 7B [20:54:55]Write i2c OK [20:54:55]MH_I2C_Read... [20:54:55]Read from MH i2c: F0 [20:54:55]MH_I2C_Read... [20:54:55]Read from MH i2c: F0 09 00 [20:54:55]MH_I2C_Read... [20:54:55]Read from MH i2c: F0 09 00 84 08 00 A1 4B 21 67 28 A1 20 67 48 [20:54:55]GetLastDocTimeStamp 1730234674 [20:54:55]current date 1730235297 [20:54:55]FM_GetShiftState [20:54:55]SAM_PROTO_GetShiftState [20:54:55]wFMCommunicate request_size=4 [20:54:55]MH_SAM_APDU [20:54:55]CAPDU: 80 13 01 00 [20:54:55]Write to MH i2c: E2 08 00 85 08 80 13 01 00 00 00 00 00 0A [20:54:55]Write i2c OK [20:54:55]MH_I2C_Read... [20:54:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:55]Read from MH i2c: E2 [20:54:55]MH_I2C_Read... [20:54:55]Read from MH i2c: E2 0E 00 [20:54:55]MH_I2C_Read... [20:54:55]Read from MH i2c: E2 0E 00 85 08 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 BA [20:54:55]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:54:55]wFMCommunicate OK [20:54:55]SAM_PROTO_GetShiftState done [20:54:55]FM_GetShiftState done [20:54:55]opened in 1730160885 [20:54:55]opened+sec_in_day 1730247285 [20:54:55]quantity*price = 250012 [20:54:55]sum+1 = 250013 [20:54:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2500.12 НСП 1% : 22.12 НДС 12% : 265.50 Наличными: 0.00 Безнал.: 2500.12 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 141 29.10.2024 20:54 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68418 ФПД: 35829243992165 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T205457&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68418&fm=35829243992165&tin=02508201610067®Number=0000000000091759&sum=250012 [20:54:56]StoreToDocumentArchive [20:54:56]shift 548 fd 68418 [20:54:56]save to /storage/0548/doc_00068418 [20:54:56]save last doc name /storage/0548/doc_00068418 to /storage/kkm_last_doc_name [20:54:56]save OK [20:54:56]Clear old archive folders... [20:54:56]ProcessDocumentItem done err = 0, tmpTLVsize=248 [20:54:56]tlvbuf is 01DE3410 [20:54:56]SAM_PROTO_ClearQueue [20:54:56]wFMCommunicate request_size=4 [20:54:56]MH_SAM_APDU [20:54:56]CAPDU: 80 09 00 00 [20:54:56]Write to MH i2c: E2 08 00 92 08 80 09 00 00 00 00 00 00 0C [20:54:56]Write i2c OK [20:54:56]MH_I2C_Read... [20:54:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:54:56]Read from MH i2c: E2 [20:54:56]MH_I2C_Read... [20:54:56]Read from MH i2c: E2 03 00 [20:54:56]MH_I2C_Read... [20:54:56]Read from MH i2c: E2 03 00 92 08 00 90 00 0E [20:54:56]RAPDU: 90 00 [20:54:56]wFMCommunicate OK [20:54:56]SAM_PROTO_ClearQueue done [20:54:56]KKMCreateOFDPacket [20:54:56]OFDProtocolAddRootSTLVToBuf [20:54:56]FM_MakeSignedData [20:54:56]FM_MakeSignedData [20:54:56]SAM_PROTO_SignData [20:54:56]wFMCommunicate request_size=4 [20:54:56]MH_SAM_APDU [20:54:56]CAPDU: 80 0D 01 02 [20:54:56]Write to MH i2c: E2 08 00 93 08 80 0D 01 02 00 00 00 00 14 [20:54:56]Write i2c OK [20:54:56]MH_I2C_Read... [20:54:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:54:56]Read from MH i2c: E2 [20:54:56]MH_I2C_Read... [20:54:56]Read from MH i2c: E2 03 00 [20:54:56]MH_I2C_Read... [20:54:56]Read from MH i2c: E2 03 00 93 08 00 90 00 0F [20:54:56]RAPDU: 90 00 [20:54:56]wFMCommunicate OK [20:54:56]wFMCommunicate request_size=255 [20:54:56]MH_SAM_APDU [20:54:56]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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 8D 00 00 00 F4 03 04 00 A1 4B 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 42 0B 01 00 35 04 06 00 20 96 25 5C [20:54:56]Write to MH i2c: E2 02 01 94 08 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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 8D 00 00 00 F4 03 04 00 A1 4B 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 42 0B 01 00 35 04 06 00 20 96 25 5C 00 00 C8 [20:54:56]Write i2c OK [20:54:56]MH_I2C_Read... [20:54:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:57]Read from MH i2c: E2 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: E2 03 00 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: E2 03 00 94 08 00 90 00 10 [20:54:57]RAPDU: 90 00 [20:54:57]wFMCommunicate OK [20:54:57]wFMCommunicate request_size=7 [20:54:57]MH_SAM_APDU [20:54:57]CAPDU: 80 0D 02 02 02 58 65 [20:54:57]Write to MH i2c: E2 0A 00 95 08 80 0D 02 02 02 00 58 65 00 00 D8 [20:54:57]Write i2c OK [20:54:57]MH_I2C_Read... [20:54:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:57]Read from MH i2c: E2 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: E2 03 00 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: E2 03 00 95 08 00 90 00 11 [20:54:57]RAPDU: 90 00 [20:54:57]wFMCommunicate OK [20:54:57]wFMCommunicate request_size=4 [20:54:57]MH_SAM_APDU [20:54:57]CAPDU: 80 0D 03 02 [20:54:57]Write to MH i2c: E2 08 00 96 08 80 0D 03 02 00 00 00 00 19 [20:54:57]Write i2c OK [20:54:57]MH_I2C_Read... [20:54:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:54:57]Read from MH i2c: E2 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: E2 0B 00 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: E2 0B 00 96 08 00 4C 70 22 F3 4F FE ED 64 90 00 89 [20:54:57]RAPDU: 4C 70 22 F3 4F FE ED 64 90 00 [20:54:57]wFMCommunicate OK [20:54:57]SAM_PROTO_SignData done [20:54:57]FM_MakeSignedData done [20:54:57]CreateOFDProtocolMessage [20:54:57]wFMCommunicate request_size=4 [20:54:57]MH_SAM_APDU [20:54:57]CAPDU: 80 11 00 00 [20:54:57]Write to MH i2c: E2 08 00 97 08 80 11 00 00 00 00 00 00 19 [20:54:57]Write i2c OK [20:54:57]MH_I2C_Read... [20:54:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:57]Read from MH i2c: E2 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: E2 17 00 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: E2 17 00 97 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 70 [20:54:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:54:57]wFMCommunicate OK [20:54:57]CreateOFDProtocolMessage done [20:54:57]OFDSenderStorePacket 68418 [20:54:57]StoreOFDPacket docnum=68418 [20:54:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 1A 82 04 01 C1 FE 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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 8D 00 00 00 F4 03 04 00 A1 4B 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 42 0B 01 00 35 04 06 00 20 96 25 5C 58 65 4C 70 22 F3 4F FE ED 64 [20:54:57]CheckFolder [20:54:57]dirname=/storage/ofd_packets [20:54:57]CheckFolder done [20:54:57]ProducePacketName [20:54:57]name=ofd_packets/00068418 [20:54:57]NVStorageSaveData ofd_packets/00068418 [20:54:57]File name is /storage/ofd_packets/00068418 [20:54:57]Write 298 bytes [20:54:57]NVStorageSaveData done [20:54:57]OFDSenderStorePacket done [20:54:57]KKMCreateOFDPacket done [20:54:57]NVStorageSaveData kkm_last_timestamp [20:54:57]File name is /storage/kkm_last_timestamp [20:54:57]Write 4 bytes [20:54:57]NVStorageSaveData done [20:54:57]ExternCall_PrintAddStr [20:54:57]wPrintStart [20:54:57]Write to MH i2c: 01 00 00 98 08 A0 [20:54:57]Write i2c OK [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: 01 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: 01 07 00 [20:54:57]MH_I2C_Read... [20:54:57]Read from MH i2c: 01 07 00 98 08 00 00 00 00 00 FF 0F B5 [20:54:57]RasterBufferAndPrint [20:54:57]line Счет N : (1)46408 [20:54:57]line ИНН: 02508201610067 [20:54:57]line Контрольно-Кассовый Чек [20:54:57]line ПРОДАЖА [20:54:57]line ТРК (МРК, ГНК) : 21 [20:54:57]line Товар: 2710194210 [20:54:57]line ДТ-К-5 [20:54:57]line 32.810 * 76.20 [20:54:57]line = 2500.12 [20:54:57]line НДС 12% НСП 1% [20:54:57]line > о реализуемом товаре [20:54:57]line ИТОГО: 2500.12 [20:54:57]line НСП 1% : 22.12 [20:54:57]line НДС 12% : 265.50 [20:54:57]line Наличными: 0.00 [20:54:57]line Безнал.: 2500.12 [20:54:57]line Место: АЗС № 160 "Партнер Нефть" [20:54:57]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:54:57]line СНО: Общий режим [20:54:57]line Чек 141 29.10.2024 20:54 [20:54:57]line Смена: 548 ФФД: 1.0 [20:54:57]line ЗНМ: 0300000093 [20:54:57]line РНМ: 0000000000091759 [20:54:57]line Версия ККМ: 001 [20:54:57]line Платежная система: Бакай Банк [20:54:57]line ФМ: 0000000000871758 [20:54:57]line ФД: 68418 [20:54:57]line ФПД: 35829243992165 [20:54:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T205457&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68418&fm=35829243992165&tin=02508201610067®Number=0000000000091759&sum=250012 [20:54:57]OFD Sender: Processing packet 68418 [packets to send 28, broken 27] [20:54:57]ProducePacketName [20:54:57]name=ofd_packets/00068418 [20:54:57]OFD Sender: To server: pG, [20:54:57]CommunicateWithHost lk.salyk.kg:30040 [20:54:57]ConnectInit lk.salyk.kg [20:54:57]written 0, free lines is 4095 [20:54:57]Connected sock=9 [20:54:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 1A 82 04 01 C1 FE 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 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 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 B6 67 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 9C D0 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 8D 00 00 00 F4 03 04 00 A1 4B 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 42 0B 01 00 35 04 06 00 20 96 25 5C 58 65 4C 70 22 F3 4F FE ED 64 [20:54:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 06 C1 47 00 85 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 42 0B 01 00 F4 03 04 00 48 F7 20 67 B6 04 01 00 00 39 9C 41 76 24 01 75 BA [20:54:57]CommunicateWithHost err = 0 [20:54:57]CheckOFDResponse [20:54:57]1017 (14) - 77093643461234 [20:54:57]1041 (16) - 0000000000871758 [20:54:57]1040 (4) - 68418 [20:54:57]1012 (4) - 29.10.2024 14:55 [20:54:57]1206 (1) - 0 [20:54:57]OFD Sender: Remove packet 68418 [20:54:57]ProducePacketName [20:54:57]name=ofd_packets/00068418 [20:54:57]NVStorageDeleteData [20:54:58]Write to MH i2c: 01 00 00 C1 08 C9 [20:54:58]Write i2c OK [20:54:58]MH_I2C_Read... [20:54:58]Read from MH i2c: 01 [20:54:58]MH_I2C_Read... [20:54:58]Read from MH i2c: 01 07 00 [20:54:58]MH_I2C_Read... [20:54:58]Read from MH i2c: 01 07 00 C1 08 00 00 00 00 00 C4 0C A0 [20:54:58]RasterBufferAndPrint [20:54:58]line [20:54:58]line [20:54:58]line [20:54:58]line [20:54:58]line [20:54:58]written 0, free lines is 3273 [20:54:58]MH_Cut [20:54:58]Write to MH i2c: D1 01 00 C8 08 01 A2 [20:54:58]Write i2c OK [20:54:58]MH_I2C_Read... [20:54:58]Read from MH i2c: D1 [20:54:58]MH_I2C_Read... [20:54:58]Read from MH i2c: D1 01 00 [20:54:58]MH_I2C_Read... [20:54:58]Read from MH i2c: D1 01 00 C8 08 00 A1 [20:54:58]Write to MH i2c: 01 00 00 C9 08 D1 [20:54:58]Write i2c OK [20:54:58]MH_I2C_Read... [20:54:58]OFD Sender: No OFD packet to send [20:54:58]*** Cut start [20:54:58]*** Partial cut [20:54:58]*** CUTSNS_PIN = 1 [20:54:58]*** CUTSNS_PIN = 0 [20:54:59]*** Brake cut motor [20:54:59]Read from MH i2c: 01 [20:54:59]MH_I2C_Read... [20:54:59]*** Stop cut motor [20:54:59]*** Cut end [20:54:59]Read from MH i2c: 01 07 00 [20:54:59]MH_I2C_Read... [20:54:59]Read from MH i2c: 01 07 00 C9 08 00 00 00 00 00 FF 0F E6 [20:54:59]process_action close_receipt done [20:54:59]requested_data is exist [20:54:59]produce_requested_data [20:54:59]requested_item fm.sn is exist - process it [20:54:59]wFMCommunicate request_size=4 [20:54:59]MH_SAM_APDU [20:54:59]CAPDU: 80 11 00 00 [20:54:59]Write to MH i2c: E2 08 00 CA 08 80 11 00 00 00 00 00 00 4C [20:54:59]Write i2c OK [20:54:59]MH_I2C_Read... [20:54:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:59]Read from MH i2c: E2 [20:54:59]MH_I2C_Read... [20:54:59]Read from MH i2c: E2 17 00 [20:54:59]MH_I2C_Read... [20:54:59]Read from MH i2c: E2 17 00 CA 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 A3 [20:54:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:54:59]wFMCommunicate OK [20:54:59]requested_item fd.num is exist - process it [20:54:59]SAM_PROTO_GetFieldsCounters [20:54:59]wFMCommunicate request_size=4 [20:54:59]MH_SAM_APDU [20:54:59]CAPDU: 80 13 00 00 [20:54:59]Write to MH i2c: E2 08 00 CB 08 80 13 00 00 00 00 00 00 4F [20:54:59]Write i2c OK [20:54:59]MH_I2C_Read... [20:54:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:54:59]Read from MH i2c: E2 [20:54:59]MH_I2C_Read... [20:54:59]Read from MH i2c: E2 62 00 [20:54:59]MH_I2C_Read... [20:54:59]Read from MH i2c: E2 62 00 CB 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 42 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8D 00 00 00 5E 04 04 00 8D 00 00 00 57 04 04 00 8E 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [20:54:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 42 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8D 00 00 00 5E 04 04 00 8D 00 00 00 57 04 04 00 8E 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:54:59]wFMCommunicate OK [20:54:59]SAM_PROTO_GetFieldsCounters done [20:54:59]requested_item shift.num is exist - process it [20:54:59]requested_item shift.opened is exist - process it [20:54:59]req_shift_opened [20:54:59]FM_GetShiftState [20:54:59]SAM_PROTO_GetShiftState [20:54:59]wFMCommunicate request_size=4 [20:54:59]MH_SAM_APDU [20:54:59]CAPDU: 80 13 01 00 [20:54:59]Write to MH i2c: E2 08 00 CC 08 80 13 01 00 00 00 00 00 51 [20:54:59]Write i2c OK [20:54:59]MH_I2C_Read... [20:54:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:59]Read from MH i2c: E2 [20:54:59]MH_I2C_Read... [20:54:59]Read from MH i2c: E2 0E 00 [20:54:59]MH_I2C_Read... [20:54:59]Read from MH i2c: E2 0E 00 CC 08 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 01 [20:54:59]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:54:59]wFMCommunicate OK [20:54:59]SAM_PROTO_GetShiftState done [20:54:59]FM_GetShiftState done [20:54:59]req_shift_opened done [20:54:59]requested_item shift.open_date is exist - process it [20:54:59]req_shift_open_date [20:54:59]req_shift_open_date done [20:54:59]produce_requested_data done [20:54:59]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68418,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [20:54:59]process_action_free close_receipt [20:54:59]json_value_free [20:54:59]json_value_free done [20:54:59]process_json_proto returns [20:54:59]Send response to host [20:54:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68418,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [20:54:59]free response buf [20:54:59]execute_script done [20:54:59]execute_script returns [20:54:59]free content buf [20:54:59]Sock 10.Close socket [20:54:59]Sock 10.Thread stoped [20:55:03]OFD Sender: No OFD packet to send [20:55:08]OFD Sender: No OFD packet to send [20:55:13]OFD Sender: No OFD packet to send [20:55:18]OFD Sender: No OFD packet to send [20:55:23]OFD Sender: No OFD packet to send [20:55:28]OFD Sender: No OFD packet to send [20:55:33]OFD Sender: No OFD packet to send [20:55:38]OFD Sender: No OFD packet to send [20:55:43]OFD Sender: No OFD packet to send [20:55:48]OFD Sender: No OFD packet to send [20:55:53]OFD Sender: No OFD packet to send [20:55:58]OFD Sender: No OFD packet to send [20:56:03]OFD Sender: No OFD packet to send [20:56:08]OFD Sender: No OFD packet to send [20:56:13]OFD Sender: No OFD packet to send [20:56:18]OFD Sender: No OFD packet to send [20:56:23]OFD Sender: No OFD packet to send [20:56:28]OFD Sender: No OFD packet to send [20:56:33]OFD Sender: No OFD packet to send [20:56:38]OFD Sender: No OFD packet to send [20:56:43]OFD Sender: No OFD packet to send [20:56:48]OFD Sender: No OFD packet to send [20:56:53]OFD Sender: No OFD packet to send [20:56:58]OFD Sender: No OFD packet to send [20:57:03]OFD Sender: No OFD packet to send [20:57:08]OFD Sender: No OFD packet to send [20:57:13]OFD Sender: No OFD packet to send [20:57:18]OFD Sender: No OFD packet to send [20:57:23]OFD Sender: No OFD packet to send [20:57:28]OFD Sender: No OFD packet to send [20:57:33]OFD Sender: No OFD packet to send [20:57:38]OFD Sender: No OFD packet to send [20:57:43]OFD Sender: No OFD packet to send [20:57:48]OFD Sender: No OFD packet to send [20:57:53]OFD Sender: No OFD packet to send [20:57:58]OFD Sender: No OFD packet to send [20:58:03]OFD Sender: No OFD packet to send [20:58:08]OFD Sender: No OFD packet to send [20:58:13]OFD Sender: No OFD packet to send [20:58:18]OFD Sender: No OFD packet to send [20:58:23]OFD Sender: No OFD packet to send [20:58:28]OFD Sender: No OFD packet to send [20:58:33]OFD Sender: No OFD packet to send [20:58:38]OFD Sender: No OFD packet to send [20:58:43]OFD Sender: No OFD packet to send [20:58:48]OFD Sender: No OFD packet to send [20:58:53]OFD Sender: No OFD packet to send [20:58:58]OFD Sender: No OFD packet to send [20:59:03]OFD Sender: No OFD packet to send [20:59:08]OFD Sender: No OFD packet to send [20:59:13]OFD Sender: No OFD packet to send [20:59:18]OFD Sender: No OFD packet to send [20:59:22]int [20:59:22]Write to MH i2c: 01 00 00 CD 08 D5 [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 [20:59:22]MH_I2C_Read... [20:59:22]*** FLAG_PRN_KEY set [20:59:22]*** FLAG_PRN_KEY reset [20:59:22]Read from MH i2c: 01 07 00 CD 08 00 00 00 00 00 FF 0F EA [20:59:22]state=0 [20:59:22]int [20:59:22]Write to MH i2c: 01 00 00 CE 08 D6 [20:59:22]*** FLAG_PRN_KEY set [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 CE 08 00 08 00 00 00 FF 0F F3 [20:59:22]state=0 [20:59:22]Key pressed [20:59:22]Feed [20:59:22]Write to MH i2c: D8 00 00 CF 08 AE [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: D8 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: D8 01 00 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: D8 01 00 CF 08 00 AF [20:59:22]int [20:59:22]Write to MH i2c: 01 00 00 D0 08 D8 [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 D0 08 00 48 00 00 00 3C 00 63 [20:59:22]state=2 [20:59:22]Key pressed [20:59:22]int [20:59:22]Write to MH i2c: 01 00 00 D1 08 D9 [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 [20:59:22]MH_I2C_Read... [20:59:22]*** FLAG_PRN_KEY reset [20:59:22]*** FLAG_PRN_KEY set [20:59:22]Read from MH i2c: 01 07 00 D1 08 00 08 00 00 00 F5 0F EC [20:59:22]state=2 [20:59:22]Key pressed [20:59:22]int line is 0 - check status [20:59:22]Write to MH i2c: 01 00 00 D2 08 DA [20:59:22]*** FLAG_PRN_KEY reset [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 D2 08 00 00 00 00 00 F8 0F E8 [20:59:22]state=2 [20:59:22]Stop feed [20:59:22]int [20:59:22]Write to MH i2c: 01 00 00 D3 08 DB [20:59:22]Write i2c OK [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 [20:59:22]MH_I2C_Read... [20:59:22]Read from MH i2c: 01 07 00 D3 08 00 00 00 00 00 F9 0F EA [20:59:22]state=0 [20:59:23]OFD Sender: No OFD packet to send [20:59:27]accept exits with 8 [20:59:27]New connection [20:59:27]New thread 3066715492 created [20:59:27]Thread 3066858852 joined [20:59:27]Waiting for new connection... [20:59:27] Sock 8.Parse request [20:59:27]Sock 8.Check first char [20:59:27]Sock 8.First char is OK [20:59:27]request: POST /json_proto HTTP/1.0 [20:59:27]Method: POST [20:59:27]URL: /json_proto [20:59:27]Method is POST - this is cgi request [20:59:27]url: /json_proto [20:59:27]query_string will be loaded in cgi processing [20:59:27]execute_cgi json_proto POST (null) [20:59:27]execute_cgi path=json_proto method=POST [20:59:27]POST find Content-Length [20:59:27]Host: 172.17.42.3:8080 [20:59:27]Content-Length: 681 [20:59:27]Content-Type: application/json [20:59:27] [20:59:27]POST finish read [20:59:27]Found Content-Length = 681 [20:59:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46409", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 31.700, "sum" : 2352.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 6000.00, "total" : 2352.00, "payments": [ { "type": 0, "sum" : 2352.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:59:27]execute_script... [20:59: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)46409", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 31.700, "sum" : 2352.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 6000.00, "total" : 2352.00, "payments": [ { "type": 0, "sum" : 2352.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:59:27]POST & json_proto [20:59:27]process_json_proto [20:59:27]json parsed OK: [20:59:27]protocol is kg_v1.0 [20:59:27]action value=close_receipt [20:59:27]process_action close_receipt [20:59:27]cmd_close_receipt [20:59:27]MH_GetDate [20:59:27]Write to MH i2c: F0 00 00 D4 08 CB [20:59:27]Write i2c OK [20:59:27]MH_I2C_Read... [20:59:27]Read from MH i2c: F0 [20:59:27]MH_I2C_Read... [20:59:27]Read from MH i2c: F0 09 00 [20:59:27]MH_I2C_Read... [20:59:27]Read from MH i2c: F0 09 00 D4 08 00 B1 4C 21 67 28 A1 20 67 A9 [20:59:27]GetLastDocTimeStamp 1730235297 [20:59:27]current date 1730235569 [20:59:27]FM_GetShiftState [20:59:27]SAM_PROTO_GetShiftState [20:59:27]wFMCommunicate request_size=4 [20:59:27]MH_SAM_APDU [20:59:27]CAPDU: 80 13 01 00 [20:59:27]Write to MH i2c: E2 08 00 D5 08 80 13 01 00 00 00 00 00 5A [20:59:27]Write i2c OK [20:59:27]MH_I2C_Read... [20:59:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:27]Read from MH i2c: E2 [20:59:27]MH_I2C_Read... [20:59:27]Read from MH i2c: E2 0E 00 [20:59:27]MH_I2C_Read... [20:59:27]Read from MH i2c: E2 0E 00 D5 08 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 0A [20:59:27]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:59:27]wFMCommunicate OK [20:59:27]SAM_PROTO_GetShiftState done [20:59:27]FM_GetShiftState done [20:59:27]opened in 1730160885 [20:59:27]opened+sec_in_day 1730247285 [20:59:27]quantity*price = 235214 [20:59:27]sum+1 = 235215 [20:59:27]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.14 ИТОГО: 2352.00 Внесено: 6000.00 СДАЧА: 3648.00 НСП 1% : 20.81 НДС 12% : 249.78 Наличными: 2352.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 142 29.10.2024 20:59 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68419 ФПД: 14275051164296 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T205929&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68419&fm=14275051164296&tin=02508201610067®Number=0000000000091759&sum=235200 [20:59:28]StoreToDocumentArchive [20:59:28]shift 548 fd 68419 [20:59:28]save to /storage/0548/doc_00068419 [20:59:28]save last doc name /storage/0548/doc_00068419 to /storage/kkm_last_doc_name [20:59:28]save OK [20:59:28]Clear old archive folders... [20:59:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:59:28]tlvbuf is 01DE3300 [20:59:28]SAM_PROTO_ClearQueue [20:59:28]wFMCommunicate request_size=4 [20:59:28]MH_SAM_APDU [20:59:28]CAPDU: 80 09 00 00 [20:59:28]Write to MH i2c: E2 08 00 E2 08 80 09 00 00 00 00 00 00 5C [20:59:28]Write i2c OK [20:59:28]MH_I2C_Read... [20:59:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:59:28]Read from MH i2c: E2 [20:59:28]MH_I2C_Read... [20:59:28]Read from MH i2c: E2 03 00 [20:59:28]MH_I2C_Read... [20:59:28]Read from MH i2c: E2 03 00 E2 08 00 90 00 5E [20:59:28]RAPDU: 90 00 [20:59:28]wFMCommunicate OK [20:59:28]SAM_PROTO_ClearQueue done [20:59:28]KKMCreateOFDPacket [20:59:28]OFDProtocolAddRootSTLVToBuf [20:59:28]FM_MakeSignedData [20:59:28]FM_MakeSignedData [20:59:28]SAM_PROTO_SignData [20:59:28]wFMCommunicate request_size=4 [20:59:28]MH_SAM_APDU [20:59:28]CAPDU: 80 0D 01 02 [20:59:28]Write to MH i2c: E2 08 00 E3 08 80 0D 01 02 00 00 00 00 64 [20:59:28]Write i2c OK [20:59:28]MH_I2C_Read... [20:59:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:59:28]Read from MH i2c: E2 [20:59:28]MH_I2C_Read... [20:59:28]Read from MH i2c: E2 03 00 [20:59:28]MH_I2C_Read... [20:59:28]Read from MH i2c: E2 03 00 E3 08 00 90 00 5F [20:59:28]RAPDU: 90 00 [20:59:28]wFMCommunicate OK [20:59:28]wFMCommunicate request_size=255 [20:59:28]MH_SAM_APDU [20:59: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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 D4 7B 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 CE 96 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 96 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 61 00 00 00 00 07 04 06 00 C0 96 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8E 00 00 00 F4 03 04 00 B1 4C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 43 0B 01 00 35 04 06 00 0C [20:59:28]Write to MH i2c: E2 02 01 E4 08 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 D4 7B 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 CE 96 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 96 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 61 00 00 00 00 07 04 06 00 C0 96 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8E 00 00 00 F4 03 04 00 B1 4C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 43 0B 01 00 35 04 06 00 0C 00 00 AA [20:59:28]Write i2c OK [20:59:28]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 E4 08 00 90 00 60 [20:59:29]RAPDU: 90 00 [20:59:29]wFMCommunicate OK [20:59:29]wFMCommunicate request_size=10 [20:59:29]MH_SAM_APDU [20:59:29]CAPDU: 80 0D 02 02 05 FB AB 5A 92 88 [20:59:29]Write to MH i2c: E2 0D 00 E5 08 80 0D 02 02 05 00 FB AB 5A 92 88 00 00 8B [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 03 00 E5 08 00 90 00 61 [20:59:29]RAPDU: 90 00 [20:59:29]wFMCommunicate OK [20:59:29]wFMCommunicate request_size=4 [20:59:29]MH_SAM_APDU [20:59:29]CAPDU: 80 0D 03 02 [20:59:29]Write to MH i2c: E2 08 00 E6 08 80 0D 03 02 00 00 00 00 69 [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 0B 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 0B 00 E6 08 00 37 97 96 16 86 FB 72 28 90 00 FF [20:59:29]RAPDU: 37 97 96 16 86 FB 72 28 90 00 [20:59:29]wFMCommunicate OK [20:59:29]SAM_PROTO_SignData done [20:59:29]FM_MakeSignedData done [20:59:29]CreateOFDProtocolMessage [20:59:29]wFMCommunicate request_size=4 [20:59:29]MH_SAM_APDU [20:59:29]CAPDU: 80 11 00 00 [20:59:29]Write to MH i2c: E2 08 00 E7 08 80 11 00 00 00 00 00 00 69 [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:29]Read from MH i2c: E2 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 17 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: E2 17 00 E7 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C0 [20:59:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:59:29]wFMCommunicate OK [20:59:29]CreateOFDProtocolMessage done [20:59:29]OFDSenderStorePacket 68419 [20:59:29]StoreOFDPacket docnum=68419 [20:59:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 CB DE 07 01 29 31 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 33 FF 03 08 00 03 D4 7B 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 CE 96 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 96 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 61 00 00 00 00 07 04 06 00 C0 96 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8E 00 00 00 F4 03 04 00 B1 4C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 43 0B 01 00 35 04 06 00 0C FB AB 5A 92 88 37 97 96 16 86 FB 72 28 [20:59:29]CheckFolder [20:59:29]dirname=/storage/ofd_packets [20:59:29]CheckFolder done [20:59:29]ProducePacketName [20:59:29]name=ofd_packets/00068419 [20:59:29]NVStorageSaveData ofd_packets/00068419 [20:59:29]File name is /storage/ofd_packets/00068419 [20:59:29]Write 301 bytes [20:59:29]NVStorageSaveData done [20:59:29]OFDSenderStorePacket done [20:59:29]KKMCreateOFDPacket done [20:59:29]NVStorageSaveData kkm_last_timestamp [20:59:29]File name is /storage/kkm_last_timestamp [20:59:29]Write 4 bytes [20:59:29]NVStorageSaveData done [20:59:29]ExternCall_PrintAddStr [20:59:29]wPrintStart [20:59:29]Write to MH i2c: 01 00 00 E8 08 F0 [20:59:29]Write i2c OK [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: 01 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: 01 07 00 [20:59:29]MH_I2C_Read... [20:59:29]Read from MH i2c: 01 07 00 E8 08 00 00 00 00 00 FF 0F 05 [20:59:29]RasterBufferAndPrint [20:59:29]line Счет N : (1)46409 [20:59:29]line ИНН: 02508201610067 [20:59:29]line Контрольно-Кассовый Чек [20:59:29]line ПРОДАЖА [20:59:29]line ТРК (МРК, ГНК) : 44 [20:59:29]line Товар: 2710124500 [20:59:29]line Аи-95-К-3 [20:59:29]line 31.700 * 74.20 [20:59:29]line = 2352.14 [20:59:29]line НДС 12% НСП 1% [20:59:29]line > о реализуемом товаре [20:59:29]line ОКРУГЛЕНИЕ: -0.14 [20:59:29]line ИТОГО: 2352.00 [20:59:29]line Внесено: 6000.00 [20:59:29]line СДАЧА: 3648.00 [20:59:29]line НСП 1% : 20.81 [20:59:29]line НДС 12% : 249.78 [20:59:29]line Наличными: 2352.00 [20:59:29]line Безнал.: 0.00 [20:59:29]line Место: АЗС № 160 "Партнер Нефть" [20:59:29]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:59:29]line СНО: Общий режим [20:59:29]line Чек 142 29.10.2024 20:59 [20:59:29]line Смена: 548 ФФД: 1.0 [20:59:29]line ЗНМ: 0300000093 [20:59:29]line РНМ: 0000000000091759 [20:59:29]line Версия ККМ: 001 [20:59:29]line ФМ: 0000000000871758 [20:59:29]line ФД: 68419 [20:59:29]line ФПД: 14275051164296 [20:59:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T205929&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68419&fm=14275051164296&tin=02508201610067®Number=0000000000091759&sum=235200 [20:59:29]OFD Sender: Processing packet 68419 [packets to send 28, broken 27] [20:59:29]ProducePacketName [20:59:29]name=ofd_packets/00068419 [20:59:29]OFD Sender: To server: pG, [20:59:29]CommunicateWithHost lk.salyk.kg:30040 [20:59:29]ConnectInit lk.salyk.kg [20:59:29]written 0, free lines is 4095 [20:59:29]Connected sock=10 [20:59:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 CB DE 07 01 29 31 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 33 FF 03 08 00 03 D4 7B 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 CE 96 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 96 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 61 00 00 00 00 07 04 06 00 C0 96 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8E 00 00 00 F4 03 04 00 B1 4C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 43 0B 01 00 35 04 06 00 0C FB AB 5A 92 88 37 97 96 16 86 FB 72 28 [20:59:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 C1 24 47 00 77 DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 43 0B 01 00 F4 03 04 00 58 F8 20 67 B6 04 01 00 00 3C ED 69 D8 5E F4 FE A0 [20:59:30]CommunicateWithHost err = 0 [20:59:30]CheckOFDResponse [20:59:30]1017 (14) - 77093643461234 [20:59:30]1041 (16) - 0000000000871758 [20:59:30]1040 (4) - 68419 [20:59:30]1012 (4) - 29.10.2024 14:59 [20:59:30]1206 (1) - 0 [20:59:30]OFD Sender: Remove packet 68419 [20:59:30]ProducePacketName [20:59:30]name=ofd_packets/00068419 [20:59:30]NVStorageDeleteData [20:59:30]Write to MH i2c: 01 00 00 12 09 1B [20:59:30]Write i2c OK [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: 01 [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: 01 07 00 [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: 01 07 00 12 09 00 00 00 00 00 C2 0C F0 [20:59:30]RasterBufferAndPrint [20:59:30]line [20:59:30]line [20:59:30]line [20:59:30]line [20:59:30]line [20:59:30]written 0, free lines is 3272 [20:59:30]MH_Cut [20:59:30]Write to MH i2c: D1 01 00 19 09 01 F4 [20:59:30]Write i2c OK [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: D1 [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: D1 01 00 [20:59:30]MH_I2C_Read... [20:59:30]Read from MH i2c: D1 01 00 19 09 00 F3 [20:59:30]Write to MH i2c: 01 00 00 1A 09 23 [20:59:30]Write i2c OK [20:59:30]MH_I2C_Read... [20:59:30]OFD Sender: No OFD packet to send [20:59:31]*** Cut start [20:59:31]*** Partial cut [20:59:31]*** CUTSNS_PIN = 1 [20:59:31]*** CUTSNS_PIN = 0 [20:59:31]*** Brake cut motor [20:59:31]Read from MH i2c: 01 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 07 00 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 07 00 1A 09 00 00 00 00 00 FF 0F 38 [20:59:31]process_action close_receipt done [20:59:31]requested_data is exist [20:59:31]produce_requested_data [20:59:31]requested_item fm.sn is exist - process it [20:59:31]wFMCommunicate request_size=4 [20:59:31]MH_SAM_APDU [20:59:31]CAPDU: 80 11 00 00 [20:59:31]Write to MH i2c: E2 08 00 1B 09 80 11 00 00 00 00 00 00 9E [20:59:31]int [20:59:31]*** Stop cut motor [20:59:31]*** Cut end [20:59:31]*** FLAG_PRN_KEY set [20:59:31]Write i2c OK [20:59:31]MH_I2C_Read... [20:59:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:31]Read from MH i2c: E2 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: E2 17 00 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: E2 17 00 1B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F5 [20:59:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:59:31]wFMCommunicate OK [20:59:31]requested_item fd.num is exist - process it [20:59:31]SAM_PROTO_GetFieldsCounters [20:59:31]wFMCommunicate request_size=4 [20:59:31]MH_SAM_APDU [20:59:31]CAPDU: 80 13 00 00 [20:59:31]Write to MH i2c: E2 08 00 1C 09 80 13 00 00 00 00 00 00 A1 [20:59:31]Write i2c OK [20:59:31]MH_I2C_Read... [20:59:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:59:31]*** FLAG_PRN_KEY reset [20:59:31]Read from MH i2c: E2 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: E2 62 00 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: E2 62 00 1C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 43 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8E 00 00 00 5E 04 04 00 8E 00 00 00 57 04 04 00 8F 00 00 00 19 04 04 00 00 00 00 00 90 00 EB [20:59:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 Write to MH i2c: 30 01 30 00 30 00 30 1D 30 09 30 26 30 [20:59:31]30 30 39 31 37 35 39 10 04 04 00 43 0B Write i2c OK [20:59:31]01 MH_I2C_Read... [20:59:31]00 Read from MH i2c: 0E 01 04 [20:59:31]04 MH_I2C_Read... [20:59:31]00 24 Read from MH i2c: 02 01 00 07 00 00 12 [20:59:31]04 MH_I2C_Read... [20:59:31]04 00 8E 00 00 Read from MH i2c: 00 01 5E 07 04 00 04 1D 00 09 00 8E 00 00 00 00 00 00 57 04 00 04 FF 00 0F 8F 3B 00 00 [20:59:31]00 state=0 [20:59:31]19 04 04 00 00 00 00 00 90 00 [20:59:31]wFMCommunicate OK [20:59:31]SAM_PROTO_GetFieldsCounters done [20:59:31]requested_item shift.num is exist - process it [20:59:31]requested_item shift.opened is exist - process it [20:59:31]req_shift_opened [20:59:31]FM_GetShiftState [20:59:31]SAM_PROTO_GetShiftState [20:59:31]wFMCommunicate request_size=4 [20:59:31]MH_SAM_APDU [20:59:31]CAPDU: 80 13 01 00 [20:59:31]Write to MH i2c: E2 08 00 1E 09 80 13 01 00 00 00 00 00 A4 [20:59:31]Write i2c OK [20:59:31]MH_I2C_Read... [20:59:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:31]Read from MH i2c: E2 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: E2 0E 00 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: E2 0E 00 1E 09 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 54 [20:59:31]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [20:59:31]wFMCommunicate OK [20:59:31]SAM_PROTO_GetShiftState done [20:59:31]FM_GetShiftState done [20:59:31]req_shift_opened done [20:59:31]requested_item shift.open_date is exist - process it [20:59:31]req_shift_open_date [20:59:31]req_shift_open_date done [20:59:31]produce_requested_data done [20:59:31]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68419,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [20:59:31]process_action_free close_receipt [20:59:31]json_value_free [20:59:31]json_value_free done [20:59:31]process_json_proto returns [20:59:31]Send response to host [20:59:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68419,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [20:59:31]free response buf [20:59:31]execute_script done [20:59:31]execute_script returns [20:59:31]free content buf [20:59:31]Sock 8.Close socket [20:59:31]Sock 8.Thread stoped [20:59:31]int [20:59:31]Write to MH i2c: 01 00 00 1F 09 28 [20:59:31]Write i2c OK [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 07 00 [20:59:31]MH_I2C_Read... [20:59:31]*** FLAG_PRN_KEY set [20:59:31]*** FLAG_PRN_KEY reset [20:59:31]*** FLAG_PRN_KEY set [20:59:31]Read from MH i2c: 01 07 00 1F 09 00 00 00 00 00 FF 0F 3D [20:59:31]state=0 [20:59:31]int line is 0 - check status [20:59:31]Write to MH i2c: 01 00 00 20 09 29 [20:59:31]Write i2c OK [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 07 00 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 07 00 20 09 00 08 00 00 00 FF 0F 46 [20:59:31]state=0 [20:59:31]Key pressed [20:59:31]Feed [20:59:31]Write to MH i2c: D8 00 00 21 09 01 [20:59:31]Write i2c OK [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: D8 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: D8 01 00 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: D8 01 00 21 09 00 02 [20:59:31]int [20:59:31]Write to MH i2c: 01 00 00 22 09 2B [20:59:31]Write i2c OK [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 07 00 [20:59:31]MH_I2C_Read... [20:59:31]Read from MH i2c: 01 07 00 22 09 00 48 00 00 00 3C 00 B6 [20:59:31]state=2 [20:59:31]Key pressed [20:59:32]int [20:59:32]Write to MH i2c: 01 00 00 23 09 2C [20:59:32]Write i2c OK [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 07 00 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 07 00 23 09 00 08 00 00 00 F6 0F 40 [20:59:32]state=2 [20:59:32]Key pressed [20:59:32]int line is 0 - check status [20:59:32]Write to MH i2c: 01 00 00 24 09 2D [20:59:32]*** FLAG_PRN_KEY reset [20:59:32]*** FLAG_PRN_KEY set [20:59:32]*** FLAG_PRN_KEY reset [20:59:32]Write i2c OK [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 07 00 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 07 00 24 09 00 00 00 00 00 FD 0F 40 [20:59:32]state=2 [20:59:32]Stop feed [20:59:32]int [20:59:32]Write to MH i2c: 01 00 00 25 09 2E [20:59:32]Write i2c OK [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 07 00 [20:59:32]MH_I2C_Read... [20:59:32]Read from MH i2c: 01 07 00 25 09 00 00 00 00 00 FF 0F 43 [20:59:32]state=0 [20:59:35]OFD Sender: No OFD packet to send [20:59:40]OFD Sender: No OFD packet to send [20:59:45]OFD Sender: No OFD packet to send [20:59:50]OFD Sender: No OFD packet to send [20:59:55]OFD Sender: No OFD packet to send [21:00:00]OFD Sender: No OFD packet to send [21:00:05]OFD Sender: No OFD packet to send [21:00:10]OFD Sender: No OFD packet to send [21:00:15]OFD Sender: No OFD packet to send [21:00:20]OFD Sender: No OFD packet to send [21:00:25]OFD Sender: No OFD packet to send [21:00:30]OFD Sender: No OFD packet to send [21:00:35]OFD Sender: No OFD packet to send [21:00:40]OFD Sender: No OFD packet to send [21:00:45]OFD Sender: No OFD packet to send [21:00:46]accept exits with 9 [21:00:46]New connection [21:00:46]New thread 3066858852 created [21:00:46]Thread 3066715492 joined [21:00:46]Waiting for new connection... [21:00:46] Sock 9.Parse request [21:00:46]Sock 9.Check first char [21:00:46]Sock 9.First char is OK [21:00:46]request: POST /json_proto HTTP/1.0 [21:00:46]Method: POST [21:00:46]URL: /json_proto [21:00:46]Method is POST - this is cgi request [21:00:46]url: /json_proto [21:00:46]query_string will be loaded in cgi processing [21:00:46]execute_cgi json_proto POST (null) [21:00:46]execute_cgi path=json_proto method=POST [21:00:46]POST find Content-Length [21:00:46]Host: 172.17.42.3:8080 [21:00:46]Content-Length: 644 [21:00:46]Content-Type: application/json [21:00:46] [21:00:46]POST finish read [21:00:46]Found Content-Length = 644 [21:00:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17252", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:00:46]execute_script... [21:00:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17252", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:00:46]POST & json_proto [21:00:46]process_json_proto [21:00:46]json parsed OK: [21:00:46]protocol is kg_v1.0 [21:00:46]action value=close_receipt [21:00:46]process_action close_receipt [21:00:46]cmd_close_receipt [21:00:46]MH_GetDate [21:00:46]Write to MH i2c: F0 00 00 26 09 1E [21:00:46]Write i2c OK [21:00:46]MH_I2C_Read... [21:00:46]Read from MH i2c: F0 [21:00:46]MH_I2C_Read... [21:00:46]Read from MH i2c: F0 09 00 [21:00:46]MH_I2C_Read... [21:00:46]Read from MH i2c: F0 09 00 26 09 00 FF 4C 21 67 28 A1 20 67 4A [21:00:46]GetLastDocTimeStamp 1730235569 [21:00:46]current date 1730235647 [21:00:46]FM_GetShiftState [21:00:46]SAM_PROTO_GetShiftState [21:00:46]wFMCommunicate request_size=4 [21:00:46]MH_SAM_APDU [21:00:46]CAPDU: 80 13 01 00 [21:00:46]Write to MH i2c: E2 08 00 27 09 80 13 01 00 00 00 00 00 AD [21:00:46]Write i2c OK [21:00:46]MH_I2C_Read... [21:00:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:00:46]Read from MH i2c: E2 [21:00:46]MH_I2C_Read... [21:00:46]Read from MH i2c: E2 0E 00 [21:00:46]MH_I2C_Read... [21:00:46]Read from MH i2c: E2 0E 00 27 09 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 5D [21:00:46]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:00:46]wFMCommunicate OK [21:00:46]SAM_PROTO_GetShiftState done [21:00:46]FM_GetShiftState done [21:00:46]opened in 1730160885 [21:00:46]opened+sec_in_day 1730247285 [21:00:46]quantity*price = 7900 [21:00:46]sum+1 = 7901 [21:00:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 79.00 НСП 1% : 0.70 НДС 12% : 8.39 Наличными: 79.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 143 29.10.2024 21:00 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68420 ФПД: 128621078227084 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210047&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68420&fm=128621078227084&tin=02508201610067®Number=0000000000091759&sum=7900 0 [21:00:47]StoreToDocumentArchive [21:00:47]shift 548 fd 68420 [21:00:47]save to /storage/0548/doc_00068420 [21:00:47]save last doc name /storage/0548/doc_00068420 to /storage/kkm_last_doc_name [21:00:47]save OK [21:00:47]Clear old archive folders... [21:00:47]ProcessDocumentItem done err = 0, tmpTLVsize=276 [21:00:47]tlvbuf is 01E084A0 [21:00:47]SAM_PROTO_ClearQueue [21:00:47]wFMCommunicate request_size=4 [21:00:47]MH_SAM_APDU [21:00:47]CAPDU: 80 09 00 00 [21:00:47]Write to MH i2c: E2 08 00 34 09 80 09 00 00 00 00 00 00 AF [21:00:47]Write i2c OK [21:00:47]MH_I2C_Read... [21:00:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:00:47]Read from MH i2c: E2 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 03 00 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 03 00 34 09 00 90 00 B1 [21:00:47]RAPDU: 90 00 [21:00:47]wFMCommunicate OK [21:00:47]SAM_PROTO_ClearQueue done [21:00:47]KKMCreateOFDPacket [21:00:47]OFDProtocolAddRootSTLVToBuf [21:00:47]FM_MakeSignedData [21:00:47]FM_MakeSignedData [21:00:47]SAM_PROTO_SignData [21:00:47]wFMCommunicate request_size=4 [21:00:47]MH_SAM_APDU [21:00:47]CAPDU: 80 0D 01 02 [21:00:47]Write to MH i2c: E2 08 00 35 09 80 0D 01 02 00 00 00 00 B7 [21:00:47]Write i2c OK [21:00:47]MH_I2C_Read... [21:00:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:00:47]Read from MH i2c: E2 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 03 00 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 03 00 35 09 00 90 00 B2 [21:00:47]RAPDU: 90 00 [21:00:47]wFMCommunicate OK [21:00:47]wFMCommunicate request_size=255 [21:00:47]MH_SAM_APDU [21:00:47]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8F 00 00 00 F4 03 04 00 FF 4C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 [21:00:47]Write to MH i2c: E2 02 01 36 09 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8F 00 00 00 F4 03 04 00 FF 4C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 00 00 28 [21:00:47]Write i2c OK [21:00:47]MH_I2C_Read... [21:00:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:00:47]Read from MH i2c: E2 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 03 00 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 03 00 36 09 00 90 00 B3 [21:00:47]RAPDU: 90 00 [21:00:47]wFMCommunicate OK [21:00:47]wFMCommunicate request_size=35 [21:00:47]MH_SAM_APDU [21:00:47]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 44 0B 01 00 35 04 06 00 74 FA ED AD A8 8C [21:00:47]Write to MH i2c: E2 26 00 37 09 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 44 0B 01 00 35 04 06 00 74 FA ED AD A8 8C 00 00 3D [21:00:47]Write i2c OK [21:00:47]MH_I2C_Read... [21:00:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:00:47]Read from MH i2c: E2 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 03 00 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 03 00 37 09 00 90 00 B4 [21:00:47]RAPDU: 90 00 [21:00:47]wFMCommunicate OK [21:00:47]wFMCommunicate request_size=4 [21:00:47]MH_SAM_APDU [21:00:47]CAPDU: 80 0D 03 02 [21:00:47]Write to MH i2c: E2 08 00 38 09 80 0D 03 02 00 00 00 00 BC [21:00:47]Write i2c OK [21:00:47]MH_I2C_Read... [21:00:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:00:47]Read from MH i2c: E2 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 0B 00 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 0B 00 38 09 00 90 FE 53 F7 D2 00 F4 FC 90 00 57 [21:00:47]RAPDU: 90 FE 53 F7 D2 00 F4 FC 90 00 [21:00:47]wFMCommunicate OK [21:00:47]SAM_PROTO_SignData done [21:00:47]FM_MakeSignedData done [21:00:47]CreateOFDProtocolMessage [21:00:47]wFMCommunicate request_size=4 [21:00:47]MH_SAM_APDU [21:00:47]CAPDU: 80 11 00 00 [21:00:47]Write to MH i2c: E2 08 00 39 09 80 11 00 00 00 00 00 00 BC [21:00:47]Write i2c OK [21:00:47]MH_I2C_Read... [21:00:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:00:47]Read from MH i2c: E2 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 17 00 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: E2 17 00 39 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 13 [21:00:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:00:47]wFMCommunicate OK [21:00:47]CreateOFDProtocolMessage done [21:00:47]OFDSenderStorePacket 68420 [21:00:47]StoreOFDPacket docnum=68420 [21:00:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 EA 82 20 01 9C 1A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8F 00 00 00 F4 03 04 00 FF 4C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 44 0B 01 00 35 04 06 00 74 FA ED AD A8 8C 90 FE 53 F7 D2 00 F4 FC [21:00:47]CheckFolder [21:00:47]dirname=/storage/ofd_packets [21:00:47]CheckFolder done [21:00:47]ProducePacketName [21:00:47]name=ofd_packets/00068420 [21:00:47]NVStorageSaveData ofd_packets/00068420 [21:00:47]File name is /storage/ofd_packets/00068420 [21:00:47]Write 326 bytes [21:00:47]NVStorageSaveData done [21:00:47]OFDSenderStorePacket done [21:00:47]KKMCreateOFDPacket done [21:00:47]NVStorageSaveData kkm_last_timestamp [21:00:47]File name is /storage/kkm_last_timestamp [21:00:47]Write 4 bytes [21:00:47]NVStorageSaveData done [21:00:47]ExternCall_PrintAddStr [21:00:47]wPrintStart [21:00:47]Write to MH i2c: 01 00 00 3A 09 43 [21:00:47]Write i2c OK [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: 01 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: 01 07 00 [21:00:47]MH_I2C_Read... [21:00:47]Read from MH i2c: 01 07 00 3A 09 00 00 00 00 00 FF 0F 58 [21:00:47]RasterBufferAndPrint [21:00:47]line Счет N : (3)17252 [21:00:47]line ИНН: 02508201610067 [21:00:47]line Контрольно-Кассовый Чек [21:00:47]line ПРОДАЖА [21:00:47]line Товар: 4700000310043 [21:00:47]line Вода Жалалабат 27 1л [21:00:47]line 1.000 * 79.00 [21:00:47]line = 79.00 [21:00:47]line НДС 12% НСП 1% [21:00:47]line > о реализуемом товаре [21:00:47]line ИТОГО: 79.00 [21:00:47]line НСП 1% : 0.70 [21:00:47]line НДС 12% : 8.39 [21:00:47]line Наличными: 79.00 [21:00:47]line Безнал.: 0.00 [21:00:47]line Место: АЗС № 160 "Партнер Нефть" [21:00:47]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:00:47]line СНО: Общий режим [21:00:47]line Чек 143 29.10.2024 21:00 [21:00:47]line Смена: 548 ФФД: 1.0 [21:00:47]line ЗНМ: 0300000093 [21:00:47]line РНМ: 0000000000091759 [21:00:47]line Версия ККМ: 001 [21:00:47]line ФМ: 0000000000871758 [21:00:47]line ФД: 68420 [21:00:47]line ФПД: 128621078227084 [21:00:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210047&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68420&fm=128621078227084&tin=02508201610067®Number=0000000000091759&sum=7900 [21:00:47]line 0 [21:00:47]written 0, free lines is 4095 [21:00:47]OFD Sender: Processing packet 68420 [packets to send 28, broken 27] [21:00:47]ProducePacketName [21:00:47]name=ofd_packets/00068420 [21:00:47]OFD Sender: To server: pG, [21:00:47]CommunicateWithHost lk.salyk.kg:30040 [21:00:47]ConnectInit lk.salyk.kg [21:00:47]Connected sock=10 [21:00:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 EA 82 20 01 9C 1A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8F 00 00 00 F4 03 04 00 FF 4C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 44 0B 01 00 35 04 06 00 74 FA ED AD A8 8C 90 FE 53 F7 D2 00 F4 FC [21:00:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0A 0D 47 00 9C 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 44 0B 01 00 F4 03 04 00 A6 F8 20 67 B6 04 01 00 00 C9 2E 2E DC 4F 5C 62 AE [21:00:48]CommunicateWithHost err = 0 [21:00:48]CheckOFDResponse [21:00:48]1017 (14) - 77093643461234 [21:00:48]1041 (16) - 0000000000871758 [21:00:48]1040 (4) - 68420 [21:00:48]1012 (4) - 29.10.2024 15:00 [21:00:48]1206 (1) - 0 [21:00:48]OFD Sender: Remove packet 68420 [21:00:48]ProducePacketName [21:00:48]name=ofd_packets/00068420 [21:00:48]NVStorageDeleteData [21:00:48]Write to MH i2c: 01 00 00 61 09 6A [21:00:48]Write i2c OK [21:00:48]MH_I2C_Read... [21:00:48]Read from MH i2c: 01 [21:00:48]MH_I2C_Read... [21:00:48]Read from MH i2c: 01 07 00 [21:00:48]MH_I2C_Read... [21:00:48]Read from MH i2c: 01 07 00 61 09 00 00 00 00 00 E9 0C 66 [21:00:48]RasterBufferAndPrint [21:00:48]line [21:00:48]line [21:00:48]line [21:00:48]line [21:00:48]line [21:00:48]written 0, free lines is 3312 [21:00:48]MH_Cut [21:00:48]Write to MH i2c: D1 01 00 68 09 01 43 [21:00:48]Write i2c OK [21:00:48]MH_I2C_Read... [21:00:48]Read from MH i2c: D1 [21:00:48]MH_I2C_Read... [21:00:48]Read from MH i2c: D1 01 00 [21:00:48]MH_I2C_Read... [21:00:48]Read from MH i2c: D1 01 00 68 09 00 42 [21:00:48]Write to MH i2c: 01 00 00 69 09 72 [21:00:48]Write i2c OK [21:00:48]MH_I2C_Read... [21:00:48]OFD Sender: No OFD packet to send [21:00:48]*** Cut start [21:00:48]*** Partial cut [21:00:48]*** CUTSNS_PIN = 1 [21:00:48]*** CUTSNS_PIN = 0 [21:00:49]*** Brake cut motor [21:00:49]Read from MH i2c: 01 [21:00:49]MH_I2C_Read... [21:00:49]*** Stop cut motor [21:00:49]*** Cut end [21:00:49]Read from MH i2c: 01 07 00 [21:00:49]MH_I2C_Read... [21:00:49]Read from MH i2c: 01 07 00 69 09 00 00 00 00 00 FF 0F 87 [21:00:49]process_action close_receipt done [21:00:49]requested_data is exist [21:00:49]produce_requested_data [21:00:49]requested_item fm.sn is exist - process it [21:00:49]wFMCommunicate request_size=4 [21:00:49]MH_SAM_APDU [21:00:49]CAPDU: 80 11 00 00 [21:00:49]Write to MH i2c: E2 08 00 6A 09 80 11 00 00 00 00 00 00 ED [21:00:49]Write i2c OK [21:00:49]MH_I2C_Read... [21:00:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:00:49]Read from MH i2c: E2 [21:00:49]MH_I2C_Read... [21:00:49]Read from MH i2c: E2 17 00 [21:00:49]MH_I2C_Read... [21:00:49]Read from MH i2c: E2 17 00 6A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 44 [21:00:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:00:49]wFMCommunicate OK [21:00:49]requested_item fd.num is exist - process it [21:00:49]SAM_PROTO_GetFieldsCounters [21:00:49]wFMCommunicate request_size=4 [21:00:49]MH_SAM_APDU [21:00:49]CAPDU: 80 13 00 00 [21:00:49]Write to MH i2c: E2 08 00 6B 09 80 13 00 00 00 00 00 00 F0 [21:00:49]Write i2c OK [21:00:49]MH_I2C_Read... [21:00:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:00:49]Read from MH i2c: E2 [21:00:49]MH_I2C_Read... [21:00:49]Read from MH i2c: E2 62 00 [21:00:49]MH_I2C_Read... [21:00:49]Read from MH i2c: E2 62 00 6B 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 44 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8F 00 00 00 5E 04 04 00 8F 00 00 00 57 04 04 00 90 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [21:00:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 44 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 8F 00 00 00 5E 04 04 00 8F 00 00 00 57 04 04 00 90 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:00:49]wFMCommunicate OK [21:00:49]SAM_PROTO_GetFieldsCounters done [21:00:49]requested_item shift.num is exist - process it [21:00:49]requested_item shift.opened is exist - process it [21:00:49]req_shift_opened [21:00:49]FM_GetShiftState [21:00:49]SAM_PROTO_GetShiftState [21:00:49]wFMCommunicate request_size=4 [21:00:49]MH_SAM_APDU [21:00:49]CAPDU: 80 13 01 00 [21:00:49]Write to MH i2c: E2 08 00 6C 09 80 13 01 00 00 00 00 00 F2 [21:00:49]Write i2c OK [21:00:49]MH_I2C_Read... [21:00:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:00:49]Read from MH i2c: E2 [21:00:49]MH_I2C_Read... [21:00:49]Read from MH i2c: E2 0E 00 [21:00:49]MH_I2C_Read... [21:00:49]Read from MH i2c: E2 0E 00 6C 09 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 A2 [21:00:49]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:00:49]wFMCommunicate OK [21:00:49]SAM_PROTO_GetShiftState done [21:00:49]FM_GetShiftState done [21:00:49]req_shift_opened done [21:00:49]requested_item shift.open_date is exist - process it [21:00:49]req_shift_open_date [21:00:49]req_shift_open_date done [21:00:49]produce_requested_data done [21:00:49]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68420,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:00:49]process_action_free close_receipt [21:00:49]json_value_free [21:00:49]json_value_free done [21:00:49]process_json_proto returns [21:00:49]Send response to host [21:00:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68420,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:00:49]free response buf [21:00:49]execute_script done [21:00:49]execute_script returns [21:00:49]free content buf [21:00:49]Sock 9.Close socket [21:00:49]Sock 9.Thread stoped [21:00:53]OFD Sender: No OFD packet to send [21:00:58]OFD Sender: No OFD packet to send [21:01:03]OFD Sender: No OFD packet to send [21:01:08]OFD Sender: No OFD packet to send [21:01:13]OFD Sender: No OFD packet to send [21:01:18]OFD Sender: No OFD packet to send [21:01:23]OFD Sender: No OFD packet to send [21:01:28]OFD Sender: No OFD packet to send [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:23]OFD Sender: No OFD packet to send [21:02:28]OFD Sender: No OFD packet to send [21:02:33]OFD Sender: No OFD packet to send [21:02:38]OFD Sender: No OFD packet to send [21:02:43]OFD Sender: No OFD packet to send [21:02:48]OFD Sender: No OFD packet to send [21:02:53]OFD Sender: No OFD packet to send [21:02:58]OFD Sender: No OFD packet to send [21:03:03]OFD Sender: No OFD packet to send [21:03:08]OFD Sender: No OFD packet to send [21:03:13]OFD Sender: No OFD packet to send [21:03:18]OFD Sender: No OFD packet to send [21:03:23]OFD Sender: No OFD packet to send [21:03:28]OFD Sender: No OFD packet to send [21:03:33]OFD Sender: No OFD packet to send [21:03:38]OFD Sender: No OFD packet to send [21:03:43]OFD Sender: No OFD packet to send [21:03:48]OFD Sender: No OFD packet to send [21:03:53]OFD Sender: No OFD packet to send [21:03:58]OFD Sender: No OFD packet to send [21:04:03]OFD Sender: No OFD packet to send [21:04:08]OFD Sender: No OFD packet to send [21:04:13]OFD Sender: No OFD packet to send [21:04:18]OFD Sender: No OFD packet to send [21:04:23]OFD Sender: No OFD packet to send [21:04:28]OFD Sender: No OFD packet to send [21:04:33]OFD Sender: No OFD packet to send [21:04:38]OFD Sender: No OFD packet to send [21:04:43]OFD Sender: No OFD packet to send [21:04:48]OFD Sender: No OFD packet to send [21:04:53]OFD Sender: No OFD packet to send [21:04:58]OFD Sender: No OFD packet to send [21:05:03]OFD Sender: No OFD packet to send [21:05:08]OFD Sender: No OFD packet to send [21:05:13]OFD Sender: No OFD packet to send [21:05:18]OFD Sender: No OFD packet to send [21:05:23]OFD Sender: No OFD packet to send [21:05:28]OFD Sender: No OFD packet to send [21:05:33]OFD Sender: No OFD packet to send [21:05:38]accept exits with 8 [21:05:38]New connection [21:05:38]New thread 3066715492 created [21:05:38]Thread 3066858852 joined [21:05:38]Waiting for new connection... [21:05:38] Sock 8.Parse request [21:05:38]Sock 8.Check first char [21:05:38]Sock 8.First char is OK [21:05:38]request: POST /json_proto HTTP/1.0 [21:05:38]Method: POST [21:05:38]URL: /json_proto [21:05:38]Method is POST - this is cgi request [21:05:38]url: /json_proto [21:05:38]query_string will be loaded in cgi processing [21:05:38]execute_cgi json_proto POST (null) [21:05:38]execute_cgi path=json_proto method=POST [21:05:38]POST find Content-Length [21:05:38]Host: 172.17.42.3:8080 [21:05:38]Content-Length: 1073 [21:05:38]Content-Type: application/json [21:05:38] [21:05:38]POST finish read [21:05:38]Found Content-Length = 1073 [21:05:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17253", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:05:38]execute_script... [21:05:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17253", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 240.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:05:38]POST & json_proto [21:05:38]process_json_proto [21:05:38]json parsed OK: [21:05:38]protocol is kg_v1.0 [21:05:38]action value=close_receipt [21:05:38]process_action close_receipt [21:05:38]cmd_close_receipt [21:05:38]MH_GetDate [21:05:38]Write to MH i2c: F0 00 00 6D 09 65 [21:05:38]Write i2c OK [21:05:38]MH_I2C_Read... [21:05:38]Read from MH i2c: F0 [21:05:38]MH_I2C_Read... [21:05:38]Read from MH i2c: F0 09 00 [21:05:38]MH_I2C_Read... [21:05:38]Read from MH i2c: F0 09 00 6D 09 00 24 4E 21 67 28 A1 20 67 B8 [21:05:38]GetLastDocTimeStamp 1730235647 [21:05:38]current date 1730235940 [21:05:38]FM_GetShiftState [21:05:38]SAM_PROTO_GetShiftState [21:05:38]wFMCommunicate request_size=4 [21:05:38]MH_SAM_APDU [21:05:38]CAPDU: 80 13 01 00 [21:05:38]Write to MH i2c: E2 08 00 6E 09 80 13 01 00 00 00 00 00 F4 [21:05:38]Write i2c OK [21:05:38]MH_I2C_Read... [21:05:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:05:38]Read from MH i2c: E2 [21:05:38]MH_I2C_Read... [21:05:38]Read from MH i2c: E2 0E 00 [21:05:38]MH_I2C_Read... [21:05:38]Read from MH i2c: E2 0E 00 6E 09 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 A4 [21:05:38]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:05:38]wFMCommunicate OK [21:05:38]SAM_PROTO_GetShiftState done [21:05:38]FM_GetShiftState done [21:05:38]opened in 1730160885 [21:05:38]opened+sec_in_day 1730247285 [21:05:38]quantity*price = 12000 [21:05:38]sum+1 = 12001 [21:05:38]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 2.000 * 60.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 240.00 НСП 1% : 2.12 НДС 12% : 25.48 Наличными: 240.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 144 29.10.2024 21:05 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68421 ФПД: 58098663658633 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210540&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68421&fm=58098663658633&tin=02508201610067®Number=0000000000091759&sum=24000 0 [21:05:39]StoreToDocumentArchive [21:05:39]shift 548 fd 68421 [21:05:39]save to /storage/0548/doc_00068421 [21:05:39]save last doc name /storage/0548/doc_00068421 to /storage/kkm_last_doc_name [21:05:39]save OK [21:05:39]Clear old archive folders... [21:05:39]ProcessDocumentItem done err = 0, tmpTLVsize=441 [21:05:39]tlvbuf is 01E08010 [21:05:39]SAM_PROTO_ClearQueue [21:05:39]wFMCommunicate request_size=4 [21:05:39]MH_SAM_APDU [21:05:39]CAPDU: 80 09 00 00 [21:05:39]Write to MH i2c: E2 08 00 7B 09 80 09 00 00 00 00 00 00 F6 [21:05:39]Write i2c OK [21:05:39]MH_I2C_Read... [21:05:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:05:39]Read from MH i2c: E2 [21:05:39]MH_I2C_Read... [21:05:39]Read from MH i2c: E2 03 00 [21:05:39]MH_I2C_Read... [21:05:39]Read from MH i2c: E2 03 00 7B 09 00 90 00 F8 [21:05:39]RAPDU: 90 00 [21:05:39]wFMCommunicate OK [21:05:39]SAM_PROTO_ClearQueue done [21:05:39]KKMCreateOFDPacket [21:05:39]OFDProtocolAddRootSTLVToBuf [21:05:39]FM_MakeSignedData [21:05:39]FM_MakeSignedData [21:05:39]SAM_PROTO_SignData [21:05:39]wFMCommunicate request_size=4 [21:05:39]MH_SAM_APDU [21:05:39]CAPDU: 80 0D 01 02 [21:05:39]Write to MH i2c: E2 08 00 7C 09 80 0D 01 02 00 00 00 00 FE [21:05:39]Write i2c OK [21:05:39]MH_I2C_Read... [21:05:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:05:39]Read from MH i2c: E2 [21:05:39]MH_I2C_Read... [21:05:39]Read from MH i2c: E2 03 00 [21:05:39]MH_I2C_Read... [21:05:39]Read from MH i2c: E2 03 00 7C 09 00 90 00 F9 [21:05:39]RAPDU: 90 00 [21:05:39]wFMCommunicate OK [21:05:39]wFMCommunicate request_size=255 [21:05:39]MH_SAM_APDU [21:05:39]CAPDU: 80 0D 02 02 FA 03 00 B9 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 [21:05:39]Write to MH i2c: E2 02 01 7D 09 80 0D 02 02 FA 00 03 00 B9 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 00 00 9D [21:05:39]Write i2c OK [21:05:39]MH_I2C_Read... [21:05:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:05:39]Read from MH i2c: E2 [21:05:39]MH_I2C_Read... [21:05:39]Read from MH i2c: E2 03 00 [21:05:39]MH_I2C_Read... [21:05:39]Read from MH i2c: E2 03 00 7D 09 00 90 00 FA [21:05:39]RAPDU: 90 00 [21:05:39]wFMCommunicate OK [21:05:39]wFMCommunicate request_size=200 [21:05:39]MH_SAM_APDU [21:05:39]CAPDU: 80 0D 02 02 C3 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 90 00 00 00 F4 03 04 00 24 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 45 0B 01 00 35 04 06 00 34 D7 26 35 94 89 [21:05:39]Write to MH i2c: E2 CB 00 7E 09 80 0D 02 02 C3 00 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 90 00 00 00 F4 03 04 00 24 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 45 0B 01 00 35 04 06 00 34 D7 26 35 94 89 00 00 58 [21:05:39]Write i2c OK [21:05:39]MH_I2C_Read... [21:05:40]Read from MH i2c: E2 [21:05:40]MH_I2C_Read... [21:05:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:05:40]Read from MH i2c: E2 03 00 [21:05:40]MH_I2C_Read... [21:05:40]Read from MH i2c: E2 03 00 7E 09 00 90 00 FB [21:05:40]RAPDU: 90 00 [21:05:40]wFMCommunicate OK [21:05:40]wFMCommunicate request_size=4 [21:05:40]MH_SAM_APDU [21:05:40]CAPDU: 80 0D 03 02 [21:05:40]Write to MH i2c: E2 08 00 7F 09 80 0D 03 02 00 00 00 00 03 [21:05:40]Write i2c OK [21:05:40]MH_I2C_Read... [21:05:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:05:40]Read from MH i2c: E2 [21:05:40]MH_I2C_Read... [21:05:40]Read from MH i2c: E2 0B 00 [21:05:40]MH_I2C_Read... [21:05:40]Read from MH i2c: E2 0B 00 7F 09 00 00 CA 3A 4D 98 09 32 59 90 00 81 [21:05:40]RAPDU: 00 CA 3A 4D 98 09 32 59 90 00 [21:05:40]wFMCommunicate OK [21:05:40]SAM_PROTO_SignData done [21:05:40]FM_MakeSignedData done [21:05:40]CreateOFDProtocolMessage [21:05:40]wFMCommunicate request_size=4 [21:05:40]MH_SAM_APDU [21:05:40]CAPDU: 80 11 00 00 [21:05:40]Write to MH i2c: E2 08 00 80 09 80 11 00 00 00 00 00 00 03 [21:05:40]Write i2c OK [21:05:40]MH_I2C_Read... [21:05:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:05:40]Read from MH i2c: E2 [21:05:40]MH_I2C_Read... [21:05:40]Read from MH i2c: E2 17 00 [21:05:40]MH_I2C_Read... [21:05:40]Read from MH i2c: E2 17 00 80 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 5A [21:05:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:05:40]wFMCommunicate OK [21:05:40]CreateOFDProtocolMessage done [21:05:40]OFDSenderStorePacket 68421 [21:05:40]StoreOFDPacket docnum=68421 [21:05:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 CD 01 00 00 FA DB C5 01 C7 D7 5A 03 01 00 03 00 B9 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 90 00 00 00 F4 03 04 00 24 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 45 0B 01 00 35 04 06 00 34 D7 26 35 94 89 00 CA 3A 4D 98 09 32 59 [21:05:40]CheckFolder [21:05:40]dirname=/storage/ofd_packets [21:05:40]CheckFolder done [21:05:40]ProducePacketName [21:05:40]name=ofd_packets/00068421 [21:05:40]NVStorageSaveData ofd_packets/00068421 [21:05:40]File name is /storage/ofd_packets/00068421 [21:05:40]Write 491 bytes [21:05:40]NVStorageSaveData done [21:05:40]OFDSenderStorePacket done [21:05:40]KKMCreateOFDPacket done [21:05:40]NVStorageSaveData kkm_last_timestamp [21:05:40]File name is /storage/kkm_last_timestamp [21:05:40]Write 4 bytes [21:05:40]NVStorageSaveData done [21:05:40]ExternCall_PrintAddStr [21:05:40]wPrintStart [21:05:40]Write to MH i2c: 01 00 00 81 09 8A [21:05:40]OFD Sender: Processing packet 68421 [packets to send 28, broken 27] [21:05:40]ProducePacketName [21:05:40]name=ofd_packets/00068421 [21:05:40]OFD Sender: To server: pG, [21:05:40]CommunicateWithHost lk.salyk.kg:30040 [21:05:40]ConnectInit lk.salyk.kg [21:05:40]Write i2c OK [21:05:40]MH_I2C_Read... [21:05:40]Read from MH i2c: 01 [21:05:40]MH_I2C_Read... [21:05:40]Read from MH i2c: 01 07 00 [21:05:40]MH_I2C_Read... [21:05:40]Read from MH i2c: 01 07 00 81 09 00 00 00 00 00 FF 0F 9F [21:05:40]RasterBufferAndPrint [21:05:40]line Счет N : (3)17253 [21:05:40]line ИНН: 02508201610067 [21:05:40]line Контрольно-Кассовый Чек [21:05:40]line ПРОДАЖА [21:05:40]line Товар: 5449000027474 [21:05:40]line Напиток FuzeTea зел чай манго,ромашка 1л [21:05:40]line 1.000 * 120.00 [21:05:40]line = 120.00 [21:05:40]line НДС 12% НСП 1% [21:05:40]line > о реализуемом товаре [21:05:40]line Товар: 4700000160792 [21:05:40]line Снек Курут классический (круглый) [21:05:40]line 2.000 * 60.00 [21:05:40]line = 120.00 [21:05:40]line НДС 12% НСП 1% [21:05:40]line > о реализуемом товаре [21:05:40]line ИТОГО: 240.00 [21:05:40]line НСП 1% : 2.12 [21:05:40]line НДС 12% : 25.48 [21:05:40]line Наличными: 240.00 [21:05:40]line Безнал.: 0.00 [21:05:40]line Место: АЗС № 160 "Партнер Нефть" [21:05:40]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:05:40]line СНО: Общий режим [21:05:40]line Чек 144 29.10.2024 21:05 [21:05:40]line Смена: 548 ФФД: 1.0 [21:05:40]line ЗНМ: 0300000093 [21:05:40]line РНМ: 0000000000091759 [21:05:40]line Версия ККМ: 001 [21:05:40]line ФМ: 0000000000871758 [21:05:40]line ФД: 68421 [21:05:40]line ФПД: 58098663658633 [21:05:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210540&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68421&fm=58098663658633&tin=02508201610067®Number=0000000000091759&sum=24000 [21:05:40]line 0 [21:05:40]written 0, free lines is 4095 [21:05:40]Connected sock=11 [21:05:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 CD 01 00 00 FA DB C5 01 C7 D7 5A 03 01 00 03 00 B9 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 09 00 00 00 00 07 04 06 00 C0 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 90 00 00 00 F4 03 04 00 24 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 45 0B 01 00 35 04 06 00 34 D7 26 35 94 89 00 CA 3A 4D 98 09 32 59 [21:05:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 7D F7 47 00 F1 6E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 45 0B 01 00 F4 03 04 00 CB F9 20 67 B6 04 01 00 00 20 5E 6D D9 00 B0 62 54 [21:05:40]CommunicateWithHost err = 0 [21:05:40]CheckOFDResponse [21:05:40]1017 (14) - 77093643461234 [21:05:40]1041 (16) - 0000000000871758 [21:05:40]1040 (4) - 68421 [21:05:40]1012 (4) - 29.10.2024 15:05 [21:05:40]1206 (1) - 0 [21:05:40]OFD Sender: Remove packet 68421 [21:05:40]ProducePacketName [21:05:40]name=ofd_packets/00068421 [21:05:40]NVStorageDeleteData [21:05:41]Write to MH i2c: 01 00 00 B0 09 B9 [21:05:41]Write i2c OK [21:05:41]MH_I2C_Read... [21:05:41]Read from MH i2c: 01 [21:05:41]MH_I2C_Read... [21:05:41]Read from MH i2c: 01 07 00 [21:05:41]MH_I2C_Read... [21:05:41]Read from MH i2c: 01 07 00 B0 09 00 00 00 00 00 49 0C 15 [21:05:41]RasterBufferAndPrint [21:05:41]line [21:05:41]line [21:05:41]line [21:05:41]line [21:05:41]line [21:05:41]written 0, free lines is 3150 [21:05:41]MH_Cut [21:05:41]Write to MH i2c: D1 01 00 B7 09 01 92 [21:05:41]Write i2c OK [21:05:41]MH_I2C_Read... [21:05:41]Read from MH i2c: D1 [21:05:41]MH_I2C_Read... [21:05:41]Read from MH i2c: D1 01 00 [21:05:41]MH_I2C_Read... [21:05:41]Read from MH i2c: D1 01 00 B7 09 00 91 [21:05:41]Write to MH i2c: 01 00 00 B8 09 C1 [21:05:41]Write i2c OK [21:05:41]MH_I2C_Read... [21:05:41]OFD Sender: No OFD packet to send [21:05:41]*** Cut start [21:05:41]*** Partial cut [21:05:41]*** CUTSNS_PIN = 1 [21:05:41]*** CUTSNS_PIN = 0 [21:05:42]*** Brake cut motor [21:05:42]Read from MH i2c: 01 [21:05:42]MH_I2C_Read... [21:05:42]*** Stop cut motor [21:05:42]*** Cut end [21:05:42]Read from MH i2c: 01 07 00 [21:05:42]MH_I2C_Read... [21:05:42]Read from MH i2c: 01 07 00 B8 09 00 00 00 00 00 FF 0F D6 [21:05:42]process_action close_receipt done [21:05:42]requested_data is exist [21:05:42]produce_requested_data [21:05:42]requested_item fm.sn is exist - process it [21:05:42]wFMCommunicate request_size=4 [21:05:42]MH_SAM_APDU [21:05:42]CAPDU: 80 11 00 00 [21:05:42]Write to MH i2c: E2 08 00 B9 09 80 11 00 00 00 00 00 00 3C [21:05:42]Write i2c OK [21:05:42]MH_I2C_Read... [21:05:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:05:42]Read from MH i2c: E2 [21:05:42]MH_I2C_Read... [21:05:42]Read from MH i2c: E2 17 00 [21:05:42]MH_I2C_Read... [21:05:42]Read from MH i2c: E2 17 00 B9 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 93 [21:05:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:05:42]wFMCommunicate OK [21:05:42]requested_item fd.num is exist - process it [21:05:42]SAM_PROTO_GetFieldsCounters [21:05:42]wFMCommunicate request_size=4 [21:05:42]MH_SAM_APDU [21:05:42]CAPDU: 80 13 00 00 [21:05:42]Write to MH i2c: E2 08 00 BA 09 80 13 00 00 00 00 00 00 3F [21:05:42]Write i2c OK [21:05:42]MH_I2C_Read... [21:05:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:05:42]Read from MH i2c: E2 [21:05:42]MH_I2C_Read... [21:05:42]Read from MH i2c: E2 62 00 [21:05:42]MH_I2C_Read... [21:05:42]Read from MH i2c: E2 62 00 BA 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 45 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 90 00 00 00 5E 04 04 00 90 00 00 00 57 04 04 00 91 00 00 00 19 04 04 00 00 00 00 00 90 00 91 [21:05:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 45 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 90 00 00 00 5E 04 04 00 90 00 00 00 57 04 04 00 91 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:05:42]wFMCommunicate OK [21:05:42]SAM_PROTO_GetFieldsCounters done [21:05:42]requested_item shift.num is exist - process it [21:05:42]requested_item shift.opened is exist - process it [21:05:42]req_shift_opened [21:05:42]FM_GetShiftState [21:05:42]SAM_PROTO_GetShiftState [21:05:42]wFMCommunicate request_size=4 [21:05:42]MH_SAM_APDU [21:05:42]CAPDU: 80 13 01 00 [21:05:42]Write to MH i2c: E2 08 00 BB 09 80 13 01 00 00 00 00 00 41 [21:05:42]Write i2c OK [21:05:42]MH_I2C_Read... [21:05:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:05:42]Read from MH i2c: E2 [21:05:42]MH_I2C_Read... [21:05:42]Read from MH i2c: E2 0E 00 [21:05:42]MH_I2C_Read... [21:05:42]Read from MH i2c: E2 0E 00 BB 09 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 F1 [21:05:42]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:05:42]wFMCommunicate OK [21:05:42]SAM_PROTO_GetShiftState done [21:05:42]FM_GetShiftState done [21:05:42]req_shift_opened done [21:05:42]requested_item shift.open_date is exist - process it [21:05:42]req_shift_open_date [21:05:42]req_shift_open_date done [21:05:42]produce_requested_data done [21:05:42]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68421,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:05:42]process_action_free close_receipt [21:05:42]json_value_free [21:05:42]json_value_free done [21:05:42]process_json_proto returns [21:05:42]Send response to host [21:05:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68421,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:05:42]free response buf [21:05:42]execute_script done [21:05:42]execute_script returns [21:05:42]free content buf [21:05:42]Sock 8.Close socket [21:05:42]Sock 8.Thread stoped [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:20]int [21:06:20]Write to MH i2c: 01 00 00 BC 09 C5 [21:06:20]*** FLAG_PRN_KEY set [21:06:20]Write i2c OK [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 07 00 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 07 00 BC 09 00 08 00 00 00 FF 0F E2 [21:06:20]state=0 [21:06:20]Key pressed [21:06:20]Feed [21:06:20]Write to MH i2c: D8 00 00 BD 09 9D [21:06:20]Write i2c OK [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: D8 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: D8 01 00 [21:06:20]MH_I2C_Read... [21:06:20]*** FLAG_PRN_KEY reset [21:06:20]*** FLAG_PRN_KEY set [21:06:20]Read from MH i2c: D8 01 00 BD 09 00 9E [21:06:20]int line is 0 - check status [21:06:20]Write to MH i2c: 01 00 00 BE 09 C7 [21:06:20]Write i2c OK [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 07 00 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 07 00 BE 09 00 48 00 00 00 3C 00 52 [21:06:20]state=2 [21:06:20]Key pressed [21:06:20]int [21:06:20]Write to MH i2c: 01 00 00 BF 09 C8 [21:06:20]Write i2c OK [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 07 00 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 07 00 BF 09 00 48 00 00 00 3C 00 53 [21:06:20]state=2 [21:06:20]Key pressed [21:06:20]int [21:06:20]Write to MH i2c: 01 00 00 C0 09 C9 [21:06:20]*** FLAG_PRN_KEY reset [21:06:20]Write i2c OK [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 07 00 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: 01 07 00 C0 09 00 00 00 00 00 F6 0F D5 [21:06:20]state=2 [21:06:20]Stop feed [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:35]accept exits with 9 [21:06:35]New connection [21:06:35]New thread 3066858852 created [21:06:35]Thread 3066715492 joined [21:06:35]Waiting for new connection... [21:06:35] Sock 9.Parse request [21:06:35]Sock 9.Check first char [21:06:35]Sock 9.First char is OK [21:06:35]request: POST /json_proto HTTP/1.0 [21:06:35]Method: POST [21:06:35]URL: /json_proto [21:06:35]Method is POST - this is cgi request [21:06:35]url: /json_proto [21:06:35]query_string will be loaded in cgi processing [21:06:35]execute_cgi json_proto POST (null) [21:06:35]execute_cgi path=json_proto method=POST [21:06:35]POST find Content-Length [21:06:35]Host: 172.17.42.3:8080 [21:06:35]Content-Length: 796 [21:06:35]Content-Type: application/json [21:06:35] [21:06:35]POST finish read [21:06:35]Found Content-Length = 796 [21:06:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46410", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 0.00, "quantity" : 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\u000A4381786", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:35]execute_script... [21:06:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46410", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 0.00, "quantity" : 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\u000A4381786", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:35]POST & json_proto [21:06:35]process_json_proto [21:06:35]json parsed OK: [21:06:35]protocol is kg_v1.0 [21:06:35]action value=close_receipt [21:06:35]process_action close_receipt [21:06:35]cmd_close_receipt [21:06:35]MH_GetDate [21:06:35]Write to MH i2c: F0 00 00 C1 09 B9 [21:06:35]Write i2c OK [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: F0 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: F0 09 00 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: F0 09 00 C1 09 00 5D 4E 21 67 28 A1 20 67 45 [21:06:35]GetLastDocTimeStamp 1730235940 [21:06:35]current date 1730235997 [21:06:35]FM_GetShiftState [21:06:35]SAM_PROTO_GetShiftState [21:06:35]wFMCommunicate request_size=4 [21:06:35]MH_SAM_APDU [21:06:35]CAPDU: 80 13 01 00 [21:06:35]Write to MH i2c: E2 08 00 C2 09 80 13 01 00 00 00 00 00 48 [21:06:35]Write i2c OK [21:06:35]MH_I2C_Read... [21:06:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:35]Read from MH i2c: E2 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: E2 0E 00 [21:06:35]MH_I2C_Read... [21:06:35]Read from MH i2c: E2 0E 00 C2 09 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 F8 [21:06:35]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:06:35]wFMCommunicate OK [21:06:35]SAM_PROTO_GetShiftState done [21:06:35]FM_GetShiftState done [21:06:35]opened in 1730160885 [21:06:35]opened+sec_in_day 1730247285 [21:06:35]quantity*price = 0 [21:06:35]sum+1 = 1 [21:06:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 145 29.10.2024 21:06 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Талоны: Топливные Талоны 4381786 ФМ: 0000000000871758 ФД: 68422 ФПД: 24583824330143 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210637&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68422&fm=24583824330143&tin=02508201610067®Number=0000000000091759&sum=0 [21:06:36]StoreToDocumentArchive [21:06:36]shift 548 fd 68422 [21:06:36]save to /storage/0548/doc_00068422 [21:06:37]save last doc name /storage/0548/doc_00068422 to /storage/kkm_last_doc_name [21:06:37]save OK [21:06:37]Clear old archive folders... [21:06:37]ProcessDocumentItem done err = 0, tmpTLVsize=248 [21:06:37]tlvbuf is 01E072F0 [21:06:37]SAM_PROTO_ClearQueue [21:06:37]wFMCommunicate request_size=4 [21:06:37]MH_SAM_APDU [21:06:37]CAPDU: 80 09 00 00 [21:06:37]Write to MH i2c: E2 08 00 CF 09 80 09 00 00 00 00 00 00 4A [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 CF 09 00 90 00 4C [21:06:37]RAPDU: 90 00 [21:06:37]wFMCommunicate OK [21:06:37]SAM_PROTO_ClearQueue done [21:06:37]KKMCreateOFDPacket [21:06:37]OFDProtocolAddRootSTLVToBuf [21:06:37]FM_MakeSignedData [21:06:37]FM_MakeSignedData [21:06:37]SAM_PROTO_SignData [21:06:37]wFMCommunicate request_size=4 [21:06:37]MH_SAM_APDU [21:06:37]CAPDU: 80 0D 01 02 [21:06:37]Write to MH i2c: E2 08 00 D0 09 80 0D 01 02 00 00 00 00 52 [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 D0 09 00 90 00 4D [21:06:37]RAPDU: 90 00 [21:06:37]wFMCommunicate OK [21:06:37]wFMCommunicate request_size=255 [21:06:37]MH_SAM_APDU [21:06:37]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 20 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 91 00 00 00 F4 03 04 00 5D 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 46 0B 01 00 35 04 06 00 16 5B DE 1D [21:06:37]Write to MH i2c: E2 02 01 D1 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 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 91 00 00 00 F4 03 04 00 5D 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 46 0B 01 00 35 04 06 00 16 5B DE 1D 00 00 CF [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 D1 09 00 90 00 4E [21:06:37]RAPDU: 90 00 [21:06:37]wFMCommunicate OK [21:06:37]wFMCommunicate request_size=7 [21:06:37]MH_SAM_APDU [21:06:37]CAPDU: 80 0D 02 02 02 CD 9F [21:06:37]Write to MH i2c: E2 0A 00 D2 09 80 0D 02 02 02 00 CD 9F 00 00 C5 [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 03 00 D2 09 00 90 00 4F [21:06:37]RAPDU: 90 00 [21:06:37]wFMCommunicate OK [21:06:37]wFMCommunicate request_size=4 [21:06:37]MH_SAM_APDU [21:06:37]CAPDU: 80 0D 03 02 [21:06:37]Write to MH i2c: E2 08 00 D3 09 80 0D 03 02 00 00 00 00 57 [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 0B 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 0B 00 D3 09 00 24 CE 91 24 56 17 4D 64 90 00 1D [21:06:37]RAPDU: 24 CE 91 24 56 17 4D 64 90 00 [21:06:37]wFMCommunicate OK [21:06:37]SAM_PROTO_SignData done [21:06:37]FM_MakeSignedData done [21:06:37]CreateOFDProtocolMessage [21:06:37]wFMCommunicate request_size=4 [21:06:37]MH_SAM_APDU [21:06:37]CAPDU: 80 11 00 00 [21:06:37]Write to MH i2c: E2 08 00 D4 09 80 11 00 00 00 00 00 00 57 [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:37]Read from MH i2c: E2 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 17 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: E2 17 00 D4 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 AE [21:06:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:06:37]wFMCommunicate OK [21:06:37]CreateOFDProtocolMessage done [21:06:37]OFDSenderStorePacket 68422 [21:06:37]StoreOFDPacket docnum=68422 [21:06:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 1E 76 04 01 F5 A7 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 20 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 91 00 00 00 F4 03 04 00 5D 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 46 0B 01 00 35 04 06 00 16 5B DE 1D CD 9F 24 CE 91 24 56 17 4D 64 [21:06:37]CheckFolder [21:06:37]dirname=/storage/ofd_packets [21:06:37]CheckFolder done [21:06:37]ProducePacketName [21:06:37]name=ofd_packets/00068422 [21:06:37]NVStorageSaveData ofd_packets/00068422 [21:06:37]File name is /storage/ofd_packets/00068422 [21:06:37]Write 298 bytes [21:06:37]NVStorageSaveData done [21:06:37]OFDSenderStorePacket done [21:06:37]KKMCreateOFDPacket done [21:06:37]NVStorageSaveData kkm_last_timestamp [21:06:37]File name is /storage/kkm_last_timestamp [21:06:37]Write 4 bytes [21:06:37]NVStorageSaveData done [21:06:37]ExternCall_PrintAddStr [21:06:37]wPrintStart [21:06:37]Write to MH i2c: 01 00 00 D5 09 DE [21:06:37]Write i2c OK [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: 01 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: 01 07 00 [21:06:37]MH_I2C_Read... [21:06:37]Read from MH i2c: 01 07 00 D5 09 00 00 00 00 00 FF 0F F3 [21:06:37]RasterBufferAndPrint [21:06:37]line Счет N : (1)46410 [21:06:37]line ИНН: 02508201610067 [21:06:37]line Контрольно-Кассовый Чек [21:06:37]line ПРОДАЖА [21:06:37]line ТРК (МРК, ГНК) : 21 [21:06:37]line Товар: 2710194210 [21:06:37]line ДТ-К-5 [21:06:37]line 20.000 * 0.00 [21:06:37]line = 0.00 [21:06:37]line НДС 12% НСП 1% [21:06:37]line > о реализуемом товаре [21:06:37]line ИТОГО: 0.00 [21:06:37]line НСП 1% : 0.00 [21:06:37]line НДС 12% : 0.00 [21:06:37]line Наличными: 0.00 [21:06:37]line Безнал.: 0.00 [21:06:37]line Место: АЗС № 160 "Партнер Нефть" [21:06:37]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:06:37]line СНО: Общий режим [21:06:37]line Чек 145 29.10.2024 21:06 [21:06:37]line Смена: 548 ФФД: 1.0 [21:06:37]line ЗНМ: 0300000093 [21:06:37]line РНМ: 0000000000091759 [21:06:37]line Версия ККМ: 001 [21:06:37]line Талоны: Топливные Талоны [21:06:37]line 4381786 [21:06:37]line ФМ: 0000000000871758 [21:06:37]line ФД: 68422 [21:06:37]line ФПД: 24583824330143 [21:06:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210637&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68422&fm=24583824330143&tin=02508201610067®Number=0000000000091759&sum=0 [21:06:37]OFD Sender: Processing packet 68422 [packets to send 28, broken 27] [21:06:37]ProducePacketName [21:06:37]name=ofd_packets/00068422 [21:06:37]OFD Sender: To server: pG, [21:06:37]CommunicateWithHost lk.salyk.kg:30040 [21:06:37]ConnectInit lk.salyk.kg [21:06:37]written 0, free lines is 4095 [21:06:37]Connected sock=10 [21:06:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 1E 76 04 01 F5 A7 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 20 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 91 00 00 00 F4 03 04 00 5D 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 46 0B 01 00 35 04 06 00 16 5B DE 1D CD 9F 24 CE 91 24 56 17 4D 64 [21:06:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 5C 6B 47 00 24 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 46 0B 01 00 F4 03 04 00 04 FA 20 67 B6 04 01 00 00 BC C9 DA 43 61 5E A0 28 [21:06:38]CommunicateWithHost err = 0 [21:06:38]CheckOFDResponse [21:06:38]1017 (14) - 77093643461234 [21:06:38]1041 (16) - 0000000000871758 [21:06:38]1040 (4) - 68422 [21:06:38]1012 (4) - 29.10.2024 15:06 [21:06:38]1206 (1) - 0 [21:06:38]OFD Sender: Remove packet 68422 [21:06:38]ProducePacketName [21:06:38]name=ofd_packets/00068422 [21:06:38]NVStorageDeleteData [21:06:38]Write to MH i2c: 01 00 00 FE 09 07 [21:06:38]Write i2c OK [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: 01 [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: 01 07 00 [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: 01 07 00 FE 09 00 00 00 00 00 CE 0C E8 [21:06:38]RasterBufferAndPrint [21:06:38]line [21:06:38]line [21:06:38]line [21:06:38]line [21:06:38]line [21:06:38]written 0, free lines is 3282 [21:06:38]MH_Cut [21:06:38]Write to MH i2c: D1 01 00 05 0A 01 E1 [21:06:38]Write i2c OK [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: D1 [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: D1 01 00 [21:06:38]MH_I2C_Read... [21:06:38]Read from MH i2c: D1 01 00 05 0A 00 E0 [21:06:38]Write to MH i2c: 01 00 00 06 0A 10 [21:06:38]Write i2c OK [21:06:38]MH_I2C_Read... [21:06:38]OFD Sender: No OFD packet to send [21:06:39]*** Cut start [21:06:39]*** Partial cut [21:06:39]*** CUTSNS_PIN = 1 [21:06:39]*** CUTSNS_PIN = 0 [21:06:39]*** Brake cut motor [21:06:39]Read from MH i2c: 01 [21:06:39]MH_I2C_Read... [21:06:39]*** Stop cut motor [21:06:39]*** Cut end [21:06:39]Read from MH i2c: 01 07 00 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: 01 07 00 06 0A 00 00 00 00 00 FF 0F 25 [21:06:39]process_action close_receipt done [21:06:39]requested_data is exist [21:06:39]produce_requested_data [21:06:39]requested_item fm.sn is exist - process it [21:06:39]wFMCommunicate request_size=4 [21:06:39]MH_SAM_APDU [21:06:39]CAPDU: 80 11 00 00 [21:06:39]Write to MH i2c: E2 08 00 07 0A 80 11 00 00 00 00 00 00 8B [21:06:39]Write i2c OK [21:06:39]MH_I2C_Read... [21:06:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:39]Read from MH i2c: E2 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 17 00 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 17 00 07 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E2 [21:06:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:06:39]wFMCommunicate OK [21:06:39]requested_item fd.num is exist - process it [21:06:39]SAM_PROTO_GetFieldsCounters [21:06:39]wFMCommunicate request_size=4 [21:06:39]MH_SAM_APDU [21:06:39]CAPDU: 80 13 00 00 [21:06:39]Write to MH i2c: E2 08 00 08 0A 80 13 00 00 00 00 00 00 8E [21:06:39]Write i2c OK [21:06:39]MH_I2C_Read... [21:06:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:06:39]Read from MH i2c: E2 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 62 00 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 62 00 08 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 46 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 91 00 00 00 5E 04 04 00 91 00 00 00 57 04 04 00 92 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [21:06:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 46 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 91 00 00 00 5E 04 04 00 91 00 00 00 57 04 04 00 92 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:06:39]wFMCommunicate OK [21:06:39]SAM_PROTO_GetFieldsCounters done [21:06:39]requested_item shift.num is exist - process it [21:06:39]requested_item shift.opened is exist - process it [21:06:39]req_shift_opened [21:06:39]FM_GetShiftState [21:06:39]SAM_PROTO_GetShiftState [21:06:39]wFMCommunicate request_size=4 [21:06:39]MH_SAM_APDU [21:06:39]CAPDU: 80 13 01 00 [21:06:39]Write to MH i2c: E2 08 00 09 0A 80 13 01 00 00 00 00 00 90 [21:06:39]Write i2c OK [21:06:39]MH_I2C_Read... [21:06:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:39]Read from MH i2c: E2 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 0E 00 [21:06:39]MH_I2C_Read... [21:06:39]Read from MH i2c: E2 0E 00 09 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 40 [21:06:39]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:06:39]wFMCommunicate OK [21:06:39]SAM_PROTO_GetShiftState done [21:06:39]FM_GetShiftState done [21:06:39]req_shift_opened done [21:06:39]requested_item shift.open_date is exist - process it [21:06:39]req_shift_open_date [21:06:39]req_shift_open_date done [21:06:39]produce_requested_data done [21:06:39]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68422,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:06:39]process_action_free close_receipt [21:06:39]json_value_free [21:06:39]json_value_free done [21:06:39]process_json_proto returns [21:06:39]Send response to host [21:06:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68422,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:06:39]free response buf [21:06:39]execute_script done [21:06:39]execute_script returns [21:06:39]free content buf [21:06:39]Sock 9.Close socket [21:06:39]Sock 9.Thread stoped [21:06:43]OFD Sender: No OFD packet to send [21:06:48]OFD Sender: No OFD packet to send [21:06:53]OFD Sender: No OFD packet to send [21:06:58]OFD Sender: No OFD packet to send [21:07:03]OFD Sender: No OFD packet to send [21:07:08]OFD Sender: No OFD packet to send [21:07:12]accept exits with 8 [21:07:12]New connection [21:07:12]New thread 3066715492 created [21:07:12]Thread 3066858852 joined [21:07:12]Waiting for new connection... [21:07:12] Sock 8.Parse request [21:07:12]Sock 8.Check first char [21:07:12]Sock 8.First char is OK [21:07:12]request: POST /json_proto HTTP/1.0 [21:07:12]Method: POST [21:07:12]URL: /json_proto [21:07:12]Method is POST - this is cgi request [21:07:12]url: /json_proto [21:07:12]query_string will be loaded in cgi processing [21:07:12]execute_cgi json_proto POST (null) [21:07:12]execute_cgi path=json_proto method=POST [21:07:12]POST find Content-Length [21:07:12]Host: 172.17.42.3:8080 [21:07:12]Content-Length: 815 [21:07:12]Content-Type: application/json [21:07:12] [21:07:12]POST finish read [21:07:12]Found Content-Length = 815 [21:07:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46411", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 300.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:07:12]execute_script... [21:07: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)46411", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 300.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:07:12]POST & json_proto [21:07:12]process_json_proto [21:07:12]json parsed OK: [21:07:12]protocol is kg_v1.0 [21:07:12]action value=close_receipt [21:07:12]process_action close_receipt [21:07:12]cmd_close_receipt [21:07:12]MH_GetDate [21:07:12]Write to MH i2c: F0 00 00 0A 0A 03 [21:07:12]Write i2c OK [21:07:12]MH_I2C_Read... [21:07:12]Read from MH i2c: F0 [21:07:12]MH_I2C_Read... [21:07:12]Read from MH i2c: F0 09 00 [21:07:12]MH_I2C_Read... [21:07:12]Read from MH i2c: F0 09 00 0A 0A 00 81 4E 21 67 28 A1 20 67 B3 [21:07:12]GetLastDocTimeStamp 1730235997 [21:07:12]current date 1730236033 [21:07:12]FM_GetShiftState [21:07:12]SAM_PROTO_GetShiftState [21:07:12]wFMCommunicate request_size=4 [21:07:12]MH_SAM_APDU [21:07:12]CAPDU: 80 13 01 00 [21:07:12]Write to MH i2c: E2 08 00 0B 0A 80 13 01 00 00 00 00 00 92 [21:07:12]Write i2c OK [21:07:12]MH_I2C_Read... [21:07:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:07:12]Read from MH i2c: E2 [21:07:12]MH_I2C_Read... [21:07:12]Read from MH i2c: E2 0E 00 [21:07:12]MH_I2C_Read... [21:07:12]Read from MH i2c: E2 0E 00 0B 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 42 [21:07:12]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:07:12]wFMCommunicate OK [21:07:12]SAM_PROTO_GetShiftState done [21:07:12]FM_GetShiftState done [21:07:12]opened in 1730160885 [21:07:12]opened+sec_in_day 1730247285 [21:07:12]quantity*price = 30038 [21:07:12]sum+1 = 30039 [21:07:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.38 НСП 1% : 2.66 НДС 12% : 31.90 Наличными: 0.00 Безнал.: 300.38 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 146 29.10.2024 21:07 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68423 ФПД: 161683050926986 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210713&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68423&fm=161683050926986&tin=02508201610067®Number=0000000000091759&sum=30038 [21:07:13]StoreToDocumentArchive [21:07:13]shift 548 fd 68423 [21:07:13]save to /storage/0548/doc_00068423 [21:07:13]save last doc name /storage/0548/doc_00068423 to /storage/kkm_last_doc_name [21:07:13]save OK [21:07:13]Clear old archive folders... [21:07:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:07:13]tlvbuf is 01DE8E80 [21:07:13]SAM_PROTO_ClearQueue [21:07:13]wFMCommunicate request_size=4 [21:07:13]MH_SAM_APDU [21:07:13]CAPDU: 80 09 00 00 [21:07:13]Write to MH i2c: E2 08 00 18 0A 80 09 00 00 00 00 00 00 94 [21:07:13]Write i2c OK [21:07:13]MH_I2C_Read... [21:07:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:07:13]Read from MH i2c: E2 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 03 00 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 03 00 18 0A 00 90 00 96 [21:07:13]RAPDU: 90 00 [21:07:13]wFMCommunicate OK [21:07:13]SAM_PROTO_ClearQueue done [21:07:13]KKMCreateOFDPacket [21:07:13]OFDProtocolAddRootSTLVToBuf [21:07:13]FM_MakeSignedData [21:07:13]FM_MakeSignedData [21:07:13]SAM_PROTO_SignData [21:07:13]wFMCommunicate request_size=4 [21:07:13]MH_SAM_APDU [21:07:13]CAPDU: 80 0D 01 02 [21:07:13]Write to MH i2c: E2 08 00 19 0A 80 0D 01 02 00 00 00 00 9C [21:07:13]Write i2c OK [21:07:13]MH_I2C_Read... [21:07:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:07:13]Read from MH i2c: E2 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 03 00 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 03 00 19 0A 00 90 00 97 [21:07:13]RAPDU: 90 00 [21:07:13]wFMCommunicate OK [21:07:13]wFMCommunicate request_size=255 [21:07:13]MH_SAM_APDU [21:07: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 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 56 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 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 92 00 00 00 F4 03 04 00 81 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 47 0B 01 00 35 04 06 00 93 [21:07:13]Write to MH i2c: E2 02 01 1A 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 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 56 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 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 92 00 00 00 F4 03 04 00 81 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 47 0B 01 00 35 04 06 00 93 00 00 6A [21:07:13]Write i2c OK [21:07:13]MH_I2C_Read... [21:07:13]OFD Sender: No OFD packet to send [21:07:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:07:13]Read from MH i2c: E2 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 03 00 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 03 00 1A 0A 00 90 00 98 [21:07:13]RAPDU: 90 00 [21:07:13]wFMCommunicate OK [21:07:13]wFMCommunicate request_size=10 [21:07:13]MH_SAM_APDU [21:07:13]CAPDU: 80 0D 02 02 05 0C C4 D1 13 8A [21:07:13]Write to MH i2c: E2 0D 00 1B 0A 80 0D 02 02 05 00 0C C4 D1 13 8A 00 00 E7 [21:07:13]Write i2c OK [21:07:13]MH_I2C_Read... [21:07:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:07:13]Read from MH i2c: E2 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 03 00 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 03 00 1B 0A 00 90 00 99 [21:07:13]RAPDU: 90 00 [21:07:13]wFMCommunicate OK [21:07:13]wFMCommunicate request_size=4 [21:07:13]MH_SAM_APDU [21:07:13]CAPDU: 80 0D 03 02 [21:07:13]Write to MH i2c: E2 08 00 1C 0A 80 0D 03 02 00 00 00 00 A1 [21:07:13]Write i2c OK [21:07:13]MH_I2C_Read... [21:07:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:07:13]Read from MH i2c: E2 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 0B 00 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 0B 00 1C 0A 00 DC 73 AD DE 87 03 57 73 90 00 D0 [21:07:13]RAPDU: DC 73 AD DE 87 03 57 73 90 00 [21:07:13]wFMCommunicate OK [21:07:13]SAM_PROTO_SignData done [21:07:13]FM_MakeSignedData done [21:07:13]CreateOFDProtocolMessage [21:07:13]wFMCommunicate request_size=4 [21:07:13]MH_SAM_APDU [21:07:13]CAPDU: 80 11 00 00 [21:07:13]Write to MH i2c: E2 08 00 1D 0A 80 11 00 00 00 00 00 00 A1 [21:07:13]Write i2c OK [21:07:13]MH_I2C_Read... [21:07:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:07:13]Read from MH i2c: E2 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 17 00 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: E2 17 00 1D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F8 [21:07:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:07:13]wFMCommunicate OK [21:07:13]CreateOFDProtocolMessage done [21:07:13]OFDSenderStorePacket 68423 [21:07:13]StoreOFDPacket docnum=68423 [21:07:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 C6 58 07 01 80 9F 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 56 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 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 92 00 00 00 F4 03 04 00 81 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 47 0B 01 00 35 04 06 00 93 0C C4 D1 13 8A DC 73 AD DE 87 03 57 73 [21:07:13]CheckFolder [21:07:13]dirname=/storage/ofd_packets [21:07:13]CheckFolder done [21:07:13]ProducePacketName [21:07:13]name=ofd_packets/00068423 [21:07:13]NVStorageSaveData ofd_packets/00068423 [21:07:13]File name is /storage/ofd_packets/00068423 [21:07:13]Write 301 bytes [21:07:13]NVStorageSaveData done [21:07:13]OFDSenderStorePacket done [21:07:13]KKMCreateOFDPacket done [21:07:13]NVStorageSaveData kkm_last_timestamp [21:07:13]File name is /storage/kkm_last_timestamp [21:07:13]Write 4 bytes [21:07:13]NVStorageSaveData done [21:07:13]ExternCall_PrintAddStr [21:07:13]wPrintStart [21:07:13]Write to MH i2c: 01 00 00 1E 0A 28 [21:07:13]Write i2c OK [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: 01 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: 01 07 00 [21:07:13]MH_I2C_Read... [21:07:13]Read from MH i2c: 01 07 00 1E 0A 00 00 00 00 00 FF 0F 3D [21:07:13]RasterBufferAndPrint [21:07:13]line Счет N : (1)46411 [21:07:13]line ИНН: 02508201610067 [21:07:13]line Контрольно-Кассовый Чек [21:07:13]line ПРОДАЖА [21:07:13]line ТРК (МРК, ГНК) : 13 [21:07:13]line Товар: 2710124130 [21:07:13]line Аи-92-К-5 [21:07:13]line 4.490 * 66.90 [21:07:13]line = 300.38 [21:07:13]line НДС 12% НСП 1% [21:07:13]line > о реализуемом товаре [21:07:13]line ИТОГО: 300.38 [21:07:13]line НСП 1% : 2.66 [21:07:13]line НДС 12% : 31.90 [21:07:13]line Наличными: 0.00 [21:07:13]line Безнал.: 300.38 [21:07:13]line Место: АЗС № 160 "Партнер Нефть" [21:07:13]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:07:13]line СНО: Общий режим [21:07:13]line Чек 146 29.10.2024 21:07 [21:07:13]line Смена: 548 ФФД: 1.0 [21:07:13]line ЗНМ: 0300000093 [21:07:13]line РНМ: 0000000000091759 [21:07:13]line Версия ККМ: 001 [21:07:13]line Платежная система: Бакай Банк [21:07:13]line ФМ: 0000000000871758 [21:07:13]line ФД: 68423 [21:07:13]line ФПД: 161683050926986 [21:07:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210713&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68423&fm=161683050926986&tin=02508201610067®Number=0000000000091759&sum=30038 [21:07:13]written 0, free lines is 4095 [21:07:13]OFD Sender: Processing packet 68423 [packets to send 28, broken 27] [21:07:13]ProducePacketName [21:07:13]name=ofd_packets/00068423 [21:07:13]OFD Sender: To server: pG, [21:07:13]CommunicateWithHost lk.salyk.kg:30040 [21:07:13]ConnectInit lk.salyk.kg [21:07:13]Connected sock=10 [21:07:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 C6 58 07 01 80 9F 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 56 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 56 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 92 00 00 00 F4 03 04 00 81 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 47 0B 01 00 35 04 06 00 93 0C C4 D1 13 8A DC 73 AD DE 87 03 57 73 [21:07:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 96 B6 47 00 79 F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 47 0B 01 00 F4 03 04 00 29 FA 20 67 B6 04 01 00 00 7F 09 10 EC 47 E2 1E E0 [21:07:14]CommunicateWithHost err = 0 [21:07:14]CheckOFDResponse [21:07:14]1017 (14) - 77093643461234 [21:07:14]1041 (16) - 0000000000871758 [21:07:14]1040 (4) - 68423 [21:07:14]1012 (4) - 29.10.2024 15:07 [21:07:14]1206 (1) - 0 [21:07:14]OFD Sender: Remove packet 68423 [21:07:14]ProducePacketName [21:07:14]name=ofd_packets/00068423 [21:07:14]NVStorageDeleteData [21:07:14]Write to MH i2c: 01 00 00 47 0A 51 [21:07:14]Write i2c OK [21:07:14]MH_I2C_Read... [21:07:14]Read from MH i2c: 01 [21:07:14]MH_I2C_Read... [21:07:14]Read from MH i2c: 01 07 00 [21:07:14]MH_I2C_Read... [21:07:14]Read from MH i2c: 01 07 00 47 0A 00 00 00 00 00 CF 0C 33 [21:07:14]RasterBufferAndPrint [21:07:14]line [21:07:14]line [21:07:14]line [21:07:14]line [21:07:14]line [21:07:14]written 0, free lines is 3284 [21:07:14]MH_Cut [21:07:14]Write to MH i2c: D1 01 00 4E 0A 01 2A [21:07:14]Write i2c OK [21:07:14]MH_I2C_Read... [21:07:14]Read from MH i2c: D1 [21:07:14]MH_I2C_Read... [21:07:14]Read from MH i2c: D1 01 00 [21:07:14]MH_I2C_Read... [21:07:14]Read from MH i2c: D1 01 00 4E 0A 00 29 [21:07:14]Write to MH i2c: 01 00 00 4F 0A 59 [21:07:14]Write i2c OK [21:07:14]MH_I2C_Read... [21:07:14]OFD Sender: No OFD packet to send [21:07:15]*** Cut start [21:07:15]*** Partial cut [21:07:15]*** CUTSNS_PIN = 1 [21:07:15]*** CUTSNS_PIN = 0 [21:07:15]*** Brake cut motor [21:07:15]Read from MH i2c: 01 [21:07:15]MH_I2C_Read... [21:07:15]*** Stop cut motor [21:07:15]*** Cut end [21:07:15]Read from MH i2c: 01 07 00 [21:07:15]MH_I2C_Read... [21:07:15]Read from MH i2c: 01 07 00 4F 0A 00 00 00 00 00 FF 0F 6E [21:07:15]process_action close_receipt done [21:07:15]requested_data is exist [21:07:15]produce_requested_data [21:07:15]requested_item fm.sn is exist - process it [21:07:15]wFMCommunicate request_size=4 [21:07:15]MH_SAM_APDU [21:07:15]CAPDU: 80 11 00 00 [21:07:15]Write to MH i2c: E2 08 00 50 0A 80 11 00 00 00 00 00 00 D4 [21:07:15]Write i2c OK [21:07:15]MH_I2C_Read... [21:07:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:07:15]Read from MH i2c: E2 [21:07:15]MH_I2C_Read... [21:07:15]Read from MH i2c: E2 17 00 [21:07:15]MH_I2C_Read... [21:07:15]Read from MH i2c: E2 17 00 50 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 2B [21:07:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:07:15]wFMCommunicate OK [21:07:15]requested_item fd.num is exist - process it [21:07:15]SAM_PROTO_GetFieldsCounters [21:07:15]wFMCommunicate request_size=4 [21:07:15]MH_SAM_APDU [21:07:15]CAPDU: 80 13 00 00 [21:07:15]Write to MH i2c: E2 08 00 51 0A 80 13 00 00 00 00 00 00 D7 [21:07:15]Write i2c OK [21:07:15]MH_I2C_Read... [21:07:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:07:15]Read from MH i2c: E2 [21:07:15]MH_I2C_Read... [21:07:15]Read from MH i2c: E2 62 00 [21:07:15]MH_I2C_Read... [21:07:15]Read from MH i2c: E2 62 00 51 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 47 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 92 00 00 00 5E 04 04 00 92 00 00 00 57 04 04 00 93 00 00 00 19 04 04 00 00 00 00 00 90 00 31 [21:07:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 47 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 92 00 00 00 5E 04 04 00 92 00 00 00 57 04 04 00 93 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:07:15]wFMCommunicate OK [21:07:15]SAM_PROTO_GetFieldsCounters done [21:07:15]requested_item shift.num is exist - process it [21:07:15]requested_item shift.opened is exist - process it [21:07:15]req_shift_opened [21:07:15]FM_GetShiftState [21:07:15]SAM_PROTO_GetShiftState [21:07:15]wFMCommunicate request_size=4 [21:07:15]MH_SAM_APDU [21:07:15]CAPDU: 80 13 01 00 [21:07:15]Write to MH i2c: E2 08 00 52 0A 80 13 01 00 00 00 00 00 D9 [21:07:15]Write i2c OK [21:07:15]MH_I2C_Read... [21:07:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:07:15]Read from MH i2c: E2 [21:07:15]MH_I2C_Read... [21:07:15]Read from MH i2c: E2 0E 00 [21:07:15]MH_I2C_Read... [21:07:15]Read from MH i2c: E2 0E 00 52 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 89 [21:07:15]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:07:15]wFMCommunicate OK [21:07:15]SAM_PROTO_GetShiftState done [21:07:15]FM_GetShiftState done [21:07:15]req_shift_opened done [21:07:15]requested_item shift.open_date is exist - process it [21:07:15]req_shift_open_date [21:07:15]req_shift_open_date done [21:07:15]produce_requested_data done [21:07:15]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68423,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:07:15]process_action_free close_receipt [21:07:15]json_value_free [21:07:15]json_value_free done [21:07:15]process_json_proto returns [21:07:15]Send response to host [21:07:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68423,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:07:15]free response buf [21:07:15]execute_script done [21:07:15]execute_script returns [21:07:15]free content buf [21:07:15]Sock 8.Close socket [21:07:15]Sock 8.Thread stoped [21:07:19]OFD Sender: No OFD packet to send [21:07:24]OFD Sender: No OFD packet to send [21:07:29]OFD Sender: No OFD packet to send [21:07:32]accept exits with 9 [21:07:32]New connection [21:07:32]New thread 3066858852 created [21:07:32]Thread 3066715492 joined [21:07:32]Waiting for new connection... [21:07:32] Sock 9.Parse request [21:07:32]Sock 9.Check first char [21:07:32]Sock 9.First char is OK [21:07:32]request: POST /json_proto HTTP/1.0 [21:07:32]Method: POST [21:07:32]URL: /json_proto [21:07:32]Method is POST - this is cgi request [21:07:32]url: /json_proto [21:07:32]query_string will be loaded in cgi processing [21:07:32]execute_cgi json_proto POST (null) [21:07:32]execute_cgi path=json_proto method=POST [21:07:32]POST find Content-Length [21:07:32]Host: 172.17.42.3:8080 [21:07:32]Content-Length: 676 [21:07:32]Content-Type: application/json [21:07:32] [21:07:32]POST finish read [21:07:32]Found Content-Length = 676 [21:07:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46412", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "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" ] } } [21:07:32]execute_script... [21:07:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46412", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "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" ] } } [21:07:32]POST & json_proto [21:07:32]process_json_proto [21:07:32]json parsed OK: [21:07:32]protocol is kg_v1.0 [21:07:32]action value=close_receipt [21:07:32]process_action close_receipt [21:07:32]cmd_close_receipt [21:07:32]MH_GetDate [21:07:32]Write to MH i2c: F0 00 00 53 0A 4C [21:07:32]Write i2c OK [21:07:32]MH_I2C_Read... [21:07:32]Read from MH i2c: F0 [21:07:32]MH_I2C_Read... [21:07:32]Read from MH i2c: F0 09 00 [21:07:32]MH_I2C_Read... [21:07:32]Read from MH i2c: F0 09 00 53 0A 00 96 4E 21 67 28 A1 20 67 11 [21:07:32]GetLastDocTimeStamp 1730236033 [21:07:32]current date 1730236054 [21:07:32]FM_GetShiftState [21:07:32]SAM_PROTO_GetShiftState [21:07:32]wFMCommunicate request_size=4 [21:07:32]MH_SAM_APDU [21:07:32]CAPDU: 80 13 01 00 [21:07:32]Write to MH i2c: E2 08 00 54 0A 80 13 01 00 00 00 00 00 DB [21:07:32]Write i2c OK [21:07:32]MH_I2C_Read... [21:07:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:07:32]Read from MH i2c: E2 [21:07:32]MH_I2C_Read... [21:07:32]Read from MH i2c: E2 0E 00 [21:07:32]MH_I2C_Read... [21:07:32]Read from MH i2c: E2 0E 00 54 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 8B [21:07:32]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:07:32]wFMCommunicate OK [21:07:32]SAM_PROTO_GetShiftState done [21:07:32]FM_GetShiftState done [21:07:32]opened in 1730160885 [21:07:32]opened+sec_in_day 1730247285 [21:07:32]quantity*price = 20003 [21:07:32]sum+1 = 20004 [21:07:32]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.03 ИТОГО: 200.00 Внесено: 200.00 СДАЧА: 0.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 147 29.10.2024 21:07 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68424 ФПД: 9815580058356 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210734&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68424&fm=9815580058356&tin=02508201610067®Number=0000000000091759&sum=20000 [21:07:33]StoreToDocumentArchive [21:07:33]shift 548 fd 68424 [21:07:33]save to /storage/0548/doc_00068424 [21:07:33]save last doc name /storage/0548/doc_00068424 to /storage/kkm_last_doc_name [21:07:33]save OK [21:07:33]Clear old archive folders... [21:07:33]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:07:33]tlvbuf is 01DE8D30 [21:07:33]SAM_PROTO_ClearQueue [21:07:33]wFMCommunicate request_size=4 [21:07:33]MH_SAM_APDU [21:07:33]CAPDU: 80 09 00 00 [21:07:33]Write to MH i2c: E2 08 00 61 0A 80 09 00 00 00 00 00 00 DD [21:07:33]Write i2c OK [21:07:33]MH_I2C_Read... [21:07:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:07:33]Read from MH i2c: E2 [21:07:33]MH_I2C_Read... [21:07:33]Read from MH i2c: E2 03 00 [21:07:33]MH_I2C_Read... [21:07:33]Read from MH i2c: E2 03 00 61 0A 00 90 00 DF [21:07:33]RAPDU: 90 00 [21:07:33]wFMCommunicate OK [21:07:33]SAM_PROTO_ClearQueue done [21:07:33]KKMCreateOFDPacket [21:07:33]OFDProtocolAddRootSTLVToBuf [21:07:33]FM_MakeSignedData [21:07:33]FM_MakeSignedData [21:07:33]SAM_PROTO_SignData [21:07:33]wFMCommunicate request_size=4 [21:07:33]MH_SAM_APDU [21:07:33]CAPDU: 80 0D 01 02 [21:07:33]Write to MH i2c: E2 08 00 62 0A 80 0D 01 02 00 00 00 00 E5 [21:07:33]Write i2c OK [21:07:33]MH_I2C_Read... [21:07:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:07:33]Read from MH i2c: E2 [21:07:33]MH_I2C_Read... [21:07:33]Read from MH i2c: E2 03 00 [21:07:33]MH_I2C_Read... [21:07:33]Read from MH i2c: E2 03 00 62 0A 00 90 00 E0 [21:07:33]RAPDU: 90 00 [21:07:33]wFMCommunicate OK [21:07:33]wFMCommunicate request_size=255 [21:07:33]MH_SAM_APDU [21:07:33]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 93 00 00 00 F4 03 04 00 96 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 48 0B 01 00 35 04 06 00 08 [21:07:33]Write to MH i2c: E2 02 01 63 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 93 00 00 00 F4 03 04 00 96 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 48 0B 01 00 35 04 06 00 08 00 00 C1 [21:07:33]Write i2c OK [21:07:33]MH_I2C_Read... [21:07:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:07:34]Read from MH i2c: E2 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: E2 03 00 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: E2 03 00 63 0A 00 90 00 E1 [21:07:34]RAPDU: 90 00 [21:07:34]wFMCommunicate OK [21:07:34]wFMCommunicate request_size=10 [21:07:34]MH_SAM_APDU [21:07:34]CAPDU: 80 0D 02 02 05 ED 5E 29 A2 F4 [21:07:34]Write to MH i2c: E2 0D 00 64 0A 80 0D 02 02 05 00 ED 5E 29 A2 F4 00 00 FC [21:07:34]Write i2c OK [21:07:34]MH_I2C_Read... [21:07:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:07:34]Read from MH i2c: E2 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: E2 03 00 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: E2 03 00 64 0A 00 90 00 E2 [21:07:34]RAPDU: 90 00 [21:07:34]wFMCommunicate OK [21:07:34]wFMCommunicate request_size=4 [21:07:34]MH_SAM_APDU [21:07:34]CAPDU: 80 0D 03 02 [21:07:34]Write to MH i2c: E2 08 00 65 0A 80 0D 03 02 00 00 00 00 EA [21:07:34]Write i2c OK [21:07:34]MH_I2C_Read... [21:07:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:07:34]Read from MH i2c: E2 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: E2 0B 00 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: E2 0B 00 65 0A 00 FC 72 70 61 C7 D0 6E B9 90 00 E8 [21:07:34]RAPDU: FC 72 70 61 C7 D0 6E B9 90 00 [21:07:34]wFMCommunicate OK [21:07:34]SAM_PROTO_SignData done [21:07:34]FM_MakeSignedData done [21:07:34]CreateOFDProtocolMessage [21:07:34]wFMCommunicate request_size=4 [21:07:34]MH_SAM_APDU [21:07:34]CAPDU: 80 11 00 00 [21:07:34]Write to MH i2c: E2 08 00 66 0A 80 11 00 00 00 00 00 00 EA [21:07:34]Write i2c OK [21:07:34]MH_I2C_Read... [21:07:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:07:34]Read from MH i2c: E2 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: E2 17 00 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: E2 17 00 66 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 41 [21:07:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:07:34]wFMCommunicate OK [21:07:34]CreateOFDProtocolMessage done [21:07:34]OFDSenderStorePacket 68424 [21:07:34]StoreOFDPacket docnum=68424 [21:07:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 BD 29 07 01 B6 9B 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 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 93 00 00 00 F4 03 04 00 96 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 48 0B 01 00 35 04 06 00 08 ED 5E 29 A2 F4 FC 72 70 61 C7 D0 6E B9 [21:07:34]CheckFolder [21:07:34]dirname=/storage/ofd_packets [21:07:34]CheckFolder done [21:07:34]ProducePacketName [21:07:34]name=ofd_packets/00068424 [21:07:34]NVStorageSaveData ofd_packets/00068424 [21:07:34]File name is /storage/ofd_packets/00068424 [21:07:34]Write 301 bytes [21:07:34]NVStorageSaveData done [21:07:34]OFDSenderStorePacket done [21:07:34]KKMCreateOFDPacket done [21:07:34]NVStorageSaveData kkm_last_timestamp [21:07:34]File name is /storage/kkm_last_timestamp [21:07:34]Write 4 bytes [21:07:34]NVStorageSaveData done [21:07:34]ExternCall_PrintAddStr [21:07:34]wPrintStart [21:07:34]Write to MH i2c: 01 00 00 67 0A 71 [21:07:34]Write i2c OK [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: 01 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: 01 07 00 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: 01 07 00 67 0A 00 00 00 00 00 FF 0F 86 [21:07:34]RasterBufferAndPrint [21:07:34]line Счет N : (1)46412 [21:07:34]line ИНН: 02508201610067 [21:07:34]line Контрольно-Кассовый Чек [21:07:34]line ПРОДАЖА [21:07:34]line ТРК (МРК, ГНК) : 13 [21:07:34]line Товар: 2710124130 [21:07:34]line Аи-92-К-5 [21:07:34]line 2.990 * 66.90 [21:07:34]line = 200.03 [21:07:34]line НДС 12% НСП 1% [21:07:34]line > о реализуемом товаре [21:07:34]line ОКРУГЛЕНИЕ: -0.03 [21:07:34]line ИТОГО: 200.00 [21:07:34]line Внесено: 200.00 [21:07:34]line СДАЧА: 0.00 [21:07:34]line НСП 1% : 1.77 [21:07:34]line НДС 12% : 21.24 [21:07:34]line Наличными: 200.00 [21:07:34]line Безнал.: 0.00 [21:07:34]line Место: АЗС № 160 "Партнер Нефть" [21:07:34]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:07:34]line СНО: Общий режим [21:07:34]line Чек 147 29.10.2024 21:07 [21:07:34]line Смена: 548 ФФД: 1.0 [21:07:34]line ЗНМ: 0300000093 [21:07:34]line РНМ: 0000000000091759 [21:07:34]line Версия ККМ: 001 [21:07:34]line ФМ: 0000000000871758 [21:07:34]line ФД: 68424 [21:07:34]line ФПД: 9815580058356 [21:07:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T210734&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68424&fm=9815580058356&tin=02508201610067®Number=0000000000091759&sum=20000 [21:07:34]written 0, free lines is 4095 [21:07:34]OFD Sender: Processing packet 68424 [packets to send 28, broken 27] [21:07:34]ProducePacketName [21:07:34]name=ofd_packets/00068424 [21:07:34]OFD Sender: To server: pG, [21:07:34]CommunicateWithHost lk.salyk.kg:30040 [21:07:34]ConnectInit lk.salyk.kg [21:07:34]Connected sock=10 [21:07:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 BD 29 07 01 B6 9B 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 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 93 00 00 00 F4 03 04 00 96 4E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 48 0B 01 00 35 04 06 00 08 ED 5E 29 A2 F4 FC 72 70 61 C7 D0 6E B9 [21:07:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 8C 88 47 00 E2 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 48 0B 01 00 F4 03 04 00 3D FA 20 67 B6 04 01 00 00 05 05 19 AA E3 8C 63 E1 [21:07:34]CommunicateWithHost err = 0 [21:07:34]CheckOFDResponse [21:07:34]1017 (14) - 77093643461234 [21:07:34]1041 (16) - 0000000000871758 [21:07:34]1040 (4) - 68424 [21:07:34]1012 (4) - 29.10.2024 15:07 [21:07:34]1206 (1) - 0 [21:07:34]OFD Sender: Remove packet 68424 [21:07:34]ProducePacketName [21:07:34]name=ofd_packets/00068424 [21:07:34]NVStorageDeleteData [21:07:34]Write to MH i2c: 01 00 00 91 0A 9B [21:07:34]Write i2c OK [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: 01 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: 01 07 00 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: 01 07 00 91 0A 00 00 00 00 00 B8 0C 66 [21:07:34]RasterBufferAndPrint [21:07:34]line [21:07:34]line [21:07:34]line [21:07:34]line [21:07:34]line [21:07:34]written 0, free lines is 3263 [21:07:34]MH_Cut [21:07:34]Write to MH i2c: D1 01 00 98 0A 01 74 [21:07:34]Write i2c OK [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: D1 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: D1 01 00 [21:07:34]MH_I2C_Read... [21:07:34]Read from MH i2c: D1 01 00 98 0A 00 73 [21:07:34]Write to MH i2c: 01 00 00 99 0A A3 [21:07:34]Write i2c OK [21:07:34]MH_I2C_Read... [21:07:35]OFD Sender: No OFD packet to send [21:07:35]*** Cut start [21:07:35]*** Partial cut [21:07:35]*** CUTSNS_PIN = 1 [21:07:35]*** CUTSNS_PIN = 0 [21:07:35]*** Brake cut motor [21:07:36]Read from MH i2c: 01 [21:07:36]MH_I2C_Read... [21:07:36]*** Stop cut motor [21:07:36]*** Cut end [21:07:36]Read from MH i2c: 01 07 00 [21:07:36]MH_I2C_Read... [21:07:36]Read from MH i2c: 01 07 00 99 0A 00 00 00 00 00 FF 0F B8 [21:07:36]process_action close_receipt done [21:07:36]requested_data is exist [21:07:36]produce_requested_data [21:07:36]requested_item fm.sn is exist - process it [21:07:36]wFMCommunicate request_size=4 [21:07:36]MH_SAM_APDU [21:07:36]CAPDU: 80 11 00 00 [21:07:36]Write to MH i2c: E2 08 00 9A 0A 80 11 00 00 00 00 00 00 1E [21:07:36]Write i2c OK [21:07:36]MH_I2C_Read... [21:07:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:07:36]Read from MH i2c: E2 [21:07:36]MH_I2C_Read... [21:07:36]Read from MH i2c: E2 17 00 [21:07:36]MH_I2C_Read... [21:07:36]Read from MH i2c: E2 17 00 9A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 75 [21:07:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:07:36]wFMCommunicate OK [21:07:36]requested_item fd.num is exist - process it [21:07:36]SAM_PROTO_GetFieldsCounters [21:07:36]wFMCommunicate request_size=4 [21:07:36]MH_SAM_APDU [21:07:36]CAPDU: 80 13 00 00 [21:07:36]Write to MH i2c: E2 08 00 9B 0A 80 13 00 00 00 00 00 00 21 [21:07:36]Write i2c OK [21:07:36]MH_I2C_Read... [21:07:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:07:36]Read from MH i2c: E2 [21:07:36]MH_I2C_Read... [21:07:36]Read from MH i2c: E2 62 00 [21:07:36]MH_I2C_Read... [21:07:36]Read from MH i2c: E2 62 00 9B 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 48 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 93 00 00 00 5E 04 04 00 93 00 00 00 57 04 04 00 94 00 00 00 19 04 04 00 00 00 00 00 90 00 7F [21:07:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 48 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 93 00 00 00 5E 04 04 00 93 00 00 00 57 04 04 00 94 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:07:36]wFMCommunicate OK [21:07:36]SAM_PROTO_GetFieldsCounters done [21:07:36]requested_item shift.num is exist - process it [21:07:36]requested_item shift.opened is exist - process it [21:07:36]req_shift_opened [21:07:36]FM_GetShiftState [21:07:36]SAM_PROTO_GetShiftState [21:07:36]wFMCommunicate request_size=4 [21:07:36]MH_SAM_APDU [21:07:36]CAPDU: 80 13 01 00 [21:07:36]Write to MH i2c: E2 08 00 9C 0A 80 13 01 00 00 00 00 00 23 [21:07:36]Write i2c OK [21:07:36]MH_I2C_Read... [21:07:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:07:36]Read from MH i2c: E2 [21:07:36]MH_I2C_Read... [21:07:36]Read from MH i2c: E2 0E 00 [21:07:36]MH_I2C_Read... [21:07:36]Read from MH i2c: E2 0E 00 9C 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D3 [21:07:36]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:07:36]wFMCommunicate OK [21:07:36]SAM_PROTO_GetShiftState done [21:07:36]FM_GetShiftState done [21:07:36]req_shift_opened done [21:07:36]requested_item shift.open_date is exist - process it [21:07:36]req_shift_open_date [21:07:36]req_shift_open_date done [21:07:36]produce_requested_data done [21:07:36]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68424,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:07:36]process_action_free close_receipt [21:07:36]json_value_free [21:07:36]json_value_free done [21:07:36]process_json_proto returns [21:07:36]Send response to host [21:07:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68424,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:07:36]free response buf [21:07:36]execute_script done [21:07:36]execute_script returns [21:07:36]free content buf [21:07:36]Sock 9.Close socket [21:07:36]Sock 9.Thread stoped [21:07:39]int [21:07:39]Write to MH i2c: 01 00 00 9D 0A A7 [21:07:39]*** FLAG_PRN_KEY set [21:07:39]Write i2c OK [21:07:39]MH_I2C_Read... [21:07:39]Read from MH i2c: 01 [21:07:39]MH_I2C_Read... [21:07:39]Read from MH i2c: 01 07 00 [21:07:39]MH_I2C_Read... [21:07:39]Read from MH i2c: 01 07 00 9D 0A 00 08 00 00 00 FF 0F C4 [21:07:39]state=0 [21:07:39]Key pressed [21:07:39]Feed [21:07:39]Write to MH i2c: D8 00 00 9E 0A 7F [21:07:39]Write i2c OK [21:07:39]MH_I2C_Read... [21:07:39]Read from MH i2c: D8 [21:07:39]MH_I2C_Read... [21:07:39]Read from MH i2c: D8 01 00 [21:07:39]MH_I2C_Read... [21:07:39]Read from MH i2c: D8 01 00 9E 0A 00 80 [21:07:39]int [21:07:39]Write to MH i2c: 01 00 00 9F 0A A9 [21:07:39]Write i2c OK [21:07:39]MH_I2C_Read... [21:07:39]Read from MH i2c: 01 [21:07:39]MH_I2C_Read... [21:07:39]Read from MH i2c: 01 07 00 [21:07:39]MH_I2C_Read... [21:07:39]Read from MH i2c: 01 07 00 9F 0A 00 48 00 00 00 3C 00 34 [21:07:39]state=2 [21:07:39]Key pressed [21:07:40]int [21:07:40]Write to MH i2c: 01 00 00 A0 0A AA [21:07:40]*** FLAG_PRN_KEY reset [21:07:40]Write i2c OK [21:07:40]MH_I2C_Read... [21:07:40]Read from MH i2c: 01 [21:07:40]MH_I2C_Read... [21:07:40]Read from MH i2c: 01 07 00 [21:07:40]MH_I2C_Read... [21:07:40]Read from MH i2c: 01 07 00 A0 0A 00 00 00 00 00 F8 0F B8 [21:07:40]state=2 [21:07:40]Stop feed [21:07:40]OFD Sender: No OFD packet to send [21:07:45]OFD Sender: No OFD packet to send [21:07:50]OFD Sender: No OFD packet to send [21:07:55]OFD Sender: No OFD packet to send [21:08:00]OFD Sender: No OFD packet to send [21:08:05]OFD Sender: No OFD packet to send [21:08:10]OFD Sender: No OFD packet to send [21:08:15]OFD Sender: No OFD packet to send [21:08:20]OFD Sender: No OFD packet to send [21:08:25]OFD Sender: No OFD packet to send [21:08:30]OFD Sender: No OFD packet to send [21:08:35]OFD Sender: No OFD packet to send [21:08:40]OFD Sender: No OFD packet to send [21:08:45]OFD Sender: No OFD packet to send [21:08:50]OFD Sender: No OFD packet to send [21:08:55]OFD Sender: No OFD packet to send [21:09:00]OFD Sender: No OFD packet to send [21:09:05]OFD Sender: No OFD packet to send [21:09:10]OFD Sender: No OFD packet to send [21:09:15]OFD Sender: No OFD packet to send [21:09:20]OFD Sender: No OFD packet to send [21:09:25]OFD Sender: No OFD packet to send [21:09:30]OFD Sender: No OFD packet to send [21:09:35]OFD Sender: No OFD packet to send [21:09:40]OFD Sender: No OFD packet to send [21:09:45]OFD Sender: No OFD packet to send [21:09:50]OFD Sender: No OFD packet to send [21:09:55]OFD Sender: No OFD packet to send [21:10:00]OFD Sender: No OFD packet to send [21:10:05]OFD Sender: No OFD packet to send [21:10:10]OFD Sender: No OFD packet to send [21:10:15]OFD Sender: No OFD packet to send [21:10:20]OFD Sender: No OFD packet to send [21:10:25]OFD Sender: No OFD packet to send [21:10:30]OFD Sender: No OFD packet to send [21:10:35]OFD Sender: No OFD packet to send [21:10:40]OFD Sender: No OFD packet to send [21:10:45]OFD Sender: No OFD packet to send [21:10:50]OFD Sender: No OFD packet to send [21:10:55]OFD Sender: No OFD packet to send [21:11:00]OFD Sender: No OFD packet to send [21:11:05]OFD Sender: No OFD packet to send [21:11:10]OFD Sender: No OFD packet to send [21:11:15]OFD Sender: No OFD packet to send [21:11:20]OFD Sender: No OFD packet to send [21:11:25]OFD Sender: No OFD packet to send [21:11:30]OFD Sender: No OFD packet to send [21:11:35]OFD Sender: No OFD packet to send [21:11:40]OFD Sender: No OFD packet to send [21:11:45]OFD Sender: No OFD packet to send [21:11:50]OFD Sender: No OFD packet to send [21:11:55]OFD Sender: No OFD packet to send [21:12:00]OFD Sender: No OFD packet to send [21:12:05]OFD Sender: No OFD packet to send [21:12:10]OFD Sender: No OFD packet to send [21:12:15]OFD Sender: No OFD packet to send [21:12:20]OFD Sender: No OFD packet to send [21:12:25]OFD Sender: No OFD packet to send [21:12:30]OFD Sender: No OFD packet to send [21:12:35]OFD Sender: No OFD packet to send [21:12:40]OFD Sender: No OFD packet to send [21:12:45]OFD Sender: No OFD packet to send [21:12:50]OFD Sender: No OFD packet to send [21:12:55]OFD Sender: No OFD packet to send [21:13:00]OFD Sender: No OFD packet to send [21:13:05]OFD Sender: No OFD packet to send [21:13:10]OFD Sender: No OFD packet to send [21:13:15]OFD Sender: No OFD packet to send [21:13:20]OFD Sender: No OFD packet to send [21:13:25]OFD Sender: No OFD packet to send [21:13:30]OFD Sender: No OFD packet to send [21:13:35]OFD Sender: No OFD packet to send [21:13:40]OFD Sender: No OFD packet to send [21:13:45]OFD Sender: No OFD packet to send [21:13:50]OFD Sender: No OFD packet to send [21:13:55]OFD Sender: No OFD packet to send [21:14:00]OFD Sender: No OFD packet to send [21:14:05]OFD Sender: No OFD packet to send [21:14:10]OFD Sender: No OFD packet to send [21:14:15]OFD Sender: No OFD packet to send [21:14:20]OFD Sender: No OFD packet to send [21:14:25]OFD Sender: No OFD packet to send [21:14:30]OFD Sender: No OFD packet to send [21:14:35]OFD Sender: No OFD packet to send [21:14:40]OFD Sender: No OFD packet to send [21:14:45]OFD Sender: No OFD packet to send [21:14:50]OFD Sender: No OFD packet to send [21:14:55]OFD Sender: No OFD packet to send [21:15:00]OFD Sender: No OFD packet to send [21:15:05]OFD Sender: No OFD packet to send [21:15:10]OFD Sender: No OFD packet to send [21:15:15]OFD Sender: No OFD packet to send [21:15:20]OFD Sender: No OFD packet to send [21:15:25]OFD Sender: No OFD packet to send [21:15:30]OFD Sender: No OFD packet to send [21:15:35]OFD Sender: No OFD packet to send [21:15:38]accept exits with 8 [21:15:38]New connection [21:15:38]New thread 3066715492 created [21:15:38]Thread 3066858852 joined [21:15:38]Waiting for new connection... [21:15:38] Sock 8.Parse request [21:15:38]Sock 8.Check first char [21:15:38]Sock 8.First char is OK [21:15:38]request: POST /json_proto HTTP/1.0 [21:15:38]Method: POST [21:15:38]URL: /json_proto [21:15:38]Method is POST - this is cgi request [21:15:38]url: /json_proto [21:15:38]query_string will be loaded in cgi processing [21:15:38]execute_cgi json_proto POST (null) [21:15:38]execute_cgi path=json_proto method=POST [21:15:38]POST find Content-Length [21:15:38]Host: 172.17.42.3:8080 [21:15:38]Content-Length: 977 [21:15:38]Content-Type: application/json [21:15:38] [21:15:38]POST finish read [21:15:38]Found Content-Length = 977 [21:15:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46413", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 43.560, "sum" : 3275.71, "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 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 43.56 \u0441\u043E\u043C", "deposit" : 6000.00, "total" : 3275.00, "payments": [ { "type": 0, "sum" : 3275.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:15:38]execute_script... [21:15:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46413", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 43.560, "sum" : 3275.71, "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 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 43.56 \u0441\u043E\u043C", "deposit" : 6000.00, "total" : 3275.00, "payments": [ { "type": 0, "sum" : 3275.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:15:38]POST & json_proto [21:15:38]process_json_proto [21:15:38]json parsed OK: [21:15:38]protocol is kg_v1.0 [21:15:38]action value=close_receipt [21:15:38]process_action close_receipt [21:15:38]cmd_close_receipt [21:15:38]MH_GetDate [21:15:38]Write to MH i2c: F0 00 00 A1 0A 9A [21:15:38]Write i2c OK [21:15:38]MH_I2C_Read... [21:15:38]Read from MH i2c: F0 [21:15:38]MH_I2C_Read... [21:15:38]Read from MH i2c: F0 09 00 [21:15:38]MH_I2C_Read... [21:15:38]Read from MH i2c: F0 09 00 A1 0A 00 7C 50 21 67 28 A1 20 67 47 [21:15:38]GetLastDocTimeStamp 1730236054 [21:15:38]current date 1730236540 [21:15:38]FM_GetShiftState [21:15:38]SAM_PROTO_GetShiftState [21:15:38]wFMCommunicate request_size=4 [21:15:38]MH_SAM_APDU [21:15:38]CAPDU: 80 13 01 00 [21:15:38]Write to MH i2c: E2 08 00 A2 0A 80 13 01 00 00 00 00 00 29 [21:15:38]Write i2c OK [21:15:38]MH_I2C_Read... [21:15:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:15:38]Read from MH i2c: E2 [21:15:38]MH_I2C_Read... [21:15:38]Read from MH i2c: E2 0E 00 [21:15:38]MH_I2C_Read... [21:15:38]Read from MH i2c: E2 0E 00 A2 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D9 [21:15:38]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:15:38]wFMCommunicate OK [21:15:38]SAM_PROTO_GetShiftState done [21:15:38]FM_GetShiftState done [21:15:38]opened in 1730160885 [21:15:38]opened+sec_in_day 1730247285 [21:15:38]quantity*price = 327571 [21:15:38]sum+1 = 327572 [21:15:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.71 ИТОГО: 3275.00 Внесено: 6000.00 СДАЧА: 2725.00 НСП 1% : 28.99 НДС 12% : 347.86 Наличными: 3275.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 148 29.10.2024 21:15 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Дисконтная программа ДТ номер 160 сэкономлено 43.56 сом ФМ: 0000000000871758 ФД: 68425 ФПД: 274061799151717 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T211540&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68425&fm=274061799151717&tin=02508201610067®Number=0000000000091759&sum=327500 [21:15:39]StoreToDocumentArchive [21:15:39]shift 548 fd 68425 [21:15:39]save to /storage/0548/doc_00068425 [21:15:39]save last doc name /storage/0548/doc_00068425 to /storage/kkm_last_doc_name [21:15:39]save OK [21:15:39]Clear old archive folders... [21:15:39]ProcessDocumentItem done err = 0, tmpTLVsize=248 [21:15:39]tlvbuf is 01DEFFE0 [21:15:39]SAM_PROTO_ClearQueue [21:15:39]wFMCommunicate request_size=4 [21:15:39]MH_SAM_APDU [21:15:39]CAPDU: 80 09 00 00 [21:15:39]Write to MH i2c: E2 08 00 AF 0A 80 09 00 00 00 00 00 00 2B [21:15:39]Write i2c OK [21:15:39]MH_I2C_Read... [21:15:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:15:39]Read from MH i2c: E2 [21:15:39]MH_I2C_Read... [21:15:39]Read from MH i2c: E2 03 00 [21:15:39]MH_I2C_Read... [21:15:39]Read from MH i2c: E2 03 00 AF 0A 00 90 00 2D [21:15:39]RAPDU: 90 00 [21:15:39]wFMCommunicate OK [21:15:39]SAM_PROTO_ClearQueue done [21:15:39]KKMCreateOFDPacket [21:15:39]OFDProtocolAddRootSTLVToBuf [21:15:39]FM_MakeSignedData [21:15:39]FM_MakeSignedData [21:15:39]SAM_PROTO_SignData [21:15:39]wFMCommunicate request_size=4 [21:15:39]MH_SAM_APDU [21:15:39]CAPDU: 80 0D 01 02 [21:15:39]Write to MH i2c: E2 08 00 B0 0A 80 0D 01 02 00 00 00 00 33 [21:15:39]Write i2c OK [21:15:39]MH_I2C_Read... [21:15:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:15:39]Read from MH i2c: E2 [21:15:39]MH_I2C_Read... [21:15:39]Read from MH i2c: E2 03 00 [21:15:39]MH_I2C_Read... [21:15:39]Read from MH i2c: E2 03 00 B0 0A 00 90 00 2E [21:15:39]RAPDU: 90 00 [21:15:39]wFMCommunicate OK [21:15:39]wFMCommunicate request_size=255 [21:15:39]MH_SAM_APDU [21:15:39]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 28 AA 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 93 FF 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C FF 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 87 00 00 00 00 07 04 06 00 4C FF 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 94 00 00 00 F4 03 04 00 7C 50 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 49 0B 01 00 35 04 06 00 F9 41 FC 2F [21:15:39]Write to MH i2c: E2 02 01 B1 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 28 AA 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 93 FF 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C FF 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 87 00 00 00 00 07 04 06 00 4C FF 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 94 00 00 00 F4 03 04 00 7C 50 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 49 0B 01 00 35 04 06 00 F9 41 FC 2F 00 00 AC [21:15:39]Write i2c OK [21:15:39]MH_I2C_Read... [21:15:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:15:40]Read from MH i2c: E2 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: E2 03 00 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: E2 03 00 B1 0A 00 90 00 2F [21:15:40]RAPDU: 90 00 [21:15:40]wFMCommunicate OK [21:15:40]wFMCommunicate request_size=7 [21:15:40]MH_SAM_APDU [21:15:40]CAPDU: 80 0D 02 02 02 58 65 [21:15:40]Write to MH i2c: E2 0A 00 B2 0A 80 0D 02 02 02 00 58 65 00 00 F7 [21:15:40]Write i2c OK [21:15:40]MH_I2C_Read... [21:15:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:15:40]Read from MH i2c: E2 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: E2 03 00 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: E2 03 00 B2 0A 00 90 00 30 [21:15:40]RAPDU: 90 00 [21:15:40]wFMCommunicate OK [21:15:40]wFMCommunicate request_size=4 [21:15:40]MH_SAM_APDU [21:15:40]CAPDU: 80 0D 03 02 [21:15:40]Write to MH i2c: E2 08 00 B3 0A 80 0D 03 02 00 00 00 00 38 [21:15:40]Write i2c OK [21:15:40]MH_I2C_Read... [21:15:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:15:40]Read from MH i2c: E2 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: E2 0B 00 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: E2 0B 00 B3 0A 00 69 38 73 A2 74 C6 BC 14 90 00 F9 [21:15:40]RAPDU: 69 38 73 A2 74 C6 BC 14 90 00 [21:15:40]wFMCommunicate OK [21:15:40]SAM_PROTO_SignData done [21:15:40]FM_MakeSignedData done [21:15:40]CreateOFDProtocolMessage [21:15:40]wFMCommunicate request_size=4 [21:15:40]MH_SAM_APDU [21:15:40]CAPDU: 80 11 00 00 [21:15:40]Write to MH i2c: E2 08 00 B4 0A 80 11 00 00 00 00 00 00 38 [21:15:40]Write i2c OK [21:15:40]MH_I2C_Read... [21:15:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:15:40]Read from MH i2c: E2 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: E2 17 00 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: E2 17 00 B4 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 8F [21:15:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:15:40]wFMCommunicate OK [21:15:40]CreateOFDProtocolMessage done [21:15:40]OFDSenderStorePacket 68425 [21:15:40]StoreOFDPacket docnum=68425 [21:15:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E3 47 04 01 58 04 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 28 AA 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 93 FF 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C FF 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 87 00 00 00 00 07 04 06 00 4C FF 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 94 00 00 00 F4 03 04 00 7C 50 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 49 0B 01 00 35 04 06 00 F9 41 FC 2F 58 65 69 38 73 A2 74 C6 BC 14 [21:15:40]CheckFolder [21:15:40]dirname=/storage/ofd_packets [21:15:40]CheckFolder done [21:15:40]ProducePacketName [21:15:40]name=ofd_packets/00068425 [21:15:40]NVStorageSaveData ofd_packets/00068425 [21:15:40]File name is /storage/ofd_packets/00068425 [21:15:40]Write 298 bytes [21:15:40]NVStorageSaveData done [21:15:40]OFDSenderStorePacket done [21:15:40]KKMCreateOFDPacket done [21:15:40]NVStorageSaveData kkm_last_timestamp [21:15:40]File name is /storage/kkm_last_timestamp [21:15:40]Write 4 bytes [21:15:40]NVStorageSaveData done [21:15:40]ExternCall_PrintAddStr [21:15:40]wPrintStart [21:15:40]Write to MH i2c: 01 00 00 B5 0A BF [21:15:40]Write i2c OK [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: 01 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: 01 07 00 [21:15:40]MH_I2C_Read... [21:15:40]Read from MH i2c: 01 07 00 B5 0A 00 00 00 00 00 FF 0F D4 [21:15:40]RasterBufferAndPrint [21:15:40]line Счет N : (1)46413 [21:15:40]line ИНН: 02508201610067 [21:15:40]line Контрольно-Кассовый Чек [21:15:40]line ПРОДАЖА [21:15:40]line ТРК (МРК, ГНК) : 21 [21:15:40]line Товар: 2710194210 [21:15:40]line ДТ-К-5 [21:15:40]line 43.560 * 75.20 [21:15:40]line = 3275.71 [21:15:40]line НДС 12% НСП 1% [21:15:40]line > о реализуемом товаре [21:15:40]line ОКРУГЛЕНИЕ: -0.71 [21:15:40]line ИТОГО: 3275.00 [21:15:40]line Внесено: 6000.00 [21:15:40]line СДАЧА: 2725.00 [21:15:40]line НСП 1% : 28.99 [21:15:40]line НДС 12% : 347.86 [21:15:40]line Наличными: 3275.00 [21:15:40]line Безнал.: 0.00 [21:15:40]line Место: АЗС № 160 "Партнер Нефть" [21:15:40]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:15:40]line СНО: Общий режим [21:15:40]line Чек 148 29.10.2024 21:15 [21:15:40]line Смена: 548 ФФД: 1.0 [21:15:40]line ЗНМ: 0300000093 [21:15:40]line РНМ: 0000000000091759 [21:15:40]line Версия ККМ: 001 [21:15:40]line [21:15:40]line Дисконтная программа [21:15:40]line ДТ [21:15:40]line номер 160 [21:15:40]line сэкономлено 43.56 сом [21:15:40]line ФМ: 0000000000871758 [21:15:40]line ФД: 68425 [21:15:40]line ФПД: 274061799151717 [21:15:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T211540&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68425&fm=274061799151717&tin=02508201610067®Number=0000000000091759&sum=327500 [21:15:40]OFD Sender: Processing packet 68425 [packets to send 28, broken 27] [21:15:40]ProducePacketName [21:15:40]name=ofd_packets/00068425 [21:15:40]OFD Sender: To server: pG, [21:15:40]CommunicateWithHost lk.salyk.kg:30040 [21:15:40]ConnectInit lk.salyk.kg [21:15:40]written 0, free lines is 4095 [21:15:40]Connected sock=10 [21:15:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E3 47 04 01 58 04 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 28 AA 00 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 93 FF 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C FF 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 87 00 00 00 00 07 04 06 00 4C FF 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 94 00 00 00 F4 03 04 00 7C 50 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 49 0B 01 00 35 04 06 00 F9 41 FC 2F 58 65 69 38 73 A2 74 C6 BC 14 [21:15:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 AE 3C 47 00 8F 6F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 49 0B 01 00 F4 03 04 00 23 FC 20 67 B6 04 01 00 00 B6 5F B0 60 D8 85 6B B8 [21:15:40]CommunicateWithHost err = 0 [21:15:40]CheckOFDResponse [21:15:40]1017 (14) - 77093643461234 [21:15:40]1041 (16) - 0000000000871758 [21:15:40]1040 (4) - 68425 [21:15:40]1012 (4) - 29.10.2024 15:15 [21:15:40]1206 (1) - 0 [21:15:40]OFD Sender: Remove packet 68425 [21:15:40]ProducePacketName [21:15:40]name=ofd_packets/00068425 [21:15:40]NVStorageDeleteData [21:15:41]Write to MH i2c: 01 00 00 E4 0A EE [21:15:41]Write i2c OK [21:15:41]MH_I2C_Read... [21:15:41]Read from MH i2c: 01 [21:15:41]MH_I2C_Read... [21:15:41]Read from MH i2c: 01 07 00 [21:15:41]MH_I2C_Read... [21:15:41]Read from MH i2c: 01 07 00 E4 0A 00 00 00 00 00 5C 0C 5D [21:15:41]RasterBufferAndPrint [21:15:41]line [21:15:41]line [21:15:41]line [21:15:41]line [21:15:41]line [21:15:41]written 0, free lines is 3168 [21:15:41]MH_Cut [21:15:41]Write to MH i2c: D1 01 00 EB 0A 01 C7 [21:15:41]Write i2c OK [21:15:41]MH_I2C_Read... [21:15:41]Read from MH i2c: D1 [21:15:41]MH_I2C_Read... [21:15:41]Read from MH i2c: D1 01 00 [21:15:41]MH_I2C_Read... [21:15:41]Read from MH i2c: D1 01 00 EB 0A 00 C6 [21:15:41]Write to MH i2c: 01 00 00 EC 0A F6 [21:15:41]Write i2c OK [21:15:41]MH_I2C_Read... [21:15:41]OFD Sender: No OFD packet to send [21:15:42]*** Cut start [21:15:42]*** Partial cut [21:15:42]*** CUTSNS_PIN = 1 [21:15:42]*** CUTSNS_PIN = 0 [21:15:42]*** Brake cut motor [21:15:42]Read from MH i2c: 01 [21:15:42]MH_I2C_Read... [21:15:42]*** Stop cut motor [21:15:42]*** Cut end [21:15:42]Read from MH i2c: 01 07 00 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: 01 07 00 EC 0A 00 00 00 00 00 FF 0F 0B [21:15:42]process_action close_receipt done [21:15:42]requested_data is exist [21:15:42]produce_requested_data [21:15:42]requested_item fm.sn is exist - process it [21:15:42]wFMCommunicate request_size=4 [21:15:42]MH_SAM_APDU [21:15:42]CAPDU: 80 11 00 00 [21:15:42]Write to MH i2c: E2 08 00 ED 0A 80 11 00 00 00 00 00 00 71 [21:15:42]Write i2c OK [21:15:42]MH_I2C_Read... [21:15:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:15:42]Read from MH i2c: E2 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: E2 17 00 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: E2 17 00 ED 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C8 [21:15:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:15:42]wFMCommunicate OK [21:15:42]requested_item fd.num is exist - process it [21:15:42]SAM_PROTO_GetFieldsCounters [21:15:42]wFMCommunicate request_size=4 [21:15:42]MH_SAM_APDU [21:15:42]CAPDU: 80 13 00 00 [21:15:42]Write to MH i2c: E2 08 00 EE 0A 80 13 00 00 00 00 00 00 74 [21:15:42]Write i2c OK [21:15:42]MH_I2C_Read... [21:15:42]int [21:15:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:15:42]*** FLAG_PRN_KEY set [21:15:42]Read from MH i2c: E2 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: E2 62 00 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: E2 62 00 EE 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 49 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 94 00 00 00 5E 04 04 00 94 00 00 00 57 04 04 00 95 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [21:15:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 49 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 94 00 00 00 5E 04 04 00 94 00 00 00 57 04 04 00 95 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:15:42]wFMCommunicate OK [21:15:42]SAM_PROTO_GetFieldsCounters done [21:15:42]requested_item shift.num is exist - process it [21:15:42]requested_item shift.opened is exist - process it [21:15:42]req_shift_opened [21:15:42]FM_GetShiftState [21:15:42]SAM_PROTO_GetShiftState [21:15:42]wFMCommunicate request_size=4 [21:15:42]MH_SAM_APDU [21:15:42]CAPDU: 80 13 01 00 [21:15:42]Write to MH i2c: 01 00 00 EF 0A F9 [21:15:42]Write i2c OK [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: 01 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: 01 07 00 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: 01 07 00 EF 0A 00 08 00 00 00 FF 0F 16 [21:15:42]state=0 [21:15:42]Key pressed [21:15:42]Feed [21:15:42]Write to MH i2c: D8 00 00 F0 0A D1 [21:15:42]Write i2c OK [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: D8 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: D8 01 00 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: D8 01 00 F0 0A 00 D2 [21:15:42]Write to MH i2c: E2 08 00 F1 0A 80 13 01 00 00 00 00 00 78 [21:15:42]Write i2c OK [21:15:42]MH_I2C_Read... [21:15:42]int [21:15:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:15:42]Read from MH i2c: E2 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: E2 0E 00 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: E2 0E 00 F1 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 28 [21:15:42]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:15:42]wFMCommunicate OK [21:15:42]SAM_PROTO_GetShiftState done [21:15:42]FM_GetShiftState done [21:15:42]req_shift_opened done [21:15:42]requested_item shift.open_date is exist - process it [21:15:42]req_shift_open_date [21:15:42]req_shift_open_date done [21:15:42]produce_requested_data done [21:15:42]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68425,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:15:42]process_action_free close_receipt [21:15:42]json_value_free [21:15:42]json_value_free done [21:15:42]process_json_proto returns [21:15:42]Send response to host [21:15:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68425,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:15:42]free response buf [21:15:42]execute_script done [21:15:42]execute_script returns [21:15:42]free content buf [21:15:42]Sock 8.Close socket [21:15:42]Sock 8.Thread stoped [21:15:42]Write to MH i2c: 01 00 00 F2 0A FC [21:15:42]Write i2c OK [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: 01 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: 01 07 00 [21:15:42]MH_I2C_Read... [21:15:42]Read from MH i2c: 01 07 00 F2 0A 00 48 00 00 00 3C 00 87 [21:15:42]state=2 [21:15:42]Key pressed [21:15:43]int [21:15:43]*** FLAG_PRN_KEY reset [21:15:43]Write to MH i2c: 01 00 00 F3 0A FD [21:15:43]Write i2c OK [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 07 00 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 07 00 F3 0A 00 00 00 00 00 F6 0F 09 [21:15:43]state=2 [21:15:43]Stop feed [21:15:43]int [21:15:43]Write to MH i2c: 01 00 00 F4 0A FE [21:15:43]*** FLAG_PRN_KEY set [21:15:43]Write i2c OK [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 07 00 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 07 00 F4 0A 00 08 00 00 00 FF 0F 1B [21:15:43]state=0 [21:15:43]Key pressed [21:15:43]Feed [21:15:43]Write to MH i2c: D8 00 00 F5 0A D6 [21:15:43]Write i2c OK [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: D8 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: D8 01 00 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: D8 01 00 F5 0A 00 D7 [21:15:43]int [21:15:43]Write to MH i2c: 01 00 00 F6 0A 00 [21:15:43]Write i2c OK [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 07 00 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 07 00 F6 0A 00 48 00 00 00 3C 00 8B [21:15:43]state=2 [21:15:43]Key pressed [21:15:43]int [21:15:43]Write to MH i2c: 01 00 00 F7 0A 01 [21:15:43]*** FLAG_PRN_KEY reset [21:15:43]Write i2c OK [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 07 00 [21:15:43]MH_I2C_Read... [21:15:43]Read from MH i2c: 01 07 00 F7 0A 00 00 00 00 00 FD 0F 14 [21:15:43]state=2 [21:15:43]Stop feed [21:15:46]OFD Sender: No OFD packet to send [21:15:51]OFD Sender: No OFD packet to send [21:15:56]OFD Sender: No OFD packet to send [21:16:01]OFD Sender: No OFD packet to send [21:16:06]OFD Sender: No OFD packet to send [21:16:11]OFD Sender: No OFD packet to send [21:16:16]OFD Sender: No OFD packet to send [21:16:21]OFD Sender: No OFD packet to send [21:16:26]OFD Sender: No OFD packet to send [21:16:31]OFD Sender: No OFD packet to send [21:16:36]OFD Sender: No OFD packet to send [21:16:41]OFD Sender: No OFD packet to send [21:16:46]OFD Sender: No OFD packet to send [21:16:51]OFD Sender: No OFD packet to send [21:16:56]OFD Sender: No OFD packet to send [21:17:01]OFD Sender: No OFD packet to send [21:17:06]OFD Sender: No OFD packet to send [21:17:11]OFD Sender: No OFD packet to send [21:17:16]OFD Sender: No OFD packet to send [21:17:19]accept exits with 9 [21:17:19]New connection [21:17:19]New thread 3066858852 created [21:17:19]Thread 3066715492 joined [21:17:19]Waiting for new connection... [21:17:19] Sock 9.Parse request [21:17:19]Sock 9.Check first char [21:17:19]Sock 9.First char is OK [21:17:19]request: POST /json_proto HTTP/1.0 [21:17:19]Method: POST [21:17:19]URL: /json_proto [21:17:19]Method is POST - this is cgi request [21:17:19]url: /json_proto [21:17:19]query_string will be loaded in cgi processing [21:17:19]execute_cgi json_proto POST (null) [21:17:19]execute_cgi path=json_proto method=POST [21:17:19]POST find Content-Length [21:17:19]Host: 172.17.42.3:8080 [21:17:19]Content-Length: 1221 [21:17:19]Content-Type: application/json [21:17:19] [21:17:19]POST finish read [21:17:19]Found Content-Length = 1221 [21:17:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17254", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620017455554", "name": "\u041C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 \u0411\u043E\u043D\u0434\u0438 \u0430\u0441\u0441\u043E\u0440\u0442 \u043F\u0430\u043A 70\u0433", "price" : 43.00, "quantity" : 2.000, "sum" : 86.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:17:19]execute_script... [21:17:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17254", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620017455554", "name": "\u041C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 \u0411\u043E\u043D\u0434\u0438 \u0430\u0441\u0441\u043E\u0440\u0442 \u043F\u0430\u043A 70\u0433", "price" : 43.00, "quantity" : 2.000, "sum" : 86.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:17:19]POST & json_proto [21:17:19]process_json_proto [21:17:19]json parsed OK: [21:17:19]protocol is kg_v1.0 [21:17:19]action value=close_receipt [21:17:19]process_action close_receipt [21:17:19]cmd_close_receipt [21:17:19]MH_GetDate [21:17:19]Write to MH i2c: F0 00 00 F8 0A F1 [21:17:19]Write i2c OK [21:17:19]MH_I2C_Read... [21:17:19]Read from MH i2c: F0 [21:17:19]MH_I2C_Read... [21:17:19]Read from MH i2c: F0 09 00 [21:17:19]MH_I2C_Read... [21:17:19]Read from MH i2c: F0 09 00 F8 0A 00 E1 50 21 67 28 A1 20 67 03 [21:17:19]GetLastDocTimeStamp 1730236540 [21:17:19]current date 1730236641 [21:17:19]FM_GetShiftState [21:17:19]SAM_PROTO_GetShiftState [21:17:19]wFMCommunicate request_size=4 [21:17:19]MH_SAM_APDU [21:17:19]CAPDU: 80 13 01 00 [21:17:19]Write to MH i2c: E2 08 00 F9 0A 80 13 01 00 00 00 00 00 80 [21:17:19]Write i2c OK [21:17:19]MH_I2C_Read... [21:17:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:17:19]Read from MH i2c: E2 [21:17:19]MH_I2C_Read... [21:17:19]Read from MH i2c: E2 0E 00 [21:17:19]MH_I2C_Read... [21:17:19]Read from MH i2c: E2 0E 00 F9 0A 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 30 [21:17:19]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:17:19]wFMCommunicate OK [21:17:19]SAM_PROTO_GetShiftState done [21:17:19]FM_GetShiftState done [21:17:19]opened in 1730160885 [21:17:19]opened+sec_in_day 1730247285 [21:17:19]quantity*price = 9900 [21:17:19]sum+1 = 9901 [21:17:19]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700026030109 Курут чобого 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4620017455554 Мармелад Бонди ассорт пак 70г 2.000 * 43.00 = 86.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 234.00 НСП 1% : 2.07 НДС 12% : 24.84 Наличными: 234.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 149 29.10.2024 21:17 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68426 ФПД: 44041871751836 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T211721&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68426&fm=44041871751836&tin=02508201610067®Number=0000000000091759&sum=23400 0 [21:17:20]StoreToDocumentArchive [21:17:20]shift 548 fd 68426 [21:17:20]save to /storage/0548/doc_00068426 [21:17:20]save last doc name /storage/0548/doc_00068426 to /storage/kkm_last_doc_name [21:17:20]save OK [21:17:20]Clear old archive folders... [21:17:20]ProcessDocumentItem done err = 0, tmpTLVsize=512 [21:17:20]tlvbuf is 01DEBD30 [21:17:20]SAM_PROTO_ClearQueue [21:17:20]wFMCommunicate request_size=4 [21:17:20]MH_SAM_APDU [21:17:20]CAPDU: 80 09 00 00 [21:17:20]Write to MH i2c: E2 08 00 06 0B 80 09 00 00 00 00 00 00 83 [21:17:20]Write i2c OK [21:17:20]MH_I2C_Read... [21:17:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:17:20]Read from MH i2c: E2 [21:17:20]MH_I2C_Read... [21:17:20]Read from MH i2c: E2 03 00 [21:17:20]MH_I2C_Read... [21:17:20]Read from MH i2c: E2 03 00 06 0B 00 90 00 85 [21:17:20]RAPDU: 90 00 [21:17:20]wFMCommunicate OK [21:17:20]SAM_PROTO_ClearQueue done [21:17:20]KKMCreateOFDPacket [21:17:20]OFDProtocolAddRootSTLVToBuf [21:17:20]FM_MakeSignedData [21:17:20]FM_MakeSignedData [21:17:20]SAM_PROTO_SignData [21:17:20]wFMCommunicate request_size=4 [21:17:20]MH_SAM_APDU [21:17:20]CAPDU: 80 0D 01 02 [21:17:20]Write to MH i2c: E2 08 00 07 0B 80 0D 01 02 00 00 00 00 8B [21:17:20]Write i2c OK [21:17:20]MH_I2C_Read... [21:17:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:17:20]Read from MH i2c: E2 [21:17:20]MH_I2C_Read... [21:17:20]Read from MH i2c: E2 03 00 [21:17:20]MH_I2C_Read... [21:17:20]Read from MH i2c: E2 03 00 07 0B 00 90 00 86 [21:17:20]RAPDU: 90 00 [21:17:20]wFMCommunicate OK [21:17:20]wFMCommunicate request_size=255 [21:17:20]MH_SAM_APDU [21:17:20]CAPDU: 80 0D 02 02 FA 03 00 00 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 [21:17:20]Write to MH i2c: E2 02 01 08 0B 80 0D 02 02 FA 00 03 00 00 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 00 00 D1 [21:17:21]Write i2c OK [21:17:21]MH_I2C_Read... [21:17:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:17:21]Read from MH i2c: E2 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 03 00 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 03 00 08 0B 00 90 00 87 [21:17:21]RAPDU: 90 00 [21:17:21]wFMCommunicate OK [21:17:21]wFMCommunicate request_size=255 [21:17:21]MH_SAM_APDU [21:17:21]CAPDU: 80 0D 02 02 FA 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 95 00 00 00 F4 03 04 00 E1 50 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 [21:17:21]Write to MH i2c: E2 02 01 09 0B 80 0D 02 02 FA 00 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 95 00 00 00 F4 03 04 00 E1 50 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 00 00 8F [21:17:21]Write i2c OK [21:17:21]MH_I2C_Read... [21:17:21]OFD Sender: No OFD packet to send [21:17:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:17:21]Read from MH i2c: E2 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 03 00 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 03 00 09 0B 00 90 00 88 [21:17:21]RAPDU: 90 00 [21:17:21]wFMCommunicate OK [21:17:21]wFMCommunicate request_size=21 [21:17:21]MH_SAM_APDU [21:17:21]CAPDU: 80 0D 02 02 10 04 00 4A 0B 01 00 35 04 06 00 28 0E 4C 1E FA 9C [21:17:21]Write to MH i2c: E2 18 00 0A 0B 80 0D 02 02 10 00 04 00 4A 0B 01 00 35 04 06 00 28 0E 4C 1E FA 9C 00 00 7E [21:17:21]Write i2c OK [21:17:21]MH_I2C_Read... [21:17:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:17:21]Read from MH i2c: E2 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 03 00 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 03 00 0A 0B 00 90 00 89 [21:17:21]RAPDU: 90 00 [21:17:21]wFMCommunicate OK [21:17:21]wFMCommunicate request_size=4 [21:17:21]MH_SAM_APDU [21:17:21]CAPDU: 80 0D 03 02 [21:17:21]Write to MH i2c: E2 08 00 0B 0B 80 0D 03 02 00 00 00 00 91 [21:17:21]Write i2c OK [21:17:21]MH_I2C_Read... [21:17:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:17:21]Read from MH i2c: E2 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 0B 00 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 0B 00 0B 0B 00 BA 29 F0 03 EC 4F 35 04 90 00 DC [21:17:21]RAPDU: BA 29 F0 03 EC 4F 35 04 90 00 [21:17:21]wFMCommunicate OK [21:17:21]SAM_PROTO_SignData done [21:17:21]FM_MakeSignedData done [21:17:21]CreateOFDProtocolMessage [21:17:21]wFMCommunicate request_size=4 [21:17:21]MH_SAM_APDU [21:17:21]CAPDU: 80 11 00 00 [21:17:21]Write to MH i2c: E2 08 00 0C 0B 80 11 00 00 00 00 00 00 91 [21:17:21]Write i2c OK [21:17:21]MH_I2C_Read... [21:17:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:17:21]Read from MH i2c: E2 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 17 00 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: E2 17 00 0C 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E8 [21:17:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:17:21]wFMCommunicate OK [21:17:21]CreateOFDProtocolMessage done [21:17:21]OFDSenderStorePacket 68426 [21:17:21]StoreOFDPacket docnum=68426 [21:17:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 14 02 00 00 0C 9E 0C 02 DD 96 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 95 00 00 00 F4 03 04 00 E1 50 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4A 0B 01 00 35 04 06 00 28 0E 4C 1E FA 9C BA 29 F0 03 EC 4F 35 04 [21:17:21]CheckFolder [21:17:21]dirname=/storage/ofd_packets [21:17:21]CheckFolder done [21:17:21]ProducePacketName [21:17:21]name=ofd_packets/00068426 [21:17:21]NVStorageSaveData ofd_packets/00068426 [21:17:21]File name is /storage/ofd_packets/00068426 [21:17:21]Write 562 bytes [21:17:21]NVStorageSaveData done [21:17:21]OFDSenderStorePacket done [21:17:21]KKMCreateOFDPacket done [21:17:21]NVStorageSaveData kkm_last_timestamp [21:17:21]File name is /storage/kkm_last_timestamp [21:17:21]Write 4 bytes [21:17:21]NVStorageSaveData done [21:17:21]ExternCall_PrintAddStr [21:17:21]wPrintStart [21:17:21]Write to MH i2c: 01 00 00 0D 0B 18 [21:17:21]Write i2c OK [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: 01 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: 01 07 00 [21:17:21]MH_I2C_Read... [21:17:21]Read from MH i2c: 01 07 00 0D 0B 00 00 00 00 00 FF 0F 2D [21:17:21]RasterBufferAndPrint [21:17:21]line Счет N : (3)17254 [21:17:21]line ИНН: 02508201610067 [21:17:21]line Контрольно-Кассовый Чек [21:17:21]line ПРОДАЖА [21:17:21]line Товар: 4870022003305 [21:17:21]line Напиток Gorilla эн нат ж/б 0,5/0,45л [21:17:21]line 1.000 * 99.00 [21:17:21]line = 99.00 [21:17:21]line НДС 12% НСП 1% [21:17:21]line > о реализуемом товаре [21:17:21]line Товар: 4700026030109 [21:17:21]line Курут чобого [21:17:21]line 1.000 * 49.00 [21:17:21]line = 49.00 [21:17:21]line НДС 12% НСП 1% [21:17:21]line > о реализуемом товаре [21:17:21]line Товар: 4620017455554 [21:17:21]line Мармелад Бонди ассорт пак 70г [21:17:21]line 2.000 * 43.00 [21:17:21]line = 86.00 [21:17:21]line НДС 12% НСП 1% [21:17:21]line > о реализуемом товаре [21:17:21]line ИТОГО: 234.00 [21:17:21]line НСП 1% : 2.07 [21:17:21]line НДС 12% : 24.84 [21:17:21]line Наличными: 234.00 [21:17:21]line Безнал.: 0.00 [21:17:21]line Место: АЗС № 160 "Партнер Нефть" [21:17:21]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:17:21]line СНО: Общий режим [21:17:21]line Чек 149 29.10.2024 21:17 [21:17:21]line Смена: 548 ФФД: 1.0 [21:17:21]line ЗНМ: 0300000093 [21:17:21]line РНМ: 0000000000091759 [21:17:21]line Версия ККМ: 001 [21:17:21]line ФМ: 0000000000871758 [21:17:21]line ФД: 68426 [21:17:21]line ФПД: 44041871751836 [21:17:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T211721&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68426&fm=44041871751836&tin=02508201610067®Number=0000000000091759&sum=23400 [21:17:22]OFD Sender: Processing packet 68426 [packets to send 28, broken 27] [21:17:22]ProducePacketName [21:17:22]name=ofd_packets/00068426 [21:17:22]OFD Sender: To server: pG, [21:17:22]CommunicateWithHost lk.salyk.kg:30040 [21:17:22]ConnectInit lk.salyk.kg [21:17:22]line 0 [21:17:22]written 0, free lines is 4095 [21:17:22]Connected sock=10 [21:17:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 14 02 00 00 0C 9E 0C 02 DD 96 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 98 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 95 00 00 00 F4 03 04 00 E1 50 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4A 0B 01 00 35 04 06 00 28 0E 4C 1E FA 9C BA 29 F0 03 EC 4F 35 04 [21:17:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 8A 82 47 00 1F 95 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4A 0B 01 00 F4 03 04 00 89 FC 20 67 B6 04 01 00 00 81 40 C1 8D AD C7 4E DE [21:17:22]CommunicateWithHost err = 0 [21:17:22]CheckOFDResponse [21:17:22]1017 (14) - 77093643461234 [21:17:22]1041 (16) - 0000000000871758 [21:17:22]1040 (4) - 68426 [21:17:22]1012 (4) - 29.10.2024 15:17 [21:17:22]1206 (1) - 0 [21:17:22]OFD Sender: Remove packet 68426 [21:17:22]ProducePacketName [21:17:22]name=ofd_packets/00068426 [21:17:22]NVStorageDeleteData [21:17:22]Write to MH i2c: 01 00 00 42 0B 4D [21:17:22]Write i2c OK [21:17:22]MH_I2C_Read... [21:17:22]Read from MH i2c: 01 [21:17:22]MH_I2C_Read... [21:17:22]Read from MH i2c: 01 07 00 [21:17:22]MH_I2C_Read... [21:17:22]Read from MH i2c: 01 07 00 42 0B 00 00 00 00 00 FB 0B 5A [21:17:22]RasterBufferAndPrint [21:17:22]line [21:17:22]line [21:17:22]line [21:17:22]line [21:17:22]line [21:17:22]written 0, free lines is 3071 [21:17:22]MH_Cut [21:17:22]Write to MH i2c: D1 01 00 49 0B 01 26 [21:17:22]Write i2c OK [21:17:22]MH_I2C_Read... [21:17:22]Read from MH i2c: D1 [21:17:22]MH_I2C_Read... [21:17:22]Read from MH i2c: D1 01 00 [21:17:22]MH_I2C_Read... [21:17:22]Read from MH i2c: D1 01 00 49 0B 00 25 [21:17:22]Write to MH i2c: 01 00 00 4A 0B 55 [21:17:22]Write i2c OK [21:17:22]MH_I2C_Read... [21:17:22]OFD Sender: No OFD packet to send [21:17:23]*** Cut start [21:17:23]*** Partial cut [21:17:23]*** CUTSNS_PIN = 1 [21:17:23]*** CUTSNS_PIN = 0 [21:17:23]*** Brake cut motor [21:17:24]Read from MH i2c: 01 [21:17:24]MH_I2C_Read... [21:17:24]*** Stop cut motor [21:17:24]Read from MH i2c: 01 07 00 [21:17:24]MH_I2C_Read... [21:17:24]*** Cut end [21:17:24]Read from MH i2c: 01 07 00 4A 0B 00 00 00 00 00 FF 0F 6A [21:17:24]process_action close_receipt done [21:17:24]requested_data is exist [21:17:24]produce_requested_data [21:17:24]requested_item fm.sn is exist - process it [21:17:24]wFMCommunicate request_size=4 [21:17:24]MH_SAM_APDU [21:17:24]CAPDU: 80 11 00 00 [21:17:24]Write to MH i2c: E2 08 00 4B 0B 80 11 00 00 00 00 00 00 D0 [21:17:24]Write i2c OK [21:17:24]MH_I2C_Read... [21:17:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:17:24]Read from MH i2c: E2 [21:17:24]MH_I2C_Read... [21:17:24]Read from MH i2c: E2 17 00 [21:17:24]MH_I2C_Read... [21:17:24]Read from MH i2c: E2 17 00 4B 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 27 [21:17:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:17:24]wFMCommunicate OK [21:17:24]requested_item fd.num is exist - process it [21:17:24]SAM_PROTO_GetFieldsCounters [21:17:24]wFMCommunicate request_size=4 [21:17:24]MH_SAM_APDU [21:17:24]CAPDU: 80 13 00 00 [21:17:24]Write to MH i2c: E2 08 00 4C 0B 80 13 00 00 00 00 00 00 D3 [21:17:24]Write i2c OK [21:17:24]MH_I2C_Read... [21:17:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:17:24]Read from MH i2c: E2 [21:17:24]MH_I2C_Read... [21:17:24]Read from MH i2c: E2 62 00 [21:17:24]MH_I2C_Read... [21:17:24]Read from MH i2c: E2 62 00 4C 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 95 00 00 00 5E 04 04 00 95 00 00 00 57 04 04 00 96 00 00 00 19 04 04 00 00 00 00 00 90 00 39 [21:17:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 95 00 00 00 5E 04 04 00 95 00 00 00 57 04 04 00 96 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:17:24]wFMCommunicate OK [21:17:24]SAM_PROTO_GetFieldsCounters done [21:17:24]requested_item shift.num is exist - process it [21:17:24]requested_item shift.opened is exist - process it [21:17:24]req_shift_opened [21:17:24]FM_GetShiftState [21:17:24]SAM_PROTO_GetShiftState [21:17:24]wFMCommunicate request_size=4 [21:17:24]MH_SAM_APDU [21:17:24]CAPDU: 80 13 01 00 [21:17:24]Write to MH i2c: E2 08 00 4D 0B 80 13 01 00 00 00 00 00 D5 [21:17:24]Write i2c OK [21:17:24]MH_I2C_Read... [21:17:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:17:24]Read from MH i2c: E2 [21:17:24]MH_I2C_Read... [21:17:24]Read from MH i2c: E2 0E 00 [21:17:24]MH_I2C_Read... [21:17:24]Read from MH i2c: E2 0E 00 4D 0B 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 85 [21:17:24]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:17:24]wFMCommunicate OK [21:17:24]SAM_PROTO_GetShiftState done [21:17:24]FM_GetShiftState done [21:17:24]req_shift_opened done [21:17:24]requested_item shift.open_date is exist - process it [21:17:24]req_shift_open_date [21:17:24]req_shift_open_date done [21:17:24]produce_requested_data done [21:17:24]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68426,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:17:24]process_action_free close_receipt [21:17:24]json_value_free [21:17:24]json_value_free done [21:17:24]process_json_proto returns [21:17:24]Send response to host [21:17:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68426,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:17:24]free response buf [21:17:24]execute_script done [21:17:24]execute_script returns [21:17:24]free content buf [21:17:24]Sock 9.Close socket [21:17:24]Sock 9.Thread stoped [21:17:27]OFD Sender: No OFD packet to send [21:17:32]OFD Sender: No OFD packet to send [21:17:37]OFD Sender: No OFD packet to send [21:17:38]int [21:17:38]Write to MH i2c: 01 00 00 4E 0B 59 [21:17:38]*** FLAG_PRN_KEY set [21:17:38]Write i2c OK [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 07 00 [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 07 00 4E 0B 00 08 00 00 00 FF 0F 76 [21:17:38]state=0 [21:17:38]Key pressed [21:17:38]Feed [21:17:38]Write to MH i2c: D8 00 00 4F 0B 31 [21:17:38]Write i2c OK [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: D8 [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: D8 01 00 [21:17:38]MH_I2C_Read... [21:17:38]*** FLAG_PRN_KEY reset [21:17:38]*** FLAG_PRN_KEY set [21:17:38]Read from MH i2c: D8 01 00 4F 0B 00 32 [21:17:38]int line is 0 - check status [21:17:38]Write to MH i2c: 01 00 00 50 0B 5B [21:17:38]Write i2c OK [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 07 00 [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 07 00 50 0B 00 48 00 00 00 3C 00 E6 [21:17:38]state=2 [21:17:38]Key pressed [21:17:38]int [21:17:38]Write to MH i2c: 01 00 00 51 0B 5C [21:17:38]Write i2c OK [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 07 00 [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 07 00 51 0B 00 48 00 00 00 3C 00 E7 [21:17:38]state=2 [21:17:38]Key pressed [21:17:38]int [21:17:38]Write to MH i2c: 01 00 00 52 0B 5D [21:17:38]*** FLAG_PRN_KEY reset [21:17:38]Write i2c OK [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 07 00 [21:17:38]MH_I2C_Read... [21:17:38]Read from MH i2c: 01 07 00 52 0B 00 00 00 00 00 F5 0F 68 [21:17:38]state=2 [21:17:38]Stop feed [21:17:42]OFD Sender: No OFD packet to send [21:17:47]OFD Sender: No OFD packet to send [21:17:52]OFD Sender: No OFD packet to send [21:17:57]OFD Sender: No OFD packet to send [21:18:00]accept exits with 8 [21:18:00]New connection [21:18:00]New thread 3066715492 created [21:18:00]Thread 3066858852 joined [21:18:00]Waiting for new connection... [21:18:00] Sock 8.Parse request [21:18:00]Sock 8.Check first char [21:18:00]Sock 8.First char is OK [21:18:00]request: POST /json_proto HTTP/1.0 [21:18:00]Method: POST [21:18:00]URL: /json_proto [21:18:00]Method is POST - this is cgi request [21:18:00]url: /json_proto [21:18:00]query_string will be loaded in cgi processing [21:18:00]execute_cgi json_proto POST (null) [21:18:00]execute_cgi path=json_proto method=POST [21:18:00]POST find Content-Length [21:18:00]Host: 172.17.42.3:8080 [21:18:00]Content-Length: 681 [21:18:00]Content-Type: application/json [21:18:00] [21:18:00]POST finish read [21:18:00]Found Content-Length = 681 [21:18:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46414", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 16.170, "sum" : 1199.81, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1199.00, "payments": [ { "type": 0, "sum" : 1199.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:18:00]execute_script... [21:18: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)46414", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 14", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 16.170, "sum" : 1199.81, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1199.00, "payments": [ { "type": 0, "sum" : 1199.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:18:00]POST & json_proto [21:18:00]process_json_proto [21:18:00]json parsed OK: [21:18:00]protocol is kg_v1.0 [21:18:00]action value=close_receipt [21:18:00]process_action close_receipt [21:18:00]cmd_close_receipt [21:18:00]MH_GetDate [21:18:00]Write to MH i2c: F0 00 00 53 0B 4D [21:18:00]Write i2c OK [21:18:00]MH_I2C_Read... [21:18:00]Read from MH i2c: F0 [21:18:00]MH_I2C_Read... [21:18:00]Read from MH i2c: F0 09 00 [21:18:00]MH_I2C_Read... [21:18:00]Read from MH i2c: F0 09 00 53 0B 00 09 51 21 67 28 A1 20 67 88 [21:18:00]GetLastDocTimeStamp 1730236641 [21:18:00]current date 1730236681 [21:18:00]FM_GetShiftState [21:18:00]SAM_PROTO_GetShiftState [21:18:00]wFMCommunicate request_size=4 [21:18:00]MH_SAM_APDU [21:18:00]CAPDU: 80 13 01 00 [21:18:00]Write to MH i2c: E2 08 00 54 0B 80 13 01 00 00 00 00 00 DC [21:18:00]Write i2c OK [21:18:00]MH_I2C_Read... [21:18:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:18:00]Read from MH i2c: E2 [21:18:00]MH_I2C_Read... [21:18:00]Read from MH i2c: E2 0E 00 [21:18:00]MH_I2C_Read... [21:18:00]Read from MH i2c: E2 0E 00 54 0B 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 8C [21:18:00]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:18:00]wFMCommunicate OK [21:18:00]SAM_PROTO_GetShiftState done [21:18:00]FM_GetShiftState done [21:18:00]opened in 1730160885 [21:18:00]opened+sec_in_day 1730247285 [21:18:00]quantity*price = 119981 [21:18:00]sum+1 = 119982 [21:18:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.81 ИТОГО: 1199.00 Внесено: 1200.00 СДАЧА: 1.00 НСП 1% : 10.62 НДС 12% : 127.41 Наличными: 1199.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 150 29.10.2024 21:18 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68427 ФПД: 274644575073462 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T211801&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68427&fm=274644575073462&tin=02508201610067®Number=0000000000091759&sum=119900 [21:18:01]StoreToDocumentArchive [21:18:01]shift 548 fd 68427 [21:18:01]save to /storage/0548/doc_00068427 [21:18:01]save last doc name /storage/0548/doc_00068427 to /storage/kkm_last_doc_name [21:18:01]save OK [21:18:01]Clear old archive folders... [21:18:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:18:01]tlvbuf is 01DD8610 [21:18:01]SAM_PROTO_ClearQueue [21:18:01]wFMCommunicate request_size=4 [21:18:01]MH_SAM_APDU [21:18:01]CAPDU: 80 09 00 00 [21:18:01]Write to MH i2c: E2 08 00 61 0B 80 09 00 00 00 00 00 00 DE [21:18:01]Write i2c OK [21:18:01]MH_I2C_Read... [21:18:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:18:01]Read from MH i2c: E2 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 03 00 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 03 00 61 0B 00 90 00 E0 [21:18:01]RAPDU: 90 00 [21:18:01]wFMCommunicate OK [21:18:01]SAM_PROTO_ClearQueue done [21:18:01]KKMCreateOFDPacket [21:18:01]OFDProtocolAddRootSTLVToBuf [21:18:01]FM_MakeSignedData [21:18:01]FM_MakeSignedData [21:18:01]SAM_PROTO_SignData [21:18:01]wFMCommunicate request_size=4 [21:18:01]MH_SAM_APDU [21:18:01]CAPDU: 80 0D 01 02 [21:18:01]Write to MH i2c: E2 08 00 62 0B 80 0D 01 02 00 00 00 00 E6 [21:18:01]Write i2c OK [21:18:01]MH_I2C_Read... [21:18:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:18:01]Read from MH i2c: E2 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 03 00 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 03 00 62 0B 00 90 00 E1 [21:18:01]RAPDU: 90 00 [21:18:01]wFMCommunicate OK [21:18:01]wFMCommunicate request_size=255 [21:18:01]MH_SAM_APDU [21:18:01]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 2A 3F 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 AD D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 31 00 00 00 00 07 04 06 00 5C D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 96 00 00 00 F4 03 04 00 09 51 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4B 0B 01 00 35 04 06 00 F9 [21:18:01]Write to MH i2c: E2 02 01 63 0B 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 2A 3F 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 AD D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 31 00 00 00 00 07 04 06 00 5C D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 96 00 00 00 F4 03 04 00 09 51 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4B 0B 01 00 35 04 06 00 F9 00 00 6F [21:18:01]Write i2c OK [21:18:01]MH_I2C_Read... [21:18:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:18:01]Read from MH i2c: E2 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 03 00 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 03 00 63 0B 00 90 00 E2 [21:18:01]RAPDU: 90 00 [21:18:01]wFMCommunicate OK [21:18:01]wFMCommunicate request_size=10 [21:18:01]MH_SAM_APDU [21:18:01]CAPDU: 80 0D 02 02 05 C9 AC 56 34 B6 [21:18:01]Write to MH i2c: E2 0D 00 64 0B 80 0D 02 02 05 00 C9 AC 56 34 B6 00 00 A8 [21:18:01]Write i2c OK [21:18:01]MH_I2C_Read... [21:18:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:18:01]Read from MH i2c: E2 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 03 00 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 03 00 64 0B 00 90 00 E3 [21:18:01]RAPDU: 90 00 [21:18:01]wFMCommunicate OK [21:18:01]wFMCommunicate request_size=4 [21:18:01]MH_SAM_APDU [21:18:01]CAPDU: 80 0D 03 02 [21:18:01]Write to MH i2c: E2 08 00 65 0B 80 0D 03 02 00 00 00 00 EB [21:18:01]Write i2c OK [21:18:01]MH_I2C_Read... [21:18:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:18:01]Read from MH i2c: E2 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 0B 00 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 0B 00 65 0B 00 85 62 B3 32 70 E8 0A E1 90 00 FB [21:18:01]RAPDU: 85 62 B3 32 70 E8 0A E1 90 00 [21:18:01]wFMCommunicate OK [21:18:01]SAM_PROTO_SignData done [21:18:01]FM_MakeSignedData done [21:18:01]CreateOFDProtocolMessage [21:18:01]wFMCommunicate request_size=4 [21:18:01]MH_SAM_APDU [21:18:01]CAPDU: 80 11 00 00 [21:18:01]Write to MH i2c: E2 08 00 66 0B 80 11 00 00 00 00 00 00 EB [21:18:01]Write i2c OK [21:18:01]MH_I2C_Read... [21:18:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:18:01]Read from MH i2c: E2 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 17 00 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: E2 17 00 66 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 42 [21:18:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:18:01]wFMCommunicate OK [21:18:01]CreateOFDProtocolMessage done [21:18:01]OFDSenderStorePacket 68427 [21:18:01]StoreOFDPacket docnum=68427 [21:18:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 21 E0 07 01 31 8F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 2A 3F 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 AD D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 31 00 00 00 00 07 04 06 00 5C D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 96 00 00 00 F4 03 04 00 09 51 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4B 0B 01 00 35 04 06 00 F9 C9 AC 56 34 B6 85 62 B3 32 70 E8 0A E1 [21:18:01]CheckFolder [21:18:01]dirname=/storage/ofd_packets [21:18:01]CheckFolder done [21:18:01]ProducePacketName [21:18:01]name=ofd_packets/00068427 [21:18:01]NVStorageSaveData ofd_packets/00068427 [21:18:01]File name is /storage/ofd_packets/00068427 [21:18:01]Write 301 bytes [21:18:01]NVStorageSaveData done [21:18:01]OFDSenderStorePacket done [21:18:01]KKMCreateOFDPacket done [21:18:01]NVStorageSaveData kkm_last_timestamp [21:18:01]File name is /storage/kkm_last_timestamp [21:18:01]Write 4 bytes [21:18:01]NVStorageSaveData done [21:18:01]ExternCall_PrintAddStr [21:18:01]wPrintStart [21:18:01]Write to MH i2c: 01 00 00 67 0B 72 [21:18:01]Write i2c OK [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: 01 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: 01 07 00 [21:18:01]MH_I2C_Read... [21:18:01]Read from MH i2c: 01 07 00 67 0B 00 00 00 00 00 FF 0F 87 [21:18:01]RasterBufferAndPrint [21:18:01]line Счет N : (1)46414 [21:18:01]line ИНН: 02508201610067 [21:18:01]line Контрольно-Кассовый Чек [21:18:01]line ПРОДАЖА [21:18:01]line ТРК (МРК, ГНК) : 14 [21:18:01]line Товар: 2710124500 [21:18:01]line Аи-95-К-3 [21:18:01]line 16.170 * 74.20 [21:18:01]line = 1199.81 [21:18:01]line НДС 12% НСП 1% [21:18:01]line > о реализуемом товаре [21:18:01]line ОКРУГЛЕНИЕ: -0.81 [21:18:01]line ИТОГО: 1199.00 [21:18:01]line Внесено: 1200.00 [21:18:01]line СДАЧА: 1.00 [21:18:01]line НСП 1% : 10.62 [21:18:01]line НДС 12% : 127.41 [21:18:01]line Наличными: 1199.00 [21:18:01]line Безнал.: 0.00 [21:18:01]line Место: АЗС № 160 "Партнер Нефть" [21:18:01]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:18:01]line СНО: Общий режим [21:18:01]line Чек 150 29.10.2024 21:18 [21:18:01]line Смена: 548 ФФД: 1.0 [21:18:01]line ЗНМ: 0300000093 [21:18:01]line РНМ: 0000000000091759 [21:18:01]line Версия ККМ: 001 [21:18:01]line ФМ: 0000000000871758 [21:18:01]line ФД: 68427 [21:18:01]line ФПД: 274644575073462 [21:18:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T211801&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68427&fm=274644575073462&tin=02508201610067®Number=0000000000091759&sum=119900 [21:18:01]written 0, free lines is 4095 [21:18:01]OFD Sender: Processing packet 68427 [packets to send 28, broken 27] [21:18:01]ProducePacketName [21:18:01]name=ofd_packets/00068427 [21:18:01]OFD Sender: To server: pG, [21:18:01]CommunicateWithHost lk.salyk.kg:30040 [21:18:01]ConnectInit lk.salyk.kg [21:18:01]Connected sock=10 [21:18:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 21 E0 07 01 31 8F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 2A 3F 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 AD D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 31 00 00 00 00 07 04 06 00 5C D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 96 00 00 00 F4 03 04 00 09 51 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4B 0B 01 00 35 04 06 00 F9 C9 AC 56 34 B6 85 62 B3 32 70 E8 0A E1 [21:18:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 10 BE 47 00 0A D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4B 0B 01 00 F4 03 04 00 B1 FC 20 67 B6 04 01 00 00 69 E6 9D 83 5F 33 AC 77 [21:18:02]CommunicateWithHost err = 0 [21:18:02]CheckOFDResponse [21:18:02]1017 (14) - 77093643461234 [21:18:02]1041 (16) - 0000000000871758 [21:18:02]1040 (4) - 68427 [21:18:02]1012 (4) - 29.10.2024 15:18 [21:18:02]1206 (1) - 0 [21:18:02]OFD Sender: Remove packet 68427 [21:18:02]ProducePacketName [21:18:02]name=ofd_packets/00068427 [21:18:02]NVStorageDeleteData [21:18:02]Write to MH i2c: 01 00 00 91 0B 9C [21:18:02]Write i2c OK [21:18:02]MH_I2C_Read... [21:18:02]Read from MH i2c: 01 [21:18:02]MH_I2C_Read... [21:18:02]Read from MH i2c: 01 07 00 [21:18:02]MH_I2C_Read... [21:18:02]Read from MH i2c: 01 07 00 91 0B 00 00 00 00 00 C0 0C 6F [21:18:02]RasterBufferAndPrint [21:18:02]line [21:18:02]line [21:18:02]line [21:18:02]line [21:18:02]line [21:18:02]written 0, free lines is 3270 [21:18:02]MH_Cut [21:18:02]Write to MH i2c: D1 01 00 98 0B 01 75 [21:18:02]Write i2c OK [21:18:02]MH_I2C_Read... [21:18:02]Read from MH i2c: D1 [21:18:02]MH_I2C_Read... [21:18:02]Read from MH i2c: D1 01 00 [21:18:02]MH_I2C_Read... [21:18:02]Read from MH i2c: D1 01 00 98 0B 00 74 [21:18:02]Write to MH i2c: 01 00 00 99 0B A4 [21:18:02]Write i2c OK [21:18:02]MH_I2C_Read... [21:18:02]OFD Sender: No OFD packet to send [21:18:03]*** Cut start [21:18:03]*** Partial cut [21:18:03]*** CUTSNS_PIN = 1 [21:18:03]*** CUTSNS_PIN = 0 [21:18:03]*** Brake cut motor [21:18:03]Read from MH i2c: 01 [21:18:03]MH_I2C_Read... [21:18:03]*** Stop cut motor [21:18:03]*** Cut end [21:18:03]Read from MH i2c: 01 07 00 [21:18:03]MH_I2C_Read... [21:18:03]Read from MH i2c: 01 07 00 99 0B 00 00 00 00 00 FF 0F B9 [21:18:03]process_action close_receipt done [21:18:03]requested_data is exist [21:18:03]produce_requested_data [21:18:03]requested_item fm.sn is exist - process it [21:18:03]wFMCommunicate request_size=4 [21:18:03]MH_SAM_APDU [21:18:03]CAPDU: 80 11 00 00 [21:18:03]Write to MH i2c: E2 08 00 9A 0B 80 11 00 00 00 00 00 00 1F [21:18:03]Write i2c OK [21:18:03]MH_I2C_Read... [21:18:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:18:03]Read from MH i2c: E2 [21:18:03]MH_I2C_Read... [21:18:03]Read from MH i2c: E2 17 00 [21:18:03]MH_I2C_Read... [21:18:03]Read from MH i2c: E2 17 00 9A 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 76 [21:18:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:18:03]wFMCommunicate OK [21:18:03]requested_item fd.num is exist - process it [21:18:03]SAM_PROTO_GetFieldsCounters [21:18:03]wFMCommunicate request_size=4 [21:18:03]MH_SAM_APDU [21:18:03]CAPDU: 80 13 00 00 [21:18:03]Write to MH i2c: E2 08 00 9B 0B 80 13 00 00 00 00 00 00 22 [21:18:03]Write i2c OK [21:18:03]MH_I2C_Read... [21:18:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:18:03]Read from MH i2c: E2 [21:18:03]MH_I2C_Read... [21:18:03]Read from MH i2c: E2 62 00 [21:18:03]MH_I2C_Read... [21:18:03]Read from MH i2c: E2 62 00 9B 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4B 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 96 00 00 00 5E 04 04 00 96 00 00 00 57 04 04 00 97 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [21:18:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4B 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 96 00 00 00 5E 04 04 00 96 00 00 00 57 04 04 00 97 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:18:03]wFMCommunicate OK [21:18:03]SAM_PROTO_GetFieldsCounters done [21:18:03]requested_item shift.num is exist - process it [21:18:03]requested_item shift.opened is exist - process it [21:18:03]req_shift_opened [21:18:03]FM_GetShiftState [21:18:03]SAM_PROTO_GetShiftState [21:18:03]wFMCommunicate request_size=4 [21:18:03]MH_SAM_APDU [21:18:03]CAPDU: 80 13 01 00 [21:18:03]Write to MH i2c: E2 08 00 9C 0B 80 13 01 00 00 00 00 00 24 [21:18:03]Write i2c OK [21:18:03]MH_I2C_Read... [21:18:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:18:03]Read from MH i2c: E2 [21:18:03]MH_I2C_Read... [21:18:03]Read from MH i2c: E2 0E 00 [21:18:03]MH_I2C_Read... [21:18:03]Read from MH i2c: E2 0E 00 9C 0B 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D4 [21:18:03]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:18:03]wFMCommunicate OK [21:18:03]SAM_PROTO_GetShiftState done [21:18:03]FM_GetShiftState done [21:18:03]req_shift_opened done [21:18:03]requested_item shift.open_date is exist - process it [21:18:03]req_shift_open_date [21:18:03]req_shift_open_date done [21:18:03]produce_requested_data done [21:18:03]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68427,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:18:03]process_action_free close_receipt [21:18:03]json_value_free [21:18:03]json_value_free done [21:18:03]process_json_proto returns [21:18:03]Send response to host [21:18:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68427,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:18:03]free response buf [21:18:03]execute_script done [21:18:03]execute_script returns [21:18:03]free content buf [21:18:03]Sock 8.Close socket [21:18:03]Sock 8.Thread stoped [21:18:07]OFD Sender: No OFD packet to send [21:18:12]OFD Sender: No OFD packet to send [21:18:17]OFD Sender: No OFD packet to send [21:18:22]OFD Sender: No OFD packet to send [21:18:27]OFD Sender: No OFD packet to send [21:18:32]OFD Sender: No OFD packet to send [21:18:37]OFD Sender: No OFD packet to send [21:18:42]OFD Sender: No OFD packet to send [21:18:47]OFD Sender: No OFD packet to send [21:18:52]OFD Sender: No OFD packet to send [21:18:57]OFD Sender: No OFD packet to send [21:19:02]OFD Sender: No OFD packet to send [21:19:07]OFD Sender: No OFD packet to send [21:19:12]OFD Sender: No OFD packet to send [21:19:17]OFD Sender: No OFD packet to send [21:19:22]OFD Sender: No OFD packet to send [21:19:27]OFD Sender: No OFD packet to send [21:19:32]OFD Sender: No OFD packet to send [21:19:37]OFD Sender: No OFD packet to send [21:19:42]OFD Sender: No OFD packet to send [21:19:47]OFD Sender: No OFD packet to send [21:19:52]OFD Sender: No OFD packet to send [21:19:57]OFD Sender: No OFD packet to send [21:20:02]OFD Sender: No OFD packet to send [21:20:07]OFD Sender: No OFD packet to send [21:20:12]OFD Sender: No OFD packet to send [21:20:17]OFD Sender: No OFD packet to send [21:20:22]OFD Sender: No OFD packet to send [21:20:27]OFD Sender: No OFD packet to send [21:20:32]OFD Sender: No OFD packet to send [21:20:37]OFD Sender: No OFD packet to send [21:20:42]OFD Sender: No OFD packet to send [21:20:47]OFD Sender: No OFD packet to send [21:20:52]OFD Sender: No OFD packet to send [21:20:57]OFD Sender: No OFD packet to send [21:21:02]OFD Sender: No OFD packet to send [21:21:07]OFD Sender: No OFD packet to send [21:21:12]OFD Sender: No OFD packet to send [21:21:17]OFD Sender: No OFD packet to send [21:21:22]OFD Sender: No OFD packet to send [21:21:27]OFD Sender: No OFD packet to send [21:21:32]OFD Sender: No OFD packet to send [21:21:37]OFD Sender: No OFD packet to send [21:21:42]OFD Sender: No OFD packet to send [21:21:47]OFD Sender: No OFD packet to send [21:21:52]OFD Sender: No OFD packet to send [21:21:57]OFD Sender: No OFD packet to send [21:22:02]OFD Sender: No OFD packet to send [21:22:07]OFD Sender: No OFD packet to send [21:22:12]OFD Sender: No OFD packet to send [21:22:17]OFD Sender: No OFD packet to send [21:22:22]OFD Sender: No OFD packet to send [21:22:27]OFD Sender: No OFD packet to send [21:22:32]OFD Sender: No OFD packet to send [21:22:37]OFD Sender: No OFD packet to send [21:22:42]OFD Sender: No OFD packet to send [21:22:47]OFD Sender: No OFD packet to send [21:22:52]OFD Sender: No OFD packet to send [21:22:57]OFD Sender: No OFD packet to send [21:23:02]OFD Sender: No OFD packet to send [21:23:07]OFD Sender: No OFD packet to send [21:23:12]OFD Sender: No OFD packet to send [21:23:17]OFD Sender: No OFD packet to send [21:23:22]OFD Sender: No OFD packet to send [21:23:27]OFD Sender: No OFD packet to send [21:23:32]OFD Sender: No OFD packet to send [21:23:37]OFD Sender: No OFD packet to send [21:23:42]OFD Sender: No OFD packet to send [21:23:47]OFD Sender: No OFD packet to send [21:23:52]OFD Sender: No OFD packet to send [21:23:57]OFD Sender: No OFD packet to send [21:24:03]OFD Sender: No OFD packet to send [21:24:08]OFD Sender: No OFD packet to send [21:24:13]OFD Sender: No OFD packet to send [21:24:14]accept exits with 9 [21:24:14]New connection [21:24:14]New thread 3066858852 created [21:24:14]Thread 3066715492 joined [21:24:14]Waiting for new connection... [21:24:14] Sock 9.Parse request [21:24:14]Sock 9.Check first char [21:24:14]Sock 9.First char is OK [21:24:14]request: POST /json_proto HTTP/1.0 [21:24:14]Method: POST [21:24:14]URL: /json_proto [21:24:14]Method is POST - this is cgi request [21:24:14]url: /json_proto [21:24:14]query_string will be loaded in cgi processing [21:24:14]execute_cgi json_proto POST (null) [21:24:14]execute_cgi path=json_proto method=POST [21:24:14]POST find Content-Length [21:24:14]Host: 172.17.42.3:8080 [21:24:14]Content-Length: 675 [21:24:14]Content-Type: application/json [21:24:14] [21:24:14]POST finish read [21:24:14]Found Content-Length = 675 [21:24:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46416", "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.120, "sum" : 999.74, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 999.00, "payments": [ { "type": 0, "sum" : 999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:14]execute_script... [21:24: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)46416", "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.120, "sum" : 999.74, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 999.00, "payments": [ { "type": 0, "sum" : 999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:14]POST & json_proto [21:24:14]process_json_proto [21:24:14]json parsed OK: [21:24:14]protocol is kg_v1.0 [21:24:14]action value=close_receipt [21:24:14]process_action close_receipt [21:24:14]cmd_close_receipt [21:24:14]MH_GetDate [21:24:14]Write to MH i2c: F0 00 00 9D 0B 97 [21:24:14]Write i2c OK [21:24:14]MH_I2C_Read... [21:24:14]Read from MH i2c: F0 [21:24:14]MH_I2C_Read... [21:24:14]Read from MH i2c: F0 09 00 [21:24:14]MH_I2C_Read... [21:24:14]Read from MH i2c: F0 09 00 9D 0B 00 7F 52 21 67 28 A1 20 67 49 [21:24:14]GetLastDocTimeStamp 1730236681 [21:24:14]current date 1730237055 [21:24:14]FM_GetShiftState [21:24:14]SAM_PROTO_GetShiftState [21:24:14]wFMCommunicate request_size=4 [21:24:14]MH_SAM_APDU [21:24:14]CAPDU: 80 13 01 00 [21:24:14]Write to MH i2c: E2 08 00 9E 0B 80 13 01 00 00 00 00 00 26 [21:24:14]Write i2c OK [21:24:14]MH_I2C_Read... [21:24:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:14]Read from MH i2c: E2 [21:24:14]MH_I2C_Read... [21:24:14]Read from MH i2c: E2 0E 00 [21:24:14]MH_I2C_Read... [21:24:14]Read from MH i2c: E2 0E 00 9E 0B 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D6 [21:24:14]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:24:14]wFMCommunicate OK [21:24:14]SAM_PROTO_GetShiftState done [21:24:14]FM_GetShiftState done [21:24:14]opened in 1730160885 [21:24:14]opened+sec_in_day 1730247285 [21:24:14]quantity*price = 99974 [21:24:14]sum+1 = 99975 [21:24:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.74 ИТОГО: 999.00 Внесено: 1000.00 СДАЧА: 1.00 НСП 1% : 8.85 НДС 12% : 106.17 Наличными: 999.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 151 29.10.2024 21:24 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68428 ФПД: 123020579859049 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T212415&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68428&fm=123020579859049&tin=02508201610067®Number=0000000000091759&sum=99900 [21:24:15]StoreToDocumentArchive [21:24:15]shift 548 fd 68428 [21:24:15]save to /storage/0548/doc_00068428 [21:24:15]save last doc name /storage/0548/doc_00068428 to /storage/kkm_last_doc_name [21:24:15]save OK [21:24:15]Clear old archive folders... [21:24:15]ProcessDocumentItem done err = 0, tmpTLVsize=248 [21:24:15]tlvbuf is 01E623C0 [21:24:15]SAM_PROTO_ClearQueue [21:24:15]wFMCommunicate request_size=4 [21:24:15]MH_SAM_APDU [21:24:15]CAPDU: 80 09 00 00 [21:24:15]Write to MH i2c: E2 08 00 AB 0B 80 09 00 00 00 00 00 00 28 [21:24:15]Write i2c OK [21:24:15]MH_I2C_Read... [21:24:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:24:15]Read from MH i2c: E2 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 03 00 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 03 00 AB 0B 00 90 00 2A [21:24:15]RAPDU: 90 00 [21:24:15]wFMCommunicate OK [21:24:15]SAM_PROTO_ClearQueue done [21:24:15]KKMCreateOFDPacket [21:24:15]OFDProtocolAddRootSTLVToBuf [21:24:15]FM_MakeSignedData [21:24:15]FM_MakeSignedData [21:24:15]SAM_PROTO_SignData [21:24:15]wFMCommunicate request_size=4 [21:24:15]MH_SAM_APDU [21:24:15]CAPDU: 80 0D 01 02 [21:24:15]Write to MH i2c: E2 08 00 AC 0B 80 0D 01 02 00 00 00 00 30 [21:24:15]Write i2c OK [21:24:15]MH_I2C_Read... [21:24:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:24:15]Read from MH i2c: E2 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 03 00 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 03 00 AC 0B 00 90 00 2B [21:24:15]RAPDU: 90 00 [21:24:15]wFMCommunicate OK [21:24:15]wFMCommunicate request_size=255 [21:24:15]MH_SAM_APDU [21:24:15]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 86 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 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 79 29 00 00 00 00 07 04 06 00 3C 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 97 00 00 00 F4 03 04 00 7F 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4C 0B 01 00 35 04 06 00 6F E2 F5 F6 [21:24:15]Write to MH i2c: E2 02 01 AD 0B 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 86 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 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 79 29 00 00 00 00 07 04 06 00 3C 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 97 00 00 00 F4 03 04 00 7F 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4C 0B 01 00 35 04 06 00 6F E2 F5 F6 00 00 42 [21:24:15]Write i2c OK [21:24:15]MH_I2C_Read... [21:24:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:15]Read from MH i2c: E2 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 03 00 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 03 00 AD 0B 00 90 00 2C [21:24:15]RAPDU: 90 00 [21:24:15]wFMCommunicate OK [21:24:15]wFMCommunicate request_size=7 [21:24:15]MH_SAM_APDU [21:24:15]CAPDU: 80 0D 02 02 02 6A 69 [21:24:15]Write to MH i2c: E2 0A 00 AE 0B 80 0D 02 02 02 00 6A 69 00 00 0A [21:24:15]Write i2c OK [21:24:15]MH_I2C_Read... [21:24:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:15]Read from MH i2c: E2 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 03 00 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 03 00 AE 0B 00 90 00 2D [21:24:15]RAPDU: 90 00 [21:24:15]wFMCommunicate OK [21:24:15]wFMCommunicate request_size=4 [21:24:15]MH_SAM_APDU [21:24:15]CAPDU: 80 0D 03 02 [21:24:15]Write to MH i2c: E2 08 00 AF 0B 80 0D 03 02 00 00 00 00 35 [21:24:15]Write i2c OK [21:24:15]MH_I2C_Read... [21:24:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:24:15]Read from MH i2c: E2 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 0B 00 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 0B 00 AF 0B 00 E0 D3 61 D4 44 A6 CD 9C 90 00 71 [21:24:15]RAPDU: E0 D3 61 D4 44 A6 CD 9C 90 00 [21:24:15]wFMCommunicate OK [21:24:15]SAM_PROTO_SignData done [21:24:15]FM_MakeSignedData done [21:24:15]CreateOFDProtocolMessage [21:24:15]wFMCommunicate request_size=4 [21:24:15]MH_SAM_APDU [21:24:15]CAPDU: 80 11 00 00 [21:24:15]Write to MH i2c: E2 08 00 B0 0B 80 11 00 00 00 00 00 00 35 [21:24:15]Write i2c OK [21:24:15]MH_I2C_Read... [21:24:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:15]Read from MH i2c: E2 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 17 00 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: E2 17 00 B0 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 8C [21:24:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:24:15]wFMCommunicate OK [21:24:15]CreateOFDProtocolMessage done [21:24:15]OFDSenderStorePacket 68428 [21:24:15]StoreOFDPacket docnum=68428 [21:24:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 71 F7 04 01 2B 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 40 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 86 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 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 79 29 00 00 00 00 07 04 06 00 3C 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 97 00 00 00 F4 03 04 00 7F 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4C 0B 01 00 35 04 06 00 6F E2 F5 F6 6A 69 E0 D3 61 D4 44 A6 CD 9C [21:24:15]CheckFolder [21:24:15]dirname=/storage/ofd_packets [21:24:15]CheckFolder done [21:24:15]ProducePacketName [21:24:15]name=ofd_packets/00068428 [21:24:15]NVStorageSaveData ofd_packets/00068428 [21:24:15]File name is /storage/ofd_packets/00068428 [21:24:15]Write 298 bytes [21:24:15]NVStorageSaveData done [21:24:15]OFDSenderStorePacket done [21:24:15]KKMCreateOFDPacket done [21:24:15]NVStorageSaveData kkm_last_timestamp [21:24:15]File name is /storage/kkm_last_timestamp [21:24:15]Write 4 bytes [21:24:15]NVStorageSaveData done [21:24:15]ExternCall_PrintAddStr [21:24:15]wPrintStart [21:24:15]Write to MH i2c: 01 00 00 B1 0B BC [21:24:15]Write i2c OK [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: 01 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: 01 07 00 [21:24:15]MH_I2C_Read... [21:24:15]Read from MH i2c: 01 07 00 B1 0B 00 00 00 00 00 FF 0F D1 [21:24:15]RasterBufferAndPrint [21:24:15]line Счет N : (1)46416 [21:24:15]line ИНН: 02508201610067 [21:24:15]line Контрольно-Кассовый Чек [21:24:15]line ПРОДАЖА [21:24:15]line ТРК (МРК, ГНК) : 31 [21:24:15]line Товар: 2710194210 [21:24:15]line ДТ-К-5 [21:24:15]line 13.120 * 76.20 [21:24:15]line = 999.74 [21:24:15]line НДС 12% НСП 1% [21:24:15]line > о реализуемом товаре [21:24:15]line ОКРУГЛЕНИЕ: -0.74 [21:24:15]line ИТОГО: 999.00 [21:24:15]line Внесено: 1000.00 [21:24:15]line СДАЧА: 1.00 [21:24:15]line НСП 1% : 8.85 [21:24:15]line НДС 12% : 106.17 [21:24:15]line Наличными: 999.00 [21:24:15]line Безнал.: 0.00 [21:24:15]line Место: АЗС № 160 "Партнер Нефть" [21:24:15]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:24:15]line СНО: Общий режим [21:24:15]line Чек 151 29.10.2024 21:24 [21:24:15]line Смена: 548 ФФД: 1.0 [21:24:15]line ЗНМ: 0300000093 [21:24:15]line РНМ: 0000000000091759 [21:24:15]line Версия ККМ: 001 [21:24:15]line ФМ: 0000000000871758 [21:24:15]line ФД: 68428 [21:24:15]line ФПД: 123020579859049 [21:24:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T212415&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68428&fm=123020579859049&tin=02508201610067®Number=0000000000091759&sum=99900 [21:24:16]OFD Sender: Processing packet 68428 [packets to send 28, broken 27] [21:24:16]ProducePacketName [21:24:16]name=ofd_packets/00068428 [21:24:16]OFD Sender: To server: pG, [21:24:16]CommunicateWithHost lk.salyk.kg:30040 [21:24:16]ConnectInit lk.salyk.kg [21:24:16]written 0, free lines is 4095 [21:24:16]Connected sock=11 [21:24:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 71 F7 04 01 2B 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 40 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 86 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 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 79 29 00 00 00 00 07 04 06 00 3C 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 97 00 00 00 F4 03 04 00 7F 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4C 0B 01 00 35 04 06 00 6F E2 F5 F6 6A 69 E0 D3 61 D4 44 A6 CD 9C [21:24:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2E 75 47 00 77 DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4C 0B 01 00 F4 03 04 00 27 FE 20 67 B6 04 01 00 00 48 3D B3 3C 5E 48 61 3C [21:24:16]CommunicateWithHost err = 0 [21:24:16]CheckOFDResponse [21:24:16]1017 (14) - 77093643461234 [21:24:16]1041 (16) - 0000000000871758 [21:24:16]1040 (4) - 68428 [21:24:16]1012 (4) - 29.10.2024 15:24 [21:24:16]1206 (1) - 0 [21:24:16]OFD Sender: Remove packet 68428 [21:24:16]ProducePacketName [21:24:16]name=ofd_packets/00068428 [21:24:16]NVStorageDeleteData [21:24:16]Write to MH i2c: 01 00 00 DB 0B E6 [21:24:16]Write i2c OK [21:24:16]MH_I2C_Read... [21:24:16]Read from MH i2c: 01 [21:24:16]MH_I2C_Read... [21:24:16]Read from MH i2c: 01 07 00 [21:24:16]MH_I2C_Read... [21:24:16]Read from MH i2c: 01 07 00 DB 0B 00 00 00 00 00 B1 0C AA [21:24:16]RasterBufferAndPrint [21:24:16]line [21:24:16]line [21:24:16]line [21:24:16]line [21:24:16]line [21:24:16]written 0, free lines is 3253 [21:24:16]MH_Cut [21:24:16]Write to MH i2c: D1 01 00 E2 0B 01 BF [21:24:16]Write i2c OK [21:24:16]MH_I2C_Read... [21:24:16]Read from MH i2c: D1 [21:24:16]MH_I2C_Read... [21:24:16]Read from MH i2c: D1 01 00 [21:24:16]MH_I2C_Read... [21:24:16]Read from MH i2c: D1 01 00 E2 0B 00 BE [21:24:16]Write to MH i2c: 01 00 00 E3 0B EE [21:24:16]Write i2c OK [21:24:16]MH_I2C_Read... [21:24:16]OFD Sender: No OFD packet to send [21:24:17]*** Cut start [21:24:17]*** Partial cut [21:24:17]*** CUTSNS_PIN = 1 [21:24:17]*** CUTSNS_PIN = 0 [21:24:17]*** Brake cut motor [21:24:17]Read from MH i2c: 01 [21:24:17]MH_I2C_Read... [21:24:17]*** Stop cut motor [21:24:17]*** Cut end [21:24:17]Read from MH i2c: 01 07 00 [21:24:17]MH_I2C_Read... [21:24:17]Read from MH i2c: 01 07 00 E3 0B 00 00 00 00 00 FF 0F 03 [21:24:17]process_action close_receipt done [21:24:17]requested_data is exist [21:24:17]produce_requested_data [21:24:17]requested_item fm.sn is exist - process it [21:24:17]wFMCommunicate request_size=4 [21:24:17]MH_SAM_APDU [21:24:17]CAPDU: 80 11 00 00 [21:24:17]Write to MH i2c: E2 08 00 E4 0B 80 11 00 00 00 00 00 00 69 [21:24:17]Write i2c OK [21:24:17]MH_I2C_Read... [21:24:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:18]Read from MH i2c: E2 [21:24:18]MH_I2C_Read... [21:24:18]Read from MH i2c: E2 17 00 [21:24:18]MH_I2C_Read... [21:24:18]Read from MH i2c: E2 17 00 E4 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C0 [21:24:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:24:18]wFMCommunicate OK [21:24:18]requested_item fd.num is exist - process it [21:24:18]SAM_PROTO_GetFieldsCounters [21:24:18]wFMCommunicate request_size=4 [21:24:18]MH_SAM_APDU [21:24:18]CAPDU: 80 13 00 00 [21:24:18]Write to MH i2c: E2 08 00 E5 0B 80 13 00 00 00 00 00 00 6C [21:24:18]Write i2c OK [21:24:18]MH_I2C_Read... [21:24:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:18]Read from MH i2c: E2 [21:24:18]MH_I2C_Read... [21:24:18]Read from MH i2c: E2 62 00 [21:24:18]MH_I2C_Read... [21:24:18]Read from MH i2c: E2 62 00 E5 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4C 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 97 00 00 00 5E 04 04 00 97 00 00 00 57 04 04 00 98 00 00 00 19 04 04 00 00 00 00 00 90 00 DA [21:24:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4C 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 97 00 00 00 5E 04 04 00 97 00 00 00 57 04 04 00 98 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:24:18]wFMCommunicate OK [21:24:18]SAM_PROTO_GetFieldsCounters done [21:24:18]requested_item shift.num is exist - process it [21:24:18]requested_item shift.opened is exist - process it [21:24:18]req_shift_opened [21:24:18]FM_GetShiftState [21:24:18]SAM_PROTO_GetShiftState [21:24:18]wFMCommunicate request_size=4 [21:24:18]MH_SAM_APDU [21:24:18]CAPDU: 80 13 01 00 [21:24:18]Write to MH i2c: E2 08 00 E6 0B 80 13 01 00 00 00 00 00 6E [21:24:18]Write i2c OK [21:24:18]MH_I2C_Read... [21:24:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:18]Read from MH i2c: E2 [21:24:18]MH_I2C_Read... [21:24:18]Read from MH i2c: E2 0E 00 [21:24:18]MH_I2C_Read... [21:24:18]Read from MH i2c: E2 0E 00 E6 0B 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 1E [21:24:18]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:24:18]wFMCommunicate OK [21:24:18]SAM_PROTO_GetShiftState done [21:24:18]FM_GetShiftState done [21:24:18]req_shift_opened done [21:24:18]requested_item shift.open_date is exist - process it [21:24:18]req_shift_open_date [21:24:18]req_shift_open_date done [21:24:18]produce_requested_data done [21:24:18]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68428,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:24:18]process_action_free close_receipt [21:24:18]json_value_free [21:24:18]json_value_free done [21:24:18]process_json_proto returns [21:24:18]Send response to host [21:24:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68428,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:24:18]free response buf [21:24:18]execute_script done [21:24:18]execute_script returns [21:24:18]free content buf [21:24:18]Sock 9.Close socket [21:24:18]Sock 9.Thread stoped [21:24:20]int [21:24:20]Write to MH i2c: 01 00 00 E7 0B F2 [21:24:20]Write i2c OK [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 [21:24:20]MH_I2C_Read... [21:24:20]*** FLAG_PRN_KEY set [21:24:20]*** FLAG_PRN_KEY reset [21:24:20]Read from MH i2c: 01 07 00 [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 07 00 E7 0B 00 00 00 00 00 FF 0F 07 [21:24:20]state=0 [21:24:20]*** FLAG_PRN_KEY set [21:24:20]int line is 0 - check status [21:24:20]Write to MH i2c: 01 00 00 E8 0B F3 [21:24:20]Write i2c OK [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 07 00 [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 07 00 E8 0B 00 08 00 00 00 FF 0F 10 [21:24:20]state=0 [21:24:20]Key pressed [21:24:20]Feed [21:24:20]Write to MH i2c: D8 00 00 E9 0B CB [21:24:20]Write i2c OK [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: D8 [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: D8 01 00 [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: D8 01 00 E9 0B 00 CC [21:24:20]int [21:24:20]Write to MH i2c: 01 00 00 EA 0B F5 [21:24:20]Write i2c OK [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 07 00 [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 07 00 EA 0B 00 48 00 00 00 3C 00 80 [21:24:20]state=2 [21:24:20]Key pressed [21:24:20]int [21:24:20]*** FLAG_PRN_KEY reset [21:24:20]Write to MH i2c: 01 00 00 EB 0B F6 [21:24:20]Write i2c OK [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 07 00 [21:24:20]MH_I2C_Read... [21:24:20]Read from MH i2c: 01 07 00 EB 0B 00 00 00 00 00 F6 0F 02 [21:24:20]state=2 [21:24:20]Stop feed [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:38]accept exits with 8 [21:24:38]New connection [21:24:38]New thread 3066715492 created [21:24:38]Thread 3066858852 joined [21:24:38]Waiting for new connection... [21:24:38] Sock 8.Parse request [21:24:38]Sock 8.Check first char [21:24:38]Sock 8.First char is OK [21:24:38]request: POST /json_proto HTTP/1.0 [21:24:38]Method: POST [21:24:38]URL: /json_proto [21:24:38]Method is POST - this is cgi request [21:24:38]url: /json_proto [21:24:38]query_string will be loaded in cgi processing [21:24:38]execute_cgi json_proto POST (null) [21:24:38]execute_cgi path=json_proto method=POST [21:24:38]POST find Content-Length [21:24:38]Host: 172.17.42.3:8080 [21:24:38]Content-Length: 678 [21:24:38]Content-Type: application/json [21:24:38] [21:24:38]POST finish read [21:24:38]Found Content-Length = 678 [21:24:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46415", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 19.600, "sum" : 1493.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1493.00, "payments": [ { "type": 0, "sum" : 1493.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:38]execute_script... [21:24:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46415", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 19.600, "sum" : 1493.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1493.00, "payments": [ { "type": 0, "sum" : 1493.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:38]POST & json_proto [21:24:38]process_json_proto [21:24:38]json parsed OK: [21:24:38]protocol is kg_v1.0 [21:24:38]action value=close_receipt [21:24:38]process_action close_receipt [21:24:38]cmd_close_receipt [21:24:38]MH_GetDate [21:24:38]Write to MH i2c: F0 00 00 EC 0B E6 [21:24:38]Write i2c OK [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: F0 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: F0 09 00 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: F0 09 00 EC 0B 00 98 52 21 67 28 A1 20 67 B1 [21:24:38]GetLastDocTimeStamp 1730237055 [21:24:38]current date 1730237080 [21:24:38]FM_GetShiftState [21:24:38]SAM_PROTO_GetShiftState [21:24:38]wFMCommunicate request_size=4 [21:24:38]MH_SAM_APDU [21:24:38]CAPDU: 80 13 01 00 [21:24:38]Write to MH i2c: E2 08 00 ED 0B 80 13 01 00 00 00 00 00 75 [21:24:38]Write i2c OK [21:24:38]MH_I2C_Read... [21:24:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:38]Read from MH i2c: E2 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: E2 0E 00 [21:24:38]MH_I2C_Read... [21:24:38]Read from MH i2c: E2 0E 00 ED 0B 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 25 [21:24:38]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:24:38]wFMCommunicate OK [21:24:38]SAM_PROTO_GetShiftState done [21:24:38]FM_GetShiftState done [21:24:38]opened in 1730160885 [21:24:38]opened+sec_in_day 1730247285 [21:24:38]quantity*price = 149352 [21:24:38]sum+1 = 149353 [21:24:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.52 ИТОГО: 1493.00 Внесено: 1500.00 СДАЧА: 7.00 НСП 1% : 13.22 НДС 12% : 158.60 Наличными: 1493.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 152 29.10.2024 21:24 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68429 ФПД: 16845898210187 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T212440&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68429&fm=16845898210187&tin=02508201610067®Number=0000000000091759&sum=149300 [21:24:39]StoreToDocumentArchive [21:24:39]shift 548 fd 68429 [21:24:39]save to /storage/0548/doc_00068429 [21:24:39]save last doc name /storage/0548/doc_00068429 to /storage/kkm_last_doc_name [21:24:39]save OK [21:24:39]Clear old archive folders... [21:24:39]ProcessDocumentItem done err = 0, tmpTLVsize=248 [21:24:39]tlvbuf is 01E656A0 [21:24:39]SAM_PROTO_ClearQueue [21:24:39]wFMCommunicate request_size=4 [21:24:39]MH_SAM_APDU [21:24:39]CAPDU: 80 09 00 00 [21:24:39]Write to MH i2c: E2 08 00 FA 0B 80 09 00 00 00 00 00 00 77 [21:24:39]Write i2c OK [21:24:39]MH_I2C_Read... [21:24:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:24:39]Read from MH i2c: E2 [21:24:39]MH_I2C_Read... [21:24:39]Read from MH i2c: E2 03 00 [21:24:39]MH_I2C_Read... [21:24:39]Read from MH i2c: E2 03 00 FA 0B 00 90 00 79 [21:24:39]RAPDU: 90 00 [21:24:39]wFMCommunicate OK [21:24:39]SAM_PROTO_ClearQueue done [21:24:39]KKMCreateOFDPacket [21:24:39]OFDProtocolAddRootSTLVToBuf [21:24:39]FM_MakeSignedData [21:24:39]FM_MakeSignedData [21:24:39]SAM_PROTO_SignData [21:24:39]wFMCommunicate request_size=4 [21:24:39]MH_SAM_APDU [21:24:39]CAPDU: 80 0D 01 02 [21:24:39]Write to MH i2c: E2 08 00 FB 0B 80 0D 01 02 00 00 00 00 7F [21:24:39]Write i2c OK [21:24:39]MH_I2C_Read... [21:24:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:24:39]Read from MH i2c: E2 [21:24:39]MH_I2C_Read... [21:24:39]Read from MH i2c: E2 03 00 [21:24:39]MH_I2C_Read... [21:24:39]Read from MH i2c: E2 03 00 FB 0B 00 90 00 7A [21:24:39]RAPDU: 90 00 [21:24:39]wFMCommunicate OK [21:24:39]wFMCommunicate request_size=255 [21:24:39]MH_SAM_APDU [21:24:39]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 90 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 68 47 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 47 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 3D 00 00 00 00 07 04 06 00 34 47 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 98 00 00 00 F4 03 04 00 98 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4D 0B 01 00 35 04 06 00 0F 52 3D C7 [21:24:39]Write to MH i2c: E2 02 01 FC 0B 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 90 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 68 47 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 47 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 3D 00 00 00 00 07 04 06 00 34 47 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 98 00 00 00 F4 03 04 00 98 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4D 0B 01 00 35 04 06 00 0F 52 3D C7 00 00 9C [21:24:39]Write i2c OK [21:24:39]MH_I2C_Read... [21:24:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:40]Read from MH i2c: E2 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 03 00 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 03 00 FC 0B 00 90 00 7B [21:24:40]RAPDU: 90 00 [21:24:40]wFMCommunicate OK [21:24:40]wFMCommunicate request_size=7 [21:24:40]MH_SAM_APDU [21:24:40]CAPDU: 80 0D 02 02 02 5B 8B [21:24:40]Write to MH i2c: E2 0A 00 FD 0B 80 0D 02 02 02 00 5B 8B 00 00 6C [21:24:40]Write i2c OK [21:24:40]MH_I2C_Read... [21:24:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:40]Read from MH i2c: E2 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 03 00 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 03 00 FD 0B 00 90 00 7C [21:24:40]RAPDU: 90 00 [21:24:40]wFMCommunicate OK [21:24:40]wFMCommunicate request_size=4 [21:24:40]MH_SAM_APDU [21:24:40]CAPDU: 80 0D 03 02 [21:24:40]Write to MH i2c: E2 08 00 FE 0B 80 0D 03 02 00 00 00 00 84 [21:24:40]Write i2c OK [21:24:40]MH_I2C_Read... [21:24:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:24:40]Read from MH i2c: E2 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 0B 00 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 0B 00 FE 0B 00 A7 69 9E A5 5E B8 AC F2 90 00 8C [21:24:40]RAPDU: A7 69 9E A5 5E B8 AC F2 90 00 [21:24:40]wFMCommunicate OK [21:24:40]SAM_PROTO_SignData done [21:24:40]FM_MakeSignedData done [21:24:40]CreateOFDProtocolMessage [21:24:40]wFMCommunicate request_size=4 [21:24:40]MH_SAM_APDU [21:24:40]CAPDU: 80 11 00 00 [21:24:40]Write to MH i2c: E2 08 00 FF 0B 80 11 00 00 00 00 00 00 84 [21:24:40]Write i2c OK [21:24:40]MH_I2C_Read... [21:24:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:40]Read from MH i2c: E2 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 17 00 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: E2 17 00 FF 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 DB [21:24:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:24:40]wFMCommunicate OK [21:24:40]CreateOFDProtocolMessage done [21:24:40]OFDSenderStorePacket 68429 [21:24:40]StoreOFDPacket docnum=68429 [21:24:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 9D 3F 04 01 F5 B9 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 90 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 68 47 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 47 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 3D 00 00 00 00 07 04 06 00 34 47 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 98 00 00 00 F4 03 04 00 98 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4D 0B 01 00 35 04 06 00 0F 52 3D C7 5B 8B A7 69 9E A5 5E B8 AC F2 [21:24:40]CheckFolder [21:24:40]dirname=/storage/ofd_packets [21:24:40]CheckFolder done [21:24:40]ProducePacketName [21:24:40]name=ofd_packets/00068429 [21:24:40]NVStorageSaveData ofd_packets/00068429 [21:24:40]File name is /storage/ofd_packets/00068429 [21:24:40]Write 298 bytes [21:24:40]NVStorageSaveData done [21:24:40]OFDSenderStorePacket done [21:24:40]KKMCreateOFDPacket done [21:24:40]NVStorageSaveData kkm_last_timestamp [21:24:40]File name is /storage/kkm_last_timestamp [21:24:40]Write 4 bytes [21:24:40]NVStorageSaveData done [21:24:40]ExternCall_PrintAddStr [21:24:40]wPrintStart [21:24:40]Write to MH i2c: 01 00 00 00 0C 0C [21:24:40]Write i2c OK [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: 01 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: 01 07 00 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: 01 07 00 00 0C 00 00 00 00 00 FF 0F 21 [21:24:40]RasterBufferAndPrint [21:24:40]line Счет N : (1)46415 [21:24:40]line ИНН: 02508201610067 [21:24:40]line Контрольно-Кассовый Чек [21:24:40]line ПРОДАЖА [21:24:40]line ТРК (МРК, ГНК) : 41 [21:24:40]line Товар: 2710194210 [21:24:40]line ДТ-К-5 [21:24:40]line 19.600 * 76.20 [21:24:40]line = 1493.52 [21:24:40]line НДС 12% НСП 1% [21:24:40]line > о реализуемом товаре [21:24:40]line ОКРУГЛЕНИЕ: -0.52 [21:24:40]line ИТОГО: 1493.00 [21:24:40]line Внесено: 1500.00 [21:24:40]line СДАЧА: 7.00 [21:24:40]line НСП 1% : 13.22 [21:24:40]line НДС 12% : 158.60 [21:24:40]line Наличными: 1493.00 [21:24:40]line Безнал.: 0.00 [21:24:40]line Место: АЗС № 160 "Партнер Нефть" [21:24:40]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:24:40]line СНО: Общий режим [21:24:40]line Чек 152 29.10.2024 21:24 [21:24:40]line Смена: 548 ФФД: 1.0 [21:24:40]line ЗНМ: 0300000093 [21:24:40]line РНМ: 0000000000091759 [21:24:40]line Версия ККМ: 001 [21:24:40]line ФМ: 0000000000871758 [21:24:40]line ФД: 68429 [21:24:40]line ФПД: 16845898210187 [21:24:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T212440&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68429&fm=16845898210187&tin=02508201610067®Number=0000000000091759&sum=149300 [21:24:40]OFD Sender: Processing packet 68429 [packets to send 28, broken 27] [21:24:40]ProducePacketName [21:24:40]name=ofd_packets/00068429 [21:24:40]OFD Sender: To server: pG, [21:24:40]CommunicateWithHost lk.salyk.kg:30040 [21:24:40]ConnectInit lk.salyk.kg [21:24:40]written 0, free lines is 4095 [21:24:40]Connected sock=10 [21:24:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 9D 3F 04 01 F5 B9 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 90 4C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 68 47 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 47 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 3D 00 00 00 00 07 04 06 00 34 47 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 98 00 00 00 F4 03 04 00 98 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4D 0B 01 00 35 04 06 00 0F 52 3D C7 5B 8B A7 69 9E A5 5E B8 AC F2 [21:24:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EC 1B 47 00 AF 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4D 0B 01 00 F4 03 04 00 3F FE 20 67 B6 04 01 00 00 81 F2 63 2D 52 75 12 D8 [21:24:40]CommunicateWithHost err = 0 [21:24:40]CheckOFDResponse [21:24:40]1017 (14) - 77093643461234 [21:24:40]1041 (16) - 0000000000871758 [21:24:40]1040 (4) - 68429 [21:24:40]1012 (4) - 29.10.2024 15:24 [21:24:40]1206 (1) - 0 [21:24:40]OFD Sender: Remove packet 68429 [21:24:40]ProducePacketName [21:24:40]name=ofd_packets/00068429 [21:24:40]NVStorageDeleteData [21:24:40]Write to MH i2c: 01 00 00 2A 0C 36 [21:24:40]Write i2c OK [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: 01 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: 01 07 00 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: 01 07 00 2A 0C 00 00 00 00 00 C2 0C 0B [21:24:40]RasterBufferAndPrint [21:24:40]line [21:24:40]line [21:24:40]line [21:24:40]line [21:24:40]line [21:24:40]written 0, free lines is 3272 [21:24:40]MH_Cut [21:24:40]Write to MH i2c: D1 01 00 31 0C 01 0F [21:24:40]Write i2c OK [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: D1 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: D1 01 00 [21:24:40]MH_I2C_Read... [21:24:40]Read from MH i2c: D1 01 00 31 0C 00 0E [21:24:40]Write to MH i2c: 01 00 00 32 0C 3E [21:24:40]Write i2c OK [21:24:40]MH_I2C_Read... [21:24:41]OFD Sender: No OFD packet to send [21:24:41]*** Cut start [21:24:41]*** Partial cut [21:24:41]*** CUTSNS_PIN = 1 [21:24:41]*** CUTSNS_PIN = 0 [21:24:41]*** Brake cut motor [21:24:42]Read from MH i2c: 01 [21:24:42]MH_I2C_Read... [21:24:42]*** Stop cut motor [21:24:42]*** Cut end [21:24:42]Read from MH i2c: 01 07 00 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: 01 07 00 32 0C 00 00 00 00 00 FF 0F 53 [21:24:42]process_action close_receipt done [21:24:42]requested_data is exist [21:24:42]produce_requested_data [21:24:42]requested_item fm.sn is exist - process it [21:24:42]wFMCommunicate request_size=4 [21:24:42]MH_SAM_APDU [21:24:42]CAPDU: 80 11 00 00 [21:24:42]Write to MH i2c: E2 08 00 33 0C 80 11 00 00 00 00 00 00 B9 [21:24:42]Write i2c OK [21:24:42]MH_I2C_Read... [21:24:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:42]Read from MH i2c: E2 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 17 00 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 17 00 33 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 10 [21:24:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:24:42]wFMCommunicate OK [21:24:42]requested_item fd.num is exist - process it [21:24:42]SAM_PROTO_GetFieldsCounters [21:24:42]wFMCommunicate request_size=4 [21:24:42]MH_SAM_APDU [21:24:42]CAPDU: 80 13 00 00 [21:24:42]Write to MH i2c: E2 08 00 34 0C 80 13 00 00 00 00 00 00 BC [21:24:42]Write i2c OK [21:24:42]MH_I2C_Read... [21:24:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:42]Read from MH i2c: E2 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 62 00 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 62 00 34 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 98 00 00 00 5E 04 04 00 98 00 00 00 57 04 04 00 99 00 00 00 19 04 04 00 00 00 00 00 90 00 2E [21:24:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 98 00 00 00 5E 04 04 00 98 00 00 00 57 04 04 00 99 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:24:42]wFMCommunicate OK [21:24:42]SAM_PROTO_GetFieldsCounters done [21:24:42]requested_item shift.num is exist - process it [21:24:42]requested_item shift.opened is exist - process it [21:24:42]req_shift_opened [21:24:42]FM_GetShiftState [21:24:42]SAM_PROTO_GetShiftState [21:24:42]wFMCommunicate request_size=4 [21:24:42]MH_SAM_APDU [21:24:42]CAPDU: 80 13 01 00 [21:24:42]Write to MH i2c: E2 08 00 35 0C 80 13 01 00 00 00 00 00 BE [21:24:42]Write i2c OK [21:24:42]MH_I2C_Read... [21:24:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:42]Read from MH i2c: E2 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 0E 00 [21:24:42]MH_I2C_Read... [21:24:42]Read from MH i2c: E2 0E 00 35 0C 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 6E [21:24:42]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:24:42]wFMCommunicate OK [21:24:42]SAM_PROTO_GetShiftState done [21:24:42]FM_GetShiftState done [21:24:42]req_shift_opened done [21:24:42]requested_item shift.open_date is exist - process it [21:24:42]req_shift_open_date [21:24:42]req_shift_open_date done [21:24:42]produce_requested_data done [21:24:42]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68429,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:24:42]process_action_free close_receipt [21:24:42]json_value_free [21:24:42]json_value_free done [21:24:42]process_json_proto returns [21:24:42]Send response to host [21:24:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68429,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:24:42]free response buf [21:24:42]execute_script done [21:24:42]execute_script returns [21:24:42]free content buf [21:24:42]Sock 8.Close socket [21:24:42]Sock 8.Thread stoped [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:24:56]int [21:24:56]Write to MH i2c: 01 00 00 36 0C 42 [21:24:56]*** FLAG_PRN_KEY set [21:24:56]Write i2c OK [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: 01 [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: 01 07 00 [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: 01 07 00 36 0C 00 08 00 00 00 FF 0F 5F [21:24:56]state=0 [21:24:56]Key pressed [21:24:56]Feed [21:24:56]Write to MH i2c: D8 00 00 37 0C 1A [21:24:56]Write i2c OK [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: D8 [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: D8 01 00 [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: D8 01 00 37 0C 00 1B [21:24:56]int [21:24:56]Write to MH i2c: 01 00 00 38 0C 44 [21:24:56]Write i2c OK [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: 01 [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: 01 07 00 [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: 01 07 00 38 0C 00 48 00 00 00 3C 00 CF [21:24:56]state=2 [21:24:56]Key pressed [21:24:56]int [21:24:56]Write to MH i2c: 01 00 00 39 0C 45 [21:24:56]*** FLAG_PRN_KEY reset [21:24:56]Write i2c OK [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: 01 [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: 01 07 00 [21:24:56]MH_I2C_Read... [21:24:56]Read from MH i2c: 01 07 00 39 0C 00 00 00 00 00 F5 0F 50 [21:24:56]state=2 [21:24:56]Stop feed [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:30]accept exits with 9 [21:25:30]New connection [21:25:30]New thread 3066858852 created [21:25:30]Thread 3066715492 joined [21:25:30]Waiting for new connection... [21:25:30] Sock 9.Parse request [21:25:30]Sock 9.Check first char [21:25:30]Sock 9.First char is OK [21:25:30]request: POST /json_proto HTTP/1.0 [21:25:30]Method: POST [21:25:30]URL: /json_proto [21:25:30]Method is POST - this is cgi request [21:25:30]url: /json_proto [21:25:30]query_string will be loaded in cgi processing [21:25:30]execute_cgi json_proto POST (null) [21:25:30]execute_cgi path=json_proto method=POST [21:25:30]POST find Content-Length [21:25:30]Host: 172.17.42.3:8080 [21:25:30]Content-Length: 678 [21:25:30]Content-Type: application/json [21:25:30] [21:25:30]POST finish read [21:25:30]Found Content-Length = 678 [21:25:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46417", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 40.120, "sum" : 3057.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 3057.00, "payments": [ { "type": 0, "sum" : 3057.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:25:30]execute_script... [21:25:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46417", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 40.120, "sum" : 3057.14, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 3057.00, "payments": [ { "type": 0, "sum" : 3057.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:25:30]POST & json_proto [21:25:30]process_json_proto [21:25:30]json parsed OK: [21:25:30]protocol is kg_v1.0 [21:25:30]action value=close_receipt [21:25:30]process_action close_receipt [21:25:30]cmd_close_receipt [21:25:30]MH_GetDate [21:25:30]Write to MH i2c: F0 00 00 3A 0C 35 [21:25:30]Write i2c OK [21:25:30]MH_I2C_Read... [21:25:30]Read from MH i2c: F0 [21:25:30]MH_I2C_Read... [21:25:30]Read from MH i2c: F0 09 00 [21:25:30]MH_I2C_Read... [21:25:30]Read from MH i2c: F0 09 00 3A 0C 00 CB 52 21 67 28 A1 20 67 33 [21:25:30]GetLastDocTimeStamp 1730237080 [21:25:30]current date 1730237131 [21:25:30]FM_GetShiftState [21:25:30]SAM_PROTO_GetShiftState [21:25:30]wFMCommunicate request_size=4 [21:25:30]MH_SAM_APDU [21:25:30]CAPDU: 80 13 01 00 [21:25:30]Write to MH i2c: E2 08 00 3B 0C 80 13 01 00 00 00 00 00 C4 [21:25:30]Write i2c OK [21:25:30]MH_I2C_Read... [21:25:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:25:30]Read from MH i2c: E2 [21:25:30]MH_I2C_Read... [21:25:30]Read from MH i2c: E2 0E 00 [21:25:30]MH_I2C_Read... [21:25:30]Read from MH i2c: E2 0E 00 3B 0C 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 74 [21:25:30]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:25:30]wFMCommunicate OK [21:25:30]SAM_PROTO_GetShiftState done [21:25:30]FM_GetShiftState done [21:25:30]opened in 1730160885 [21:25:30]opened+sec_in_day 1730247285 [21:25:30]quantity*price = 305714 [21:25:30]sum+1 = 305715 [21:25:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.14 ИТОГО: 3057.00 Внесено: 5000.00 СДАЧА: 1943.00 НСП 1% : 27.05 НДС 12% : 324.65 Наличными: 3057.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 153 29.10.2024 21:25 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68430 ФПД: 245894487267869 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T212531&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68430&fm=245894487267869&tin=02508201610067®Number=0000000000091759&sum=305700 [21:25:31]StoreToDocumentArchive [21:25:31]shift 548 fd 68430 [21:25:31]save to /storage/0548/doc_00068430 [21:25:31]save last doc name /storage/0548/doc_00068430 to /storage/kkm_last_doc_name [21:25:31]save OK [21:25:31]Clear old archive folders... [21:25:31]ProcessDocumentItem done err = 0, tmpTLVsize=248 [21:25:31]tlvbuf is 01E079C0 [21:25:31]SAM_PROTO_ClearQueue [21:25:31]wFMCommunicate request_size=4 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 09 00 00 [21:25:31]Write to MH i2c: E2 08 00 48 0C 80 09 00 00 00 00 00 00 C6 [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 48 0C 00 90 00 C8 [21:25:31]RAPDU: 90 00 [21:25:31]wFMCommunicate OK [21:25:31]SAM_PROTO_ClearQueue done [21:25:31]KKMCreateOFDPacket [21:25:31]OFDProtocolAddRootSTLVToBuf [21:25:31]FM_MakeSignedData [21:25:31]FM_MakeSignedData [21:25:31]SAM_PROTO_SignData [21:25:31]wFMCommunicate request_size=4 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 0D 01 02 [21:25:31]Write to MH i2c: E2 08 00 49 0C 80 0D 01 02 00 00 00 00 CE [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:25:31]OFD Sender: No OFD packet to send [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 49 0C 00 90 00 C9 [21:25:31]RAPDU: 90 00 [21:25:31]wFMCommunicate OK [21:25:31]wFMCommunicate request_size=255 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 B8 9C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 32 AA 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 AA 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 7E 00 00 00 00 07 04 06 00 24 AA 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 99 00 00 00 F4 03 04 00 CB 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4E 0B 01 00 35 04 06 00 DF A3 C5 90 [21:25:31]Write to MH i2c: E2 02 01 4A 0C 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 B8 9C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 32 AA 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 AA 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 7E 00 00 00 00 07 04 06 00 24 AA 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 99 00 00 00 F4 03 04 00 CB 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4E 0B 01 00 35 04 06 00 DF A3 C5 90 00 00 6D [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 4A 0C 00 90 00 CA [21:25:31]RAPDU: 90 00 [21:25:31]wFMCommunicate OK [21:25:31]wFMCommunicate request_size=7 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 0D 02 02 02 DA 1D [21:25:31]Write to MH i2c: E2 0A 00 4B 0C 80 0D 02 02 02 00 DA 1D 00 00 CC [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 03 00 4B 0C 00 90 00 CB [21:25:31]RAPDU: 90 00 [21:25:31]wFMCommunicate OK [21:25:31]wFMCommunicate request_size=4 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 0D 03 02 [21:25:31]Write to MH i2c: E2 08 00 4C 0C 80 0D 03 02 00 00 00 00 D3 [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 0B 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 0B 00 4C 0C 00 1F B3 2E 9E 1B 18 E1 AA 90 00 30 [21:25:31]RAPDU: 1F B3 2E 9E 1B 18 E1 AA 90 00 [21:25:31]wFMCommunicate OK [21:25:31]SAM_PROTO_SignData done [21:25:31]FM_MakeSignedData done [21:25:31]CreateOFDProtocolMessage [21:25:31]wFMCommunicate request_size=4 [21:25:31]MH_SAM_APDU [21:25:31]CAPDU: 80 11 00 00 [21:25:31]Write to MH i2c: E2 08 00 4D 0C 80 11 00 00 00 00 00 00 D3 [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:25:31]Read from MH i2c: E2 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 17 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: E2 17 00 4D 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 2A [21:25:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:25:31]wFMCommunicate OK [21:25:31]CreateOFDProtocolMessage done [21:25:31]OFDSenderStorePacket 68430 [21:25:31]StoreOFDPacket docnum=68430 [21:25:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 0B AF 04 01 98 57 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 B8 9C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 32 AA 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 AA 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 7E 00 00 00 00 07 04 06 00 24 AA 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 99 00 00 00 F4 03 04 00 CB 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4E 0B 01 00 35 04 06 00 DF A3 C5 90 DA 1D 1F B3 2E 9E 1B 18 E1 AA [21:25:31]CheckFolder [21:25:31]dirname=/storage/ofd_packets [21:25:31]CheckFolder done [21:25:31]ProducePacketName [21:25:31]name=ofd_packets/00068430 [21:25:31]NVStorageSaveData ofd_packets/00068430 [21:25:31]File name is /storage/ofd_packets/00068430 [21:25:31]Write 298 bytes [21:25:31]NVStorageSaveData done [21:25:31]OFDSenderStorePacket done [21:25:31]KKMCreateOFDPacket done [21:25:31]NVStorageSaveData kkm_last_timestamp [21:25:31]File name is /storage/kkm_last_timestamp [21:25:31]Write 4 bytes [21:25:31]NVStorageSaveData done [21:25:31]ExternCall_PrintAddStr [21:25:31]wPrintStart [21:25:31]Write to MH i2c: 01 00 00 4E 0C 5A [21:25:31]Write i2c OK [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: 01 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: 01 07 00 [21:25:31]MH_I2C_Read... [21:25:31]Read from MH i2c: 01 07 00 4E 0C 00 00 00 00 00 FF 0F 6F [21:25:31]RasterBufferAndPrint [21:25:31]line Счет N : (1)46417 [21:25:31]line ИНН: 02508201610067 [21:25:31]line Контрольно-Кассовый Чек [21:25:31]line ПРОДАЖА [21:25:31]line ТРК (МРК, ГНК) : 21 [21:25:31]line Товар: 2710194210 [21:25:31]line ДТ-К-5 [21:25:31]line 40.120 * 76.20 [21:25:31]line = 3057.14 [21:25:31]line НДС 12% НСП 1% [21:25:31]line > о реализуемом товаре [21:25:31]line ОКРУГЛЕНИЕ: -0.14 [21:25:31]line ИТОГО: 3057.00 [21:25:31]line Внесено: 5000.00 [21:25:31]line СДАЧА: 1943.00 [21:25:31]line НСП 1% : 27.05 [21:25:31]line НДС 12% : 324.65 [21:25:31]line Наличными: 3057.00 [21:25:31]line Безнал.: 0.00 [21:25:31]line Место: АЗС № 160 "Партнер Нефть" [21:25:31]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:25:31]line СНО: Общий режим [21:25:31]line Чек 153 29.10.2024 21:25 [21:25:31]line Смена: 548 ФФД: 1.0 [21:25:31]line ЗНМ: 0300000093 [21:25:31]line РНМ: 0000000000091759 [21:25:31]line Версия ККМ: 001 [21:25:31]line ФМ: 0000000000871758 [21:25:31]line ФД: 68430 [21:25:31]line ФПД: 245894487267869 [21:25:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T212531&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68430&fm=245894487267869&tin=02508201610067®Number=0000000000091759&sum=305700 [21:25:32]OFD Sender: Processing packet 68430 [packets to send 28, broken 27] [21:25:32]ProducePacketName [21:25:32]name=ofd_packets/00068430 [21:25:32]OFD Sender: To server: pG, [21:25:32]CommunicateWithHost lk.salyk.kg:30040 [21:25:32]ConnectInit lk.salyk.kg [21:25:32]written 0, free lines is 4095 [21:25:32]Connected sock=10 [21:25:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 0B AF 04 01 98 57 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 B8 9C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 32 AA 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 AA 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 7E 00 00 00 00 07 04 06 00 24 AA 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 99 00 00 00 F4 03 04 00 CB 52 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4E 0B 01 00 35 04 06 00 DF A3 C5 90 DA 1D 1F B3 2E 9E 1B 18 E1 AA [21:25:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D2 61 47 00 EE 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4E 0B 01 00 F4 03 04 00 73 FE 20 67 B6 04 01 00 00 31 B3 0E C6 36 11 7C 89 [21:25:32]CommunicateWithHost err = 0 [21:25:32]CheckOFDResponse [21:25:32]1017 (14) - 77093643461234 [21:25:32]1041 (16) - 0000000000871758 [21:25:32]1040 (4) - 68430 [21:25:32]1012 (4) - 29.10.2024 15:25 [21:25:32]1206 (1) - 0 [21:25:32]OFD Sender: Remove packet 68430 [21:25:32]ProducePacketName [21:25:32]name=ofd_packets/00068430 [21:25:32]NVStorageDeleteData [21:25:32]Write to MH i2c: 01 00 00 78 0C 84 [21:25:32]Write i2c OK [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: 01 [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: 01 07 00 [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: 01 07 00 78 0C 00 00 00 00 00 C1 0C 58 [21:25:32]RasterBufferAndPrint [21:25:32]line [21:25:32]line [21:25:32]line [21:25:32]line [21:25:32]line [21:25:32]written 0, free lines is 3271 [21:25:32]MH_Cut [21:25:32]Write to MH i2c: D1 01 00 7F 0C 01 5D [21:25:32]Write i2c OK [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: D1 [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: D1 01 00 [21:25:32]MH_I2C_Read... [21:25:32]Read from MH i2c: D1 01 00 7F 0C 00 5C [21:25:32]Write to MH i2c: 01 00 00 80 0C 8C [21:25:32]Write i2c OK [21:25:32]MH_I2C_Read... [21:25:32]OFD Sender: No OFD packet to send [21:25:33]*** Cut start [21:25:33]*** Partial cut [21:25:33]*** CUTSNS_PIN = 1 [21:25:33]*** CUTSNS_PIN = 0 [21:25:33]*** Brake cut motor [21:25:33]Read from MH i2c: 01 [21:25:33]MH_I2C_Read... [21:25:33]*** Stop cut motor [21:25:33]*** Cut end [21:25:33]Read from MH i2c: 01 07 00 [21:25:33]MH_I2C_Read... [21:25:33]Read from MH i2c: 01 07 00 80 0C 00 00 00 00 00 FF 0F A1 [21:25:33]process_action close_receipt done [21:25:33]requested_data is exist [21:25:33]produce_requested_data [21:25:33]requested_item fm.sn is exist - process it [21:25:33]wFMCommunicate request_size=4 [21:25:33]MH_SAM_APDU [21:25:33]CAPDU: 80 11 00 00 [21:25:33]Write to MH i2c: E2 08 00 81 0C 80 11 00 00 00 00 00 00 07 [21:25:33]Write i2c OK [21:25:33]MH_I2C_Read... [21:25:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:25:34]Read from MH i2c: E2 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: E2 17 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: E2 17 00 81 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 5E [21:25:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:25:34]wFMCommunicate OK [21:25:34]requested_item fd.num is exist - process it [21:25:34]SAM_PROTO_GetFieldsCounters [21:25:34]wFMCommunicate request_size=4 [21:25:34]MH_SAM_APDU [21:25:34]CAPDU: 80 13 00 00 [21:25:34]Write to MH i2c: E2 08 00 82 0C 80 13 00 00 00 00 00 00 0A [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]int [21:25:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:25:34]*** FLAG_PRN_KEY set [21:25:34]Read from MH i2c: E2 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: E2 62 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: E2 62 00 82 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 99 00 00 00 5E 04 04 00 99 00 00 00 57 04 04 00 9A 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [21:25:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 99 00 00 00 5E 04 04 00 99 00 00 00 57 04 04 00 9A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:25:34]wFMCommunicate OK [21:25:34]SAM_PROTO_GetFieldsCounters done [21:25:34]requested_item shift.num is exist - process it [21:25:34]requested_item shift.opened is exist - process it [21:25:34]req_shift_opened [21:25:34]FM_GetShiftState [21:25:34]SAM_PROTO_GetShiftState [21:25:34]wFMCommunicate request_size=4 [21:25:34]MH_SAM_APDU [21:25:34]CAPDU: 80 13 01 00 [21:25:34]Write to MH i2c: 01 00 00 83 0C 8F [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 83 0C 00 08 00 00 00 FF 0F AC [21:25:34]state=0 [21:25:34]Key pressed [21:25:34]Feed [21:25:34]Write to MH i2c: D8 00 00 84 0C 67 [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: D8 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: D8 01 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: D8 01 00 84 0C 00 68 [21:25:34]Write to MH i2c: E2 08 00 85 0C 80 13 01 00 00 00 00 00 0E [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]int [21:25:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:25:34]Read from MH i2c: E2 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: E2 0E 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: E2 0E 00 85 0C 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 BE [21:25:34]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [21:25:34]wFMCommunicate OK [21:25:34]SAM_PROTO_GetShiftState done [21:25:34]FM_GetShiftState done [21:25:34]req_shift_opened done [21:25:34]requested_item shift.open_date is exist - process it [21:25:34]req_shift_open_date [21:25:34]req_shift_open_date done [21:25:34]produce_requested_data done [21:25:34]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68430,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [21:25:34]process_action_free close_receipt [21:25:34]json_value_free [21:25:34]json_value_free done [21:25:34]process_json_proto returns [21:25:34]Send response to host [21:25:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68430,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [21:25:34]free response buf [21:25:34]execute_script done [21:25:34]execute_script returns [21:25:34]free content buf [21:25:34]Sock 9.Close socket [21:25:34]Sock 9.Thread stoped [21:25:34]Write to MH i2c: 01 00 00 86 0C 92 [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 86 0C 00 48 00 00 00 3C 00 1D [21:25:34]state=2 [21:25:34]Key pressed [21:25:34]int [21:25:34]Write to MH i2c: 01 00 00 87 0C 93 [21:25:34]*** FLAG_PRN_KEY reset [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 87 0C 00 00 00 00 00 F8 0F A1 [21:25:34]state=2 [21:25:34]Stop feed [21:25:34]int [21:25:34]Write to MH i2c: 01 00 00 88 0C 94 [21:25:34]*** FLAG_PRN_KEY set [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 88 0C 00 08 00 00 00 FF 0F B1 [21:25:34]state=0 [21:25:34]Key pressed [21:25:34]Feed [21:25:34]Write to MH i2c: D8 00 00 89 0C 6C [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: D8 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: D8 01 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: D8 01 00 89 0C 00 6D [21:25:34]int [21:25:34]Write to MH i2c: 01 00 00 8A 0C 96 [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 8A 0C 00 48 00 00 00 3C 00 21 [21:25:34]state=2 [21:25:34]Key pressed [21:25:34]int [21:25:34]Write to MH i2c: 01 00 00 8B 0C 97 [21:25:34]*** FLAG_PRN_KEY reset [21:25:34]Write i2c OK [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 [21:25:34]MH_I2C_Read... [21:25:34]Read from MH i2c: 01 07 00 8B 0C 00 00 00 00 00 FE 0F AB [21:25:34]state=2 [21:25:34]Stop feed [21:25:37]OFD Sender: No OFD packet to send [21:25:42]OFD Sender: No OFD packet to send [21:25:47]OFD Sender: No OFD packet to send [21:25:52]OFD Sender: No OFD packet to send [21:25:57]OFD Sender: No OFD packet to send [21:26:02]OFD Sender: No OFD packet to send [21:26:07]OFD Sender: No OFD packet to send [21:26:12]OFD Sender: No OFD packet to send [21:26:17]OFD Sender: No OFD packet to send [21:26:22]OFD Sender: No OFD packet to send [21:26:27]OFD Sender: No OFD packet to send [21:26:32]OFD Sender: No OFD packet to send [21:26:37]OFD Sender: No OFD packet to send [21:26:42]OFD Sender: No OFD packet to send [21:26:47]OFD Sender: No OFD packet to send [21:26:52]OFD Sender: No OFD packet to send [21:26:57]OFD Sender: No OFD packet to send [21:27:02]OFD Sender: No OFD packet to send [21:27:07]OFD Sender: No OFD packet to send [21:27:12]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:43]OFD Sender: No OFD packet to send [21:29:48]OFD Sender: No OFD packet to send [21:29:53]OFD Sender: No OFD packet to send [21:29:58]OFD Sender: No OFD packet to send [21:30:03]OFD Sender: No OFD packet to send [21:30:08]OFD Sender: No OFD packet to send [21:30:13]OFD Sender: No OFD packet to send [21:30:18]OFD Sender: No OFD packet to send [21:30:23]OFD Sender: No OFD packet to send [21:30:28]OFD Sender: No OFD packet to send [21:30:33]OFD Sender: No OFD packet to send [21:30:38]OFD Sender: No OFD packet to send [21:30:43]OFD Sender: No OFD packet to send [21:30:48]OFD Sender: No OFD packet to send [21:30:53]OFD Sender: No OFD packet to send [21:30:58]OFD Sender: No OFD packet to send [21:31:03]OFD Sender: No OFD packet to send [21:31:08]OFD Sender: No OFD packet to send [21:31:13]OFD Sender: No OFD packet to send [21:31:18]OFD Sender: No OFD packet to send [21:31:23]OFD Sender: No OFD packet to send [21:31:28]OFD Sender: No OFD packet to send [21:31:33]OFD Sender: No OFD packet to send [21:31:38]OFD Sender: No OFD packet to send [21:31:43]OFD Sender: No OFD packet to send [21:31:48]OFD Sender: No OFD packet to send [21:31:53]OFD Sender: No OFD packet to send [21:31:58]OFD Sender: No OFD packet to send [21:32:03]OFD Sender: No OFD packet to send [21:32:08]OFD Sender: No OFD packet to send [21:32:13]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:18]OFD Sender: No OFD packet to send [21:35:23]OFD Sender: No OFD packet to send [21:35:28]OFD Sender: No OFD packet to send [21:35:33]OFD Sender: No OFD packet to send [21:35:38]OFD Sender: No OFD packet to send [21:35:43]OFD Sender: No OFD packet to send [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]OFD Sender: No OFD packet to send [21:36:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:43]OFD Sender: No OFD packet to send [21:37:48]OFD Sender: No OFD packet to send [21:37:53]OFD Sender: No OFD packet to send [21:37:58]OFD Sender: No OFD packet to send [21:38:03]OFD Sender: No OFD packet to send [21:38:08]OFD Sender: No OFD packet to send [21:38:13]OFD Sender: No OFD packet to send [21:38:18]OFD Sender: No OFD packet to send [21:38:23]OFD Sender: No OFD packet to send [21:38:28]OFD Sender: No OFD packet to send [21:38:33]OFD Sender: No OFD packet to send [21:38:38]OFD Sender: No OFD packet to send [21:38:43]OFD Sender: No OFD packet to send [21:38:48]OFD Sender: No OFD packet to send [21:38:53]OFD Sender: No OFD packet to send [21:38:58]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:38]OFD Sender: No OFD packet to send [21:40:43]OFD Sender: No OFD packet to send [21:40:48]OFD Sender: No OFD packet to send [21:40:53]OFD Sender: No OFD packet to send [21:40:58]OFD Sender: No OFD packet to send [21:41:03]OFD Sender: No OFD packet to send [21:41:08]OFD Sender: No OFD packet to send [21:41:13]OFD Sender: No OFD packet to send [21:41:18]OFD Sender: No OFD packet to send [21:41:23]OFD Sender: No OFD packet to send [21:41:28]OFD Sender: No OFD packet to send [21:41:33]OFD Sender: No OFD packet to send [21:41:38]OFD Sender: No OFD packet to send [21:41:43]OFD Sender: No OFD packet to send [21:41:48]OFD Sender: No OFD packet to send [21:41:53]OFD Sender: No OFD packet to send [21:41:58]OFD Sender: No OFD packet to send [21:42:03]OFD Sender: No OFD packet to send [21:42:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:18]OFD Sender: No OFD packet to send [21:42:23]OFD Sender: No OFD packet to send [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:14]OFD Sender: No OFD packet to send [21:47:19]OFD Sender: No OFD packet to send [21:47:24]OFD Sender: No OFD packet to send [21:47:29]OFD Sender: No OFD packet to send [21:47:34]OFD Sender: No OFD packet to send [21:47:39]OFD Sender: No OFD packet to send [21:47:44]OFD Sender: No OFD packet to send [21:47:49]OFD Sender: No OFD packet to send [21:47:54]OFD Sender: No OFD packet to send [21:47:59]OFD Sender: No OFD packet to send [21:48:04]OFD Sender: No OFD packet to send [21:48:09]OFD Sender: No OFD packet to send [21:48:14]OFD Sender: No OFD packet to send [21:48:19]OFD Sender: No OFD packet to send [21:48:24]OFD Sender: No OFD packet to send [21:48:29]OFD Sender: No OFD packet to send [21:48:34]OFD Sender: No OFD packet to send [21:48:39]OFD Sender: No OFD packet to send [21:48:44]OFD Sender: No OFD packet to send [21:48:49]OFD Sender: No OFD packet to send [21:48:54]OFD Sender: No OFD packet to send [21:48:59]OFD Sender: No OFD packet to send [21:49:04]OFD Sender: No OFD packet to send [21:49:09]OFD Sender: No OFD packet to send [21:49:14]OFD Sender: No OFD packet to send [21:49:19]OFD Sender: No OFD packet to send [21:49:24]OFD Sender: No OFD packet to send [21:49:29]OFD Sender: No OFD packet to send [21:49:34]OFD Sender: No OFD packet to send [21:49:39]OFD Sender: No OFD packet to send [21:49:44]OFD Sender: No OFD packet to send [21:49:49]OFD Sender: No OFD packet to send [21:49:54]OFD Sender: No OFD packet to send [21:49:59]OFD Sender: No OFD packet to send [21:50:04]OFD Sender: No OFD packet to send [21:50:09]OFD Sender: No OFD packet to send [21:50:14]OFD Sender: No OFD packet to send [21:50:19]OFD Sender: No OFD packet to send [21:50:24]OFD Sender: No OFD packet to send [21:50:29]OFD Sender: No OFD packet to send [21:50:34]OFD Sender: No OFD packet to send [21:50:39]OFD Sender: No OFD packet to send [21:50:44]OFD Sender: No OFD packet to send [21:50:49]OFD Sender: No OFD packet to send [21:50:54]OFD Sender: No OFD packet to send [21:50:59]OFD Sender: No OFD packet to send [21:51:04]OFD Sender: No OFD packet to send [21:51:09]OFD Sender: No OFD packet to send [21:51:14]OFD Sender: No OFD packet to send [21:51:19]OFD Sender: No OFD packet to send [21:51:24]OFD Sender: No OFD packet to send [21:51:29]OFD Sender: No OFD packet to send [21:51:34]OFD Sender: No OFD packet to send [21:51:39]OFD Sender: No OFD packet to send [21:51:44]OFD Sender: No OFD packet to send [21:51:49]OFD Sender: No OFD packet to send [21:51:54]OFD Sender: No OFD packet to send [21:51:59]OFD Sender: No OFD packet to send [21:52:04]OFD Sender: No OFD packet to send [21:52:09]OFD Sender: No OFD packet to send [21:52:14]OFD Sender: No OFD packet to send [21:52:19]OFD Sender: No OFD packet to send [21:52:24]OFD Sender: No OFD packet to send [21:52:29]OFD Sender: No OFD packet to send [21:52:34]OFD Sender: No OFD packet to send [21:52:39]OFD Sender: No OFD packet to send [21:52:44]OFD Sender: No OFD packet to send [21:52:49]OFD Sender: No OFD packet to send [21:52:54]OFD Sender: No OFD packet to send [21:52:59]OFD Sender: No OFD packet to send [21:53:04]OFD Sender: No OFD packet to send [21:53:09]OFD Sender: No OFD packet to send [21:53:14]OFD Sender: No OFD packet to send [21:53:19]OFD Sender: No OFD packet to send [21:53:24]OFD Sender: No OFD packet to send [21:53:29]OFD Sender: No OFD packet to send [21:53:34]OFD Sender: No OFD packet to send [21:53:39]OFD Sender: No OFD packet to send [21:53:44]OFD Sender: No OFD packet to send [21:53:49]OFD Sender: No OFD packet to send [21:53: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:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:44]OFD Sender: No OFD packet to send [22:04:49]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:24]OFD Sender: No OFD packet to send [22:05:29]OFD Sender: No OFD packet to send [22:05:34]accept exits with 8 [22:05:34]New connection [22:05:34]New thread 3066715492 created [22:05:34]Thread 3066858852 joined [22:05:34]Waiting for new connection... [22:05:34] Sock 8.Parse request [22:05:34]Sock 8.Check first char [22:05:34]Sock 8.First char is OK [22:05:34]request: POST /json_proto HTTP/1.0 [22:05:34]Method: POST [22:05:34]URL: /json_proto [22:05:34]Method is POST - this is cgi request [22:05:34]url: /json_proto [22:05:34]query_string will be loaded in cgi processing [22:05:34]execute_cgi json_proto POST (null) [22:05:34]execute_cgi path=json_proto method=POST [22:05:34]POST find Content-Length [22:05:34]Host: 172.17.42.3:8080 [22:05:34]Content-Length: 681 [22:05:34]Content-Type: application/json [22:05:34] [22:05:34]POST finish read [22:05:34]Found Content-Length = 681 [22:05:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46418", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 23.920, "sum" : 1600.25, "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" ] } } [22:05:34]execute_script... [22:05: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)46418", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 23.920, "sum" : 1600.25, "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" ] } } [22:05:34]POST & json_proto [22:05:34]process_json_proto [22:05:34]json parsed OK: [22:05:34]protocol is kg_v1.0 [22:05:34]action value=close_receipt [22:05:34]process_action close_receipt [22:05:34]cmd_close_receipt [22:05:34]MH_GetDate [22:05:34]Write to MH i2c: F0 00 00 8C 0C 87 [22:05:34]Write i2c OK [22:05:34]MH_I2C_Read... [22:05:34]Read from MH i2c: F0 [22:05:34]MH_I2C_Read... [22:05:34]Read from MH i2c: F0 09 00 [22:05:34]MH_I2C_Read... [22:05:34]Read from MH i2c: F0 09 00 8C 0C 00 30 5C 21 67 28 A1 20 67 F4 [22:05:34]GetLastDocTimeStamp 1730237131 [22:05:34]current date 1730239536 [22:05:34]FM_GetShiftState [22:05:34]SAM_PROTO_GetShiftState [22:05:34]wFMCommunicate request_size=4 [22:05:34]MH_SAM_APDU [22:05:34]CAPDU: 80 13 01 00 [22:05:34]Write to MH i2c: E2 08 00 8D 0C 80 13 01 00 00 00 00 00 16 [22:05:34]Write i2c OK [22:05:34]MH_I2C_Read... [22:05:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:05:34]Read from MH i2c: E2 [22:05:34]MH_I2C_Read... [22:05:34]Read from MH i2c: E2 0E 00 [22:05:34]MH_I2C_Read... [22:05:34]Read from MH i2c: E2 0E 00 8D 0C 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 C6 [22:05:34]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:05:34]wFMCommunicate OK [22:05:34]SAM_PROTO_GetShiftState done [22:05:34]FM_GetShiftState done [22:05:34]opened in 1730160885 [22:05:34]opened+sec_in_day 1730247285 [22:05:34]quantity*price = 160024 [22:05:34]sum+1 = 160026 [22:05:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.25 ИТОГО: 1600.00 Внесено: 1600.00 СДАЧА: 0.00 НСП 1% : 14.16 НДС 12% : 169.94 Наличными: 1600.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 154 29.10.2024 22:05 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68431 ФПД: 94580794554996 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T220536&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68431&fm=94580794554996&tin=02508201610067®Number=0000000000091759&sum=160000 [22:05:35]StoreToDocumentArchive [22:05:35]shift 548 fd 68431 [22:05:35]save to /storage/0548/doc_00068431 [22:05:35]save last doc name /storage/0548/doc_00068431 to /storage/kkm_last_doc_name [22:05:35]save OK [22:05:35]Clear old archive folders... [22:05:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:05:35]tlvbuf is 01E80AB0 [22:05:35]SAM_PROTO_ClearQueue [22:05:35]wFMCommunicate request_size=4 [22:05:35]MH_SAM_APDU [22:05:35]CAPDU: 80 09 00 00 [22:05:35]Write to MH i2c: E2 08 00 9A 0C 80 09 00 00 00 00 00 00 18 [22:05:35]Write i2c OK [22:05:35]MH_I2C_Read... [22:05:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:05:35]Read from MH i2c: E2 [22:05:35]MH_I2C_Read... [22:05:35]Read from MH i2c: E2 03 00 [22:05:35]MH_I2C_Read... [22:05:35]Read from MH i2c: E2 03 00 9A 0C 00 90 00 1A [22:05:35]RAPDU: 90 00 [22:05:35]wFMCommunicate OK [22:05:35]SAM_PROTO_ClearQueue done [22:05:35]KKMCreateOFDPacket [22:05:35]OFDProtocolAddRootSTLVToBuf [22:05:35]FM_MakeSignedData [22:05:35]FM_MakeSignedData [22:05:35]SAM_PROTO_SignData [22:05:35]wFMCommunicate request_size=4 [22:05:35]MH_SAM_APDU [22:05:35]CAPDU: 80 0D 01 02 [22:05:35]Write to MH i2c: E2 08 00 9B 0C 80 0D 01 02 00 00 00 00 20 [22:05:35]Write i2c OK [22:05:35]MH_I2C_Read... [22:05:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:05:35]Read from MH i2c: E2 [22:05:35]MH_I2C_Read... [22:05:35]Read from MH i2c: E2 03 00 [22:05:35]MH_I2C_Read... [22:05:35]Read from MH i2c: E2 03 00 9B 0C 00 90 00 1B [22:05:35]RAPDU: 90 00 [22:05:35]wFMCommunicate OK [22:05:35]wFMCommunicate request_size=255 [22:05:35]MH_SAM_APDU [22:05:35]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 70 5D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 19 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 62 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 9A 00 00 00 F4 03 04 00 30 5C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4F 0B 01 00 35 04 06 00 56 [22:05:35]Write to MH i2c: E2 02 01 9C 0C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 70 5D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 19 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 62 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 9A 00 00 00 F4 03 04 00 30 5C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4F 0B 01 00 35 04 06 00 56 00 00 65 [22:05:35]Write i2c OK [22:05:35]MH_I2C_Read... [22:05:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:05:36]Read from MH i2c: E2 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: E2 03 00 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: E2 03 00 9C 0C 00 90 00 1C [22:05:36]RAPDU: 90 00 [22:05:36]wFMCommunicate OK [22:05:36]wFMCommunicate request_size=10 [22:05:36]MH_SAM_APDU [22:05:36]CAPDU: 80 0D 02 02 05 05 4E A9 7A 74 [22:05:36]Write to MH i2c: E2 0D 00 9D 0C 80 0D 02 02 05 00 05 4E A9 7A 74 00 00 17 [22:05:36]Write i2c OK [22:05:36]MH_I2C_Read... [22:05:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:05:36]Read from MH i2c: E2 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: E2 03 00 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: E2 03 00 9D 0C 00 90 00 1D [22:05:36]RAPDU: 90 00 [22:05:36]wFMCommunicate OK [22:05:36]wFMCommunicate request_size=4 [22:05:36]MH_SAM_APDU [22:05:36]CAPDU: 80 0D 03 02 [22:05:36]Write to MH i2c: E2 08 00 9E 0C 80 0D 03 02 00 00 00 00 25 [22:05:36]Write i2c OK [22:05:36]MH_I2C_Read... [22:05:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:05:36]Read from MH i2c: E2 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: E2 0B 00 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: E2 0B 00 9E 0C 00 DD 53 34 D8 07 AA B3 A2 90 00 68 [22:05:36]RAPDU: DD 53 34 D8 07 AA B3 A2 90 00 [22:05:36]wFMCommunicate OK [22:05:36]SAM_PROTO_SignData done [22:05:36]FM_MakeSignedData done [22:05:36]CreateOFDProtocolMessage [22:05:36]wFMCommunicate request_size=4 [22:05:36]MH_SAM_APDU [22:05:36]CAPDU: 80 11 00 00 [22:05:36]Write to MH i2c: E2 08 00 9F 0C 80 11 00 00 00 00 00 00 25 [22:05:36]Write i2c OK [22:05:36]MH_I2C_Read... [22:05:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:05:36]Read from MH i2c: E2 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: E2 17 00 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: E2 17 00 9F 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 7C [22:05:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:05:36]wFMCommunicate OK [22:05:36]CreateOFDProtocolMessage done [22:05:36]OFDSenderStorePacket 68431 [22:05:36]StoreOFDPacket docnum=68431 [22:05:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 5C 91 07 01 78 9D 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 70 5D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 19 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 62 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 9A 00 00 00 F4 03 04 00 30 5C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4F 0B 01 00 35 04 06 00 56 05 4E A9 7A 74 DD 53 34 D8 07 AA B3 A2 [22:05:36]CheckFolder [22:05:36]dirname=/storage/ofd_packets [22:05:36]CheckFolder done [22:05:36]ProducePacketName [22:05:36]name=ofd_packets/00068431 [22:05:36]NVStorageSaveData ofd_packets/00068431 [22:05:36]File name is /storage/ofd_packets/00068431 [22:05:36]Write 301 bytes [22:05:36]NVStorageSaveData done [22:05:36]OFDSenderStorePacket done [22:05:36]KKMCreateOFDPacket done [22:05:36]NVStorageSaveData kkm_last_timestamp [22:05:36]File name is /storage/kkm_last_timestamp [22:05:36]Write 4 bytes [22:05:36]NVStorageSaveData done [22:05:36]ExternCall_PrintAddStr [22:05:36]wPrintStart [22:05:36]Write to MH i2c: 01 00 00 A0 0C AC [22:05:36]Write i2c OK [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: 01 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: 01 07 00 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: 01 07 00 A0 0C 00 00 00 00 00 FF 0F C1 [22:05:36]RasterBufferAndPrint [22:05:36]line Счет N : (1)46418 [22:05:36]line ИНН: 02508201610067 [22:05:36]line Контрольно-Кассовый Чек [22:05:36]line ПРОДАЖА [22:05:36]line ТРК (МРК, ГНК) : 13 [22:05:36]line Товар: 2710124130 [22:05:36]line Аи-92-К-5 [22:05:36]line 23.920 * 66.90 [22:05:36]line = 1600.25 [22:05:36]line НДС 12% НСП 1% [22:05:36]line > о реализуемом товаре [22:05:36]line ОКРУГЛЕНИЕ: -0.25 [22:05:36]line ИТОГО: 1600.00 [22:05:36]line Внесено: 1600.00 [22:05:36]line СДАЧА: 0.00 [22:05:36]line НСП 1% : 14.16 [22:05:36]line НДС 12% : 169.94 [22:05:36]line Наличными: 1600.00 [22:05:36]line Безнал.: 0.00 [22:05:36]line Место: АЗС № 160 "Партнер Нефть" [22:05:36]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:05:36]line СНО: Общий режим [22:05:36]line Чек 154 29.10.2024 22:05 [22:05:36]line Смена: 548 ФФД: 1.0 [22:05:36]line ЗНМ: 0300000093 [22:05:36]line РНМ: 0000000000091759 [22:05:36]line Версия ККМ: 001 [22:05:36]line ФМ: 0000000000871758 [22:05:36]line ФД: 68431 [22:05:36]line ФПД: 94580794554996 [22:05:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T220536&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68431&fm=94580794554996&tin=02508201610067®Number=0000000000091759&sum=160000 [22:05:36]written 0, free lines is 4095 [22:05:36]OFD Sender: Processing packet 68431 [packets to send 28, broken 27] [22:05:36]ProducePacketName [22:05:36]name=ofd_packets/00068431 [22:05:36]OFD Sender: To server: pG, [22:05:36]CommunicateWithHost lk.salyk.kg:30040 [22:05:36]ConnectInit lk.salyk.kg [22:05:36]Connected sock=10 [22:05:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 5C 91 07 01 78 9D 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 70 5D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 19 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 62 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 9A 00 00 00 F4 03 04 00 30 5C 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4F 0B 01 00 35 04 06 00 56 05 4E A9 7A 74 DD 53 34 D8 07 AA B3 A2 [22:05:36]Write to MH i2c: 01 00 00 CA 0C D6 [22:05:36]Write i2c OK [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: 01 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: 01 07 00 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: 01 07 00 CA 0C 00 00 00 00 00 C1 0C AA [22:05:36]RasterBufferAndPrint [22:05:36]line [22:05:36]line [22:05:36]line [22:05:36]line [22:05:36]line [22:05:36]written 0, free lines is 3271 [22:05:36]MH_Cut [22:05:36]Write to MH i2c: D1 01 00 D1 0C 01 AF [22:05:36]Write i2c OK [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: D1 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: D1 01 00 [22:05:36]MH_I2C_Read... [22:05:36]Read from MH i2c: D1 01 00 D1 0C 00 AE [22:05:36]Write to MH i2c: 01 00 00 D2 0C DE [22:05:36]Write i2c OK [22:05:36]MH_I2C_Read... [22:05:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BF A6 47 00 CF 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4F 0B 01 00 F4 03 04 00 D7 07 21 67 B6 04 01 00 00 3B 6A C2 95 35 4C CB 91 [22:05:36]CommunicateWithHost err = 0 [22:05:36]CheckOFDResponse [22:05:36]1017 (14) - 77093643461234 [22:05:36]1041 (16) - 0000000000871758 [22:05:36]1040 (4) - 68431 [22:05:36]1012 (4) - 29.10.2024 16:05 [22:05:36]1206 (1) - 0 [22:05:36]OFD Sender: Remove packet 68431 [22:05:36]ProducePacketName [22:05:36]name=ofd_packets/00068431 [22:05:36]NVStorageDeleteData [22:05:37]OFD Sender: No OFD packet to send [22:05:37]*** Cut start [22:05:37]*** Partial cut [22:05:37]*** CUTSNS_PIN = 1 [22:05:37]*** CUTSNS_PIN = 0 [22:05:37]*** Brake cut motor [22:05:38]Read from MH i2c: 01 [22:05:38]MH_I2C_Read... [22:05:38]*** Stop cut motor [22:05:38]*** Cut end [22:05:38]Read from MH i2c: 01 07 00 [22:05:38]MH_I2C_Read... [22:05:38]Read from MH i2c: 01 07 00 D2 0C 00 00 00 00 00 FF 0F F3 [22:05:38]process_action close_receipt done [22:05:38]requested_data is exist [22:05:38]produce_requested_data [22:05:38]requested_item fm.sn is exist - process it [22:05:38]wFMCommunicate request_size=4 [22:05:38]MH_SAM_APDU [22:05:38]CAPDU: 80 11 00 00 [22:05:38]Write to MH i2c: E2 08 00 D3 0C 80 11 00 00 00 00 00 00 59 [22:05:38]Write i2c OK [22:05:38]MH_I2C_Read... [22:05:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:05:38]Read from MH i2c: E2 [22:05:38]MH_I2C_Read... [22:05:38]Read from MH i2c: E2 17 00 [22:05:38]MH_I2C_Read... [22:05:38]Read from MH i2c: E2 17 00 D3 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B0 [22:05:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:05:38]wFMCommunicate OK [22:05:38]requested_item fd.num is exist - process it [22:05:38]SAM_PROTO_GetFieldsCounters [22:05:38]wFMCommunicate request_size=4 [22:05:38]MH_SAM_APDU [22:05:38]CAPDU: 80 13 00 00 [22:05:38]Write to MH i2c: E2 08 00 D4 0C 80 13 00 00 00 00 00 00 5C [22:05:38]Write i2c OK [22:05:38]MH_I2C_Read... [22:05:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:05:38]Read from MH i2c: E2 [22:05:38]MH_I2C_Read... [22:05:38]Read from MH i2c: E2 62 00 [22:05:38]MH_I2C_Read... [22:05:38]Read from MH i2c: E2 62 00 D4 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4F 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9A 00 00 00 5E 04 04 00 9A 00 00 00 57 04 04 00 9B 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [22:05:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 4F 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9A 00 00 00 5E 04 04 00 9A 00 00 00 57 04 04 00 9B 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:05:38]wFMCommunicate OK [22:05:38]SAM_PROTO_GetFieldsCounters done [22:05:38]requested_item shift.num is exist - process it [22:05:38]requested_item shift.opened is exist - process it [22:05:38]req_shift_opened [22:05:38]FM_GetShiftState [22:05:38]SAM_PROTO_GetShiftState [22:05:38]wFMCommunicate request_size=4 [22:05:38]MH_SAM_APDU [22:05:38]CAPDU: 80 13 01 00 [22:05:38]Write to MH i2c: E2 08 00 D5 0C 80 13 01 00 00 00 00 00 5E [22:05:38]Write i2c OK [22:05:38]MH_I2C_Read... [22:05:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:05:38]Read from MH i2c: E2 [22:05:38]MH_I2C_Read... [22:05:38]Read from MH i2c: E2 0E 00 [22:05:38]MH_I2C_Read... [22:05:38]Read from MH i2c: E2 0E 00 D5 0C 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 0E [22:05:38]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:05:38]wFMCommunicate OK [22:05:38]SAM_PROTO_GetShiftState done [22:05:38]FM_GetShiftState done [22:05:38]req_shift_opened done [22:05:38]requested_item shift.open_date is exist - process it [22:05:38]req_shift_open_date [22:05:38]req_shift_open_date done [22:05:38]produce_requested_data done [22:05:38]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68431,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:05:38]process_action_free close_receipt [22:05:38]json_value_free [22:05:38]json_value_free done [22:05:38]process_json_proto returns [22:05:38]Send response to host [22:05:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68431,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:05:38]free response buf [22:05:38]execute_script done [22:05:38]execute_script returns [22:05:38]free content buf [22:05:38]Sock 8.Close socket [22:05:38]Sock 8.Thread stoped [22:05:42]OFD Sender: No OFD packet to send [22:05:47]OFD Sender: No OFD packet to send [22:05:52]OFD Sender: No OFD packet to send [22:05:57]OFD Sender: No OFD packet to send [22:06:02]OFD Sender: No OFD packet to send [22:06:07]OFD Sender: No OFD packet to send [22:06:12]OFD Sender: No OFD packet to send [22:06:17]OFD Sender: No OFD packet to send [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:17]OFD Sender: No OFD packet to send [22:07:22]OFD Sender: No OFD packet to send [22:07:27]OFD Sender: No OFD packet to send [22:07:32]OFD Sender: No OFD packet to send [22:07:37]OFD Sender: No OFD packet to send [22:07:42]OFD Sender: No OFD packet to send [22:07:47]OFD Sender: No OFD packet to send [22:07:52]OFD Sender: No OFD packet to send [22:07:57]OFD Sender: No OFD packet to send [22:08:02]OFD Sender: No OFD packet to send [22:08:07]OFD Sender: No OFD packet to send [22:08:12]OFD Sender: No OFD packet to send [22:08:17]OFD Sender: No OFD packet to send [22:08:22]OFD Sender: No OFD packet to send [22:08:27]OFD Sender: No OFD packet to send [22:08:32]OFD Sender: No OFD packet to send [22:08:37]OFD Sender: No OFD packet to send [22:08:42]OFD Sender: No OFD packet to send [22:08:47]OFD Sender: No OFD packet to send [22:08:52]OFD Sender: No OFD packet to send [22:08:57]OFD Sender: No OFD packet to send [22:09:02]OFD Sender: No OFD packet to send [22:09:07]OFD Sender: No OFD packet to send [22:09:12]OFD Sender: No OFD packet to send [22:09:17]OFD Sender: No OFD packet to send [22:09:22]OFD Sender: No OFD packet to send [22:09:27]OFD Sender: No OFD packet to send [22:09:32]OFD Sender: No OFD packet to send [22:09:37]OFD Sender: No OFD packet to send [22:09:42]OFD Sender: No OFD packet to send [22:09:47]OFD Sender: No OFD packet to send [22:09:52]OFD Sender: No OFD packet to send [22:09:57]OFD Sender: No OFD packet to send [22:10:02]OFD Sender: No OFD packet to send [22:10:07]OFD Sender: No OFD packet to send [22:10:12]OFD Sender: No OFD packet to send [22:10:17]OFD Sender: No OFD packet to send [22:10:22]OFD Sender: No OFD packet to send [22:10:27]OFD Sender: No OFD packet to send [22:10:32]OFD Sender: No OFD packet to send [22:10:37]OFD Sender: No OFD packet to send [22:10:42]OFD Sender: No OFD packet to send [22:10:47]OFD Sender: No OFD packet to send [22:10:52]OFD Sender: No OFD packet to send [22:10:57]OFD Sender: No OFD packet to send [22:11:02]OFD Sender: No OFD packet to send [22:11:07]OFD Sender: No OFD packet to send [22:11:12]OFD Sender: No OFD packet to send [22:11:17]OFD Sender: No OFD packet to send [22:11:22]OFD Sender: No OFD packet to send [22:11:27]OFD Sender: No OFD packet to send [22:11:32]OFD Sender: No OFD packet to send [22:11:37]OFD Sender: No OFD packet to send [22:11:42]OFD Sender: No OFD packet to send [22:11:47]OFD Sender: No OFD packet to send [22:11:52]OFD Sender: No OFD packet to send [22:11:57]OFD Sender: No OFD packet to send [22:12:02]OFD Sender: No OFD packet to send [22:12:07]OFD Sender: No OFD packet to send [22:12:12]OFD Sender: No OFD packet to send [22:12:17]OFD Sender: No OFD packet to send [22:12:22]OFD Sender: No OFD packet to send [22:12:27]OFD Sender: No OFD packet to send [22:12:32]OFD Sender: No OFD packet to send [22:12:37]OFD Sender: No OFD packet to send [22:12:42]OFD Sender: No OFD packet to send [22:12:47]OFD Sender: No OFD packet to send [22:12:52]OFD Sender: No OFD packet to send [22:12:57]OFD Sender: No OFD packet to send [22:13:02]OFD Sender: No OFD packet to send [22:13:07]OFD Sender: No OFD packet to send [22:13:12]OFD Sender: No OFD packet to send [22:13:17]OFD Sender: No OFD packet to send [22:13:22]OFD Sender: No OFD packet to send [22:13:23]int [22:13:23]Write to MH i2c: 01 00 00 D6 0C E2 [22:13:23]*** FLAG_PRN_KEY set [22:13:23]Write i2c OK [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 07 00 [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 07 00 D6 0C 00 08 00 00 00 FF 0F FF [22:13:23]state=0 [22:13:23]Key pressed [22:13:23]Feed [22:13:23]Write to MH i2c: D8 00 00 D7 0C BA [22:13:23]Write i2c OK [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: D8 [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: D8 01 00 [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: D8 01 00 D7 0C 00 BB [22:13:23]int [22:13:23]Write to MH i2c: 01 00 00 D8 0C E4 [22:13:23]Write i2c OK [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 07 00 [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 07 00 D8 0C 00 48 00 00 00 3C 00 6F [22:13:23]state=2 [22:13:23]Key pressed [22:13:23]int [22:13:23]Write to MH i2c: 01 00 00 D9 0C E5 [22:13:23]*** FLAG_PRN_KEY reset [22:13:23]Write i2c OK [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 07 00 [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 07 00 D9 0C 00 00 00 00 00 F6 0F F1 [22:13:23]state=2 [22:13:23]Stop feed [22:13:27]OFD Sender: No OFD packet to send [22:13:32]OFD Sender: No OFD packet to send [22:13:37]OFD Sender: No OFD packet to send [22:13:42]OFD Sender: No OFD packet to send [22:13:45]accept exits with 9 [22:13:45]New connection [22:13:45]New thread 3066858852 created [22:13:45]Thread 3066715492 joined [22:13:45]Waiting for new connection... [22:13:45] Sock 9.Parse request [22:13:45]Sock 9.Check first char [22:13:45]Sock 9.First char is OK [22:13:45]request: POST /json_proto HTTP/1.0 [22:13:45]Method: POST [22:13:45]URL: /json_proto [22:13:45]Method is POST - this is cgi request [22:13:45]url: /json_proto [22:13:45]query_string will be loaded in cgi processing [22:13:45]execute_cgi json_proto POST (null) [22:13:45]execute_cgi path=json_proto method=POST [22:13:45]POST find Content-Length [22:13:45]Host: 172.17.42.3:8080 [22:13:45]Content-Length: 674 [22:13:45]Content-Type: application/json [22:13:45] [22:13:45]POST finish read [22:13:45]Found Content-Length = 674 [22:13:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46419", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 16.130, "sum" : 1103.29, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 1103.00, "payments": [ { "type": 0, "sum" : 1103.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:13:45]execute_script... [22:13: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)46419", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 16.130, "sum" : 1103.29, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 5000.00, "total" : 1103.00, "payments": [ { "type": 0, "sum" : 1103.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:13:45]POST & json_proto [22:13:45]process_json_proto [22:13:45]json parsed OK: [22:13:45]protocol is kg_v1.0 [22:13:45]action value=close_receipt [22:13:45]process_action close_receipt [22:13:45]cmd_close_receipt [22:13:45]MH_GetDate [22:13:45]Write to MH i2c: F0 00 00 DA 0C D5 [22:13:45]Write i2c OK [22:13:45]MH_I2C_Read... [22:13:45]Read from MH i2c: F0 [22:13:45]MH_I2C_Read... [22:13:45]Read from MH i2c: F0 09 00 [22:13:45]MH_I2C_Read... [22:13:45]Read from MH i2c: F0 09 00 DA 0C 00 1B 5E 21 67 28 A1 20 67 2F [22:13:45]GetLastDocTimeStamp 1730239536 [22:13:45]current date 1730240027 [22:13:45]FM_GetShiftState [22:13:45]SAM_PROTO_GetShiftState [22:13:45]wFMCommunicate request_size=4 [22:13:45]MH_SAM_APDU [22:13:45]CAPDU: 80 13 01 00 [22:13:45]Write to MH i2c: E2 08 00 DB 0C 80 13 01 00 00 00 00 00 64 [22:13:45]Write i2c OK [22:13:45]MH_I2C_Read... [22:13:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:13:45]Read from MH i2c: E2 [22:13:45]MH_I2C_Read... [22:13:45]Read from MH i2c: E2 0E 00 [22:13:45]MH_I2C_Read... [22:13:45]Read from MH i2c: E2 0E 00 DB 0C 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 14 [22:13:45]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:13:45]wFMCommunicate OK [22:13:45]SAM_PROTO_GetShiftState done [22:13:45]FM_GetShiftState done [22:13:45]opened in 1730160885 [22:13:45]opened+sec_in_day 1730247285 [22:13:45]quantity*price = 110329 [22:13:45]sum+1 = 110330 [22:13:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.29 ИТОГО: 1103.00 Внесено: 5000.00 СДАЧА: 3897.00 НСП 1% : 9.76 НДС 12% : 117.16 Наличными: 1103.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 155 29.10.2024 22:13 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68432 ФПД: 65038131671756 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T221347&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68432&fm=65038131671756&tin=02508201610067®Number=0000000000091759&sum=110300 [22:13:46]StoreToDocumentArchive [22:13:46]shift 548 fd 68432 [22:13:46]save to /storage/0548/doc_00068432 [22:13:46]save last doc name /storage/0548/doc_00068432 to /storage/kkm_last_doc_name [22:13:46]save OK [22:13:46]Clear old archive folders... [22:13:46]ProcessDocumentItem done err = 0, tmpTLVsize=252 [22:13:46]tlvbuf is 01E620C0 [22:13:46]SAM_PROTO_ClearQueue [22:13:46]wFMCommunicate request_size=4 [22:13:46]MH_SAM_APDU [22:13:46]CAPDU: 80 09 00 00 [22:13:46]Write to MH i2c: E2 08 00 E8 0C 80 09 00 00 00 00 00 00 66 [22:13:46]Write i2c OK [22:13:46]MH_I2C_Read... [22:13:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:13:46]Read from MH i2c: E2 [22:13:46]MH_I2C_Read... [22:13:46]Read from MH i2c: E2 03 00 [22:13:46]MH_I2C_Read... [22:13:46]Read from MH i2c: E2 03 00 E8 0C 00 90 00 68 [22:13:46]RAPDU: 90 00 [22:13:46]wFMCommunicate OK [22:13:46]SAM_PROTO_ClearQueue done [22:13:46]KKMCreateOFDPacket [22:13:46]OFDProtocolAddRootSTLVToBuf [22:13:46]FM_MakeSignedData [22:13:46]FM_MakeSignedData [22:13:46]SAM_PROTO_SignData [22:13:46]wFMCommunicate request_size=4 [22:13:46]MH_SAM_APDU [22:13:46]CAPDU: 80 0D 01 02 [22:13:46]Write to MH i2c: E2 08 00 E9 0C 80 0D 01 02 00 00 00 00 6E [22:13:46]Write i2c OK [22:13:46]MH_I2C_Read... [22:13:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:13:46]Read from MH i2c: E2 [22:13:46]MH_I2C_Read... [22:13:46]Read from MH i2c: E2 03 00 [22:13:46]MH_I2C_Read... [22:13:46]Read from MH i2c: E2 03 00 E9 0C 00 90 00 69 [22:13:46]RAPDU: 90 00 [22:13:46]wFMCommunicate OK [22:13:46]wFMCommunicate request_size=255 [22:13:46]MH_SAM_APDU [22:13:46]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 02 3F 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F9 AE 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC AE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 2D 00 00 00 00 07 04 06 00 DC AE 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9B 00 00 00 F4 03 04 00 1B 5E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 50 0B 01 00 35 04 06 00 [22:13:46]Write to MH i2c: E2 02 01 EA 0C 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 02 3F 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F9 AE 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC AE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 2D 00 00 00 00 07 04 06 00 DC AE 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9B 00 00 00 F4 03 04 00 1B 5E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 50 0B 01 00 35 04 06 00 00 00 DF [22:13:46]Write i2c OK [22:13:46]MH_I2C_Read... [22:13:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:13:47]Read from MH i2c: E2 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: E2 03 00 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: E2 03 00 EA 0C 00 90 00 6A [22:13:47]RAPDU: 90 00 [22:13:47]wFMCommunicate OK [22:13:47]wFMCommunicate request_size=11 [22:13:47]MH_SAM_APDU [22:13:47]CAPDU: 80 0D 02 02 06 3B 26 DE BC 32 CC [22:13:47]Write to MH i2c: E2 0E 00 EB 0C 80 0D 02 02 06 00 3B 26 DE BC 32 CC 00 00 76 [22:13:47]Write i2c OK [22:13:47]MH_I2C_Read... [22:13:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:13:47]Read from MH i2c: E2 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: E2 03 00 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: E2 03 00 EB 0C 00 90 00 6B [22:13:47]RAPDU: 90 00 [22:13:47]wFMCommunicate OK [22:13:47]wFMCommunicate request_size=4 [22:13:47]MH_SAM_APDU [22:13:47]CAPDU: 80 0D 03 02 [22:13:47]Write to MH i2c: E2 08 00 EC 0C 80 0D 03 02 00 00 00 00 73 [22:13:47]Write i2c OK [22:13:47]MH_I2C_Read... [22:13:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:13:47]Read from MH i2c: E2 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: E2 0B 00 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: E2 0B 00 EC 0C 00 8A 66 F0 EE 09 1C B5 AB 90 00 C7 [22:13:47]RAPDU: 8A 66 F0 EE 09 1C B5 AB 90 00 [22:13:47]wFMCommunicate OK [22:13:47]SAM_PROTO_SignData done [22:13:47]FM_MakeSignedData done [22:13:47]CreateOFDProtocolMessage [22:13:47]wFMCommunicate request_size=4 [22:13:47]MH_SAM_APDU [22:13:47]CAPDU: 80 11 00 00 [22:13:47]Write to MH i2c: E2 08 00 ED 0C 80 11 00 00 00 00 00 00 73 [22:13:47]Write i2c OK [22:13:47]MH_I2C_Read... [22:13:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:13:47]Read from MH i2c: E2 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: E2 17 00 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: E2 17 00 ED 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 CA [22:13:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:13:47]wFMCommunicate OK [22:13:47]CreateOFDProtocolMessage done [22:13:47]OFDSenderStorePacket 68432 [22:13:47]StoreOFDPacket docnum=68432 [22:13:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 8D 74 08 01 15 28 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 02 3F 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F9 AE 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC AE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 2D 00 00 00 00 07 04 06 00 DC AE 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9B 00 00 00 F4 03 04 00 1B 5E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 50 0B 01 00 35 04 06 00 3B 26 DE BC 32 CC 8A 66 F0 EE 09 1C B5 AB [22:13:47]CheckFolder [22:13:47]dirname=/storage/ofd_packets [22:13:47]CheckFolder done [22:13:47]ProducePacketName [22:13:47]name=ofd_packets/00068432 [22:13:47]NVStorageSaveData ofd_packets/00068432 [22:13:47]File name is /storage/ofd_packets/00068432 [22:13:47]Write 302 bytes [22:13:47]NVStorageSaveData done [22:13:47]OFDSenderStorePacket done [22:13:47]KKMCreateOFDPacket done [22:13:47]NVStorageSaveData kkm_last_timestamp [22:13:47]File name is /storage/kkm_last_timestamp [22:13:47]Write 4 bytes [22:13:47]NVStorageSaveData done [22:13:47]ExternCall_PrintAddStr [22:13:47]wPrintStart [22:13:47]Write to MH i2c: 01 00 00 EE 0C FA [22:13:47]Write i2c OK [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: 01 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: 01 07 00 [22:13:47]MH_I2C_Read... [22:13:47]Read from MH i2c: 01 07 00 EE 0C 00 00 00 00 00 FF 0F 0F [22:13:47]RasterBufferAndPrint [22:13:47]line Счет N : (1)46419 [22:13:47]line ИНН: 02508201610067 [22:13:47]line Контрольно-Кассовый Чек [22:13:47]line ПРОДАЖА [22:13:47]line ТРК (МРК, ГНК) : 32 [22:13:47]line Товар: 2710124130 [22:13:47]line SUPER-92-К-5 [22:13:47]line 16.130 * 68.40 [22:13:47]line = 1103.29 [22:13:47]line НДС 12% НСП 1% [22:13:47]line > о реализуемом товаре [22:13:47]line ОКРУГЛЕНИЕ: -0.29 [22:13:47]line ИТОГО: 1103.00 [22:13:47]line Внесено: 5000.00 [22:13:47]line СДАЧА: 3897.00 [22:13:47]line НСП 1% : 9.76 [22:13:47]line НДС 12% : 117.16 [22:13:47]line Наличными: 1103.00 [22:13:47]line Безнал.: 0.00 [22:13:47]line Место: АЗС № 160 "Партнер Нефть" [22:13:47]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:13:47]line СНО: Общий режим [22:13:47]line Чек 155 29.10.2024 22:13 [22:13:47]line Смена: 548 ФФД: 1.0 [22:13:47]line ЗНМ: 0300000093 [22:13:47]line РНМ: 0000000000091759 [22:13:47]line Версия ККМ: 001 [22:13:47]line ФМ: 0000000000871758 [22:13:47]line ФД: 68432 [22:13:47]line ФПД: 65038131671756 [22:13:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T221347&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68432&fm=65038131671756&tin=02508201610067®Number=0000000000091759&sum=110300 [22:13:47]OFD Sender: Processing packet 68432 [packets to send 28, broken 27] [22:13:47]ProducePacketName [22:13:47]name=ofd_packets/00068432 [22:13:47]OFD Sender: To server: pG, [22:13:47]CommunicateWithHost lk.salyk.kg:30040 [22:13:47]ConnectInit lk.salyk.kg [22:13:47]written 0, free lines is 4095 [22:13:47]Connected sock=10 [22:13:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 8D 74 08 01 15 28 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 02 3F 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F9 AE 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC AE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 2D 00 00 00 00 07 04 06 00 DC AE 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9B 00 00 00 F4 03 04 00 1B 5E 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 50 0B 01 00 35 04 06 00 3B 26 DE BC 32 CC 8A 66 F0 EE 09 1C B5 AB [22:13:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F3 43 47 00 AE C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 50 0B 01 00 F4 03 04 00 C2 09 21 67 B6 04 01 00 00 46 41 37 D5 75 8F F7 00 [22:13:47]CommunicateWithHost err = 0 [22:13:47]CheckOFDResponse [22:13:47]1017 (14) - 77093643461234 [22:13:47]1041 (16) - 0000000000871758 [22:13:47]1040 (4) - 68432 [22:13:47]1012 (4) - 29.10.2024 16:13 [22:13:47]1206 (1) - 0 [22:13:47]OFD Sender: Remove packet 68432 [22:13:47]ProducePacketName [22:13:47]name=ofd_packets/00068432 [22:13:47]NVStorageDeleteData [22:13:48]Write to MH i2c: 01 00 00 18 0D 25 [22:13:48]Write i2c OK [22:13:48]MH_I2C_Read... [22:13:48]Read from MH i2c: 01 [22:13:48]MH_I2C_Read... [22:13:48]Read from MH i2c: 01 07 00 [22:13:48]MH_I2C_Read... [22:13:48]Read from MH i2c: 01 07 00 18 0D 00 00 00 00 00 C2 0C FA [22:13:48]RasterBufferAndPrint [22:13:48]line [22:13:48]line [22:13:48]line [22:13:48]line [22:13:48]line [22:13:48]written 0, free lines is 3272 [22:13:48]MH_Cut [22:13:48]Write to MH i2c: D1 01 00 1F 0D 01 FE [22:13:48]Write i2c OK [22:13:48]MH_I2C_Read... [22:13:48]Read from MH i2c: D1 [22:13:48]MH_I2C_Read... [22:13:48]Read from MH i2c: D1 01 00 [22:13:48]MH_I2C_Read... [22:13:48]Read from MH i2c: D1 01 00 1F 0D 00 FD [22:13:48]Write to MH i2c: 01 00 00 20 0D 2D [22:13:48]Write i2c OK [22:13:48]MH_I2C_Read... [22:13:48]OFD Sender: No OFD packet to send [22:13:48]*** Cut start [22:13:48]*** Partial cut [22:13:48]*** CUTSNS_PIN = 1 [22:13:48]*** CUTSNS_PIN = 0 [22:13:49]*** Brake cut motor [22:13:49]Read from MH i2c: 01 [22:13:49]MH_I2C_Read... [22:13:49]*** Stop cut motor [22:13:49]*** Cut end [22:13:49]Read from MH i2c: 01 07 00 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: 01 07 00 20 0D 00 00 00 00 00 FF 0F 42 [22:13:49]process_action close_receipt done [22:13:49]requested_data is exist [22:13:49]produce_requested_data [22:13:49]requested_item fm.sn is exist - process it [22:13:49]wFMCommunicate request_size=4 [22:13:49]MH_SAM_APDU [22:13:49]CAPDU: 80 11 00 00 [22:13:49]Write to MH i2c: E2 08 00 21 0D 80 11 00 00 00 00 00 00 A8 [22:13:49]Write i2c OK [22:13:49]MH_I2C_Read... [22:13:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:13:49]Read from MH i2c: E2 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: E2 17 00 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: E2 17 00 21 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 FF [22:13:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:13:49]wFMCommunicate OK [22:13:49]requested_item fd.num is exist - process it [22:13:49]SAM_PROTO_GetFieldsCounters [22:13:49]wFMCommunicate request_size=4 [22:13:49]MH_SAM_APDU [22:13:49]CAPDU: 80 13 00 00 [22:13:49]Write to MH i2c: E2 08 00 22 0D 80 13 00 00 00 00 00 00 AB [22:13:49]Write i2c OK [22:13:49]MH_I2C_Read... [22:13:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:13:49]Read from MH i2c: E2 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: E2 62 00 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: E2 62 00 22 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 50 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9B 00 00 00 5E 04 04 00 9B 00 00 00 57 04 04 00 9C 00 00 00 19 04 04 00 00 00 00 00 90 00 29 [22:13:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 50 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9B 00 00 00 5E 04 04 00 9B 00 00 00 57 04 04 00 9C 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:13:49]wFMCommunicate OK [22:13:49]SAM_PROTO_GetFieldsCounters done [22:13:49]requested_item shift.num is exist - process it [22:13:49]requested_item shift.opened is exist - process it [22:13:49]req_shift_opened [22:13:49]FM_GetShiftState [22:13:49]SAM_PROTO_GetShiftState [22:13:49]wFMCommunicate request_size=4 [22:13:49]MH_SAM_APDU [22:13:49]CAPDU: 80 13 01 00 [22:13:49]Write to MH i2c: E2 08 00 23 0D 80 13 01 00 00 00 00 00 AD [22:13:49]*** FLAG_PRN_KEY set [22:13:49]int [22:13:49]Write i2c OK [22:13:49]MH_I2C_Read... [22:13:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:13:49]Read from MH i2c: E2 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: E2 0E 00 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: E2 0E 00 23 0D 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 5D [22:13:49]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:13:49]wFMCommunicate OK [22:13:49]SAM_PROTO_GetShiftState done [22:13:49]FM_GetShiftState done [22:13:49]req_shift_opened done [22:13:49]requested_item shift.open_date is exist - process it [22:13:49]req_shift_open_date [22:13:49]req_shift_open_date done [22:13:49]produce_requested_data done [22:13:49]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68432,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:13:49]process_action_free close_receipt [22:13:49]json_value_free [22:13:49]json_value_free done [22:13:49]process_json_proto returns [22:13:49]Send response to host [22:13:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68432,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:13:49]free response buf [22:13:49]execute_script done [22:13:49]execute_script returns [22:13:49]free content buf [22:13:49]Sock 9.Close socket [22:13:49]Sock 9.Thread stoped [22:13:49]Write to MH i2c: 01 00 00 24 0D 31 [22:13:49]Write i2c OK [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: 01 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: 01 07 00 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: 01 07 00 24 0D 00 08 00 00 00 FF 0F 4E [22:13:49]state=0 [22:13:49]Key pressed [22:13:49]Feed [22:13:49]Write to MH i2c: D8 00 00 25 0D 09 [22:13:49]Write i2c OK [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: D8 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: D8 01 00 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: D8 01 00 25 0D 00 0A [22:13:49]int [22:13:49]Write to MH i2c: 01 00 00 26 0D 33 [22:13:49]Write i2c OK [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: 01 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: 01 07 00 [22:13:49]MH_I2C_Read... [22:13:49]Read from MH i2c: 01 07 00 26 0D 00 48 00 00 00 3C 00 BE [22:13:49]state=2 [22:13:49]Key pressed [22:13:50]int [22:13:50]Write to MH i2c: 01 00 00 27 0D 34 [22:13:50]*** FLAG_PRN_KEY reset [22:13:50]Write i2c OK [22:13:50]MH_I2C_Read... [22:13:50]Read from MH i2c: 01 [22:13:50]MH_I2C_Read... [22:13:50]Read from MH i2c: 01 07 00 [22:13:50]MH_I2C_Read... [22:13:50]Read from MH i2c: 01 07 00 27 0D 00 00 00 00 00 FF 0F 49 [22:13:50]state=2 [22:13:50]Stop feed [22:13:53]OFD Sender: No OFD packet to send [22:13:58]OFD Sender: No OFD packet to send [22:14:03]OFD Sender: No OFD packet to send [22:14:08]OFD Sender: No OFD packet to send [22:14:13]OFD Sender: No OFD packet to send [22:14:18]OFD Sender: No OFD packet to send [22:14:23]OFD Sender: No OFD packet to send [22:14:28]OFD Sender: No OFD packet to send [22:14:33]OFD Sender: No OFD packet to send [22:14:38]OFD Sender: No OFD packet to send [22:14:43]OFD Sender: No OFD packet to send [22:14:48]OFD Sender: No OFD packet to send [22:14:53]OFD Sender: No OFD packet to send [22:14:58]OFD Sender: No OFD packet to send [22:15:03]OFD Sender: No OFD packet to send [22:15:08]OFD Sender: No OFD packet to send [22:15:13]OFD Sender: No OFD packet to send [22:15:18]OFD Sender: No OFD packet to send [22:15:23]OFD Sender: No OFD packet to send [22:15:28]OFD Sender: No OFD packet to send [22:15:33]OFD Sender: No OFD packet to send [22:15:38]OFD Sender: No OFD packet to send [22:15:43]OFD Sender: No OFD packet to send [22:15:48]OFD Sender: No OFD packet to send [22:15:53]OFD Sender: No OFD packet to send [22:15:58]OFD Sender: No OFD packet to send [22:16:03]OFD Sender: No OFD packet to send [22:16:08]OFD Sender: No OFD packet to send [22:16:13]OFD Sender: No OFD packet to send [22:16:18]OFD Sender: No OFD packet to send [22:16:23]OFD Sender: No OFD packet to send [22:16:28]OFD Sender: No OFD packet to send [22:16:33]OFD Sender: No OFD packet to send [22:16:38]OFD Sender: No OFD packet to send [22:16:43]OFD Sender: No OFD packet to send [22:16:48]OFD Sender: No OFD packet to send [22:16:53]OFD Sender: No OFD packet to send [22:16:58]OFD Sender: No OFD packet to send [22:17:03]OFD Sender: No OFD packet to send [22:17:08]OFD Sender: No OFD packet to send [22:17:13]OFD Sender: No OFD packet to send [22:17:18]OFD Sender: No OFD packet to send [22:17:23]OFD Sender: No OFD packet to send [22:17:28]OFD Sender: No OFD packet to send [22:17:33]OFD Sender: No OFD packet to send [22:17:38]OFD Sender: No OFD packet to send [22:17:43]OFD Sender: No OFD packet to send [22:17:48]OFD Sender: No OFD packet to send [22:17:53]OFD Sender: No OFD packet to send [22:17:58]OFD Sender: No OFD packet to send [22:18:03]OFD Sender: No OFD packet to send [22:18:08]OFD Sender: No OFD packet to send [22:18:13]OFD Sender: No OFD packet to send [22:18:18]OFD Sender: No OFD packet to send [22:18:23]OFD Sender: No OFD packet to send [22:18:28]OFD Sender: No OFD packet to send [22:18:33]OFD Sender: No OFD packet to send [22:18:38]OFD Sender: No OFD packet to send [22:18:43]OFD Sender: No OFD packet to send [22:18:48]OFD Sender: No OFD packet to send [22:18:53]OFD Sender: No OFD packet to send [22:18:58]OFD Sender: No OFD packet to send [22:19:03]OFD Sender: No OFD packet to send [22:19:08]OFD Sender: No OFD packet to send [22:19:13]OFD Sender: No OFD packet to send [22:19:18]OFD Sender: No OFD packet to send [22:19:23]OFD Sender: No OFD packet to send [22:19:28]OFD Sender: No OFD packet to send [22:19:33]OFD Sender: No OFD packet to send [22:19:38]OFD Sender: No OFD packet to send [22:19:43]OFD Sender: No OFD packet to send [22:19:48]OFD Sender: No OFD packet to send [22:19:53]OFD Sender: No OFD packet to send [22:19:58]OFD Sender: No OFD packet to send [22:20:03]OFD Sender: No OFD packet to send [22:20:08]OFD Sender: No OFD packet to send [22:20:13]OFD Sender: No OFD packet to send [22:20:18]OFD Sender: No OFD packet to send [22:20:23]OFD Sender: No OFD packet to send [22:20:28]OFD Sender: No OFD packet to send [22:20:33]OFD Sender: No OFD packet to send [22:20:38]OFD Sender: No OFD packet to send [22:20:41]accept exits with 8 [22:20:41]New connection [22:20:41]New thread 3066715492 created [22:20:41]Thread 3066858852 joined [22:20:41]Waiting for new connection... [22:20:41] Sock 8.Parse request [22:20:41]Sock 8.Check first char [22:20:41]Sock 8.First char is OK [22:20:41]request: POST /json_proto HTTP/1.0 [22:20:41]Method: POST [22:20:41]URL: /json_proto [22:20:41]Method is POST - this is cgi request [22:20:41]url: /json_proto [22:20:41]query_string will be loaded in cgi processing [22:20:41]execute_cgi json_proto POST (null) [22:20:41]execute_cgi path=json_proto method=POST [22:20:41]POST find Content-Length [22:20:41]Host: 172.17.42.3:8080 [22:20:41]Content-Length: 765 [22:20:41]Content-Type: application/json [22:20:41] [22:20:41]POST finish read [22:20:41]Found Content-Length = 765 [22:20:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46420", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 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", "payments": [ { "type": 1, "sum" : 2000.25 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:20:41]execute_script... [22:20: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)46420", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 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", "payments": [ { "type": 1, "sum" : 2000.25 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:20:41]POST & json_proto [22:20:41]process_json_proto [22:20:41]json parsed OK: [22:20:41]protocol is kg_v1.0 [22:20:41]action value=close_receipt [22:20:41]process_action close_receipt [22:20:41]cmd_close_receipt [22:20:41]MH_GetDate [22:20:41]Write to MH i2c: F0 00 00 28 0D 24 [22:20:41]Write i2c OK [22:20:41]MH_I2C_Read... [22:20:41]Read from MH i2c: F0 [22:20:41]MH_I2C_Read... [22:20:41]Read from MH i2c: F0 09 00 [22:20:41]MH_I2C_Read... [22:20:41]Read from MH i2c: F0 09 00 28 0D 00 BB 5F 21 67 28 A1 20 67 1F [22:20:41]GetLastDocTimeStamp 1730240027 [22:20:41]current date 1730240443 [22:20:41]FM_GetShiftState [22:20:41]SAM_PROTO_GetShiftState [22:20:41]wFMCommunicate request_size=4 [22:20:41]MH_SAM_APDU [22:20:41]CAPDU: 80 13 01 00 [22:20:41]Write to MH i2c: E2 08 00 29 0D 80 13 01 00 00 00 00 00 B3 [22:20:41]Write i2c OK [22:20:41]MH_I2C_Read... [22:20:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:20:41]Read from MH i2c: E2 [22:20:41]MH_I2C_Read... [22:20:41]Read from MH i2c: E2 0E 00 [22:20:41]MH_I2C_Read... [22:20:41]Read from MH i2c: E2 0E 00 29 0D 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 63 [22:20:41]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:20:41]wFMCommunicate OK [22:20:41]SAM_PROTO_GetShiftState done [22:20:41]FM_GetShiftState done [22:20:41]opened in 1730160885 [22:20:41]opened+sec_in_day 1730247285 [22:20:41]quantity*price = 200025 [22:20:41]sum+1 = 200026 [22:20:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.25 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 0.00 Безнал.: 2000.25 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 156 29.10.2024 22:20 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68433 ФПД: 273284775199714 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T222043&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68433&fm=273284775199714&tin=02508201610067®Number=0000000000091759&sum=200025 [22:20:42]StoreToDocumentArchive [22:20:42]shift 548 fd 68433 [22:20:42]save to /storage/0548/doc_00068433 [22:20:42]save last doc name /storage/0548/doc_00068433 to /storage/kkm_last_doc_name [22:20:42]save OK [22:20:42]Clear old archive folders... [22:20:42]ProcessDocumentItem done err = 0, tmpTLVsize=248 [22:20:42]tlvbuf is 01E80AB0 [22:20:42]SAM_PROTO_ClearQueue [22:20:42]wFMCommunicate request_size=4 [22:20:42]MH_SAM_APDU [22:20:42]CAPDU: 80 09 00 00 [22:20:42]Write to MH i2c: E2 08 00 36 0D 80 09 00 00 00 00 00 00 B5 [22:20:42]Write i2c OK [22:20:42]MH_I2C_Read... [22:20:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:20:42]Read from MH i2c: E2 [22:20:42]MH_I2C_Read... [22:20:42]Read from MH i2c: E2 03 00 [22:20:42]MH_I2C_Read... [22:20:42]Read from MH i2c: E2 03 00 36 0D 00 90 00 B7 [22:20:42]RAPDU: 90 00 [22:20:42]wFMCommunicate OK [22:20:42]SAM_PROTO_ClearQueue done [22:20:42]KKMCreateOFDPacket [22:20:42]OFDProtocolAddRootSTLVToBuf [22:20:42]FM_MakeSignedData [22:20:42]FM_MakeSignedData [22:20:42]SAM_PROTO_SignData [22:20:42]wFMCommunicate request_size=4 [22:20:42]MH_SAM_APDU [22:20:42]CAPDU: 80 0D 01 02 [22:20:42]Write to MH i2c: E2 08 00 37 0D 80 0D 01 02 00 00 00 00 BD [22:20:42]Write i2c OK [22:20:42]MH_I2C_Read... [22:20:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:20:43]Read from MH i2c: E2 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 03 00 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 03 00 37 0D 00 90 00 B8 [22:20:43]RAPDU: 90 00 [22:20:43]wFMCommunicate OK [22:20:43]wFMCommunicate request_size=255 [22:20:43]MH_SAM_APDU [22:20:43]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 59 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 59 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 9C 00 00 00 F4 03 04 00 BB 5F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 51 0B 01 00 35 04 06 00 F8 8D 11 F2 [22:20:43]Write to MH i2c: E2 02 01 38 0D 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 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 59 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 59 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 9C 00 00 00 F4 03 04 00 BB 5F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 51 0B 01 00 35 04 06 00 F8 8D 11 F2 00 00 B5 [22:20:43]Write i2c OK [22:20:43]MH_I2C_Read... [22:20:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:20:43]Read from MH i2c: E2 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 03 00 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 03 00 38 0D 00 90 00 B9 [22:20:43]RAPDU: 90 00 [22:20:43]wFMCommunicate OK [22:20:43]wFMCommunicate request_size=7 [22:20:43]MH_SAM_APDU [22:20:43]CAPDU: 80 0D 02 02 02 C3 E2 [22:20:43]Write to MH i2c: E2 0A 00 39 0D 80 0D 02 02 02 00 C3 E2 00 00 69 [22:20:43]Write i2c OK [22:20:43]MH_I2C_Read... [22:20:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:20:43]Read from MH i2c: E2 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 03 00 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 03 00 39 0D 00 90 00 BA [22:20:43]RAPDU: 90 00 [22:20:43]wFMCommunicate OK [22:20:43]wFMCommunicate request_size=4 [22:20:43]MH_SAM_APDU [22:20:43]CAPDU: 80 0D 03 02 [22:20:43]Write to MH i2c: E2 08 00 3A 0D 80 0D 03 02 00 00 00 00 C2 [22:20:43]Write i2c OK [22:20:43]MH_I2C_Read... [22:20:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:20:43]Read from MH i2c: E2 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 0B 00 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 0B 00 3A 0D 00 B4 8D 42 41 FC 98 B0 39 90 00 04 [22:20:43]RAPDU: B4 8D 42 41 FC 98 B0 39 90 00 [22:20:43]wFMCommunicate OK [22:20:43]SAM_PROTO_SignData done [22:20:43]FM_MakeSignedData done [22:20:43]CreateOFDProtocolMessage [22:20:43]wFMCommunicate request_size=4 [22:20:43]MH_SAM_APDU [22:20:43]CAPDU: 80 11 00 00 [22:20:43]Write to MH i2c: E2 08 00 3B 0D 80 11 00 00 00 00 00 00 C2 [22:20:43]Write i2c OK [22:20:43]MH_I2C_Read... [22:20:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:20:43]Read from MH i2c: E2 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 17 00 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: E2 17 00 3B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 19 [22:20:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:20:43]wFMCommunicate OK [22:20:43]CreateOFDProtocolMessage done [22:20:43]OFDSenderStorePacket 68433 [22:20:43]StoreOFDPacket docnum=68433 [22:20:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 6A 19 04 01 C1 11 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 59 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 59 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 9C 00 00 00 F4 03 04 00 BB 5F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 51 0B 01 00 35 04 06 00 F8 8D 11 F2 C3 E2 B4 8D 42 41 FC 98 B0 39 [22:20:43]CheckFolder [22:20:43]dirname=/storage/ofd_packets [22:20:43]CheckFolder done [22:20:43]ProducePacketName [22:20:43]name=ofd_packets/00068433 [22:20:43]NVStorageSaveData ofd_packets/00068433 [22:20:43]File name is /storage/ofd_packets/00068433 [22:20:43]Write 298 bytes [22:20:43]NVStorageSaveData done [22:20:43]OFDSenderStorePacket done [22:20:43]KKMCreateOFDPacket done [22:20:43]NVStorageSaveData kkm_last_timestamp [22:20:43]File name is /storage/kkm_last_timestamp [22:20:43]Write 4 bytes [22:20:43]NVStorageSaveData done [22:20:43]ExternCall_PrintAddStr [22:20:43]wPrintStart [22:20:43]Write to MH i2c: 01 00 00 3C 0D 49 [22:20:43]Write i2c OK [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: 01 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: 01 07 00 [22:20:43]MH_I2C_Read... [22:20:43]Read from MH i2c: 01 07 00 3C 0D 00 00 00 00 00 FF 0F 5E [22:20:43]RasterBufferAndPrint [22:20:43]line Счет N : (1)46420 [22:20:43]line ИНН: 02508201610067 [22:20:43]line Контрольно-Кассовый Чек [22:20:43]line ПРОДАЖА [22:20:43]line ТРК (МРК, ГНК) : 21 [22:20:43]line Товар: 2710194210 [22:20:43]line ДТ-К-5 [22:20:43]line 26.250 * 76.20 [22:20:43]line = 2000.25 [22:20:43]line НДС 12% НСП 1% [22:20:43]line > о реализуемом товаре [22:20:43]line ИТОГО: 2000.25 [22:20:43]line НСП 1% : 17.70 [22:20:43]line НДС 12% : 212.42 [22:20:43]line Наличными: 0.00 [22:20:43]line Безнал.: 2000.25 [22:20:43]line Место: АЗС № 160 "Партнер Нефть" [22:20:43]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:20:43]line СНО: Общий режим [22:20:43]line Чек 156 29.10.2024 22:20 [22:20:43]line Смена: 548 ФФД: 1.0 [22:20:43]line ЗНМ: 0300000093 [22:20:43]line РНМ: 0000000000091759 [22:20:43]line Версия ККМ: 001 [22:20:43]line Платежная система: Mbank [22:20:43]line ФМ: 0000000000871758 [22:20:43]line ФД: 68433 [22:20:43]line ФПД: 273284775199714 [22:20:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T222043&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68433&fm=273284775199714&tin=02508201610067®Number=0000000000091759&sum=200025 [22:20:43]OFD Sender: Processing packet 68433 [packets to send 28, broken 27] [22:20:43]ProducePacketName [22:20:43]name=ofd_packets/00068433 [22:20:43]OFD Sender: To server: pG, [22:20:43]CommunicateWithHost lk.salyk.kg:30040 [22:20:43]ConnectInit lk.salyk.kg [22:20:43]written 0, free lines is 4095 [22:20:43]Connected sock=10 [22:20:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 6A 19 04 01 C1 11 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 59 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 59 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 9C 00 00 00 F4 03 04 00 BB 5F 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 51 0B 01 00 35 04 06 00 F8 8D 11 F2 C3 E2 B4 8D 42 41 FC 98 B0 39 [22:20:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 46 06 47 00 9A 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 51 0B 01 00 F4 03 04 00 62 0B 21 67 B6 04 01 00 00 5A 3D EC D1 12 E6 85 40 [22:20:44]CommunicateWithHost err = 0 [22:20:44]CheckOFDResponse [22:20:44]1017 (14) - 77093643461234 [22:20:44]1041 (16) - 0000000000871758 [22:20:44]1040 (4) - 68433 [22:20:44]1012 (4) - 29.10.2024 16:20 [22:20:44]1206 (1) - 0 [22:20:44]OFD Sender: Remove packet 68433 [22:20:44]ProducePacketName [22:20:44]name=ofd_packets/00068433 [22:20:44]NVStorageDeleteData [22:20:44]Write to MH i2c: 01 00 00 64 0D 71 [22:20:44]Write i2c OK [22:20:44]MH_I2C_Read... [22:20:44]Read from MH i2c: 01 [22:20:44]MH_I2C_Read... [22:20:44]Read from MH i2c: 01 07 00 [22:20:44]MH_I2C_Read... [22:20:44]Read from MH i2c: 01 07 00 64 0D 00 00 00 00 00 E6 0C 6A [22:20:44]RasterBufferAndPrint [22:20:44]line [22:20:44]line [22:20:44]line [22:20:44]line [22:20:44]line [22:20:44]written 0, free lines is 3307 [22:20:44]MH_Cut [22:20:44]Write to MH i2c: D1 01 00 6B 0D 01 4A [22:20:44]Write i2c OK [22:20:44]MH_I2C_Read... [22:20:44]Read from MH i2c: D1 [22:20:44]MH_I2C_Read... [22:20:44]Read from MH i2c: D1 01 00 [22:20:44]MH_I2C_Read... [22:20:44]Read from MH i2c: D1 01 00 6B 0D 00 49 [22:20:44]Write to MH i2c: 01 00 00 6C 0D 79 [22:20:44]Write i2c OK [22:20:44]MH_I2C_Read... [22:20:44]OFD Sender: No OFD packet to send [22:20:45]*** Cut start [22:20:45]*** Partial cut [22:20:45]*** CUTSNS_PIN = 1 [22:20:45]*** CUTSNS_PIN = 0 [22:20:45]*** Brake cut motor [22:20:45]Read from MH i2c: 01 [22:20:45]MH_I2C_Read... [22:20:45]*** Stop cut motor [22:20:45]*** Cut end [22:20:45]Read from MH i2c: 01 07 00 [22:20:45]MH_I2C_Read... [22:20:45]Read from MH i2c: 01 07 00 6C 0D 00 00 00 00 00 FF 0F 8E [22:20:45]process_action close_receipt done [22:20:45]requested_data is exist [22:20:45]produce_requested_data [22:20:45]requested_item fm.sn is exist - process it [22:20:45]wFMCommunicate request_size=4 [22:20:45]MH_SAM_APDU [22:20:45]CAPDU: 80 11 00 00 [22:20:45]Write to MH i2c: E2 08 00 6D 0D 80 11 00 00 00 00 00 00 F4 [22:20:45]Write i2c OK [22:20:45]MH_I2C_Read... [22:20:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:20:45]Read from MH i2c: E2 [22:20:45]MH_I2C_Read... [22:20:45]Read from MH i2c: E2 17 00 [22:20:45]MH_I2C_Read... [22:20:45]Read from MH i2c: E2 17 00 6D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 4B [22:20:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:20:45]wFMCommunicate OK [22:20:45]requested_item fd.num is exist - process it [22:20:45]SAM_PROTO_GetFieldsCounters [22:20:45]wFMCommunicate request_size=4 [22:20:45]MH_SAM_APDU [22:20:45]CAPDU: 80 13 00 00 [22:20:45]Write to MH i2c: E2 08 00 6E 0D 80 13 00 00 00 00 00 00 F7 [22:20:45]Write i2c OK [22:20:45]MH_I2C_Read... [22:20:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:20:45]Read from MH i2c: E2 [22:20:45]MH_I2C_Read... [22:20:45]Read from MH i2c: E2 62 00 [22:20:45]MH_I2C_Read... [22:20:45]Read from MH i2c: E2 62 00 6E 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 51 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9C 00 00 00 5E 04 04 00 9C 00 00 00 57 04 04 00 9D 00 00 00 19 04 04 00 00 00 00 00 90 00 79 [22:20:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 51 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9C 00 00 00 5E 04 04 00 9C 00 00 00 57 04 04 00 9D 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:20:45]wFMCommunicate OK [22:20:45]SAM_PROTO_GetFieldsCounters done [22:20:45]requested_item shift.num is exist - process it [22:20:45]requested_item shift.opened is exist - process it [22:20:45]req_shift_opened [22:20:45]FM_GetShiftState [22:20:45]SAM_PROTO_GetShiftState [22:20:45]wFMCommunicate request_size=4 [22:20:45]MH_SAM_APDU [22:20:45]CAPDU: 80 13 01 00 [22:20:45]Write to MH i2c: E2 08 00 6F 0D 80 13 01 00 00 00 00 00 F9 [22:20:45]Write i2c OK [22:20:45]MH_I2C_Read... [22:20:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:20:45]Read from MH i2c: E2 [22:20:45]MH_I2C_Read... [22:20:45]Read from MH i2c: E2 0E 00 [22:20:45]MH_I2C_Read... [22:20:45]Read from MH i2c: E2 0E 00 6F 0D 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 A9 [22:20:45]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:20:45]wFMCommunicate OK [22:20:45]SAM_PROTO_GetShiftState done [22:20:45]FM_GetShiftState done [22:20:45]req_shift_opened done [22:20:45]requested_item shift.open_date is exist - process it [22:20:45]req_shift_open_date [22:20:45]req_shift_open_date done [22:20:45]produce_requested_data done [22:20:45]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68433,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:20:45]process_action_free close_receipt [22:20:45]json_value_free [22:20:45]json_value_free done [22:20:45]process_json_proto returns [22:20:45]Send response to host [22:20:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68433,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:20:45]free response buf [22:20:45]execute_script done [22:20:45]execute_script returns [22:20:45]free content buf [22:20:45]Sock 8.Close socket [22:20:45]Sock 8.Thread stoped [22:20:49]OFD Sender: No OFD packet to send [22:20:54]OFD Sender: No OFD packet to send [22:20:59]OFD Sender: No OFD packet to send [22:21:04]OFD Sender: No OFD packet to send [22:21:09]OFD Sender: No OFD packet to send [22:21:14]OFD Sender: No OFD packet to send [22:21:19]OFD Sender: No OFD packet to send [22:21:24]OFD Sender: No OFD packet to send [22:21:29]OFD Sender: No OFD packet to send [22:21:34]OFD Sender: No OFD packet to send [22:21:39]OFD Sender: No OFD packet to send [22:21:44]OFD Sender: No OFD packet to send [22:21:49]OFD Sender: No OFD packet to send [22:21:54]OFD Sender: No OFD packet to send [22:21:59]OFD Sender: No OFD packet to send [22:22:04]OFD Sender: No OFD packet to send [22:22:09]OFD Sender: No OFD packet to send [22:22:14]OFD Sender: No OFD packet to send [22:22:14]accept exits with 9 [22:22:14]New connection [22:22:14]New thread 3066858852 created [22:22:14]Thread 3066715492 joined [22:22:14]Waiting for new connection... [22:22:14] Sock 9.Parse request [22:22:14]Sock 9.Check first char [22:22:14]Sock 9.First char is OK [22:22:14]request: POST /json_proto HTTP/1.0 [22:22:14]Method: POST [22:22:14]URL: /json_proto [22:22:14]Method is POST - this is cgi request [22:22:14]url: /json_proto [22:22:14]query_string will be loaded in cgi processing [22:22:14]execute_cgi json_proto POST (null) [22:22:14]execute_cgi path=json_proto method=POST [22:22:14]POST find Content-Length [22:22:14]Host: 172.17.42.3:8080 [22:22:14]Content-Length: 977 [22:22:14]Content-Type: application/json [22:22:14] [22:22:14]POST finish read [22:22:14]Found Content-Length = 977 [22:22:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46421", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 93.090, "sum" : 7000.37, "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 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 93.09 \u0441\u043E\u043C", "deposit" : 7000.00, "total" : 7000.00, "payments": [ { "type": 0, "sum" : 7000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:22:14]execute_script... [22:22: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)46421", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 75.20, "quantity" : 93.090, "sum" : 7000.37, "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 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 93.09 \u0441\u043E\u043C", "deposit" : 7000.00, "total" : 7000.00, "payments": [ { "type": 0, "sum" : 7000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:22:14]POST & json_proto [22:22:14]process_json_proto [22:22:14]json parsed OK: [22:22:14]protocol is kg_v1.0 [22:22:14]action value=close_receipt [22:22:14]process_action close_receipt [22:22:14]cmd_close_receipt [22:22:14]MH_GetDate [22:22:14]Write to MH i2c: F0 00 00 70 0D 6C [22:22:14]Write i2c OK [22:22:14]MH_I2C_Read... [22:22:14]Read from MH i2c: F0 [22:22:14]MH_I2C_Read... [22:22:14]Read from MH i2c: F0 09 00 [22:22:14]MH_I2C_Read... [22:22:14]Read from MH i2c: F0 09 00 70 0D 00 19 60 21 67 28 A1 20 67 C6 [22:22:14]GetLastDocTimeStamp 1730240443 [22:22:14]current date 1730240537 [22:22:14]FM_GetShiftState [22:22:14]SAM_PROTO_GetShiftState [22:22:14]wFMCommunicate request_size=4 [22:22:14]MH_SAM_APDU [22:22:14]CAPDU: 80 13 01 00 [22:22:14]Write to MH i2c: E2 08 00 71 0D 80 13 01 00 00 00 00 00 FB [22:22:14]Write i2c OK [22:22:14]MH_I2C_Read... [22:22:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:14]Read from MH i2c: E2 [22:22:14]MH_I2C_Read... [22:22:14]Read from MH i2c: E2 0E 00 [22:22:14]MH_I2C_Read... [22:22:14]Read from MH i2c: E2 0E 00 71 0D 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 AB [22:22:14]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:22:14]wFMCommunicate OK [22:22:14]SAM_PROTO_GetShiftState done [22:22:14]FM_GetShiftState done [22:22:14]opened in 1730160885 [22:22:14]opened+sec_in_day 1730247285 [22:22:14]quantity*price = 700036 [22:22:14]sum+1 = 700038 [22:22:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.37 ИТОГО: 7000.00 Внесено: 7000.00 СДАЧА: 0.00 НСП 1% : 61.95 НДС 12% : 743.40 Наличными: 7000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 157 29.10.2024 22:22 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Дисконтная программа ДТ номер 160 сэкономлено 93.09 сом ФМ: 0000000000871758 ФД: 68434 ФПД: 265864674810550 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T222217&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68434&fm=265864674810550&tin=02508201610067®Number=0000000000091759&sum=700000 [22:22:16]StoreToDocumentArchive [22:22:16]shift 548 fd 68434 [22:22:16]save to /storage/0548/doc_00068434 [22:22:16]save last doc name /storage/0548/doc_00068434 to /storage/kkm_last_doc_name [22:22:16]save OK [22:22:16]Clear old archive folders... [22:22:16]ProcessDocumentItem done err = 0, tmpTLVsize=248 [22:22:16]tlvbuf is 01DDC700 [22:22:16]SAM_PROTO_ClearQueue [22:22:16]wFMCommunicate request_size=4 [22:22:16]MH_SAM_APDU [22:22:16]CAPDU: 80 09 00 00 [22:22:16]Write to MH i2c: E2 08 00 7E 0D 80 09 00 00 00 00 00 00 FD [22:22:16]Write i2c OK [22:22:16]MH_I2C_Read... [22:22:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:22:16]Read from MH i2c: E2 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 03 00 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 03 00 7E 0D 00 90 00 FF [22:22:16]RAPDU: 90 00 [22:22:16]wFMCommunicate OK [22:22:16]SAM_PROTO_ClearQueue done [22:22:16]KKMCreateOFDPacket [22:22:16]OFDProtocolAddRootSTLVToBuf [22:22:16]FM_MakeSignedData [22:22:16]FM_MakeSignedData [22:22:16]SAM_PROTO_SignData [22:22:16]wFMCommunicate request_size=4 [22:22:16]MH_SAM_APDU [22:22:16]CAPDU: 80 0D 01 02 [22:22:16]Write to MH i2c: E2 08 00 7F 0D 80 0D 01 02 00 00 00 00 05 [22:22:16]Write i2c OK [22:22:16]MH_I2C_Read... [22:22:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:22:16]Read from MH i2c: E2 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 03 00 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 03 00 7F 0D 00 90 00 00 [22:22:16]RAPDU: 90 00 [22:22:16]wFMCommunicate OK [22:22:16]wFMCommunicate request_size=255 [22:22:16]MH_SAM_APDU [22:22:16]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A2 6B 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 85 AE 0A 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 AE 0A 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 18 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 22 01 00 00 00 07 04 06 00 60 AE 0A 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9D 00 00 00 F4 03 04 00 19 60 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 52 0B 01 00 35 04 06 00 F1 CD 71 80 [22:22:16]Write to MH i2c: E2 02 01 80 0D 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A2 6B 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 85 AE 0A 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 AE 0A 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 18 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 22 01 00 00 00 07 04 06 00 60 AE 0A 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9D 00 00 00 F4 03 04 00 19 60 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 52 0B 01 00 35 04 06 00 F1 CD 71 80 00 00 07 [22:22:16]Write i2c OK [22:22:16]MH_I2C_Read... [22:22:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:16]Read from MH i2c: E2 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 03 00 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 03 00 80 0D 00 90 00 01 [22:22:16]RAPDU: 90 00 [22:22:16]wFMCommunicate OK [22:22:16]wFMCommunicate request_size=7 [22:22:16]MH_SAM_APDU [22:22:16]CAPDU: 80 0D 02 02 02 1A B6 [22:22:16]Write to MH i2c: E2 0A 00 81 0D 80 0D 02 02 02 00 1A B6 00 00 DC [22:22:16]Write i2c OK [22:22:16]MH_I2C_Read... [22:22:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:22:16]Read from MH i2c: E2 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 03 00 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 03 00 81 0D 00 90 00 02 [22:22:16]RAPDU: 90 00 [22:22:16]wFMCommunicate OK [22:22:16]wFMCommunicate request_size=4 [22:22:16]MH_SAM_APDU [22:22:16]CAPDU: 80 0D 03 02 [22:22:16]Write to MH i2c: E2 08 00 82 0D 80 0D 03 02 00 00 00 00 0A [22:22:16]Write i2c OK [22:22:16]MH_I2C_Read... [22:22:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:22:16]Read from MH i2c: E2 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 0B 00 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 0B 00 82 0D 00 7E 69 C9 05 8C 20 99 BD 90 00 C2 [22:22:16]RAPDU: 7E 69 C9 05 8C 20 99 BD 90 00 [22:22:16]wFMCommunicate OK [22:22:16]SAM_PROTO_SignData done [22:22:16]FM_MakeSignedData done [22:22:16]CreateOFDProtocolMessage [22:22:16]wFMCommunicate request_size=4 [22:22:16]MH_SAM_APDU [22:22:16]CAPDU: 80 11 00 00 [22:22:16]Write to MH i2c: E2 08 00 83 0D 80 11 00 00 00 00 00 00 0A [22:22:16]Write i2c OK [22:22:16]MH_I2C_Read... [22:22:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:16]Read from MH i2c: E2 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 17 00 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: E2 17 00 83 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 61 [22:22:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:22:16]wFMCommunicate OK [22:22:16]CreateOFDProtocolMessage done [22:22:16]OFDSenderStorePacket 68434 [22:22:16]StoreOFDPacket docnum=68434 [22:22:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 98 35 04 01 62 46 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A2 6B 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 85 AE 0A 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 AE 0A 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 18 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 22 01 00 00 00 07 04 06 00 60 AE 0A 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9D 00 00 00 F4 03 04 00 19 60 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 52 0B 01 00 35 04 06 00 F1 CD 71 80 1A B6 7E 69 C9 05 8C 20 99 BD [22:22:16]CheckFolder [22:22:16]dirname=/storage/ofd_packets [22:22:16]CheckFolder done [22:22:16]ProducePacketName [22:22:16]name=ofd_packets/00068434 [22:22:16]NVStorageSaveData ofd_packets/00068434 [22:22:16]File name is /storage/ofd_packets/00068434 [22:22:16]Write 298 bytes [22:22:16]NVStorageSaveData done [22:22:16]OFDSenderStorePacket done [22:22:16]KKMCreateOFDPacket done [22:22:16]NVStorageSaveData kkm_last_timestamp [22:22:16]File name is /storage/kkm_last_timestamp [22:22:16]Write 4 bytes [22:22:16]NVStorageSaveData done [22:22:16]ExternCall_PrintAddStr [22:22:16]wPrintStart [22:22:16]Write to MH i2c: 01 00 00 84 0D 91 [22:22:16]Write i2c OK [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: 01 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: 01 07 00 [22:22:16]MH_I2C_Read... [22:22:16]Read from MH i2c: 01 07 00 84 0D 00 00 00 00 00 FF 0F A6 [22:22:16]RasterBufferAndPrint [22:22:16]line Счет N : (1)46421 [22:22:16]line ИНН: 02508201610067 [22:22:16]line Контрольно-Кассовый Чек [22:22:16]line ПРОДАЖА [22:22:16]line ТРК (МРК, ГНК) : 11 [22:22:16]line Товар: 2710194210 [22:22:16]line ДТ-К-5 [22:22:16]line 93.090 * 75.20 [22:22:16]line = 7000.37 [22:22:16]line НДС 12% НСП 1% [22:22:16]line > о реализуемом товаре [22:22:16]line ОКРУГЛЕНИЕ: -0.37 [22:22:16]line ИТОГО: 7000.00 [22:22:16]line Внесено: 7000.00 [22:22:16]line СДАЧА: 0.00 [22:22:16]line НСП 1% : 61.95 [22:22:16]line НДС 12% : 743.40 [22:22:16]line Наличными: 7000.00 [22:22:16]line Безнал.: 0.00 [22:22:16]line Место: АЗС № 160 "Партнер Нефть" [22:22:16]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:22:16]line СНО: Общий режим [22:22:16]line Чек 157 29.10.2024 22:22 [22:22:16]line Смена: 548 ФФД: 1.0 [22:22:16]line ЗНМ: 0300000093 [22:22:16]line РНМ: 0000000000091759 [22:22:16]line Версия ККМ: 001 [22:22:16]line [22:22:16]line Дисконтная программа [22:22:16]line ДТ [22:22:16]line номер 160 [22:22:16]line сэкономлено 93.09 сом [22:22:16]line ФМ: 0000000000871758 [22:22:16]line ФД: 68434 [22:22:16]line ФПД: 265864674810550 [22:22:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T222217&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68434&fm=265864674810550&tin=02508201610067®Number=0000000000091759&sum=700000 [22:22:16]OFD Sender: Processing packet 68434 [packets to send 28, broken 27] [22:22:16]ProducePacketName [22:22:16]name=ofd_packets/00068434 [22:22:16]OFD Sender: To server: pG, [22:22:16]CommunicateWithHost lk.salyk.kg:30040 [22:22:16]ConnectInit lk.salyk.kg [22:22:16]written 0, free lines is 4095 [22:22:17]Connected sock=10 [22:22:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 98 35 04 01 62 46 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A2 6B 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 85 AE 0A 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 AE 0A 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 18 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 22 01 00 00 00 07 04 06 00 60 AE 0A 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9D 00 00 00 F4 03 04 00 19 60 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 52 0B 01 00 35 04 06 00 F1 CD 71 80 1A B6 7E 69 C9 05 8C 20 99 BD [22:22:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FA 7F 47 00 87 5B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 52 0B 01 00 F4 03 04 00 C0 0B 21 67 B6 04 01 00 00 47 98 CA 4E 8F 34 FD BF [22:22:17]CommunicateWithHost err = 0 [22:22:17]CheckOFDResponse [22:22:17]1017 (14) - 77093643461234 [22:22:17]1041 (16) - 0000000000871758 [22:22:17]1040 (4) - 68434 [22:22:17]1012 (4) - 29.10.2024 16:22 [22:22:17]1206 (1) - 0 [22:22:17]OFD Sender: Remove packet 68434 [22:22:17]ProducePacketName [22:22:17]name=ofd_packets/00068434 [22:22:17]NVStorageDeleteData [22:22:17]Write to MH i2c: 01 00 00 B3 0D C0 [22:22:17]Write i2c OK [22:22:17]MH_I2C_Read... [22:22:17]Read from MH i2c: 01 [22:22:17]MH_I2C_Read... [22:22:17]Read from MH i2c: 01 07 00 [22:22:17]MH_I2C_Read... [22:22:17]Read from MH i2c: 01 07 00 B3 0D 00 00 00 00 00 5C 0C 2F [22:22:17]RasterBufferAndPrint [22:22:17]line [22:22:17]line [22:22:17]line [22:22:17]line [22:22:17]line [22:22:17]written 0, free lines is 3170 [22:22:17]MH_Cut [22:22:17]Write to MH i2c: D1 01 00 BA 0D 01 99 [22:22:17]Write i2c OK [22:22:17]MH_I2C_Read... [22:22:17]Read from MH i2c: D1 [22:22:17]MH_I2C_Read... [22:22:17]Read from MH i2c: D1 01 00 [22:22:17]MH_I2C_Read... [22:22:17]Read from MH i2c: D1 01 00 BA 0D 00 98 [22:22:17]Write to MH i2c: 01 00 00 BB 0D C8 [22:22:17]Write i2c OK [22:22:17]MH_I2C_Read... [22:22:17]OFD Sender: No OFD packet to send [22:22:18]*** Cut start [22:22:18]*** Partial cut [22:22:18]*** CUTSNS_PIN = 1 [22:22:18]*** CUTSNS_PIN = 0 [22:22:18]*** Brake cut motor [22:22:18]Read from MH i2c: 01 [22:22:18]MH_I2C_Read... [22:22:18]*** Stop cut motor [22:22:18]*** Cut end [22:22:18]Read from MH i2c: 01 07 00 [22:22:18]MH_I2C_Read... [22:22:18]Read from MH i2c: 01 07 00 BB 0D 00 00 00 00 00 FF 0F DD [22:22:18]process_action close_receipt done [22:22:18]requested_data is exist [22:22:18]produce_requested_data [22:22:18]requested_item fm.sn is exist - process it [22:22:18]wFMCommunicate request_size=4 [22:22:18]MH_SAM_APDU [22:22:18]CAPDU: 80 11 00 00 [22:22:18]Write to MH i2c: E2 08 00 BC 0D 80 11 00 00 00 00 00 00 43 [22:22:18]Write i2c OK [22:22:18]MH_I2C_Read... [22:22:18]Read from MH i2c: E2 [22:22:19]MH_I2C_Read... [22:22:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:22:19]Read from MH i2c: E2 17 00 [22:22:19]MH_I2C_Read... [22:22:19]Read from MH i2c: E2 17 00 BC 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9A [22:22:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:22:19]wFMCommunicate OK [22:22:19]requested_item fd.num is exist - process it [22:22:19]SAM_PROTO_GetFieldsCounters [22:22:19]wFMCommunicate request_size=4 [22:22:19]MH_SAM_APDU [22:22:19]CAPDU: 80 13 00 00 [22:22:19]Write to MH i2c: E2 08 00 BD 0D 80 13 00 00 00 00 00 00 46 [22:22:19]Write i2c OK [22:22:19]MH_I2C_Read... [22:22:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:22:19]Read from MH i2c: E2 [22:22:19]MH_I2C_Read... [22:22:19]Read from MH i2c: E2 62 00 [22:22:19]MH_I2C_Read... [22:22:19]Read from MH i2c: E2 62 00 BD 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 52 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9D 00 00 00 5E 04 04 00 9D 00 00 00 57 04 04 00 9E 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [22:22:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 52 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9D 00 00 00 5E 04 04 00 9D 00 00 00 57 04 04 00 9E 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:22:19]wFMCommunicate OK [22:22:19]SAM_PROTO_GetFieldsCounters done [22:22:19]requested_item shift.num is exist - process it [22:22:19]requested_item shift.opened is exist - process it [22:22:19]req_shift_opened [22:22:19]FM_GetShiftState [22:22:19]SAM_PROTO_GetShiftState [22:22:19]wFMCommunicate request_size=4 [22:22:19]MH_SAM_APDU [22:22:19]CAPDU: 80 13 01 00 [22:22:19]Write to MH i2c: E2 08 00 BE 0D 80 13 01 00 00 00 00 00 48 [22:22:19]Write i2c OK [22:22:19]MH_I2C_Read... [22:22:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:22:19]Read from MH i2c: E2 [22:22:19]MH_I2C_Read... [22:22:19]Read from MH i2c: E2 0E 00 [22:22:19]MH_I2C_Read... [22:22:19]Read from MH i2c: E2 0E 00 BE 0D 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 F8 [22:22:19]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:22:19]wFMCommunicate OK [22:22:19]SAM_PROTO_GetShiftState done [22:22:19]FM_GetShiftState done [22:22:19]req_shift_opened done [22:22:19]requested_item shift.open_date is exist - process it [22:22:19]req_shift_open_date [22:22:19]req_shift_open_date done [22:22:19]produce_requested_data done [22:22:19]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68434,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:22:19]process_action_free close_receipt [22:22:19]json_value_free [22:22:19]json_value_free done [22:22:19]process_json_proto returns [22:22:19]Send response to host [22:22:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68434,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:22:19]free response buf [22:22:19]execute_script done [22:22:19]execute_script returns [22:22:19]free content buf [22:22:19]Sock 9.Close socket [22:22:19]Sock 9.Thread stoped [22:22:22]OFD Sender: No OFD packet to send [22:22:27]OFD Sender: No OFD packet to send [22:22:32]OFD Sender: No OFD packet to send [22:22:37]OFD Sender: No OFD packet to send [22:22:42]OFD Sender: No OFD packet to send [22:22:47]OFD Sender: No OFD packet to send [22:22:52]OFD Sender: No OFD packet to send [22:22:57]OFD Sender: No OFD packet to send [22:23:02]OFD Sender: No OFD packet to send [22:23:07]OFD Sender: No OFD packet to send [22:23:12]OFD Sender: No OFD packet to send [22:23:17]OFD Sender: No OFD packet to send [22:23:22]OFD Sender: No OFD packet to send [22:23:27]OFD Sender: No OFD packet to send [22:23:32]OFD Sender: No OFD packet to send [22:23:37]OFD Sender: No OFD packet to send [22:23:42]OFD Sender: No OFD packet to send [22:23:47]OFD Sender: No OFD packet to send [22:23:52]OFD Sender: No OFD packet to send [22:23:57]OFD Sender: No OFD packet to send [22:24:02]OFD Sender: No OFD packet to send [22:24:07]OFD Sender: No OFD packet to send [22:24:12]OFD Sender: No OFD packet to send [22:24:17]OFD Sender: No OFD packet to send [22:24:22]OFD Sender: No OFD packet to send [22:24:27]OFD Sender: No OFD packet to send [22:24:32]OFD Sender: No OFD packet to send [22:24:35]accept exits with 8 [22:24:35]New connection [22:24:35]New thread 3066715492 created [22:24:35]Thread 3066858852 joined [22:24:35]Waiting for new connection... [22:24:35] Sock 8.Parse request [22:24:35]Sock 8.Check first char [22:24:35]Sock 8.First char is OK [22:24:35]request: POST /json_proto HTTP/1.0 [22:24:35]Method: POST [22:24:35]URL: /json_proto [22:24:35]Method is POST - this is cgi request [22:24:35]url: /json_proto [22:24:35]query_string will be loaded in cgi processing [22:24:35]execute_cgi json_proto POST (null) [22:24:35]execute_cgi path=json_proto method=POST [22:24:35]POST find Content-Length [22:24:35]Host: 172.17.42.3:8080 [22:24:35]Content-Length: 805 [22:24:35]Content-Type: application/json [22:24:35] [22:24:35]POST finish read [22:24:35]Found Content-Length = 805 [22:24:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17255", "tax_sys" : 0, "items" : [ { "code": "4602441011131", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 0,5\u043B \u0441\u0442 (Gabb trade)", "price" : 123.00, "quantity" : 1.000, "sum" : 123.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" : 123.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:24:35]execute_script... [22:24:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17255", "tax_sys" : 0, "items" : [ { "code": "4602441011131", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 0,5\u043B \u0441\u0442 (Gabb trade)", "price" : 123.00, "quantity" : 1.000, "sum" : 123.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" : 123.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:24:35]POST & json_proto [22:24:35]process_json_proto [22:24:35]json parsed OK: [22:24:35]protocol is kg_v1.0 [22:24:35]action value=close_receipt [22:24:35]process_action close_receipt [22:24:35]cmd_close_receipt [22:24:35]MH_GetDate [22:24:35]Write to MH i2c: F0 00 00 BF 0D BB [22:24:35]Write i2c OK [22:24:35]MH_I2C_Read... [22:24:35]Read from MH i2c: F0 [22:24:35]MH_I2C_Read... [22:24:35]Read from MH i2c: F0 09 00 [22:24:35]MH_I2C_Read... [22:24:35]Read from MH i2c: F0 09 00 BF 0D 00 A5 60 21 67 28 A1 20 67 A1 [22:24:35]GetLastDocTimeStamp 1730240537 [22:24:35]current date 1730240677 [22:24:35]FM_GetShiftState [22:24:35]SAM_PROTO_GetShiftState [22:24:35]wFMCommunicate request_size=4 [22:24:35]MH_SAM_APDU [22:24:35]CAPDU: 80 13 01 00 [22:24:35]Write to MH i2c: E2 08 00 C0 0D 80 13 01 00 00 00 00 00 4A [22:24:35]Write i2c OK [22:24:35]MH_I2C_Read... [22:24:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:24:35]Read from MH i2c: E2 [22:24:35]MH_I2C_Read... [22:24:35]Read from MH i2c: E2 0E 00 [22:24:35]MH_I2C_Read... [22:24:35]Read from MH i2c: E2 0E 00 C0 0D 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 FA [22:24:35]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:24:35]wFMCommunicate OK [22:24:35]SAM_PROTO_GetShiftState done [22:24:35]FM_GetShiftState done [22:24:35]opened in 1730160885 [22:24:35]opened+sec_in_day 1730247285 [22:24:35]quantity*price = 12300 [22:24:35]sum+1 = 12301 [22:24:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 123.00 НСП 1% : 1.09 НДС 12% : 13.06 Наличными: 0.00 Безнал.: 123.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 158 29.10.2024 22:24 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68435 ФПД: 125364229097104 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T222437&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68435&fm=125364229097104&tin=02508201610067®Number=0000000000091759&sum=12300 0 [22:24:36]StoreToDocumentArchive [22:24:36]shift 548 fd 68435 [22:24:36]save to /storage/0548/doc_00068435 [22:24:36]save last doc name /storage/0548/doc_00068435 to /storage/kkm_last_doc_name [22:24:36]save OK [22:24:36]Clear old archive folders... [22:24:36]ProcessDocumentItem done err = 0, tmpTLVsize=295 [22:24:36]tlvbuf is 01DDF420 [22:24:36]SAM_PROTO_ClearQueue [22:24:36]wFMCommunicate request_size=4 [22:24:36]MH_SAM_APDU [22:24:36]CAPDU: 80 09 00 00 [22:24:36]Write to MH i2c: E2 08 00 CD 0D 80 09 00 00 00 00 00 00 4C [22:24:36]Write i2c OK [22:24:36]MH_I2C_Read... [22:24:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:24:36]Read from MH i2c: E2 [22:24:36]MH_I2C_Read... [22:24:36]Read from MH i2c: E2 03 00 [22:24:36]MH_I2C_Read... [22:24:36]Read from MH i2c: E2 03 00 CD 0D 00 90 00 4E [22:24:36]RAPDU: 90 00 [22:24:36]wFMCommunicate OK [22:24:36]SAM_PROTO_ClearQueue done [22:24:36]KKMCreateOFDPacket [22:24:36]OFDProtocolAddRootSTLVToBuf [22:24:36]FM_MakeSignedData [22:24:36]FM_MakeSignedData [22:24:36]SAM_PROTO_SignData [22:24:36]wFMCommunicate request_size=4 [22:24:36]MH_SAM_APDU [22:24:36]CAPDU: 80 0D 01 02 [22:24:36]Write to MH i2c: E2 08 00 CE 0D 80 0D 01 02 00 00 00 00 54 [22:24:36]Write i2c OK [22:24:36]MH_I2C_Read... [22:24:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:24:36]Read from MH i2c: E2 [22:24:36]MH_I2C_Read... [22:24:36]Read from MH i2c: E2 03 00 [22:24:36]MH_I2C_Read... [22:24:36]Read from MH i2c: E2 03 00 CE 0D 00 90 00 4F [22:24:36]RAPDU: 90 00 [22:24:36]wFMCommunicate OK [22:24:36]wFMCommunicate request_size=255 [22:24:36]MH_SAM_APDU [22:24:36]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 30 00 00 00 00 13 04 06 00 0C 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9E 00 00 00 F4 03 04 00 A5 60 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [22:24:36]Write to MH i2c: E2 02 01 CF 0D 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 30 00 00 00 00 13 04 06 00 0C 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9E 00 00 00 F4 03 04 00 A5 60 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 2F [22:24:36]Write i2c OK [22:24:36]MH_I2C_Read... [22:24:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:24:37]Read from MH i2c: E2 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: E2 03 00 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: E2 03 00 CF 0D 00 90 00 50 [22:24:37]RAPDU: 90 00 [22:24:37]wFMCommunicate OK [22:24:37]wFMCommunicate request_size=54 [22:24:37]MH_SAM_APDU [22:24:37]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 53 0B 01 00 35 04 06 00 72 04 A2 57 C6 90 [22:24:37]Write to MH i2c: E2 39 00 D0 0D 80 0D 02 02 31 00 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 53 0B 01 00 35 04 06 00 72 04 A2 57 C6 90 00 00 AC [22:24:37]Write i2c OK [22:24:37]MH_I2C_Read... [22:24:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:24:37]Read from MH i2c: E2 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: E2 03 00 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: E2 03 00 D0 0D 00 90 00 51 [22:24:37]RAPDU: 90 00 [22:24:37]wFMCommunicate OK [22:24:37]wFMCommunicate request_size=4 [22:24:37]MH_SAM_APDU [22:24:37]CAPDU: 80 0D 03 02 [22:24:37]Write to MH i2c: E2 08 00 D1 0D 80 0D 03 02 00 00 00 00 59 [22:24:37]Write i2c OK [22:24:37]MH_I2C_Read... [22:24:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:24:37]Read from MH i2c: E2 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: E2 0B 00 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: E2 0B 00 D1 0D 00 1F EF 46 30 14 60 A4 28 90 00 1E [22:24:37]RAPDU: 1F EF 46 30 14 60 A4 28 90 00 [22:24:37]wFMCommunicate OK [22:24:37]SAM_PROTO_SignData done [22:24:37]FM_MakeSignedData done [22:24:37]CreateOFDProtocolMessage [22:24:37]wFMCommunicate request_size=4 [22:24:37]MH_SAM_APDU [22:24:37]CAPDU: 80 11 00 00 [22:24:37]Write to MH i2c: E2 08 00 D2 0D 80 11 00 00 00 00 00 00 59 [22:24:37]Write i2c OK [22:24:37]MH_I2C_Read... [22:24:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:24:37]Read from MH i2c: E2 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: E2 17 00 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: E2 17 00 D2 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B0 [22:24:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:24:37]wFMCommunicate OK [22:24:37]CreateOFDProtocolMessage done [22:24:37]OFDSenderStorePacket 68435 [22:24:37]StoreOFDPacket docnum=68435 [22:24:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3B 01 00 00 2D 77 33 01 FA F4 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 30 00 00 00 00 13 04 06 00 0C 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9E 00 00 00 F4 03 04 00 A5 60 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 53 0B 01 00 35 04 06 00 72 04 A2 57 C6 90 1F EF 46 30 14 60 A4 28 [22:24:37]CheckFolder [22:24:37]dirname=/storage/ofd_packets [22:24:37]CheckFolder done [22:24:37]ProducePacketName [22:24:37]name=ofd_packets/00068435 [22:24:37]NVStorageSaveData ofd_packets/00068435 [22:24:37]File name is /storage/ofd_packets/00068435 [22:24:37]Write 345 bytes [22:24:37]NVStorageSaveData done [22:24:37]OFDSenderStorePacket done [22:24:37]KKMCreateOFDPacket done [22:24:37]NVStorageSaveData kkm_last_timestamp [22:24:37]File name is /storage/kkm_last_timestamp [22:24:37]Write 4 bytes [22:24:37]NVStorageSaveData done [22:24:37]ExternCall_PrintAddStr [22:24:37]wPrintStart [22:24:37]Write to MH i2c: 01 00 00 D3 0D E0 [22:24:37]Write i2c OK [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: 01 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: 01 07 00 [22:24:37]MH_I2C_Read... [22:24:37]Read from MH i2c: 01 07 00 D3 0D 00 00 00 00 00 FF 0F F5 [22:24:37]RasterBufferAndPrint [22:24:37]line Счет N : (3)17255 [22:24:37]line ИНН: 02508201610067 [22:24:37]line Контрольно-Кассовый Чек [22:24:37]line ПРОДАЖА [22:24:37]line Товар: 4602441011131 [22:24:37]line Напиток Лимонад 0,5л ст (Gabb trade) [22:24:37]line 1.000 * 123.00 [22:24:37]line = 123.00 [22:24:37]line НДС 12% НСП 1% [22:24:37]line > о реализуемом товаре [22:24:37]line ИТОГО: 123.00 [22:24:37]line НСП 1% : 1.09 [22:24:37]line НДС 12% : 13.06 [22:24:37]line Наличными: 0.00 [22:24:37]line Безнал.: 123.00 [22:24:37]line Место: АЗС № 160 "Партнер Нефть" [22:24:37]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:24:37]line СНО: Общий режим [22:24:37]line Чек 158 29.10.2024 22:24 [22:24:37]line Смена: 548 ФФД: 1.0 [22:24:37]line ЗНМ: 0300000093 [22:24:37]line РНМ: 0000000000091759 [22:24:37]line Версия ККМ: 001 [22:24:37]line Платежная система: Mbank [22:24:37]line ФМ: 0000000000871758 [22:24:37]line ФД: 68435 [22:24:37]line ФПД: 125364229097104 [22:24:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T222437&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68435&fm=125364229097104&tin=02508201610067®Number=0000000000091759&sum=12300 [22:24:37]line 0 [22:24:37]OFD Sender: Processing packet 68435 [packets to send 28, broken 27] [22:24:37]ProducePacketName [22:24:37]name=ofd_packets/00068435 [22:24:37]OFD Sender: To server: pG, [22:24:37]CommunicateWithHost lk.salyk.kg:30040 [22:24:37]ConnectInit lk.salyk.kg [22:24:37]written 0, free lines is 4095 [22:24:37]Connected sock=10 [22:24:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3B 01 00 00 2D 77 33 01 FA F4 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 30 00 00 00 00 13 04 06 00 0C 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9E 00 00 00 F4 03 04 00 A5 60 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 53 0B 01 00 35 04 06 00 72 04 A2 57 C6 90 1F EF 46 30 14 60 A4 28 [22:24:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FA 10 47 00 B0 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 53 0B 01 00 F4 03 04 00 4C 0C 21 67 B6 04 01 00 00 70 1F 5C 3F D7 4B BF B7 [22:24:37]CommunicateWithHost err = 0 [22:24:37]CheckOFDResponse [22:24:37]1017 (14) - 77093643461234 [22:24:37]1041 (16) - 0000000000871758 [22:24:37]1040 (4) - 68435 [22:24:37]1012 (4) - 29.10.2024 16:24 [22:24:37]1206 (1) - 0 [22:24:37]OFD Sender: Remove packet 68435 [22:24:37]ProducePacketName [22:24:37]name=ofd_packets/00068435 [22:24:37]NVStorageDeleteData [22:24:38]Write to MH i2c: 01 00 00 FC 0D 09 [22:24:38]Write i2c OK [22:24:38]MH_I2C_Read... [22:24:38]Read from MH i2c: 01 [22:24:38]MH_I2C_Read... [22:24:38]Read from MH i2c: 01 07 00 [22:24:38]MH_I2C_Read... [22:24:38]Read from MH i2c: 01 07 00 FC 0D 00 00 00 00 00 BC 0C D8 [22:24:38]RasterBufferAndPrint [22:24:38]line [22:24:38]line [22:24:38]line [22:24:38]line [22:24:38]line [22:24:38]written 0, free lines is 3264 [22:24:38]MH_Cut [22:24:38]Write to MH i2c: D1 01 00 03 0E 01 E3 [22:24:38]Write i2c OK [22:24:38]MH_I2C_Read... [22:24:38]Read from MH i2c: D1 [22:24:38]MH_I2C_Read... [22:24:38]Read from MH i2c: D1 01 00 [22:24:38]MH_I2C_Read... [22:24:38]Read from MH i2c: D1 01 00 03 0E 00 E2 [22:24:38]Write to MH i2c: 01 00 00 04 0E 12 [22:24:38]Write i2c OK [22:24:38]MH_I2C_Read... [22:24:38]OFD Sender: No OFD packet to send [22:24:38]*** Cut start [22:24:38]*** Partial cut [22:24:38]*** CUTSNS_PIN = 1 [22:24:39]*** CUTSNS_PIN = 0 [22:24:39]*** Brake cut motor [22:24:39]Read from MH i2c: 01 [22:24:39]MH_I2C_Read... [22:24:39]*** Stop cut motor [22:24:39]*** Cut end [22:24:39]Read from MH i2c: 01 07 00 [22:24:39]MH_I2C_Read... [22:24:39]Read from MH i2c: 01 07 00 04 0E 00 00 00 00 00 FF 0F 27 [22:24:39]process_action close_receipt done [22:24:39]requested_data is exist [22:24:39]produce_requested_data [22:24:39]requested_item fm.sn is exist - process it [22:24:39]wFMCommunicate request_size=4 [22:24:39]MH_SAM_APDU [22:24:39]CAPDU: 80 11 00 00 [22:24:39]Write to MH i2c: E2 08 00 05 0E 80 11 00 00 00 00 00 00 8D [22:24:39]Write i2c OK [22:24:39]MH_I2C_Read... [22:24:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:24:39]Read from MH i2c: E2 [22:24:39]MH_I2C_Read... [22:24:39]Read from MH i2c: E2 17 00 [22:24:39]MH_I2C_Read... [22:24:39]Read from MH i2c: E2 17 00 05 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E4 [22:24:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:24:39]wFMCommunicate OK [22:24:39]requested_item fd.num is exist - process it [22:24:39]SAM_PROTO_GetFieldsCounters [22:24:39]wFMCommunicate request_size=4 [22:24:39]MH_SAM_APDU [22:24:39]CAPDU: 80 13 00 00 [22:24:39]Write to MH i2c: E2 08 00 06 0E 80 13 00 00 00 00 00 00 90 [22:24:39]Write i2c OK [22:24:39]MH_I2C_Read... [22:24:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:24:39]Read from MH i2c: E2 [22:24:39]MH_I2C_Read... [22:24:39]Read from MH i2c: E2 62 00 [22:24:39]MH_I2C_Read... [22:24:39]Read from MH i2c: E2 62 00 06 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 53 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9E 00 00 00 5E 04 04 00 9E 00 00 00 57 04 04 00 9F 00 00 00 19 04 04 00 00 00 00 00 90 00 1A [22:24:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 53 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9E 00 00 00 5E 04 04 00 9E 00 00 00 57 04 04 00 9F 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:24:39]wFMCommunicate OK [22:24:39]SAM_PROTO_GetFieldsCounters done [22:24:39]requested_item shift.num is exist - process it [22:24:39]requested_item shift.opened is exist - process it [22:24:39]req_shift_opened [22:24:39]FM_GetShiftState [22:24:39]SAM_PROTO_GetShiftState [22:24:39]wFMCommunicate request_size=4 [22:24:39]MH_SAM_APDU [22:24:39]CAPDU: 80 13 01 00 [22:24:39]Write to MH i2c: E2 08 00 07 0E 80 13 01 00 00 00 00 00 92 [22:24:39]Write i2c OK [22:24:39]MH_I2C_Read... [22:24:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:24:39]Read from MH i2c: E2 [22:24:39]MH_I2C_Read... [22:24:39]Read from MH i2c: E2 0E 00 [22:24:39]MH_I2C_Read... [22:24:39]Read from MH i2c: E2 0E 00 07 0E 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 42 [22:24:39]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:24:39]wFMCommunicate OK [22:24:39]SAM_PROTO_GetShiftState done [22:24:39]FM_GetShiftState done [22:24:39]req_shift_opened done [22:24:39]requested_item shift.open_date is exist - process it [22:24:39]req_shift_open_date [22:24:39]req_shift_open_date done [22:24:39]produce_requested_data done [22:24:39]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68435,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:24:39]process_action_free close_receipt [22:24:39]json_value_free [22:24:39]json_value_free done [22:24:39]process_json_proto returns [22:24:39]Send response to host [22:24:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68435,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:24:39]free response buf [22:24:39]execute_script done [22:24:39]execute_script returns [22:24:39]free content buf [22:24:39]Sock 8.Close socket [22:24:39]Sock 8.Thread stoped [22:24:43]OFD Sender: No OFD packet to send [22:24:48]OFD Sender: No OFD packet to send [22:24:53]OFD Sender: No OFD packet to send [22:24:58]OFD Sender: No OFD packet to send [22:25:03]OFD Sender: No OFD packet to send [22:25:08]OFD Sender: No OFD packet to send [22:25:13]OFD Sender: No OFD packet to send [22:25:18]OFD Sender: No OFD packet to send [22:25:23]OFD Sender: No OFD packet to send [22:25:28]OFD Sender: No OFD packet to send [22:25:33]OFD Sender: No OFD packet to send [22:25:38]OFD Sender: No OFD packet to send [22:25:43]OFD Sender: No OFD packet to send [22:25:48]OFD Sender: No OFD packet to send [22:25:53]OFD Sender: No OFD packet to send [22:25:58]OFD Sender: No OFD packet to send [22:26:03]OFD Sender: No OFD packet to send [22:26:08]OFD Sender: No OFD packet to send [22:26:13]OFD Sender: No OFD packet to send [22:26:18]OFD Sender: No OFD packet to send [22:26:23]OFD Sender: No OFD packet to send [22:26:28]OFD Sender: No OFD packet to send [22:26:33]OFD Sender: No OFD packet to send [22:26:38]OFD Sender: No OFD packet to send [22:26:43]OFD Sender: No OFD packet to send [22:26:48]OFD Sender: No OFD packet to send [22:26:53]OFD Sender: No OFD packet to send [22:26:58]OFD Sender: No OFD packet to send [22:27:03]OFD Sender: No OFD packet to send [22:27:08]OFD Sender: No OFD packet to send [22:27:13]OFD Sender: No OFD packet to send [22:27:18]OFD Sender: No OFD packet to send [22:27:23]OFD Sender: No OFD packet to send [22:27:28]OFD Sender: No OFD packet to send [22:27:33]OFD Sender: No OFD packet to send [22:27:38]OFD Sender: No OFD packet to send [22:27:43]OFD Sender: No OFD packet to send [22:27:48]OFD Sender: No OFD packet to send [22:27:53]OFD Sender: No OFD packet to send [22:27:58]OFD Sender: No OFD packet to send [22:28:03]OFD Sender: No OFD packet to send [22:28:08]OFD Sender: No OFD packet to send [22:28:13]OFD Sender: No OFD packet to send [22:28:18]OFD Sender: No OFD packet to send [22:28:23]OFD Sender: No OFD packet to send [22:28:28]OFD Sender: No OFD packet to send [22:28:33]OFD Sender: No OFD packet to send [22:28:38]OFD Sender: No OFD packet to send [22:28:43]OFD Sender: No OFD packet to send [22:28:48]OFD Sender: No OFD packet to send [22:28:53]OFD Sender: No OFD packet to send [22:28:58]OFD Sender: No OFD packet to send [22:29:03]OFD Sender: No OFD packet to send [22:29:08]OFD Sender: No OFD packet to send [22:29:13]OFD Sender: No OFD packet to send [22:29:18]OFD Sender: No OFD packet to send [22:29:23]OFD Sender: No OFD packet to send [22:29:28]OFD Sender: No OFD packet to send [22:29:33]OFD Sender: No OFD packet to send [22:29:38]OFD Sender: No OFD packet to send [22:29:43]OFD Sender: No OFD packet to send [22:29:48]OFD Sender: No OFD packet to send [22:29:53]OFD Sender: No OFD packet to send [22:29:58]OFD Sender: No OFD packet to send [22:30:03]OFD Sender: No OFD packet to send [22:30:08]OFD Sender: No OFD packet to send [22:30:13]OFD Sender: No OFD packet to send [22:30:18]OFD Sender: No OFD packet to send [22:30:23]OFD Sender: No OFD packet to send [22:30:28]OFD Sender: No OFD packet to send [22:30:33]OFD Sender: No OFD packet to send [22:30:38]OFD Sender: No OFD packet to send [22:30:43]OFD Sender: No OFD packet to send [22:30:48]OFD Sender: No OFD packet to send [22:30:53]OFD Sender: No OFD packet to send [22:30:58]OFD Sender: No OFD packet to send [22:31:03]OFD Sender: No OFD packet to send [22:31:08]OFD Sender: No OFD packet to send [22:31:13]OFD Sender: No OFD packet to send [22:31:18]OFD Sender: No OFD packet to send [22:31:23]OFD Sender: No OFD packet to send [22:31:28]OFD Sender: No OFD packet to send [22:31:33]OFD Sender: No OFD packet to send [22:31:38]OFD Sender: No OFD packet to send [22:31:43]OFD Sender: No OFD packet to send [22:31:48]OFD Sender: No OFD packet to send [22:31:53]OFD Sender: No OFD packet to send [22:31:58]OFD Sender: No OFD packet to send [22:32:03]OFD Sender: No OFD packet to send [22:32:08]OFD Sender: No OFD packet to send [22:32:13]OFD Sender: No OFD packet to send [22:32:18]OFD Sender: No OFD packet to send [22:32:23]OFD Sender: No OFD packet to send [22:32:28]OFD Sender: No OFD packet to send [22:32:33]OFD Sender: No OFD packet to send [22:32:38]OFD Sender: No OFD packet to send [22:32:43]OFD Sender: No OFD packet to send [22:32:48]OFD Sender: No OFD packet to send [22:32:53]OFD Sender: No OFD packet to send [22:32:58]OFD Sender: No OFD packet to send [22:33:03]OFD Sender: No OFD packet to send [22:33:08]OFD Sender: No OFD packet to send [22:33:13]OFD Sender: No OFD packet to send [22:33:18]OFD Sender: No OFD packet to send [22:33:23]OFD Sender: No OFD packet to send [22:33:28]OFD Sender: No OFD packet to send [22:33:33]OFD Sender: No OFD packet to send [22:33:38]OFD Sender: No OFD packet to send [22:33:43]OFD Sender: No OFD packet to send [22:33:48]OFD Sender: No OFD packet to send [22:33:53]OFD Sender: No OFD packet to send [22:33:58]OFD Sender: No OFD packet to send [22:34:03]OFD Sender: No OFD packet to send [22:34:08]OFD Sender: No OFD packet to send [22:34:13]OFD Sender: No OFD packet to send [22:34:18]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:44]OFD Sender: No OFD packet to send [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:49]OFD Sender: No OFD packet to send [22:38:54]OFD Sender: No OFD packet to send [22:38:59]OFD Sender: No OFD packet to send [22:39:04]OFD Sender: No OFD packet to send [22:39:08]accept exits with 9 [22:39:08]New connection [22:39:08]New thread 3066858852 created [22:39:08]Thread 3066715492 joined [22:39:08]Waiting for new connection... [22:39:08] Sock 9.Parse request [22:39:08]Sock 9.Check first char [22:39:08]Sock 9.First char is OK [22:39:08]request: POST /json_proto HTTP/1.0 [22:39:08]Method: POST [22:39:08]URL: /json_proto [22:39:08]Method is POST - this is cgi request [22:39:08]url: /json_proto [22:39:08]query_string will be loaded in cgi processing [22:39:08]execute_cgi json_proto POST (null) [22:39:08]execute_cgi path=json_proto method=POST [22:39:08]POST find Content-Length [22:39:08]Host: 172.17.42.3:8080 [22:39:08]Content-Length: 620 [22:39:08]Content-Type: application/json [22:39:08] [22:39:08]POST finish read [22:39:08]Found Content-Length = 620 [22:39:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17256", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:39:08]execute_script... [22:39:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17256", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:39:08]POST & json_proto [22:39:08]process_json_proto [22:39:08]json parsed OK: [22:39:08]protocol is kg_v1.0 [22:39:08]action value=close_receipt [22:39:08]process_action close_receipt [22:39:08]cmd_close_receipt [22:39:08]MH_GetDate [22:39:08]Write to MH i2c: F0 00 00 08 0E 05 [22:39:08]Write i2c OK [22:39:08]MH_I2C_Read... [22:39:08]Read from MH i2c: F0 [22:39:08]MH_I2C_Read... [22:39:08]Read from MH i2c: F0 09 00 [22:39:08]MH_I2C_Read... [22:39:08]Read from MH i2c: F0 09 00 08 0E 00 0E 64 21 67 28 A1 20 67 58 [22:39:08]GetLastDocTimeStamp 1730240677 [22:39:08]current date 1730241550 [22:39:08]FM_GetShiftState [22:39:08]SAM_PROTO_GetShiftState [22:39:08]wFMCommunicate request_size=4 [22:39:08]MH_SAM_APDU [22:39:08]CAPDU: 80 13 01 00 [22:39:08]Write to MH i2c: E2 08 00 09 0E 80 13 01 00 00 00 00 00 94 [22:39:08]Write i2c OK [22:39:08]MH_I2C_Read... [22:39:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:08]Read from MH i2c: E2 [22:39:08]MH_I2C_Read... [22:39:08]Read from MH i2c: E2 0E 00 [22:39:08]MH_I2C_Read... [22:39:08]Read from MH i2c: E2 0E 00 09 0E 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 44 [22:39:08]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:39:08]wFMCommunicate OK [22:39:08]SAM_PROTO_GetShiftState done [22:39:08]FM_GetShiftState done [22:39:08]opened in 1730160885 [22:39:08]opened+sec_in_day 1730247285 [22:39:08]quantity*price = 14400 [22:39:08]sum+1 = 14401 [22:39:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 159 29.10.2024 22:39 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68436 ФПД: 186261145294547 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T223910&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68436&fm=186261145294547&tin=02508201610067®Number=0000000000091759&sum=14400 0 [22:39:09]StoreToDocumentArchive [22:39:09]shift 548 fd 68436 [22:39:09]save to /storage/0548/doc_00068436 [22:39:09]save last doc name /storage/0548/doc_00068436 to /storage/kkm_last_doc_name [22:39:09]save OK [22:39:09]Clear old archive folders... [22:39:09]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:39:09]tlvbuf is 01DD8930 [22:39:09]SAM_PROTO_ClearQueue [22:39:09]wFMCommunicate request_size=4 [22:39:09]MH_SAM_APDU [22:39:09]CAPDU: 80 09 00 00 [22:39:09]Write to MH i2c: E2 08 00 16 0E 80 09 00 00 00 00 00 00 96 [22:39:09]Write i2c OK [22:39:09]MH_I2C_Read... [22:39:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:39:09]Read from MH i2c: E2 [22:39:09]MH_I2C_Read... [22:39:09]Read from MH i2c: E2 03 00 [22:39:09]MH_I2C_Read... [22:39:09]Read from MH i2c: E2 03 00 16 0E 00 90 00 98 [22:39:09]RAPDU: 90 00 [22:39:09]wFMCommunicate OK [22:39:09]SAM_PROTO_ClearQueue done [22:39:09]KKMCreateOFDPacket [22:39:09]OFDProtocolAddRootSTLVToBuf [22:39:09]FM_MakeSignedData [22:39:09]FM_MakeSignedData [22:39:09]SAM_PROTO_SignData [22:39:09]wFMCommunicate request_size=4 [22:39:09]MH_SAM_APDU [22:39:09]CAPDU: 80 0D 01 02 [22:39:09]Write to MH i2c: E2 08 00 17 0E 80 0D 01 02 00 00 00 00 9E [22:39:09]Write i2c OK [22:39:09]MH_I2C_Read... [22:39:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:39:09]Read from MH i2c: E2 [22:39:09]MH_I2C_Read... [22:39:09]Read from MH i2c: E2 03 00 [22:39:09]MH_I2C_Read... [22:39:09]Read from MH i2c: E2 03 00 17 0E 00 90 00 99 [22:39:09]RAPDU: 90 00 [22:39:09]wFMCommunicate OK [22:39:09]wFMCommunicate request_size=255 [22:39:09]MH_SAM_APDU [22:39:09]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9F 00 00 00 F4 03 04 00 0E 64 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 [22:39:09]Write to MH i2c: E2 02 01 18 0E 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9F 00 00 00 F4 03 04 00 0E 64 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 00 00 B9 [22:39:09]Write i2c OK [22:39:09]MH_I2C_Read... [22:39:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:10]Read from MH i2c: E2 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: E2 03 00 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: E2 03 00 18 0E 00 90 00 9A [22:39:10]RAPDU: 90 00 [22:39:10]wFMCommunicate OK [22:39:10]wFMCommunicate request_size=32 [22:39:10]MH_SAM_APDU [22:39:10]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 35 38 10 04 04 00 54 0B 01 00 35 04 06 00 A9 67 4D 66 96 D3 [22:39:10]Write to MH i2c: E2 23 00 19 0E 80 0D 02 02 1B 00 30 30 30 38 37 31 37 35 38 10 04 04 00 54 0B 01 00 35 04 06 00 A9 67 4D 66 96 D3 00 00 8E [22:39:10]Write i2c OK [22:39:10]MH_I2C_Read... [22:39:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:10]Read from MH i2c: E2 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: E2 03 00 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: E2 03 00 19 0E 00 90 00 9B [22:39:10]RAPDU: 90 00 [22:39:10]wFMCommunicate OK [22:39:10]wFMCommunicate request_size=4 [22:39:10]MH_SAM_APDU [22:39:10]CAPDU: 80 0D 03 02 [22:39:10]Write to MH i2c: E2 08 00 1A 0E 80 0D 03 02 00 00 00 00 A3 [22:39:10]Write i2c OK [22:39:10]MH_I2C_Read... [22:39:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:39:10]Read from MH i2c: E2 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: E2 0B 00 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: E2 0B 00 1A 0E 00 07 DB 94 F0 76 7B 4F 34 90 00 7E [22:39:10]RAPDU: 07 DB 94 F0 76 7B 4F 34 90 00 [22:39:10]wFMCommunicate OK [22:39:10]SAM_PROTO_SignData done [22:39:10]FM_MakeSignedData done [22:39:10]CreateOFDProtocolMessage [22:39:10]wFMCommunicate request_size=4 [22:39:10]MH_SAM_APDU [22:39:10]CAPDU: 80 11 00 00 [22:39:10]Write to MH i2c: E2 08 00 1B 0E 80 11 00 00 00 00 00 00 A3 [22:39:10]Write i2c OK [22:39:10]MH_I2C_Read... [22:39:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:39:10]Read from MH i2c: E2 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: E2 17 00 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: E2 17 00 1B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 FA [22:39:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:39:10]wFMCommunicate OK [22:39:10]CreateOFDProtocolMessage done [22:39:10]OFDSenderStorePacket 68436 [22:39:10]StoreOFDPacket docnum=68436 [22:39:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 05 42 1D 01 E4 66 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9F 00 00 00 F4 03 04 00 0E 64 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 54 0B 01 00 35 04 06 00 A9 67 4D 66 96 D3 07 DB 94 F0 76 7B 4F 34 [22:39:10]CheckFolder [22:39:10]dirname=/storage/ofd_packets [22:39:10]CheckFolder done [22:39:10]ProducePacketName [22:39:10]name=ofd_packets/00068436 [22:39:10]NVStorageSaveData ofd_packets/00068436 [22:39:10]File name is /storage/ofd_packets/00068436 [22:39:10]Write 323 bytes [22:39:10]NVStorageSaveData done [22:39:10]OFDSenderStorePacket done [22:39:10]KKMCreateOFDPacket done [22:39:10]NVStorageSaveData kkm_last_timestamp [22:39:10]File name is /storage/kkm_last_timestamp [22:39:10]Write 4 bytes [22:39:10]NVStorageSaveData done [22:39:10]ExternCall_PrintAddStr [22:39:10]wPrintStart [22:39:10]Write to MH i2c: 01 00 00 1C 0E 2A [22:39:10]Write i2c OK [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: 01 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: 01 07 00 [22:39:10]MH_I2C_Read... [22:39:10]Read from MH i2c: 01 07 00 1C 0E 00 00 00 00 00 FF 0F 3F [22:39:10]RasterBufferAndPrint [22:39:10]line Счет N : (3)17256 [22:39:10]line ИНН: 02508201610067 [22:39:10]line Контрольно-Кассовый Чек [22:39:10]line ПРОДАЖА [22:39:10]line Товар: 48747059 [22:39:10]line Сигареты Winston Legend Blue [22:39:10]line 1.000 * 144.00 [22:39:10]line = 144.00 [22:39:10]line НДС 12% НСП 1% [22:39:10]line > о реализуемом товаре [22:39:10]line ИТОГО: 144.00 [22:39:10]line НСП 1% : 1.27 [22:39:10]line НДС 12% : 15.29 [22:39:10]line Наличными: 144.00 [22:39:10]line Безнал.: 0.00 [22:39:10]line Место: АЗС № 160 "Партнер Нефть" [22:39:10]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:39:10]line СНО: Общий режим [22:39:10]line Чек 159 29.10.2024 22:39 [22:39:10]line Смена: 548 ФФД: 1.0 [22:39:10]line ЗНМ: 0300000093 [22:39:10]line РНМ: 0000000000091759 [22:39:10]line Версия ККМ: 001 [22:39:10]line ФМ: 0000000000871758 [22:39:10]line ФД: 68436 [22:39:10]line ФПД: 186261145294547 [22:39:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T223910&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68436&fm=186261145294547&tin=02508201610067®Number=0000000000091759&sum=14400 [22:39:10]OFD Sender: Processing packet 68436 [packets to send 28, broken 27] [22:39:10]ProducePacketName [22:39:10]name=ofd_packets/00068436 [22:39:10]OFD Sender: To server: pG, [22:39:10]CommunicateWithHost lk.salyk.kg:30040 [22:39:10]ConnectInit lk.salyk.kg [22:39:10]line 0 [22:39:10]written 0, free lines is 4095 [22:39:10]Connected sock=10 [22:39:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 05 42 1D 01 E4 66 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9F 00 00 00 F4 03 04 00 0E 64 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 54 0B 01 00 35 04 06 00 A9 67 4D 66 96 D3 07 DB 94 F0 76 7B 4F 34 [22:39:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9C 8A 47 00 B2 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 54 0B 01 00 F4 03 04 00 B6 0F 21 67 B6 04 01 00 00 57 9A AC 0A AF 32 93 4E [22:39:11]CommunicateWithHost err = 0 [22:39:11]CheckOFDResponse [22:39:11]1017 (14) - 77093643461234 [22:39:11]1041 (16) - 0000000000871758 [22:39:11]1040 (4) - 68436 [22:39:11]1012 (4) - 29.10.2024 16:39 [22:39:11]1206 (1) - 0 [22:39:11]OFD Sender: Remove packet 68436 [22:39:11]ProducePacketName [22:39:11]name=ofd_packets/00068436 [22:39:11]NVStorageDeleteData [22:39:11]Write to MH i2c: 01 00 00 44 0E 52 [22:39:11]Write i2c OK [22:39:11]MH_I2C_Read... [22:39:11]Read from MH i2c: 01 [22:39:11]MH_I2C_Read... [22:39:11]Read from MH i2c: 01 07 00 [22:39:11]MH_I2C_Read... [22:39:11]Read from MH i2c: 01 07 00 44 0E 00 00 00 00 00 C9 0C 2E [22:39:11]RasterBufferAndPrint [22:39:11]line [22:39:11]line [22:39:11]line [22:39:11]line [22:39:11]line [22:39:11]written 0, free lines is 3277 [22:39:11]MH_Cut [22:39:11]Write to MH i2c: D1 01 00 4B 0E 01 2B [22:39:11]Write i2c OK [22:39:11]MH_I2C_Read... [22:39:11]Read from MH i2c: D1 [22:39:11]MH_I2C_Read... [22:39:11]Read from MH i2c: D1 01 00 [22:39:11]MH_I2C_Read... [22:39:11]Read from MH i2c: D1 01 00 4B 0E 00 2A [22:39:11]Write to MH i2c: 01 00 00 4C 0E 5A [22:39:11]Write i2c OK [22:39:11]MH_I2C_Read... [22:39:11]OFD Sender: No OFD packet to send [22:39:12]*** Cut start [22:39:12]*** Partial cut [22:39:12]*** CUTSNS_PIN = 1 [22:39:12]*** CUTSNS_PIN = 0 [22:39:12]*** Brake cut motor [22:39:12]Read from MH i2c: 01 [22:39:12]MH_I2C_Read... [22:39:12]*** Stop cut motor [22:39:12]*** Cut end [22:39:12]Read from MH i2c: 01 07 00 [22:39:12]MH_I2C_Read... [22:39:12]Read from MH i2c: 01 07 00 4C 0E 00 00 00 00 00 FF 0F 6F [22:39:12]process_action close_receipt done [22:39:12]requested_data is exist [22:39:12]produce_requested_data [22:39:12]requested_item fm.sn is exist - process it [22:39:12]wFMCommunicate request_size=4 [22:39:12]MH_SAM_APDU [22:39:12]CAPDU: 80 11 00 00 [22:39:12]Write to MH i2c: E2 08 00 4D 0E 80 11 00 00 00 00 00 00 D5 [22:39:12]Write i2c OK [22:39:12]MH_I2C_Read... [22:39:12]Read from MH i2c: E2 [22:39:12]MH_I2C_Read... [22:39:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:39:12]Read from MH i2c: E2 17 00 [22:39:12]MH_I2C_Read... [22:39:12]Read from MH i2c: E2 17 00 4D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 2C [22:39:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:39:12]wFMCommunicate OK [22:39:12]requested_item fd.num is exist - process it [22:39:12]SAM_PROTO_GetFieldsCounters [22:39:12]wFMCommunicate request_size=4 [22:39:12]MH_SAM_APDU [22:39:12]CAPDU: 80 13 00 00 [22:39:12]Write to MH i2c: E2 08 00 4E 0E 80 13 00 00 00 00 00 00 D8 [22:39:12]Write i2c OK [22:39:12]MH_I2C_Read... [22:39:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:39:12]Read from MH i2c: E2 [22:39:12]MH_I2C_Read... [22:39:12]Read from MH i2c: E2 62 00 [22:39:12]MH_I2C_Read... [22:39:12]Read from MH i2c: E2 62 00 4E 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 54 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9F 00 00 00 5E 04 04 00 9F 00 00 00 57 04 04 00 A0 00 00 00 19 04 04 00 00 00 00 00 90 00 66 [22:39:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 54 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 9F 00 00 00 5E 04 04 00 9F 00 00 00 57 04 04 00 A0 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:39:12]wFMCommunicate OK [22:39:12]SAM_PROTO_GetFieldsCounters done [22:39:12]requested_item shift.num is exist - process it [22:39:12]requested_item shift.opened is exist - process it [22:39:12]req_shift_opened [22:39:12]FM_GetShiftState [22:39:12]SAM_PROTO_GetShiftState [22:39:12]wFMCommunicate request_size=4 [22:39:12]MH_SAM_APDU [22:39:12]CAPDU: 80 13 01 00 [22:39:12]Write to MH i2c: E2 08 00 4F 0E 80 13 01 00 00 00 00 00 DA [22:39:12]Write i2c OK [22:39:12]MH_I2C_Read... [22:39:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:12]Read from MH i2c: E2 [22:39:12]MH_I2C_Read... [22:39:12]Read from MH i2c: E2 0E 00 [22:39:12]MH_I2C_Read... [22:39:12]Read from MH i2c: E2 0E 00 4F 0E 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 8A [22:39:12]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:39:12]wFMCommunicate OK [22:39:12]SAM_PROTO_GetShiftState done [22:39:12]FM_GetShiftState done [22:39:12]req_shift_opened done [22:39:12]requested_item shift.open_date is exist - process it [22:39:12]req_shift_open_date [22:39:12]req_shift_open_date done [22:39:12]produce_requested_data done [22:39:12]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68436,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:39:12]process_action_free close_receipt [22:39:12]json_value_free [22:39:12]json_value_free done [22:39:12]process_json_proto returns [22:39:12]Send response to host [22:39:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68436,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:39:12]free response buf [22:39:12]execute_script done [22:39:12]execute_script returns [22:39:12]free content buf [22:39:12]Sock 9.Close socket [22:39:12]Sock 9.Thread stoped [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:26]int [22:39:26]Write to MH i2c: 01 00 00 50 0E 5E [22:39:26]*** FLAG_PRN_KEY set [22:39:26]Write i2c OK [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: 01 [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: 01 07 00 [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: 01 07 00 50 0E 00 08 00 00 00 FF 0F 7B [22:39:26]state=0 [22:39:26]Key pressed [22:39:26]Feed [22:39:26]Write to MH i2c: D8 00 00 51 0E 36 [22:39:26]Write i2c OK [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: D8 [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: D8 01 00 [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: D8 01 00 51 0E 00 37 [22:39:26]int [22:39:26]Write to MH i2c: 01 00 00 52 0E 60 [22:39:26]Write i2c OK [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: 01 [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: 01 07 00 [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: 01 07 00 52 0E 00 48 00 00 00 3C 00 EB [22:39:26]state=2 [22:39:26]Key pressed [22:39:26]int [22:39:26]Write to MH i2c: 01 00 00 53 0E 61 [22:39:26]*** FLAG_PRN_KEY reset [22:39:26]Write i2c OK [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: 01 [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: 01 07 00 [22:39:26]MH_I2C_Read... [22:39:26]Read from MH i2c: 01 07 00 53 0E 00 00 00 00 00 F6 0F 6D [22:39:26]state=2 [22:39:26]Stop feed [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:14]accept exits with 8 [22:46:14]New connection [22:46:14]New thread 3066715492 created [22:46:14]Thread 3066858852 joined [22:46:14]Waiting for new connection... [22:46:14] Sock 8.Parse request [22:46:14]Sock 8.Check first char [22:46:14]Sock 8.First char is OK [22:46:14]request: POST /json_proto HTTP/1.0 [22:46:14]Method: POST [22:46:14]URL: /json_proto [22:46:14]Method is POST - this is cgi request [22:46:14]url: /json_proto [22:46:14]query_string will be loaded in cgi processing [22:46:14]execute_cgi json_proto POST (null) [22:46:14]execute_cgi path=json_proto method=POST [22:46:14]POST find Content-Length [22:46:14]Host: 172.17.42.3:8080 [22:46:14]Content-Length: 802 [22:46:14]Content-Type: application/json [22:46:14] [22:46:14]POST finish read [22:46:14]Found Content-Length = 802 [22:46:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17257", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:14]execute_script... [22:46:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17257", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:14]POST & json_proto [22:46:14]process_json_proto [22:46:14]json parsed OK: [22:46:14]protocol is kg_v1.0 [22:46:14]action value=close_receipt [22:46:14]process_action close_receipt [22:46:14]cmd_close_receipt [22:46:14]MH_GetDate [22:46:14]Write to MH i2c: F0 00 00 54 0E 51 [22:46:14]Write i2c OK [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: F0 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: F0 09 00 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: F0 09 00 54 0E 00 B8 65 21 67 28 A1 20 67 4F [22:46:14]GetLastDocTimeStamp 1730241550 [22:46:14]current date 1730241976 [22:46:14]FM_GetShiftState [22:46:14]SAM_PROTO_GetShiftState [22:46:14]wFMCommunicate request_size=4 [22:46:14]MH_SAM_APDU [22:46:14]CAPDU: 80 13 01 00 [22:46:14]Write to MH i2c: E2 08 00 55 0E 80 13 01 00 00 00 00 00 E0 [22:46:14]Write i2c OK [22:46:14]MH_I2C_Read... [22:46:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:14]Read from MH i2c: E2 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 0E 00 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 0E 00 55 0E 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 90 [22:46:14]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:46:14]wFMCommunicate OK [22:46:14]SAM_PROTO_GetShiftState done [22:46:14]FM_GetShiftState done [22:46:14]opened in 1730160885 [22:46:14]opened+sec_in_day 1730247285 [22:46:14]quantity*price = 13900 [22:46:14]sum+1 = 13901 [22:46:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 0.00 Безнал.: 139.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 160 29.10.2024 22:46 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68437 ФПД: 164868091271341 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T224616&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68437&fm=164868091271341&tin=02508201610067®Number=0000000000091759&sum=13900 0 [22:46:15]StoreToDocumentArchive [22:46:15]shift 548 fd 68437 [22:46:15]save to /storage/0548/doc_00068437 [22:46:15]save last doc name /storage/0548/doc_00068437 to /storage/kkm_last_doc_name [22:46:15]save OK [22:46:15]Clear old archive folders... [22:46:15]ProcessDocumentItem done err = 0, tmpTLVsize=278 [22:46:15]tlvbuf is 01E664B0 [22:46:15]SAM_PROTO_ClearQueue [22:46:15]wFMCommunicate request_size=4 [22:46:15]MH_SAM_APDU [22:46:15]CAPDU: 80 09 00 00 [22:46:15]Write to MH i2c: E2 08 00 62 0E 80 09 00 00 00 00 00 00 E2 [22:46:15]Write i2c OK [22:46:15]MH_I2C_Read... [22:46:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:46:15]Read from MH i2c: E2 [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: E2 03 00 [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: E2 03 00 62 0E 00 90 00 E4 [22:46:15]RAPDU: 90 00 [22:46:15]wFMCommunicate OK [22:46:15]SAM_PROTO_ClearQueue done [22:46:15]KKMCreateOFDPacket [22:46:15]OFDProtocolAddRootSTLVToBuf [22:46:15]FM_MakeSignedData [22:46:15]FM_MakeSignedData [22:46:15]SAM_PROTO_SignData [22:46:15]wFMCommunicate request_size=4 [22:46:15]MH_SAM_APDU [22:46:15]CAPDU: 80 0D 01 02 [22:46:15]Write to MH i2c: E2 08 00 63 0E 80 0D 01 02 00 00 00 00 EA [22:46:15]Write i2c OK [22:46:15]MH_I2C_Read... [22:46:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:46:15]Read from MH i2c: E2 [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: E2 03 00 [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: E2 03 00 63 0E 00 90 00 E5 [22:46:15]RAPDU: 90 00 [22:46:15]wFMCommunicate OK [22:46:15]wFMCommunicate request_size=255 [22:46:15]MH_SAM_APDU [22:46:15]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A0 00 00 00 F4 03 04 00 B8 65 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 [22:46:15]Write to MH i2c: E2 02 01 64 0E 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A0 00 00 00 F4 03 04 00 B8 65 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 00 00 9B [22:46:15]Write i2c OK [22:46:15]MH_I2C_Read... [22:46:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:16]Read from MH i2c: E2 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 03 00 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 03 00 64 0E 00 90 00 E6 [22:46:16]RAPDU: 90 00 [22:46:16]wFMCommunicate OK [22:46:16]wFMCommunicate request_size=37 [22:46:16]MH_SAM_APDU [22:46:16]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 55 0B 01 00 35 04 06 00 95 F2 58 03 D8 AD [22:46:16]Write to MH i2c: E2 28 00 65 0E 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 55 0B 01 00 35 04 06 00 95 F2 58 03 D8 AD 00 00 10 [22:46:16]Write i2c OK [22:46:16]MH_I2C_Read... [22:46:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:16]Read from MH i2c: E2 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 03 00 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 03 00 65 0E 00 90 00 E7 [22:46:16]RAPDU: 90 00 [22:46:16]wFMCommunicate OK [22:46:16]wFMCommunicate request_size=4 [22:46:16]MH_SAM_APDU [22:46:16]CAPDU: 80 0D 03 02 [22:46:16]Write to MH i2c: E2 08 00 66 0E 80 0D 03 02 00 00 00 00 EF [22:46:16]Write i2c OK [22:46:16]MH_I2C_Read... [22:46:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:46:16]Read from MH i2c: E2 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 0B 00 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 0B 00 66 0E 00 10 1A 4B E8 55 1C 48 04 90 00 0A [22:46:16]RAPDU: 10 1A 4B E8 55 1C 48 04 90 00 [22:46:16]wFMCommunicate OK [22:46:16]SAM_PROTO_SignData done [22:46:16]FM_MakeSignedData done [22:46:16]CreateOFDProtocolMessage [22:46:16]wFMCommunicate request_size=4 [22:46:16]MH_SAM_APDU [22:46:16]CAPDU: 80 11 00 00 [22:46:16]Write to MH i2c: E2 08 00 67 0E 80 11 00 00 00 00 00 00 EF [22:46:16]Write i2c OK [22:46:16]MH_I2C_Read... [22:46:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:16]Read from MH i2c: E2 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 17 00 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 17 00 67 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 46 [22:46:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:46:16]wFMCommunicate OK [22:46:16]CreateOFDProtocolMessage done [22:46:16]OFDSenderStorePacket 68437 [22:46:16]StoreOFDPacket docnum=68437 [22:46:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 28 AF 22 01 DF B0 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A0 00 00 00 F4 03 04 00 B8 65 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 55 0B 01 00 35 04 06 00 95 F2 58 03 D8 AD 10 1A 4B E8 55 1C 48 04 [22:46:16]CheckFolder [22:46:16]dirname=/storage/ofd_packets [22:46:16]CheckFolder done [22:46:16]ProducePacketName [22:46:16]name=ofd_packets/00068437 [22:46:16]NVStorageSaveData ofd_packets/00068437 [22:46:16]File name is /storage/ofd_packets/00068437 [22:46:16]Write 328 bytes [22:46:16]NVStorageSaveData done [22:46:16]OFDSenderStorePacket done [22:46:16]KKMCreateOFDPacket done [22:46:16]NVStorageSaveData kkm_last_timestamp [22:46:16]File name is /storage/kkm_last_timestamp [22:46:16]Write 4 bytes [22:46:16]NVStorageSaveData done [22:46:16]ExternCall_PrintAddStr [22:46:16]wPrintStart [22:46:16]Write to MH i2c: 01 00 00 68 0E 76 [22:46:16]Write i2c OK [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: 01 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: 01 07 00 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: 01 07 00 68 0E 00 00 00 00 00 FF 0F 8B [22:46:16]RasterBufferAndPrint [22:46:16]line Счет N : (3)17257 [22:46:16]line ИНН: 02508201610067 [22:46:16]line Контрольно-Кассовый Чек [22:46:16]line ПРОДАЖА [22:46:16]line Товар: 48741224 [22:46:16]line Сигареты Winston Super Slims Blue [22:46:16]line 1.000 * 139.00 [22:46:16]line = 139.00 [22:46:16]line НДС 12% НСП 1% [22:46:16]line > о реализуемом товаре [22:46:16]line ИТОГО: 139.00 [22:46:16]line НСП 1% : 1.23 [22:46:16]line НДС 12% : 14.76 [22:46:16]line Наличными: 0.00 [22:46:16]line Безнал.: 139.00 [22:46:16]line Место: АЗС № 160 "Партнер Нефть" [22:46:16]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:46:16]line СНО: Общий режим [22:46:16]line Чек 160 29.10.2024 22:46 [22:46:16]line Смена: 548 ФФД: 1.0 [22:46:16]line ЗНМ: 0300000093 [22:46:16]line РНМ: 0000000000091759 [22:46:16]line Версия ККМ: 001 [22:46:16]line Платежная система: Бакай Банк [22:46:16]line ФМ: 0000000000871758 [22:46:16]line ФД: 68437 [22:46:16]line ФПД: 164868091271341 [22:46:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T224616&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68437&fm=164868091271341&tin=02508201610067®Number=0000000000091759&sum=13900 [22:46:16]OFD Sender: Processing packet 68437 [packets to send 28, broken 27] [22:46:16]ProducePacketName [22:46:16]name=ofd_packets/00068437 [22:46:16]OFD Sender: To server: pG, [22:46:16]CommunicateWithHost lk.salyk.kg:30040 [22:46:16]ConnectInit lk.salyk.kg [22:46:16]line 0 [22:46:16]written 0, free lines is 4095 [22:46:16]Connected sock=10 [22:46:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 28 AF 22 01 DF B0 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A0 00 00 00 F4 03 04 00 B8 65 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 55 0B 01 00 35 04 06 00 95 F2 58 03 D8 AD 10 1A 4B E8 55 1C 48 04 [22:46:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3D EE 47 00 A3 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 55 0B 01 00 F4 03 04 00 5F 11 21 67 B6 04 01 00 00 50 A7 37 84 9F 4E A0 CC [22:46:16]CommunicateWithHost err = 0 [22:46:16]CheckOFDResponse [22:46:16]1017 (14) - 77093643461234 [22:46:16]1041 (16) - 0000000000871758 [22:46:16]1040 (4) - 68437 [22:46:16]1012 (4) - 29.10.2024 16:46 [22:46:16]1206 (1) - 0 [22:46:16]OFD Sender: Remove packet 68437 [22:46:16]ProducePacketName [22:46:16]name=ofd_packets/00068437 [22:46:16]NVStorageDeleteData [22:46:17]Write to MH i2c: 01 00 00 92 0E A0 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: 01 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: 01 07 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: 01 07 00 92 0E 00 00 00 00 00 A4 0C 57 [22:46:17]RasterBufferAndPrint [22:46:17]line [22:46:17]line [22:46:17]line [22:46:17]line [22:46:17]line [22:46:17]written 0, free lines is 3240 [22:46:17]MH_Cut [22:46:17]Write to MH i2c: D1 01 00 99 0E 01 79 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: D1 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: D1 01 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: D1 01 00 99 0E 00 78 [22:46:17]Write to MH i2c: 01 00 00 9A 0E A8 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]OFD Sender: No OFD packet to send [22:46:17]*** Cut start [22:46:17]*** Partial cut [22:46:17]*** CUTSNS_PIN = 1 [22:46:17]*** CUTSNS_PIN = 0 [22:46:18]*** Brake cut motor [22:46:18]Read from MH i2c: 01 [22:46:18]MH_I2C_Read... [22:46:18]*** Stop cut motor [22:46:18]*** Cut end [22:46:18]Read from MH i2c: 01 07 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: 01 07 00 9A 0E 00 00 00 00 00 FF 0F BD [22:46:18]process_action close_receipt done [22:46:18]requested_data is exist [22:46:18]produce_requested_data [22:46:18]requested_item fm.sn is exist - process it [22:46:18]wFMCommunicate request_size=4 [22:46:18]MH_SAM_APDU [22:46:18]CAPDU: 80 11 00 00 [22:46:18]Write to MH i2c: E2 08 00 9B 0E 80 11 00 00 00 00 00 00 23 [22:46:18]Write i2c OK [22:46:18]MH_I2C_Read... [22:46:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:18]Read from MH i2c: E2 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 17 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 17 00 9B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 7A [22:46:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:46:18]wFMCommunicate OK [22:46:18]requested_item fd.num is exist - process it [22:46:18]SAM_PROTO_GetFieldsCounters [22:46:18]wFMCommunicate request_size=4 [22:46:18]MH_SAM_APDU [22:46:18]CAPDU: 80 13 00 00 [22:46:18]Write to MH i2c: E2 08 00 9C 0E 80 13 00 00 00 00 00 00 26 [22:46:18]Write i2c OK [22:46:18]MH_I2C_Read... [22:46:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:46:18]Read from MH i2c: E2 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 62 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 62 00 9C 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 55 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A0 00 00 00 5E 04 04 00 A0 00 00 00 57 04 04 00 A1 00 00 00 19 04 04 00 00 00 00 00 90 00 B8 [22:46:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 55 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A0 00 00 00 5E 04 04 00 A0 00 00 00 57 04 04 00 A1 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:46:18]wFMCommunicate OK [22:46:18]SAM_PROTO_GetFieldsCounters done [22:46:18]requested_item shift.num is exist - process it [22:46:18]requested_item shift.opened is exist - process it [22:46:18]req_shift_opened [22:46:18]FM_GetShiftState [22:46:18]SAM_PROTO_GetShiftState [22:46:18]wFMCommunicate request_size=4 [22:46:18]MH_SAM_APDU [22:46:18]CAPDU: 80 13 01 00 [22:46:18]Write to MH i2c: E2 08 00 9D 0E 80 13 01 00 00 00 00 00 28 [22:46:18]Write i2c OK [22:46:18]MH_I2C_Read... [22:46:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:18]Read from MH i2c: E2 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 0E 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 0E 00 9D 0E 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D8 [22:46:18]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:46:18]wFMCommunicate OK [22:46:18]SAM_PROTO_GetShiftState done [22:46:18]FM_GetShiftState done [22:46:18]req_shift_opened done [22:46:18]requested_item shift.open_date is exist - process it [22:46:18]req_shift_open_date [22:46:18]req_shift_open_date done [22:46:18]produce_requested_data done [22:46:18]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68437,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:46:18]process_action_free close_receipt [22:46:18]json_value_free [22:46:18]json_value_free done [22:46:18]process_json_proto returns [22:46:18]Send response to host [22:46:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68437,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:46:18]free response buf [22:46:18]execute_script done [22:46:18]execute_script returns [22:46:18]free content buf [22:46:18]Sock 8.Close socket [22:46:18]Sock 8.Thread stoped [22:46:22]OFD Sender: No OFD packet to send [22:46:27]OFD Sender: No OFD packet to send [22:46:32]OFD Sender: No OFD packet to send [22:46:37]OFD Sender: No OFD packet to send [22:46:42]OFD Sender: No OFD packet to send [22:46:47]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:18]accept exits with 9 [22:48:18]New connection [22:48:18]New thread 3066858852 created [22:48:18]Thread 3066715492 joined [22:48:18]Waiting for new connection... [22:48:18] Sock 9.Parse request [22:48:18]Sock 9.Check first char [22:48:18]Sock 9.First char is OK [22:48:18]request: POST /json_proto HTTP/1.0 [22:48:18]Method: POST [22:48:18]URL: /json_proto [22:48:18]Method is POST - this is cgi request [22:48:18]url: /json_proto [22:48:18]query_string will be loaded in cgi processing [22:48:18]execute_cgi json_proto POST (null) [22:48:18]execute_cgi path=json_proto method=POST [22:48:18]POST find Content-Length [22:48:18]Host: 172.17.42.3:8080 [22:48:18]Content-Length: 964 [22:48:18]Content-Type: application/json [22:48:18] [22:48:18]POST finish read [22:48:18]Found Content-Length = 964 [22:48:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17258", "tax_sys" : 0, "items" : [ { "code": "4670003190068", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 5\u043B", "price" : 1000.00, "quantity" : 1.000, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:48:18]execute_script... [22:48:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17258", "tax_sys" : 0, "items" : [ { "code": "4670003190068", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 5\u043B", "price" : 1000.00, "quantity" : 1.000, "sum" : 1000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:48:18]POST & json_proto [22:48:18]process_json_proto [22:48:18]json parsed OK: [22:48:18]protocol is kg_v1.0 [22:48:18]action value=close_receipt [22:48:18]process_action close_receipt [22:48:18]cmd_close_receipt [22:48:18]MH_GetDate [22:48:18]Write to MH i2c: F0 00 00 9E 0E 9B [22:48:18]Write i2c OK [22:48:18]MH_I2C_Read... [22:48:18]Read from MH i2c: F0 [22:48:18]MH_I2C_Read... [22:48:18]Read from MH i2c: F0 09 00 [22:48:18]MH_I2C_Read... [22:48:18]Read from MH i2c: F0 09 00 9E 0E 00 34 66 21 67 28 A1 20 67 16 [22:48:18]GetLastDocTimeStamp 1730241976 [22:48:18]current date 1730242100 [22:48:18]FM_GetShiftState [22:48:18]SAM_PROTO_GetShiftState [22:48:18]wFMCommunicate request_size=4 [22:48:18]MH_SAM_APDU [22:48:18]CAPDU: 80 13 01 00 [22:48:18]Write to MH i2c: E2 08 00 9F 0E 80 13 01 00 00 00 00 00 2A [22:48:18]Write i2c OK [22:48:18]MH_I2C_Read... [22:48:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:48:18]Read from MH i2c: E2 [22:48:18]MH_I2C_Read... [22:48:18]Read from MH i2c: E2 0E 00 [22:48:18]MH_I2C_Read... [22:48:18]Read from MH i2c: E2 0E 00 9F 0E 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 DA [22:48:18]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:48:18]wFMCommunicate OK [22:48:18]SAM_PROTO_GetShiftState done [22:48:18]FM_GetShiftState done [22:48:18]opened in 1730160885 [22:48:18]opened+sec_in_day 1730247285 [22:48:18]quantity*price = 100000 [22:48:18]sum+1 = 100001 [22:48:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4670003190051 Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л 1.000 * 225.00 = 225.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1225.00 НСП 1% : 10.84 НДС 12% : 130.08 Наличными: 1225.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 161 29.10.2024 22:48 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68438 ФПД: 228955800208040 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T224821&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68438&fm=228955800208040&tin=02508201610067®Number=0000000000091759&sum=122500 0 [22:48:19]StoreToDocumentArchive [22:48:19]shift 548 fd 68438 [22:48:19]save to /storage/0548/doc_00068438 [22:48:19]save last doc name /storage/0548/doc_00068438 to /storage/kkm_last_doc_name [22:48:19]save OK [22:48:19]Clear old archive folders... [22:48:19]ProcessDocumentItem done err = 0, tmpTLVsize=424 [22:48:19]tlvbuf is 01DF4410 [22:48:19]SAM_PROTO_ClearQueue [22:48:19]wFMCommunicate request_size=4 [22:48:19]MH_SAM_APDU [22:48:19]CAPDU: 80 09 00 00 [22:48:19]Write to MH i2c: E2 08 00 AC 0E 80 09 00 00 00 00 00 00 2C [22:48:19]Write i2c OK [22:48:19]MH_I2C_Read... [22:48:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:48:20]Read from MH i2c: E2 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 03 00 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 03 00 AC 0E 00 90 00 2E [22:48:20]RAPDU: 90 00 [22:48:20]wFMCommunicate OK [22:48:20]SAM_PROTO_ClearQueue done [22:48:20]KKMCreateOFDPacket [22:48:20]OFDProtocolAddRootSTLVToBuf [22:48:20]FM_MakeSignedData [22:48:20]FM_MakeSignedData [22:48:20]SAM_PROTO_SignData [22:48:20]wFMCommunicate request_size=4 [22:48:20]MH_SAM_APDU [22:48:20]CAPDU: 80 0D 01 02 [22:48:20]Write to MH i2c: E2 08 00 AD 0E 80 0D 01 02 00 00 00 00 34 [22:48:20]Write i2c OK [22:48:20]MH_I2C_Read... [22:48:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:48:20]Read from MH i2c: E2 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 03 00 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 03 00 AD 0E 00 90 00 2F [22:48:20]RAPDU: 90 00 [22:48:20]wFMCommunicate OK [22:48:20]wFMCommunicate request_size=255 [22:48:20]MH_SAM_APDU [22:48:20]CAPDU: 80 0D 02 02 FA 03 00 A8 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 36 38 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 86 01 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 [22:48:20]Write to MH i2c: E2 02 01 AE 0E 80 0D 02 02 FA 00 03 00 A8 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 36 38 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 86 01 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 00 00 A0 [22:48:20]Write i2c OK [22:48:20]MH_I2C_Read... [22:48:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:48:20]Read from MH i2c: E2 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 03 00 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 03 00 AE 0E 00 90 00 30 [22:48:20]RAPDU: 90 00 [22:48:20]wFMCommunicate OK [22:48:20]wFMCommunicate request_size=183 [22:48:20]MH_SAM_APDU [22:48:20]CAPDU: 80 0D 02 02 B2 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 DE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 32 00 00 00 00 07 04 06 00 84 DE 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A1 00 00 00 F4 03 04 00 35 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 56 0B 01 00 35 04 06 00 D0 3B ED 24 02 A8 [22:48:20]Write to MH i2c: E2 BA 00 AF 0E 80 0D 02 02 B2 00 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 DE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 32 00 00 00 00 07 04 06 00 84 DE 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A1 00 00 00 F4 03 04 00 35 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 56 0B 01 00 35 04 06 00 D0 3B ED 24 02 A8 00 00 C0 [22:48:20]Write i2c OK [22:48:20]MH_I2C_Read... [22:48:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:48:20]Read from MH i2c: E2 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 03 00 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 03 00 AF 0E 00 90 00 31 [22:48:20]RAPDU: 90 00 [22:48:20]wFMCommunicate OK [22:48:20]wFMCommunicate request_size=4 [22:48:20]MH_SAM_APDU [22:48:20]CAPDU: 80 0D 03 02 [22:48:20]Write to MH i2c: E2 08 00 B0 0E 80 0D 03 02 00 00 00 00 39 [22:48:20]Write i2c OK [22:48:20]MH_I2C_Read... [22:48:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:48:20]Read from MH i2c: E2 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 0B 00 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 0B 00 B0 0E 00 BC 73 0B 5E 5E B2 51 F5 90 00 28 [22:48:20]RAPDU: BC 73 0B 5E 5E B2 51 F5 90 00 [22:48:20]wFMCommunicate OK [22:48:20]SAM_PROTO_SignData done [22:48:20]FM_MakeSignedData done [22:48:20]CreateOFDProtocolMessage [22:48:20]wFMCommunicate request_size=4 [22:48:20]MH_SAM_APDU [22:48:20]CAPDU: 80 11 00 00 [22:48:20]Write to MH i2c: E2 08 00 B1 0E 80 11 00 00 00 00 00 00 39 [22:48:20]Write i2c OK [22:48:20]MH_I2C_Read... [22:48:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:48:20]Read from MH i2c: E2 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 17 00 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: E2 17 00 B1 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 90 [22:48:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:48:20]wFMCommunicate OK [22:48:20]CreateOFDProtocolMessage done [22:48:20]OFDSenderStorePacket 68438 [22:48:20]StoreOFDPacket docnum=68438 [22:48:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 BC 01 00 00 2F 86 B4 01 92 F1 5A 03 01 00 03 00 A8 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 36 38 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 86 01 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 DE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 32 00 00 00 00 07 04 06 00 84 DE 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A1 00 00 00 F4 03 04 00 35 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 56 0B 01 00 35 04 06 00 D0 3B ED 24 02 A8 BC 73 0B 5E 5E B2 51 F5 [22:48:20]CheckFolder [22:48:20]dirname=/storage/ofd_packets [22:48:20]CheckFolder done [22:48:20]ProducePacketName [22:48:20]name=ofd_packets/00068438 [22:48:20]NVStorageSaveData ofd_packets/00068438 [22:48:20]File name is /storage/ofd_packets/00068438 [22:48:20]Write 474 bytes [22:48:20]NVStorageSaveData done [22:48:20]OFDSenderStorePacket done [22:48:20]KKMCreateOFDPacket done [22:48:20]NVStorageSaveData kkm_last_timestamp [22:48:20]File name is /storage/kkm_last_timestamp [22:48:20]Write 4 bytes [22:48:20]NVStorageSaveData done [22:48:20]ExternCall_PrintAddStr [22:48:20]wPrintStart [22:48:20]Write to MH i2c: 01 00 00 B2 0E C0 [22:48:20]Write i2c OK [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: 01 [22:48:20]MH_I2C_Read... [22:48:20]Read from MH i2c: 01 07 00 [22:48:20]MH_I2C_Read... [22:48:20]OFD Sender: Processing packet 68438 [packets to send 28, broken 27] [22:48:20]ProducePacketName [22:48:20]name=ofd_packets/00068438 [22:48:20]Read from MH i2c: 01 OFD Sender: To server: pG, [22:48:20]07 00 B2 CommunicateWithHost lk.salyk.kg:30040 [22:48:20]0E ConnectInit lk.salyk.kg [22:48:20]00 00 00 00 00 FF 0F D5 [22:48:20]RasterBufferAndPrint [22:48:20]line Счет N : (3)17258 [22:48:20]line ИНН: 02508201610067 [22:48:20]line Контрольно-Кассовый Чек [22:48:20]line ПРОДАЖА [22:48:20]line Товар: 4670003190068 [22:48:20]line Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 5л [22:48:20]line 1.000 * 1000.00 [22:48:20]line = 1000.00 [22:48:20]line НДС 12% НСП 1% [22:48:20]line > о реализуемом товаре [22:48:20]line Товар: 4670003190051 [22:48:20]line Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л [22:48:20]line 1.000 * 225.00 [22:48:20]line = 225.00 [22:48:20]line НДС 12% НСП 1% [22:48:20]line > о реализуемом товаре [22:48:20]line ИТОГО: 1225.00 [22:48:20]line НСП 1% : 10.84 [22:48:20]line НДС 12% : 130.08 [22:48:20]line Наличными: 1225.00 [22:48:20]line Безнал.: 0.00 [22:48:20]line Место: АЗС № 160 "Партнер Нефть" [22:48:20]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:48:20]line СНО: Общий режим [22:48:20]line Чек 161 29.10.2024 22:48 [22:48:20]line Смена: 548 ФФД: 1.0 [22:48:20]line ЗНМ: 0300000093 [22:48:20]line РНМ: 0000000000091759 [22:48:20]line Версия ККМ: 001 [22:48:20]line ФМ: 0000000000871758 [22:48:20]line ФД: 68438 [22:48:20]line ФПД: 228955800208040 [22:48:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T224821&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68438&fm=228955800208040&tin=02508201610067®Number=0000000000091759&sum=122500 [22:48:20]line 0 [22:48:20]written 0, free lines is 4095 [22:48:21]Connected sock=11 [22:48:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 BC 01 00 00 2F 86 B4 01 92 F1 5A 03 01 00 03 00 A8 01 1E 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 36 38 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 86 01 00 00 00 13 04 06 00 A0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 DE 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3C 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 32 00 00 00 00 07 04 06 00 84 DE 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A1 00 00 00 F4 03 04 00 35 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 56 0B 01 00 35 04 06 00 D0 3B ED 24 02 A8 BC 73 0B 5E 5E B2 51 F5 [22:48:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FB A3 47 00 2D 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 56 0B 01 00 F4 03 04 00 DC 11 21 67 B6 04 01 00 00 0A 11 B8 0C 96 B0 B1 E3 [22:48:21]CommunicateWithHost err = 0 [22:48:21]CheckOFDResponse [22:48:21]1017 (14) - 77093643461234 [22:48:21]1041 (16) - 0000000000871758 [22:48:21]1040 (4) - 68438 [22:48:21]1012 (4) - 29.10.2024 16:48 [22:48:21]1206 (1) - 0 [22:48:21]OFD Sender: Remove packet 68438 [22:48:21]ProducePacketName [22:48:21]name=ofd_packets/00068438 [22:48:21]NVStorageDeleteData [22:48:21]Write to MH i2c: 01 00 00 E1 0E EF [22:48:21]Write i2c OK [22:48:21]MH_I2C_Read... [22:48:21]Read from MH i2c: 01 [22:48:21]MH_I2C_Read... [22:48:21]Read from MH i2c: 01 07 00 [22:48:21]MH_I2C_Read... [22:48:21]Read from MH i2c: 01 07 00 E1 0E 00 00 00 00 00 56 0C 58 [22:48:21]RasterBufferAndPrint [22:48:21]line [22:48:21]line [22:48:21]line [22:48:21]line [22:48:21]line [22:48:21]written 0, free lines is 3164 [22:48:21]MH_Cut [22:48:21]Write to MH i2c: D1 01 00 E8 0E 01 C8 [22:48:21]Write i2c OK [22:48:21]MH_I2C_Read... [22:48:21]Read from MH i2c: D1 [22:48:21]MH_I2C_Read... [22:48:21]Read from MH i2c: D1 01 00 [22:48:21]MH_I2C_Read... [22:48:21]Read from MH i2c: D1 01 00 E8 0E 00 C7 [22:48:21]Write to MH i2c: 01 00 00 E9 0E F7 [22:48:21]Write i2c OK [22:48:21]MH_I2C_Read... [22:48:21]OFD Sender: No OFD packet to send [22:48:22]*** Cut start [22:48:22]*** Partial cut [22:48:22]*** CUTSNS_PIN = 1 [22:48:22]*** CUTSNS_PIN = 0 [22:48:22]*** Brake cut motor [22:48:23]Read from MH i2c: 01 [22:48:23]MH_I2C_Read... [22:48:23]*** Stop cut motor [22:48:23]*** Cut end [22:48:23]Read from MH i2c: 01 07 00 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: 01 07 00 E9 0E 00 00 00 00 00 FF 0F 0C [22:48:23]process_action close_receipt done [22:48:23]requested_data is exist [22:48:23]produce_requested_data [22:48:23]requested_item fm.sn is exist - process it [22:48:23]wFMCommunicate request_size=4 [22:48:23]MH_SAM_APDU [22:48:23]CAPDU: 80 11 00 00 [22:48:23]Write to MH i2c: E2 08 00 EA 0E 80 11 00 00 00 00 00 00 72 [22:48:23]Write i2c OK [22:48:23]MH_I2C_Read... [22:48:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:48:23]Read from MH i2c: E2 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: E2 17 00 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: E2 17 00 EA 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C9 [22:48:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:48:23]wFMCommunicate OK [22:48:23]requested_item fd.num is exist - process it [22:48:23]SAM_PROTO_GetFieldsCounters [22:48:23]wFMCommunicate request_size=4 [22:48:23]MH_SAM_APDU [22:48:23]CAPDU: 80 13 00 00 [22:48:23]Write to MH i2c: E2 08 00 EB 0E 80 13 00 00 00 00 00 00 75 [22:48:23]Write i2c OK [22:48:23]MH_I2C_Read... [22:48:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:48:23]Read from MH i2c: E2 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: E2 62 00 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: E2 62 00 EB 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 56 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A1 00 00 00 5E 04 04 00 A1 00 00 00 57 04 04 00 A2 00 00 00 19 04 04 00 00 00 00 00 90 00 0B [22:48:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 56 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A1 00 00 00 5E 04 04 00 A1 00 00 00 57 04 04 00 A2 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:48:23]wFMCommunicate OK [22:48:23]SAM_PROTO_GetFieldsCounters done [22:48:23]requested_item shift.num is exist - process it [22:48:23]requested_item shift.opened is exist - process it [22:48:23]req_shift_opened [22:48:23]FM_GetShiftState [22:48:23]SAM_PROTO_GetShiftState [22:48:23]wFMCommunicate request_size=4 [22:48:23]MH_SAM_APDU [22:48:23]CAPDU: 80 13 01 00 [22:48:23]Write to MH i2c: E2 08 00 EC 0E 80 13 01 00 00 00 00 00 77 [22:48:23]Write i2c OK [22:48:23]MH_I2C_Read... [22:48:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:48:23]Read from MH i2c: E2 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: E2 0E 00 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: E2 0E 00 EC 0E 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 27 [22:48:23]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:48:23]wFMCommunicate OK [22:48:23]SAM_PROTO_GetShiftState done [22:48:23]FM_GetShiftState done [22:48:23]req_shift_opened done [22:48:23]requested_item shift.open_date is exist - process it [22:48:23]req_shift_open_date [22:48:23]req_shift_open_date done [22:48:23]produce_requested_data done [22:48:23]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68438,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:48:23]process_action_free close_receipt [22:48:23]json_value_free [22:48:23]json_value_free done [22:48:23]process_json_proto returns [22:48:23]Send response to host [22:48:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68438,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:48:23]free response buf [22:48:23]execute_script done [22:48:23]execute_script returns [22:48:23]free content buf [22:48:23]Sock 9.Close socket [22:48:23]Sock 9.Thread stoped [22:48:23]accept exits with 10 [22:48:23]New connection [22:48:23]New thread 3066715492 created [22:48:23]Thread 3066858852 joined [22:48:23]Waiting for new connection... [22:48:23] Sock 10.Parse request [22:48:23]Sock 10.Check first char [22:48:23]Sock 10.First char is OK [22:48:23]request: POST /json_proto HTTP/1.0 [22:48:23]Method: POST [22:48:23]URL: /json_proto [22:48:23]Method is POST - this is cgi request [22:48:23]url: /json_proto [22:48:23]query_string will be loaded in cgi processing [22:48:23]execute_cgi json_proto POST (null) [22:48:23]execute_cgi path=json_proto method=POST [22:48:23]POST find Content-Length [22:48:23]Host: 172.17.42.3:8080 [22:48:23]Content-Length: 768 [22:48:23]Content-Type: application/json [22:48:23] [22:48:23]POST finish read [22:48:23]Found Content-Length = 768 [22:48:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46422", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 29.900, "sum" : 2000.31, "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" : 2000.31 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:48:23]execute_script... [22:48:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46422", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 29.900, "sum" : 2000.31, "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" : 2000.31 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:48:23]POST & json_proto [22:48:23]process_json_proto [22:48:23]json parsed OK: [22:48:23]protocol is kg_v1.0 [22:48:23]action value=close_receipt [22:48:23]process_action close_receipt [22:48:23]cmd_close_receipt [22:48:23]MH_GetDate [22:48:23]Write to MH i2c: F0 00 00 ED 0E EA [22:48:23]Write i2c OK [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: F0 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: F0 09 00 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: F0 09 00 ED 0E 00 39 66 21 67 28 A1 20 67 6A [22:48:23]GetLastDocTimeStamp 1730242101 [22:48:23]current date 1730242105 [22:48:23]FM_GetShiftState [22:48:23]SAM_PROTO_GetShiftState [22:48:23]wFMCommunicate request_size=4 [22:48:23]MH_SAM_APDU [22:48:23]CAPDU: 80 13 01 00 [22:48:23]Write to MH i2c: E2 08 00 EE 0E 80 13 01 00 00 00 00 00 79 [22:48:23]Write i2c OK [22:48:23]MH_I2C_Read... [22:48:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:48:23]Read from MH i2c: E2 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: E2 0E 00 [22:48:23]MH_I2C_Read... [22:48:23]Read from MH i2c: E2 0E 00 EE 0E 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 29 [22:48:23]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:48:23]wFMCommunicate OK [22:48:23]SAM_PROTO_GetShiftState done [22:48:23]FM_GetShiftState done [22:48:23]opened in 1730160885 [22:48:23]opened+sec_in_day 1730247285 [22:48:23]quantity*price = 200031 [22:48:23]sum+1 = 200032 [22:48:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.31 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 0.00 Безнал.: 2000.31 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 162 29.10.2024 22:48 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68439 ФПД: 93599396186658 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T224825&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68439&fm=93599396186658&tin=02508201610067®Number=0000000000091759&sum=200031 [22:48:25]StoreToDocumentArchive [22:48:25]shift 548 fd 68439 [22:48:25]save to /storage/0548/doc_00068439 [22:48:25]save last doc name /storage/0548/doc_00068439 to /storage/kkm_last_doc_name [22:48:25]save OK [22:48:25]Clear old archive folders... [22:48:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:48:25]tlvbuf is 01E5FDE0 [22:48:25]SAM_PROTO_ClearQueue [22:48:25]wFMCommunicate request_size=4 [22:48:25]MH_SAM_APDU [22:48:25]CAPDU: 80 09 00 00 [22:48:25]Write to MH i2c: E2 08 00 FB 0E 80 09 00 00 00 00 00 00 7B [22:48:25]Write i2c OK [22:48:25]MH_I2C_Read... [22:48:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:48:25]Read from MH i2c: E2 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 03 00 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 03 00 FB 0E 00 90 00 7D [22:48:25]RAPDU: 90 00 [22:48:25]wFMCommunicate OK [22:48:25]SAM_PROTO_ClearQueue done [22:48:25]KKMCreateOFDPacket [22:48:25]OFDProtocolAddRootSTLVToBuf [22:48:25]FM_MakeSignedData [22:48:25]FM_MakeSignedData [22:48:25]SAM_PROTO_SignData [22:48:25]wFMCommunicate request_size=4 [22:48:25]MH_SAM_APDU [22:48:25]CAPDU: 80 0D 01 02 [22:48:25]Write to MH i2c: E2 08 00 FC 0E 80 0D 01 02 00 00 00 00 83 [22:48:25]Write i2c OK [22:48:25]MH_I2C_Read... [22:48:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:48:25]Read from MH i2c: E2 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 03 00 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 03 00 FC 0E 00 90 00 7E [22:48:25]RAPDU: 90 00 [22:48:25]wFMCommunicate OK [22:48:25]wFMCommunicate request_size=255 [22:48:25]MH_SAM_APDU [22:48:25]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5F 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 5F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 A2 00 00 00 F4 03 04 00 39 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 57 0B 01 00 35 04 06 00 55 [22:48:25]Write to MH i2c: E2 02 01 FD 0E 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5F 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 5F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 A2 00 00 00 F4 03 04 00 39 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 57 0B 01 00 35 04 06 00 55 00 00 43 [22:48:25]Write i2c OK [22:48:25]MH_I2C_Read... [22:48:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:48:25]Read from MH i2c: E2 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 03 00 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 03 00 FD 0E 00 90 00 7F [22:48:25]RAPDU: 90 00 [22:48:25]wFMCommunicate OK [22:48:25]wFMCommunicate request_size=10 [22:48:25]MH_SAM_APDU [22:48:25]CAPDU: 80 0D 02 02 05 20 CE C2 CA 22 [22:48:25]Write to MH i2c: E2 0D 00 FE 0E 80 0D 02 02 05 00 20 CE C2 CA 22 00 00 2C [22:48:25]Write i2c OK [22:48:25]MH_I2C_Read... [22:48:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:48:25]Read from MH i2c: E2 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 03 00 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 03 00 FE 0E 00 90 00 80 [22:48:25]RAPDU: 90 00 [22:48:25]wFMCommunicate OK [22:48:25]wFMCommunicate request_size=4 [22:48:25]MH_SAM_APDU [22:48:25]CAPDU: 80 0D 03 02 [22:48:25]Write to MH i2c: E2 08 00 FF 0E 80 0D 03 02 00 00 00 00 88 [22:48:25]Write i2c OK [22:48:25]MH_I2C_Read... [22:48:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:48:25]Read from MH i2c: E2 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 0B 00 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 0B 00 FF 0E 00 59 DD 89 87 DC 79 B3 4C 90 00 23 [22:48:25]RAPDU: 59 DD 89 87 DC 79 B3 4C 90 00 [22:48:25]wFMCommunicate OK [22:48:25]SAM_PROTO_SignData done [22:48:25]FM_MakeSignedData done [22:48:25]CreateOFDProtocolMessage [22:48:25]wFMCommunicate request_size=4 [22:48:25]MH_SAM_APDU [22:48:25]CAPDU: 80 11 00 00 [22:48:25]Write to MH i2c: E2 08 00 00 0F 80 11 00 00 00 00 00 00 89 [22:48:25]Write i2c OK [22:48:25]MH_I2C_Read... [22:48:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:48:25]Read from MH i2c: E2 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 17 00 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: E2 17 00 00 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E0 [22:48:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:48:25]wFMCommunicate OK [22:48:25]CreateOFDProtocolMessage done [22:48:25]OFDSenderStorePacket 68439 [22:48:25]StoreOFDPacket docnum=68439 [22:48:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 F9 1C 07 01 05 A2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5F 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 5F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 A2 00 00 00 F4 03 04 00 39 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 57 0B 01 00 35 04 06 00 55 20 CE C2 CA 22 59 DD 89 87 DC 79 B3 4C [22:48:25]CheckFolder [22:48:25]dirname=/storage/ofd_packets [22:48:25]CheckFolder done [22:48:25]ProducePacketName [22:48:25]name=ofd_packets/00068439 [22:48:25]NVStorageSaveData ofd_packets/00068439 [22:48:25]File name is /storage/ofd_packets/00068439 [22:48:25]Write 301 bytes [22:48:25]NVStorageSaveData done [22:48:25]OFDSenderStorePacket done [22:48:25]KKMCreateOFDPacket done [22:48:25]NVStorageSaveData kkm_last_timestamp [22:48:25]File name is /storage/kkm_last_timestamp [22:48:25]Write 4 bytes [22:48:25]NVStorageSaveData done [22:48:25]ExternCall_PrintAddStr [22:48:25]wPrintStart [22:48:25]Write to MH i2c: 01 00 00 01 0F 10 [22:48:25]Write i2c OK [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: 01 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: 01 07 00 [22:48:25]MH_I2C_Read... [22:48:25]Read from MH i2c: 01 07 00 01 0F 00 00 00 00 00 FF 0F 25 [22:48:25]RasterBufferAndPrint [22:48:25]line Счет N : (1)46422 [22:48:25]line ИНН: 02508201610067 [22:48:25]line Контрольно-Кассовый Чек [22:48:25]line ПРОДАЖА [22:48:25]line ТРК (МРК, ГНК) : 23 [22:48:25]line Товар: 2710124130 [22:48:25]line Аи-92-К-5 [22:48:25]line 29.900 * 66.90 [22:48:25]line = 2000.31 [22:48:25]line НДС 12% НСП 1% [22:48:25]line > о реализуемом товаре [22:48:25]line ИТОГО: 2000.31 [22:48:25]line НСП 1% : 17.70 [22:48:25]line НДС 12% : 212.42 [22:48:25]line Наличными: 0.00 [22:48:25]line Безнал.: 2000.31 [22:48:25]line Место: АЗС № 160 "Партнер Нефть" [22:48:25]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:48:25]line СНО: Общий режим [22:48:25]line Чек 162 29.10.2024 22:48 [22:48:25]line Смена: 548 ФФД: 1.0 [22:48:25]line ЗНМ: 0300000093 [22:48:25]line РНМ: 0000000000091759 [22:48:25]line Версия ККМ: 001 [22:48:25]line Платежная система: Mbank [22:48:25]line ФМ: 0000000000871758 [22:48:25]line ФД: 68439 [22:48:25]line ФПД: 93599396186658 [22:48:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T224825&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68439&fm=93599396186658&tin=02508201610067®Number=0000000000091759&sum=200031 [22:48:25]OFD Sender: Processing packet 68439 [packets to send 28, broken 27] [22:48:25]ProducePacketName [22:48:25]name=ofd_packets/00068439 [22:48:25]OFD Sender: To server: pG, [22:48:25]CommunicateWithHost lk.salyk.kg:30040 [22:48:25]ConnectInit lk.salyk.kg [22:48:25]written 0, free lines is 4095 [22:48:25]Connected sock=9 [22:48:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 F9 1C 07 01 05 A2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5F 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 5F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 A2 00 00 00 F4 03 04 00 39 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 57 0B 01 00 35 04 06 00 55 20 CE C2 CA 22 59 DD 89 87 DC 79 B3 4C [22:48:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 32 F0 47 00 0E 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 57 0B 01 00 F4 03 04 00 E1 11 21 67 B6 04 01 00 00 55 D7 C4 43 58 89 0D 54 [22:48:26]CommunicateWithHost err = 0 [22:48:26]CheckOFDResponse [22:48:26]1017 (14) - 77093643461234 [22:48:26]1041 (16) - 0000000000871758 [22:48:26]1040 (4) - 68439 [22:48:26]1012 (4) - 29.10.2024 16:48 [22:48:26]1206 (1) - 0 [22:48:26]OFD Sender: Remove packet 68439 [22:48:26]ProducePacketName [22:48:26]name=ofd_packets/00068439 [22:48:26]NVStorageDeleteData [22:48:26]Write to MH i2c: 01 00 00 29 0F 38 [22:48:26]Write i2c OK [22:48:26]MH_I2C_Read... [22:48:26]Read from MH i2c: 01 [22:48:26]MH_I2C_Read... [22:48:26]Read from MH i2c: 01 07 00 [22:48:26]MH_I2C_Read... [22:48:26]Read from MH i2c: 01 07 00 29 0F 00 00 00 00 00 F9 0C 44 [22:48:26]RasterBufferAndPrint [22:48:26]line [22:48:26]line [22:48:26]line [22:48:26]line [22:48:26]line [22:48:26]written 0, free lines is 3336 [22:48:26]MH_Cut [22:48:26]Write to MH i2c: D1 01 00 30 0F 01 11 [22:48:26]Write i2c OK [22:48:26]MH_I2C_Read... [22:48:26]Read from MH i2c: D1 [22:48:26]MH_I2C_Read... [22:48:26]Read from MH i2c: D1 01 00 [22:48:26]MH_I2C_Read... [22:48:26]Read from MH i2c: D1 01 00 30 0F 00 10 [22:48:26]Write to MH i2c: 01 00 00 31 0F 40 [22:48:26]Write i2c OK [22:48:26]MH_I2C_Read... [22:48:26]OFD Sender: No OFD packet to send [22:48:27]*** Cut start [22:48:27]*** Partial cut [22:48:27]*** CUTSNS_PIN = 1 [22:48:27]*** CUTSNS_PIN = 0 [22:48:27]*** Brake cut motor [22:48:27]Read from MH i2c: 01 [22:48:27]MH_I2C_Read... [22:48:27]*** Stop cut motor [22:48:27]*** Cut end [22:48:27]Read from MH i2c: 01 07 00 [22:48:27]MH_I2C_Read... [22:48:27]Read from MH i2c: 01 07 00 31 0F 00 00 00 00 00 FF 0F 55 [22:48:27]process_action close_receipt done [22:48:27]requested_data is exist [22:48:27]produce_requested_data [22:48:27]requested_item fm.sn is exist - process it [22:48:27]wFMCommunicate request_size=4 [22:48:27]MH_SAM_APDU [22:48:27]CAPDU: 80 11 00 00 [22:48:27]Write to MH i2c: E2 08 00 32 0F 80 11 00 00 00 00 00 00 BB [22:48:27]Write i2c OK [22:48:27]MH_I2C_Read... [22:48:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:48:27]Read from MH i2c: E2 [22:48:27]MH_I2C_Read... [22:48:27]Read from MH i2c: E2 17 00 [22:48:27]MH_I2C_Read... [22:48:27]Read from MH i2c: E2 17 00 32 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 12 [22:48:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:48:27]wFMCommunicate OK [22:48:27]requested_item fd.num is exist - process it [22:48:27]SAM_PROTO_GetFieldsCounters [22:48:27]wFMCommunicate request_size=4 [22:48:27]MH_SAM_APDU [22:48:27]CAPDU: 80 13 00 00 [22:48:27]Write to MH i2c: E2 08 00 33 0F 80 13 00 00 00 00 00 00 BE [22:48:27]Write i2c OK [22:48:27]MH_I2C_Read... [22:48:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:48:27]Read from MH i2c: E2 [22:48:27]MH_I2C_Read... [22:48:27]Read from MH i2c: E2 62 00 [22:48:27]MH_I2C_Read... [22:48:27]Read from MH i2c: E2 62 00 33 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 57 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A2 00 00 00 5E 04 04 00 A2 00 00 00 57 04 04 00 A3 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [22:48:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 57 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A2 00 00 00 5E 04 04 00 A2 00 00 00 57 04 04 00 A3 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:48:27]wFMCommunicate OK [22:48:27]SAM_PROTO_GetFieldsCounters done [22:48:27]requested_item shift.num is exist - process it [22:48:27]requested_item shift.opened is exist - process it [22:48:27]req_shift_opened [22:48:27]FM_GetShiftState [22:48:27]SAM_PROTO_GetShiftState [22:48:27]wFMCommunicate request_size=4 [22:48:27]MH_SAM_APDU [22:48:27]CAPDU: 80 13 01 00 [22:48:27]Write to MH i2c: E2 08 00 34 0F 80 13 01 00 00 00 00 00 C0 [22:48:27]Write i2c OK [22:48:27]MH_I2C_Read... [22:48:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:48:27]Read from MH i2c: E2 [22:48:27]MH_I2C_Read... [22:48:27]Read from MH i2c: E2 0E 00 [22:48:27]MH_I2C_Read... [22:48:27]Read from MH i2c: E2 0E 00 34 0F 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 70 [22:48:27]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:48:27]wFMCommunicate OK [22:48:27]SAM_PROTO_GetShiftState done [22:48:27]FM_GetShiftState done [22:48:27]req_shift_opened done [22:48:27]requested_item shift.open_date is exist - process it [22:48:27]req_shift_open_date [22:48:28]req_shift_open_date done [22:48:28]produce_requested_data done [22:48:28]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68439,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:48:28]process_action_free close_receipt [22:48:28]json_value_free [22:48:28]json_value_free done [22:48:28]process_json_proto returns [22:48:28]Send response to host [22:48:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68439,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:48:28]free response buf [22:48:28]execute_script done [22:48:28]execute_script returns [22:48:28]free content buf [22:48:28]Sock 10.Close socket [22:48:28]Sock 10.Thread stoped [22:48:31]OFD Sender: No OFD packet to send [22:48:36]OFD Sender: No OFD packet to send [22:48:41]OFD Sender: No OFD packet to send [22:48:46]OFD Sender: No OFD packet to send [22:48:51]OFD Sender: No OFD packet to send [22:48:56]OFD Sender: No OFD packet to send [22:49:01]OFD Sender: No OFD packet to send [22:49:06]OFD Sender: No OFD packet to send [22:49:11]OFD Sender: No OFD packet to send [22:49:16]OFD Sender: No OFD packet to send [22:49:21]OFD Sender: No OFD packet to send [22:49:26]OFD Sender: No OFD packet to send [22:49:31]OFD Sender: No OFD packet to send [22:49:36]OFD Sender: No OFD packet to send [22:49:41]OFD Sender: No OFD packet to send [22:49:46]OFD Sender: No OFD packet to send [22:49:51]OFD Sender: No OFD packet to send [22:49:56]OFD Sender: No OFD packet to send [22:50:01]OFD Sender: No OFD packet to send [22:50:06]OFD Sender: No OFD packet to send [22:50:11]OFD Sender: No OFD packet to send [22:50:16]OFD Sender: No OFD packet to send [22:50:21]OFD Sender: No OFD packet to send [22:50:26]OFD Sender: No OFD packet to send [22:50:31]OFD Sender: No OFD packet to send [22:50:36]OFD Sender: No OFD packet to send [22:50:41]OFD Sender: No OFD packet to send [22:50:46]OFD Sender: No OFD packet to send [22:50:51]accept exits with 8 [22:50:51]New connection [22:50:51]New thread 3066858852 created [22:50:51]Thread 3066715492 joined [22:50:51]Waiting for new connection... [22:50:51] Sock 8.Parse request [22:50:51]Sock 8.Check first char [22:50:51]Sock 8.First char is OK [22:50:51]request: POST /json_proto HTTP/1.0 [22:50:51]Method: POST [22:50:51]URL: /json_proto [22:50:51]Method is POST - this is cgi request [22:50:51]url: /json_proto [22:50:51]query_string will be loaded in cgi processing [22:50:51]execute_cgi json_proto POST (null) [22:50:51]execute_cgi path=json_proto method=POST [22:50:51]POST find Content-Length [22:50:51]Host: 172.17.42.3:8080 [22:50:51]Content-Length: 1331 [22:50:51]Content-Type: application/json [22:50:51] [22:50:51]POST finish read [22:50:51]Found Content-Length = 1331 [22:50:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17259", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.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" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:50:51]execute_script... [22:50:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17259", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.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" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:50:51]POST & json_proto [22:50:51]process_json_proto [22:50:51]json parsed OK: [22:50:51]protocol is kg_v1.0 [22:50:51]action value=close_receipt [22:50:51]process_action close_receipt [22:50:51]cmd_close_receipt [22:50:51]MH_GetDate [22:50:51]Write to MH i2c: F0 00 00 35 0F 33 [22:50:51]Write i2c OK [22:50:51]MH_I2C_Read... [22:50:51]Read from MH i2c: F0 [22:50:51]MH_I2C_Read... [22:50:51]Read from MH i2c: F0 09 00 [22:50:51]MH_I2C_Read... [22:50:51]Read from MH i2c: F0 09 00 35 0F 00 CD 66 21 67 28 A1 20 67 47 [22:50:51]GetLastDocTimeStamp 1730242105 [22:50:51]current date 1730242253 [22:50:51]FM_GetShiftState [22:50:51]SAM_PROTO_GetShiftState [22:50:51]wFMCommunicate request_size=4 [22:50:51]MH_SAM_APDU [22:50:51]CAPDU: 80 13 01 00 [22:50:51]Write to MH i2c: E2 08 00 36 0F 80 13 01 00 00 00 00 00 C2 [22:50:51]Write i2c OK [22:50:51]MH_I2C_Read... [22:50:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:50:51]Read from MH i2c: E2 [22:50:51]MH_I2C_Read... [22:50:51]Read from MH i2c: E2 0E 00 [22:50:51]MH_I2C_Read... [22:50:51]Read from MH i2c: E2 0E 00 36 0F 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 72 [22:50:51]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:50:51]wFMCommunicate OK [22:50:51]SAM_PROTO_GetShiftState done [22:50:51]FM_GetShiftState done [22:50:51]opened in 1730160885 [22:50:51]opened+sec_in_day 1730247285 [22:50:51]quantity*price = 7900 [22:50:51]sum+1 = 7901 [22:50:51]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010056 Чай хол Let`s Go! зел лим ПЭТ 1,25л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 69.00 = 69.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 243.00 НСП 1% : 2.15 НДС 12% : 25.81 Наличными: 0.00 Безнал.: 243.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 163 29.10.2024 22:50 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68440 ФПД: 203341770765460 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T225053&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68440&fm=203341770765460&tin=02508201610067®Number=0000000000091759&sum=24300 0 [22:50:52]StoreToDocumentArchive [22:50:52]shift 548 fd 68440 [22:50:52]save to /storage/0548/doc_00068440 [22:50:52]save last doc name /storage/0548/doc_00068440 to /storage/kkm_last_doc_name [22:50:52]save OK [22:50:52]Clear old archive folders... [22:50:52]ProcessDocumentItem done err = 0, tmpTLVsize=523 [22:50:52]tlvbuf is 01DBCC10 [22:50:52]SAM_PROTO_ClearQueue [22:50:52]wFMCommunicate request_size=4 [22:50:52]MH_SAM_APDU [22:50:52]CAPDU: 80 09 00 00 [22:50:52]Write to MH i2c: E2 08 00 43 0F 80 09 00 00 00 00 00 00 C4 [22:50:52]Write i2c OK [22:50:52]MH_I2C_Read... [22:50:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:50:52]Read from MH i2c: E2 [22:50:52]MH_I2C_Read... [22:50:52]Read from MH i2c: E2 03 00 [22:50:52]MH_I2C_Read... [22:50:52]Read from MH i2c: E2 03 00 43 0F 00 90 00 C6 [22:50:52]RAPDU: 90 00 [22:50:52]wFMCommunicate OK [22:50:52]SAM_PROTO_ClearQueue done [22:50:52]KKMCreateOFDPacket [22:50:52]OFDProtocolAddRootSTLVToBuf [22:50:52]FM_MakeSignedData [22:50:52]FM_MakeSignedData [22:50:52]SAM_PROTO_SignData [22:50:52]wFMCommunicate request_size=4 [22:50:52]MH_SAM_APDU [22:50:52]CAPDU: 80 0D 01 02 [22:50:52]Write to MH i2c: E2 08 00 44 0F 80 0D 01 02 00 00 00 00 CC [22:50:52]Write i2c OK [22:50:52]MH_I2C_Read... [22:50:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:50:52]Read from MH i2c: E2 [22:50:52]MH_I2C_Read... [22:50:52]Read from MH i2c: E2 03 00 [22:50:52]MH_I2C_Read... [22:50:52]Read from MH i2c: E2 03 00 44 0F 00 90 00 C7 [22:50:52]RAPDU: 90 00 [22:50:52]wFMCommunicate OK [22:50:52]wFMCommunicate request_size=255 [22:50:52]MH_SAM_APDU [22:50:52]CAPDU: 80 0D 02 02 FA 03 00 0B 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 [22:50:52]Write to MH i2c: E2 02 01 45 0F 80 0D 02 02 FA 00 03 00 0B 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 00 00 A9 [22:50:52]Write i2c OK [22:50:52]MH_I2C_Read... [22:50:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:52]Read from MH i2c: E2 [22:50:52]MH_I2C_Read... [22:50:52]Read from MH i2c: E2 03 00 [22:50:52]MH_I2C_Read... [22:50:52]Read from MH i2c: E2 03 00 45 0F 00 90 00 C8 [22:50:52]RAPDU: 90 00 [22:50:52]wFMCommunicate OK [22:50:52]wFMCommunicate request_size=255 [22:50:52]MH_SAM_APDU [22:50:52]CAPDU: 80 0D 02 02 FA 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 5E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A3 00 00 00 F4 03 04 00 CD 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 [22:50:52]Write to MH i2c: E2 02 01 46 0F 80 0D 02 02 FA 00 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 5E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A3 00 00 00 F4 03 04 00 CD 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 00 00 D4 [22:50:52]Write i2c OK [22:50:52]MH_I2C_Read... [22:50:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:53]Read from MH i2c: E2 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: E2 03 00 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: E2 03 00 46 0F 00 90 00 C9 [22:50:53]RAPDU: 90 00 [22:50:53]wFMCommunicate OK [22:50:53]wFMCommunicate request_size=32 [22:50:53]MH_SAM_APDU [22:50:53]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 35 38 10 04 04 00 58 0B 01 00 35 04 06 00 B8 F0 32 03 B4 94 [22:50:53]Write to MH i2c: E2 23 00 47 0F 80 0D 02 02 1B 00 30 30 30 38 37 31 37 35 38 10 04 04 00 58 0B 01 00 35 04 06 00 B8 F0 32 03 B4 94 00 00 BA [22:50:53]Write i2c OK [22:50:53]MH_I2C_Read... [22:50:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:53]Read from MH i2c: E2 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: E2 03 00 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: E2 03 00 47 0F 00 90 00 CA [22:50:53]RAPDU: 90 00 [22:50:53]wFMCommunicate OK [22:50:53]wFMCommunicate request_size=4 [22:50:53]MH_SAM_APDU [22:50:53]CAPDU: 80 0D 03 02 [22:50:53]Write to MH i2c: E2 08 00 48 0F 80 0D 03 02 00 00 00 00 D2 [22:50:53]Write i2c OK [22:50:53]MH_I2C_Read... [22:50:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:50:53]Read from MH i2c: E2 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: E2 0B 00 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: E2 0B 00 48 0F 00 F2 6F B6 51 C2 DA BC E8 90 00 7B [22:50:53]RAPDU: F2 6F B6 51 C2 DA BC E8 90 00 [22:50:53]wFMCommunicate OK [22:50:53]SAM_PROTO_SignData done [22:50:53]FM_MakeSignedData done [22:50:53]CreateOFDProtocolMessage [22:50:53]wFMCommunicate request_size=4 [22:50:53]MH_SAM_APDU [22:50:53]CAPDU: 80 11 00 00 [22:50:53]Write to MH i2c: E2 08 00 49 0F 80 11 00 00 00 00 00 00 D2 [22:50:53]Write i2c OK [22:50:53]MH_I2C_Read... [22:50:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:50:53]Read from MH i2c: E2 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: E2 17 00 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: E2 17 00 49 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 29 [22:50:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:50:53]wFMCommunicate OK [22:50:53]CreateOFDProtocolMessage done [22:50:53]OFDSenderStorePacket 68440 [22:50:53]StoreOFDPacket docnum=68440 [22:50:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 1F 02 00 00 40 D6 17 02 3A 25 5A 03 01 00 03 00 0B 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 5E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A3 00 00 00 F4 03 04 00 CD 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 58 0B 01 00 35 04 06 00 B8 F0 32 03 B4 94 F2 6F B6 51 C2 DA BC E8 [22:50:53]CheckFolder [22:50:53]dirname=/storage/ofd_packets [22:50:53]CheckFolder done [22:50:53]ProducePacketName [22:50:53]name=ofd_packets/00068440 [22:50:53]NVStorageSaveData ofd_packets/00068440 [22:50:53]File name is /storage/ofd_packets/00068440 [22:50:53]Write 573 bytes [22:50:53]NVStorageSaveData done [22:50:53]OFDSenderStorePacket done [22:50:53]KKMCreateOFDPacket done [22:50:53]NVStorageSaveData kkm_last_timestamp [22:50:53]File name is /storage/kkm_last_timestamp [22:50:53]Write 4 bytes [22:50:53]NVStorageSaveData done [22:50:53]ExternCall_PrintAddStr [22:50:53]wPrintStart [22:50:53]Write to MH i2c: 01 00 00 4A 0F 59 [22:50:53]Write i2c OK [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: 01 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: 01 07 00 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: 01 07 00 4A 0F 00 00 00 00 00 FF 0F 6E [22:50:53]RasterBufferAndPrint [22:50:53]line Счет N : (3)17259 [22:50:53]line ИНН: 02508201610067 [22:50:53]line Контрольно-Кассовый Чек [22:50:53]line ПРОДАЖА [22:50:53]line Товар: 4700000310043 [22:50:53]line Вода Жалалабат 27 1л [22:50:53]line 1.000 * 79.00 [22:50:53]line = 79.00 [22:50:53]line НДС 12% НСП 1% [22:50:53]line > о реализуемом товаре [22:50:53]line Товар: 4700003010056 [22:50:53]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [22:50:53]line 1.000 * 95.00 [22:50:53]line = 95.00 [22:50:53]line НДС 12% НСП 1% [22:50:53]line > о реализуемом товаре [22:50:53]line Товар: 4600682557456 [22:50:53]line Напиток FLash up energy эн ж/б 0,5/0,45л [22:50:53]line 1.000 * 69.00 [22:50:53]line = 69.00 [22:50:53]line НДС 12% НСП 1% [22:50:53]line > о реализуемом товаре [22:50:53]line ИТОГО: 243.00 [22:50:53]line НСП 1% : 2.15 [22:50:53]line НДС 12% : 25.81 [22:50:53]line Наличными: 0.00 [22:50:53]line Безнал.: 243.00 [22:50:53]line Место: АЗС № 160 "Партнер Нефть" [22:50:53]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:50:53]line СНО: Общий режим [22:50:53]line Чек 163 29.10.2024 22:50 [22:50:53]line Смена: 548 ФФД: 1.0 [22:50:53]line ЗНМ: 0300000093 [22:50:53]line РНМ: 0000000000091759 [22:50:53]line Версия ККМ: 001 [22:50:53]line Платежная система: Mbank [22:50:53]line ФМ: 0000000000871758 [22:50:53]line ФД: 68440 [22:50:53]line ФПД: 203341770765460 [22:50:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T225053&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68440&fm=203341770765460&tin=02508201610067®Number=0000000000091759&sum=24300 [22:50:53]line 0 [22:50:53]written 0, free lines is 4095 [22:50:53]OFD Sender: Processing packet 68440 [packets to send 28, broken 27] [22:50:53]ProducePacketName [22:50:53]name=ofd_packets/00068440 [22:50:53]OFD Sender: To server: pG, [22:50:53]CommunicateWithHost lk.salyk.kg:30040 [22:50:53]ConnectInit lk.salyk.kg [22:50:53]Connected sock=10 [22:50:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 1F 02 00 00 40 D6 17 02 3A 25 5A 03 01 00 03 00 0B 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 5E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A3 00 00 00 F4 03 04 00 CD 66 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 58 0B 01 00 35 04 06 00 B8 F0 32 03 B4 94 F2 6F B6 51 C2 DA BC E8 [22:50:53]Write to MH i2c: 01 00 00 80 0F 8F [22:50:53]Write i2c OK [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: 01 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: 01 07 00 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: 01 07 00 80 0F 00 00 00 00 00 EE 0B 8F [22:50:53]RasterBufferAndPrint [22:50:53]line [22:50:53]line [22:50:53]line [22:50:53]line [22:50:53]line [22:50:53]written 0, free lines is 3060 [22:50:53]MH_Cut [22:50:53]Write to MH i2c: D1 01 00 87 0F 01 68 [22:50:53]Write i2c OK [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: D1 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: D1 01 00 [22:50:53]MH_I2C_Read... [22:50:53]Read from MH i2c: D1 01 00 87 0F 00 67 [22:50:53]Write to MH i2c: 01 00 00 88 0F 97 [22:50:53]Write i2c OK [22:50:53]MH_I2C_Read... [22:50:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 56 92 47 00 05 A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 58 0B 01 00 F4 03 04 00 75 12 21 67 B6 04 01 00 00 31 CA 78 2D DE 9C 2C 65 [22:50:54]CommunicateWithHost err = 0 [22:50:54]CheckOFDResponse [22:50:54]1017 (14) - 77093643461234 [22:50:54]1041 (16) - 0000000000871758 [22:50:54]1040 (4) - 68440 [22:50:54]1012 (4) - 29.10.2024 16:51 [22:50:54]1206 (1) - 0 [22:50:54]OFD Sender: Remove packet 68440 [22:50:54]ProducePacketName [22:50:54]name=ofd_packets/00068440 [22:50:54]NVStorageDeleteData [22:50:54]OFD Sender: No OFD packet to send [22:50:54]*** Cut start [22:50:54]*** Partial cut [22:50:54]*** CUTSNS_PIN = 1 [22:50:55]*** CUTSNS_PIN = 0 [22:50:55]*** Brake cut motor [22:50:55]Read from MH i2c: 01 [22:50:55]MH_I2C_Read... [22:50:55]*** Stop cut motor [22:50:55]*** Cut end [22:50:55]Read from MH i2c: 01 07 00 [22:50:55]MH_I2C_Read... [22:50:55]Read from MH i2c: 01 07 00 88 0F 00 00 00 00 00 FF 0F AC [22:50:55]process_action close_receipt done [22:50:55]requested_data is exist [22:50:55]produce_requested_data [22:50:55]requested_item fm.sn is exist - process it [22:50:55]wFMCommunicate request_size=4 [22:50:55]MH_SAM_APDU [22:50:55]CAPDU: 80 11 00 00 [22:50:55]Write to MH i2c: E2 08 00 89 0F 80 11 00 00 00 00 00 00 12 [22:50:55]Write i2c OK [22:50:55]MH_I2C_Read... [22:50:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:50:55]Read from MH i2c: E2 [22:50:55]MH_I2C_Read... [22:50:55]Read from MH i2c: E2 17 00 [22:50:55]MH_I2C_Read... [22:50:55]Read from MH i2c: E2 17 00 89 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 69 [22:50:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:50:55]wFMCommunicate OK [22:50:55]requested_item fd.num is exist - process it [22:50:55]SAM_PROTO_GetFieldsCounters [22:50:55]wFMCommunicate request_size=4 [22:50:55]MH_SAM_APDU [22:50:55]CAPDU: 80 13 00 00 [22:50:55]Write to MH i2c: E2 08 00 8A 0F 80 13 00 00 00 00 00 00 15 [22:50:55]Write i2c OK [22:50:55]MH_I2C_Read... [22:50:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:50:55]Read from MH i2c: E2 [22:50:55]MH_I2C_Read... [22:50:55]Read from MH i2c: E2 62 00 [22:50:55]MH_I2C_Read... [22:50:55]Read from MH i2c: E2 62 00 8A 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 58 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A3 00 00 00 5E 04 04 00 A3 00 00 00 57 04 04 00 A4 00 00 00 19 04 04 00 00 00 00 00 90 00 B3 [22:50:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 58 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A3 00 00 00 5E 04 04 00 A3 00 00 00 57 04 04 00 A4 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:50:55]wFMCommunicate OK [22:50:55]SAM_PROTO_GetFieldsCounters done [22:50:55]requested_item shift.num is exist - process it [22:50:55]requested_item shift.opened is exist - process it [22:50:55]req_shift_opened [22:50:55]FM_GetShiftState [22:50:55]SAM_PROTO_GetShiftState [22:50:55]wFMCommunicate request_size=4 [22:50:55]MH_SAM_APDU [22:50:55]CAPDU: 80 13 01 00 [22:50:55]Write to MH i2c: E2 08 00 8B 0F 80 13 01 00 00 00 00 00 17 [22:50:55]Write i2c OK [22:50:55]MH_I2C_Read... [22:50:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:50:55]Read from MH i2c: E2 [22:50:55]MH_I2C_Read... [22:50:55]Read from MH i2c: E2 0E 00 [22:50:55]MH_I2C_Read... [22:50:55]Read from MH i2c: E2 0E 00 8B 0F 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 C7 [22:50:55]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:50:55]wFMCommunicate OK [22:50:55]SAM_PROTO_GetShiftState done [22:50:55]FM_GetShiftState done [22:50:55]req_shift_opened done [22:50:55]requested_item shift.open_date is exist - process it [22:50:55]req_shift_open_date [22:50:55]req_shift_open_date done [22:50:55]produce_requested_data done [22:50:55]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68440,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:50:55]process_action_free close_receipt [22:50:55]json_value_free [22:50:55]json_value_free done [22:50:55]process_json_proto returns [22:50:55]Send response to host [22:50:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68440,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:50:55]free response buf [22:50:55]execute_script done [22:50:55]execute_script returns [22:50:55]free content buf [22:50:55]Sock 8.Close socket [22:50:55]Sock 8.Thread stoped [22:50:59]OFD Sender: No OFD packet to send [22:51:04]OFD Sender: No OFD packet to send [22:51:09]OFD Sender: No OFD packet to send [22:51:14]OFD Sender: No OFD packet to send [22:51:19]OFD Sender: No OFD packet to send [22:51:24]OFD Sender: No OFD packet to send [22:51:29]OFD Sender: No OFD packet to send [22:51:34]OFD Sender: No OFD packet to send [22:51:39]OFD Sender: No OFD packet to send [22:51:44]OFD Sender: No OFD packet to send [22:51:45]int [22:51:45]Write to MH i2c: 01 00 00 8C 0F 9B [22:51:45]*** FLAG_PRN_KEY set [22:51:45]Write i2c OK [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: 01 [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: 01 07 00 [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: 01 07 00 8C 0F 00 08 00 00 00 FF 0F B8 [22:51:45]state=0 [22:51:45]Key pressed [22:51:45]Feed [22:51:45]Write to MH i2c: D8 00 00 8D 0F 73 [22:51:45]Write i2c OK [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: D8 [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: D8 01 00 [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: D8 01 00 8D 0F 00 74 [22:51:45]int [22:51:45]Write to MH i2c: 01 00 00 8E 0F 9D [22:51:45]Write i2c OK [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: 01 [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: 01 07 00 [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: 01 07 00 8E 0F 00 48 00 00 00 3C 00 28 [22:51:45]state=2 [22:51:45]Key pressed [22:51:45]int [22:51:45]Write to MH i2c: 01 00 00 8F 0F 9E [22:51:45]*** FLAG_PRN_KEY reset [22:51:45]Write i2c OK [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: 01 [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: 01 07 00 [22:51:45]MH_I2C_Read... [22:51:45]Read from MH i2c: 01 07 00 8F 0F 00 00 00 00 00 FF 0F B3 [22:51:45]state=2 [22:51:45]Stop feed [22:51:49]OFD Sender: No OFD packet to send [22:51:54]OFD Sender: No OFD packet to send [22:51:59]OFD Sender: No OFD packet to send [22:52:04]OFD Sender: No OFD packet to send [22:52:09]OFD Sender: No OFD packet to send [22:52:14]OFD Sender: No OFD packet to send [22:52:19]OFD Sender: No OFD packet to send [22:52:24]OFD Sender: No OFD packet to send [22:52:29]OFD Sender: No OFD packet to send [22:52:34]OFD Sender: No OFD packet to send [22:52:39]OFD Sender: No OFD packet to send [22:52:44]OFD Sender: No OFD packet to send [22:52:49]OFD Sender: No OFD packet to send [22:52:54]OFD Sender: No OFD packet to send [22:52:59]OFD Sender: No OFD packet to send [22:53:04]OFD Sender: No OFD packet to send [22:53:09]OFD Sender: No OFD packet to send [22:53:14]OFD Sender: No OFD packet to send [22:53:19]OFD Sender: No OFD packet to send [22:53:24]OFD Sender: No OFD packet to send [22:53:29]OFD Sender: No OFD packet to send [22:53:34]OFD Sender: No OFD packet to send [22:53:39]OFD Sender: No OFD packet to send [22:53:44]OFD Sender: No OFD packet to send [22:53:49]OFD Sender: No OFD packet to send [22:53:54]OFD Sender: No OFD packet to send [22:53:59]OFD Sender: No OFD packet to send [22:54:04]OFD Sender: No OFD packet to send [22:54:09]OFD Sender: No OFD packet to send [22:54:14]OFD Sender: No OFD packet to send [22:54:19]OFD Sender: No OFD packet to send [22:54:24]OFD Sender: No OFD packet to send [22:54:24]accept exits with 9 [22:54:24]New connection [22:54:24]New thread 3066715492 created [22:54:24]Thread 3066858852 joined [22:54:24]Waiting for new connection... [22:54:24] Sock 9.Parse request [22:54:24]Sock 9.Check first char [22:54:24]Sock 9.First char is OK [22:54:24]request: POST /json_proto HTTP/1.0 [22:54:24]Method: POST [22:54:24]URL: /json_proto [22:54:24]Method is POST - this is cgi request [22:54:24]url: /json_proto [22:54:24]query_string will be loaded in cgi processing [22:54:24]execute_cgi json_proto POST (null) [22:54:24]execute_cgi path=json_proto method=POST [22:54:24]POST find Content-Length [22:54:24]Host: 172.17.42.3:8080 [22:54:24]Content-Length: 1202 [22:54:24]Content-Type: application/json [22:54:24] [22:54:24]POST finish read [22:54:24]Found Content-Length = 1202 [22:54:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17260", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:54:24]execute_script... [22:54:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17260", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:54:24]POST & json_proto [22:54:24]process_json_proto [22:54:24]json parsed OK: [22:54:24]protocol is kg_v1.0 [22:54:24]action value=close_receipt [22:54:24]process_action close_receipt [22:54:24]cmd_close_receipt [22:54:24]MH_GetDate [22:54:24]Write to MH i2c: F0 00 00 90 0F 8E [22:54:24]Write i2c OK [22:54:24]MH_I2C_Read... [22:54:24]Read from MH i2c: F0 [22:54:24]MH_I2C_Read... [22:54:24]Read from MH i2c: F0 09 00 [22:54:24]MH_I2C_Read... [22:54:24]Read from MH i2c: F0 09 00 90 0F 00 A3 67 21 67 28 A1 20 67 79 [22:54:24]GetLastDocTimeStamp 1730242253 [22:54:24]current date 1730242467 [22:54:24]FM_GetShiftState [22:54:24]SAM_PROTO_GetShiftState [22:54:24]wFMCommunicate request_size=4 [22:54:24]MH_SAM_APDU [22:54:24]CAPDU: 80 13 01 00 [22:54:24]Write to MH i2c: E2 08 00 91 0F 80 13 01 00 00 00 00 00 1D [22:54:24]Write i2c OK [22:54:24]MH_I2C_Read... [22:54:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:54:25]Read from MH i2c: E2 [22:54:25]MH_I2C_Read... [22:54:25]Read from MH i2c: E2 0E 00 [22:54:25]MH_I2C_Read... [22:54:25]Read from MH i2c: E2 0E 00 91 0F 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 CD [22:54:25]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:54:25]wFMCommunicate OK [22:54:25]SAM_PROTO_GetShiftState done [22:54:25]FM_GetShiftState done [22:54:25]opened in 1730160885 [22:54:25]opened+sec_in_day 1730247285 [22:54:25]quantity*price = 17000 [22:54:25]sum+1 = 17001 [22:54:25]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 350.00 НСП 1% : 3.09 НДС 12% : 37.16 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 164 29.10.2024 22:54 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68441 ФПД: 14203623904628 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T225427&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68441&fm=14203623904628&tin=02508201610067®Number=0000000000091759&sum=35000 0 [22:54:26]StoreToDocumentArchive [22:54:26]shift 548 fd 68441 [22:54:26]save to /storage/0548/doc_00068441 [22:54:26]save last doc name /storage/0548/doc_00068441 to /storage/kkm_last_doc_name [22:54:26]save OK [22:54:26]Clear old archive folders... [22:54:26]ProcessDocumentItem done err = 0, tmpTLVsize=505 [22:54:26]tlvbuf is 01DD7980 [22:54:26]SAM_PROTO_ClearQueue [22:54:26]wFMCommunicate request_size=4 [22:54:26]MH_SAM_APDU [22:54:26]CAPDU: 80 09 00 00 [22:54:26]Write to MH i2c: E2 08 00 9E 0F 80 09 00 00 00 00 00 00 1F [22:54:26]Write i2c OK [22:54:26]MH_I2C_Read... [22:54:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:54:26]Read from MH i2c: E2 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 9E 0F 00 90 00 21 [22:54:26]RAPDU: 90 00 [22:54:26]wFMCommunicate OK [22:54:26]SAM_PROTO_ClearQueue done [22:54:26]KKMCreateOFDPacket [22:54:26]OFDProtocolAddRootSTLVToBuf [22:54:26]FM_MakeSignedData [22:54:26]FM_MakeSignedData [22:54:26]SAM_PROTO_SignData [22:54:26]wFMCommunicate request_size=4 [22:54:26]MH_SAM_APDU [22:54:26]CAPDU: 80 0D 01 02 [22:54:26]Write to MH i2c: E2 08 00 9F 0F 80 0D 01 02 00 00 00 00 27 [22:54:26]Write i2c OK [22:54:26]MH_I2C_Read... [22:54:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:54:26]Read from MH i2c: E2 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 9F 0F 00 90 00 22 [22:54:26]RAPDU: 90 00 [22:54:26]wFMCommunicate OK [22:54:26]wFMCommunicate request_size=255 [22:54:26]MH_SAM_APDU [22:54:26]CAPDU: 80 0D 02 02 FA 03 00 F9 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D [22:54:26]Write to MH i2c: E2 02 01 A0 0F 80 0D 02 02 FA 00 03 00 F9 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 00 DC [22:54:26]Write i2c OK [22:54:26]MH_I2C_Read... [22:54:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:54:26]Read from MH i2c: E2 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 [22:54:26]MH_I2C_Read... [22:54:26]Read from MH i2c: E2 03 00 A0 0F 00 90 00 23 [22:54:26]RAPDU: 90 00 [22:54:26]wFMCommunicate OK [22:54:26]wFMCommunicate request_size=255 [22:54:26]MH_SAM_APDU [22:54:26]CAPDU: 80 0D 02 02 FA 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 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 A4 00 00 00 F4 03 04 00 A3 67 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 59 0B 01 00 35 [22:54:26]Write to MH i2c: E2 02 01 A1 0F 80 0D 02 02 FA 00 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 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 A4 00 00 00 F4 03 04 00 A3 67 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 59 0B 01 00 35 00 00 0B [22:54:26]Write i2c OK [22:54:26]MH_I2C_Read... [22:54:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:54:27]Read from MH i2c: E2 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 03 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 03 00 A1 0F 00 90 00 24 [22:54:27]RAPDU: 90 00 [22:54:27]wFMCommunicate OK [22:54:27]wFMCommunicate request_size=14 [22:54:27]MH_SAM_APDU [22:54:27]CAPDU: 80 0D 02 02 09 04 06 00 0C EB 09 F5 15 74 [22:54:27]Write to MH i2c: E2 11 00 A2 0F 80 0D 02 02 09 00 04 06 00 0C EB 09 F5 15 74 00 00 C5 [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:54:27]Read from MH i2c: E2 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 03 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 03 00 A2 0F 00 90 00 25 [22:54:27]RAPDU: 90 00 [22:54:27]wFMCommunicate OK [22:54:27]wFMCommunicate request_size=4 [22:54:27]MH_SAM_APDU [22:54:27]CAPDU: 80 0D 03 02 [22:54:27]Write to MH i2c: E2 08 00 A3 0F 80 0D 03 02 00 00 00 00 2D [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:54:27]Read from MH i2c: E2 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 0B 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 0B 00 A3 0F 00 B2 92 D4 F5 E8 BD 07 B7 90 00 9E [22:54:27]RAPDU: B2 92 D4 F5 E8 BD 07 B7 90 00 [22:54:27]wFMCommunicate OK [22:54:27]SAM_PROTO_SignData done [22:54:27]FM_MakeSignedData done [22:54:27]CreateOFDProtocolMessage [22:54:27]wFMCommunicate request_size=4 [22:54:27]MH_SAM_APDU [22:54:27]CAPDU: 80 11 00 00 [22:54:27]Write to MH i2c: E2 08 00 A4 0F 80 11 00 00 00 00 00 00 2D [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:54:27]Read from MH i2c: E2 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 17 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: E2 17 00 A4 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 84 [22:54:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:54:27]wFMCommunicate OK [22:54:27]CreateOFDProtocolMessage done [22:54:27]OFDSenderStorePacket 68441 [22:54:27]StoreOFDPacket docnum=68441 [22:54:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 02 00 00 DE CC 05 02 18 11 5A 03 01 00 03 00 F9 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 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 A4 00 00 00 F4 03 04 00 A3 67 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 59 0B 01 00 35 04 06 00 0C EB 09 F5 15 74 B2 92 D4 F5 E8 BD 07 B7 [22:54:27]CheckFolder [22:54:27]dirname=/storage/ofd_packets [22:54:27]CheckFolder done [22:54:27]ProducePacketName [22:54:27]name=ofd_packets/00068441 [22:54:27]NVStorageSaveData ofd_packets/00068441 [22:54:27]File name is /storage/ofd_packets/00068441 [22:54:27]Write 555 bytes [22:54:27]NVStorageSaveData done [22:54:27]OFDSenderStorePacket done [22:54:27]KKMCreateOFDPacket done [22:54:27]NVStorageSaveData kkm_last_timestamp [22:54:27]File name is /storage/kkm_last_timestamp [22:54:27]Write 4 bytes [22:54:27]NVStorageSaveData done [22:54:27]ExternCall_PrintAddStr [22:54:27]wPrintStart [22:54:27]Write to MH i2c: 01 00 00 A5 0F B4 [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: 01 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: 01 07 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: 01 07 00 A5 0F 00 00 00 00 00 FF 0F C9 [22:54:27]RasterBufferAndPrint [22:54:27]line Счет N : (3)17260 [22:54:27]line ИНН: 02508201610067 [22:54:27]line Контрольно-Кассовый Чек [22:54:27]line ПРОДАЖА [22:54:27]line Товар: 5449000176448 [22:54:27]line Сок Piko Pulpy апельсин ПЭТ 1л [22:54:27]line 1.000 * 170.00 [22:54:27]line = 170.00 [22:54:27]line НДС 12% НСП 1% [22:54:27]line > о реализуемом товаре [22:54:27]line Товар: 5449000189332 [22:54:27]line Холодный чай Fuse персик 1л [22:54:27]line 1.000 * 120.00 [22:54:27]line = 120.00 [22:54:27]line НДС 12% НСП 1% [22:54:27]line > о реализуемом товаре [22:54:27]line Товар: 4700000160204 [22:54:27]line Вода Легенда 1,5л [22:54:27]line 1.000 * 60.00 [22:54:27]line = 60.00 [22:54:27]line НДС 12% НСП 1% [22:54:27]line > о реализуемом товаре [22:54:27]line ИТОГО: 350.00 [22:54:27]line НСП 1% : 3.09 [22:54:27]line НДС 12% : 37.16 [22:54:27]line Наличными: 350.00 [22:54:27]line Безнал.: 0.00 [22:54:27]line Место: АЗС № 160 "Партнер Нефть" [22:54:27]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:54:27]line СНО: Общий режим [22:54:27]line Чек 164 29.10.2024 22:54 [22:54:27]line Смена: 548 ФФД: 1.0 [22:54:27]line ЗНМ: 0300000093 [22:54:27]line РНМ: 0000000000091759 [22:54:27]line Версия ККМ: 001 [22:54:27]line ФМ: 0000000000871758 [22:54:27]line ФД: 68441 [22:54:27]line ФПД: 14203623904628 [22:54:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T225427&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68441&fm=14203623904628&tin=02508201610067®Number=0000000000091759&sum=35000 [22:54:27]line 0 [22:54:27]written 0, free lines is 4095 [22:54:27]OFD Sender: Processing packet 68441 [packets to send 28, broken 27] [22:54:27]ProducePacketName [22:54:27]name=ofd_packets/00068441 [22:54:27]OFD Sender: To server: pG, [22:54:27]CommunicateWithHost lk.salyk.kg:30040 [22:54:27]ConnectInit lk.salyk.kg [22:54:27]Connected sock=10 [22:54:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 02 00 00 DE CC 05 02 18 11 5A 03 01 00 03 00 F9 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 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 A4 00 00 00 F4 03 04 00 A3 67 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 59 0B 01 00 35 04 06 00 0C EB 09 F5 15 74 B2 92 D4 F5 E8 BD 07 B7 [22:54:27]Write to MH i2c: 01 00 00 D9 0F E8 [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: 01 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: 01 07 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: 01 07 00 D9 0F 00 00 00 00 00 10 0C 0B [22:54:27]RasterBufferAndPrint [22:54:27]line [22:54:27]line [22:54:27]line [22:54:27]line [22:54:27]line [22:54:27]written 0, free lines is 3094 [22:54:27]MH_Cut [22:54:27]Write to MH i2c: D1 01 00 E0 0F 01 C1 [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: D1 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: D1 01 00 [22:54:27]MH_I2C_Read... [22:54:27]Read from MH i2c: D1 01 00 E0 0F 00 C0 [22:54:27]Write to MH i2c: 01 00 00 E1 0F F0 [22:54:27]Write i2c OK [22:54:27]MH_I2C_Read... [22:54:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 72 4C 47 00 28 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 59 0B 01 00 F4 03 04 00 4A 13 21 67 B6 04 01 00 00 28 F0 75 9C A5 F6 F8 31 [22:54:27]CommunicateWithHost err = 0 [22:54:27]CheckOFDResponse [22:54:27]1017 (14) - 77093643461234 [22:54:27]1041 (16) - 0000000000871758 [22:54:27]1040 (4) - 68441 [22:54:27]1012 (4) - 29.10.2024 16:54 [22:54:27]1206 (1) - 0 [22:54:27]OFD Sender: Remove packet 68441 [22:54:27]ProducePacketName [22:54:27]name=ofd_packets/00068441 [22:54:27]NVStorageDeleteData [22:54:28]OFD Sender: No OFD packet to send [22:54:28]*** Cut start [22:54:28]*** Partial cut [22:54:28]*** CUTSNS_PIN = 1 [22:54:28]*** CUTSNS_PIN = 0 [22:54:29]*** Brake cut motor [22:54:29]Read from MH i2c: 01 [22:54:29]MH_I2C_Read... [22:54:29]*** Stop cut motor [22:54:29]*** Cut end [22:54:29]Read from MH i2c: 01 07 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 E1 0F 00 00 00 00 00 FF 0F 05 [22:54:29]process_action close_receipt done [22:54:29]requested_data is exist [22:54:29]produce_requested_data [22:54:29]requested_item fm.sn is exist - process it [22:54:29]wFMCommunicate request_size=4 [22:54:29]MH_SAM_APDU [22:54:29]CAPDU: 80 11 00 00 [22:54:29]Write to MH i2c: E2 08 00 E2 0F 80 11 00 00 00 00 00 00 6B [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:54:29]Read from MH i2c: E2 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 17 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 17 00 E2 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C2 [22:54:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:54:29]wFMCommunicate OK [22:54:29]requested_item fd.num is exist - process it [22:54:29]SAM_PROTO_GetFieldsCounters [22:54:29]wFMCommunicate request_size=4 [22:54:29]MH_SAM_APDU [22:54:29]CAPDU: 80 13 00 00 [22:54:29]Write to MH i2c: E2 08 00 E3 0F 80 13 00 00 00 00 00 00 6E [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:54:29]Read from MH i2c: E2 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 62 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 62 00 E3 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 59 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A4 00 00 00 5E 04 04 00 A4 00 00 00 57 04 04 00 A5 00 00 00 19 04 04 00 00 00 00 00 90 00 10 [22:54:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 59 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A4 00 00 00 5E 04 04 00 A4 00 00 00 57 04 04 00 A5 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:54:29]wFMCommunicate OK [22:54:29]SAM_PROTO_GetFieldsCounters done [22:54:29]requested_item shift.num is exist - process it [22:54:29]requested_item shift.opened is exist - process it [22:54:29]req_shift_opened [22:54:29]FM_GetShiftState [22:54:29]SAM_PROTO_GetShiftState [22:54:29]wFMCommunicate request_size=4 [22:54:29]MH_SAM_APDU [22:54:29]CAPDU: 80 13 01 00 [22:54:29]Write to MH i2c: E2 08 00 E4 0F 80 13 01 00 00 00 00 00 70 [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:54:29]*** FLAG_PRN_KEY set [22:54:29]int [22:54:29]Read from MH i2c: E2 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 0E 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: E2 0E 00 E4 0F 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 20 [22:54:29]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:54:29]wFMCommunicate OK [22:54:29]SAM_PROTO_GetShiftState done [22:54:29]FM_GetShiftState done [22:54:29]req_shift_opened done [22:54:29]requested_item shift.open_date is exist - process it [22:54:29]req_shift_open_date [22:54:29]req_shift_open_date done [22:54:29]produce_requested_data done [22:54:29]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68441,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:54:29]process_action_free close_receipt [22:54:29]json_value_free [22:54:29]json_value_free done [22:54:29]process_json_proto returns [22:54:29]Send response to host [22:54:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68441,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:54:29]free response buf [22:54:29]execute_script done [22:54:29]execute_script returns [22:54:29]free content buf [22:54:29]Sock 9.Close socket [22:54:29]Sock 9.Thread stoped [22:54:29]Write to MH i2c: 01 00 00 E5 0F F4 [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 E5 0F 00 08 00 00 00 FF 0F 11 [22:54:29]state=0 [22:54:29]Key pressed [22:54:29]Feed [22:54:29]Write to MH i2c: D8 00 00 E6 0F CC [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: D8 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: D8 01 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: D8 01 00 E6 0F 00 CD [22:54:29]int [22:54:29]Write to MH i2c: 01 00 00 E7 0F F6 [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 E7 0F 00 48 00 00 00 3C 00 81 [22:54:29]state=2 [22:54:29]Key pressed [22:54:29]int line is 0 - check status [22:54:29]Write to MH i2c: 01 00 00 E8 0F F7 [22:54:29]*** FLAG_PRN_KEY reset [22:54:29]*** FLAG_PRN_KEY set [22:54:29]*** FLAG_PRN_KEY reset [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 E8 0F 00 00 00 00 00 F6 0F 03 [22:54:29]state=2 [22:54:29]Stop feed [22:54:29]int [22:54:29]Write to MH i2c: 01 00 00 E9 0F F8 [22:54:29]Write i2c OK [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 [22:54:29]MH_I2C_Read... [22:54:29]Read from MH i2c: 01 07 00 E9 0F 00 00 00 00 00 F8 0F 06 [22:54:29]state=0 [22:54:30]accept exits with 8 [22:54:30]New connection [22:54:30]New thread 3066858852 created [22:54:30]Thread 3066715492 joined [22:54:30]Waiting for new connection... [22:54:30] Sock 8.Parse request [22:54:30]Sock 8.Check first char [22:54:30]Sock 8.First char is OK [22:54:30]request: POST /json_proto HTTP/1.0 [22:54:30]Method: POST [22:54:30]URL: /json_proto [22:54:30]Method is POST - this is cgi request [22:54:30]url: /json_proto [22:54:30]query_string will be loaded in cgi processing [22:54:30]execute_cgi json_proto POST (null) [22:54:30]execute_cgi path=json_proto method=POST [22:54:30]POST find Content-Length [22:54:30]Host: 172.17.42.3:8080 [22:54:30]Content-Length: 678 [22:54:30]Content-Type: application/json [22:54:30] [22:54:30]POST finish read [22:54:30]Found Content-Length = 678 [22:54:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46423", "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" : 26.250, "sum" : 2000.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:54:30]execute_script... [22:54:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46423", "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" : 26.250, "sum" : 2000.25, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:54:30]POST & json_proto [22:54:30]process_json_proto [22:54:30]json parsed OK: [22:54:30]protocol is kg_v1.0 [22:54:30]action value=close_receipt [22:54:30]process_action close_receipt [22:54:30]cmd_close_receipt [22:54:30]MH_GetDate [22:54:30]Write to MH i2c: F0 00 00 EA 0F E8 [22:54:30]Write i2c OK [22:54:30]MH_I2C_Read... [22:54:30]Read from MH i2c: F0 [22:54:30]MH_I2C_Read... [22:54:30]Read from MH i2c: F0 09 00 [22:54:30]MH_I2C_Read... [22:54:30]Read from MH i2c: F0 09 00 EA 0F 00 A8 67 21 67 28 A1 20 67 D8 [22:54:30]GetLastDocTimeStamp 1730242467 [22:54:30]current date 1730242472 [22:54:30]FM_GetShiftState [22:54:30]SAM_PROTO_GetShiftState [22:54:30]wFMCommunicate request_size=4 [22:54:30]MH_SAM_APDU [22:54:30]CAPDU: 80 13 01 00 [22:54:30]Write to MH i2c: E2 08 00 EB 0F 80 13 01 00 00 00 00 00 77 [22:54:30]Write i2c OK [22:54:30]MH_I2C_Read... [22:54:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:54:30]Read from MH i2c: E2 [22:54:30]MH_I2C_Read... [22:54:30]Read from MH i2c: E2 0E 00 [22:54:30]MH_I2C_Read... [22:54:30]Read from MH i2c: E2 0E 00 EB 0F 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 27 [22:54:30]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:54:30]wFMCommunicate OK [22:54:30]SAM_PROTO_GetShiftState done [22:54:30]FM_GetShiftState done [22:54:30]opened in 1730160885 [22:54:30]opened+sec_in_day 1730247285 [22:54:30]quantity*price = 200025 [22:54:30]sum+1 = 200026 [22:54:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.25 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 165 29.10.2024 22:54 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68442 ФПД: 165046219898869 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T225432&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68442&fm=165046219898869&tin=02508201610067®Number=0000000000091759&sum=200000 [22:54:31]StoreToDocumentArchive [22:54:31]shift 548 fd 68442 [22:54:31]save to /storage/0548/doc_00068442 [22:54:31]save last doc name /storage/0548/doc_00068442 to /storage/kkm_last_doc_name [22:54:31]save OK [22:54:31]Clear old archive folders... [22:54:31]ProcessDocumentItem done err = 0, tmpTLVsize=248 [22:54:31]tlvbuf is 01E652A0 [22:54:31]SAM_PROTO_ClearQueue [22:54:31]wFMCommunicate request_size=4 [22:54:31]MH_SAM_APDU [22:54:31]CAPDU: 80 09 00 00 [22:54:31]Write to MH i2c: E2 08 00 F8 0F 80 09 00 00 00 00 00 00 79 [22:54:31]Write i2c OK [22:54:31]MH_I2C_Read... [22:54:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:54:31]Read from MH i2c: E2 [22:54:31]MH_I2C_Read... [22:54:31]Read from MH i2c: E2 03 00 [22:54:31]MH_I2C_Read... [22:54:31]Read from MH i2c: E2 03 00 F8 0F 00 90 00 7B [22:54:31]RAPDU: 90 00 [22:54:31]wFMCommunicate OK [22:54:31]SAM_PROTO_ClearQueue done [22:54:31]KKMCreateOFDPacket [22:54:31]OFDProtocolAddRootSTLVToBuf [22:54:31]FM_MakeSignedData [22:54:31]FM_MakeSignedData [22:54:31]SAM_PROTO_SignData [22:54:31]wFMCommunicate request_size=4 [22:54:31]MH_SAM_APDU [22:54:31]CAPDU: 80 0D 01 02 [22:54:31]Write to MH i2c: E2 08 00 F9 0F 80 0D 01 02 00 00 00 00 81 [22:54:31]Write i2c OK [22:54:31]MH_I2C_Read... [22:54:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:54:31]Read from MH i2c: E2 [22:54:31]MH_I2C_Read... [22:54:31]Read from MH i2c: E2 03 00 [22:54:31]MH_I2C_Read... [22:54:31]Read from MH i2c: E2 03 00 F9 0F 00 90 00 7C [22:54:31]RAPDU: 90 00 [22:54:31]wFMCommunicate OK [22:54:31]wFMCommunicate request_size=255 [22:54:31]MH_SAM_APDU [22:54:31]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A5 00 00 00 F4 03 04 00 A8 67 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5A 0B 01 00 35 04 06 00 96 1B D1 4E [22:54:31]Write to MH i2c: E2 02 01 FA 0F 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A5 00 00 00 F4 03 04 00 A8 67 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5A 0B 01 00 35 04 06 00 96 1B D1 4E 00 00 96 [22:54:31]Write i2c OK [22:54:31]MH_I2C_Read... [22:54:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:54:32]Read from MH i2c: E2 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: E2 03 00 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: E2 03 00 FA 0F 00 90 00 7D [22:54:32]RAPDU: 90 00 [22:54:32]wFMCommunicate OK [22:54:32]wFMCommunicate request_size=7 [22:54:32]MH_SAM_APDU [22:54:32]CAPDU: 80 0D 02 02 02 FF F5 [22:54:32]Write to MH i2c: E2 0A 00 FB 0F 80 0D 02 02 02 00 FF F5 00 00 7C [22:54:32]Write i2c OK [22:54:32]MH_I2C_Read... [22:54:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:54:32]Read from MH i2c: E2 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: E2 03 00 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: E2 03 00 FB 0F 00 90 00 7E [22:54:32]RAPDU: 90 00 [22:54:32]wFMCommunicate OK [22:54:32]wFMCommunicate request_size=4 [22:54:32]MH_SAM_APDU [22:54:32]CAPDU: 80 0D 03 02 [22:54:32]Write to MH i2c: E2 08 00 FC 0F 80 0D 03 02 00 00 00 00 86 [22:54:32]Write i2c OK [22:54:32]MH_I2C_Read... [22:54:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:54:32]Read from MH i2c: E2 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: E2 0B 00 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: E2 0B 00 FC 0F 00 7E 3A 9E 01 FD E1 97 A4 90 00 F7 [22:54:32]RAPDU: 7E 3A 9E 01 FD E1 97 A4 90 00 [22:54:32]wFMCommunicate OK [22:54:32]SAM_PROTO_SignData done [22:54:32]FM_MakeSignedData done [22:54:32]CreateOFDProtocolMessage [22:54:32]wFMCommunicate request_size=4 [22:54:32]MH_SAM_APDU [22:54:32]CAPDU: 80 11 00 00 [22:54:32]Write to MH i2c: E2 08 00 FD 0F 80 11 00 00 00 00 00 00 86 [22:54:32]Write i2c OK [22:54:32]MH_I2C_Read... [22:54:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:54:32]Read from MH i2c: E2 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: E2 17 00 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: E2 17 00 FD 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 DD [22:54:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:54:32]wFMCommunicate OK [22:54:32]CreateOFDProtocolMessage done [22:54:32]OFDSenderStorePacket 68442 [22:54:32]StoreOFDPacket docnum=68442 [22:54:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 2E 3D 04 01 1F F9 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A5 00 00 00 F4 03 04 00 A8 67 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5A 0B 01 00 35 04 06 00 96 1B D1 4E FF F5 7E 3A 9E 01 FD E1 97 A4 [22:54:32]CheckFolder [22:54:32]dirname=/storage/ofd_packets [22:54:32]CheckFolder done [22:54:32]ProducePacketName [22:54:32]name=ofd_packets/00068442 [22:54:32]NVStorageSaveData ofd_packets/00068442 [22:54:32]File name is /storage/ofd_packets/00068442 [22:54:32]Write 298 bytes [22:54:32]NVStorageSaveData done [22:54:32]OFDSenderStorePacket done [22:54:32]KKMCreateOFDPacket done [22:54:32]NVStorageSaveData kkm_last_timestamp [22:54:32]File name is /storage/kkm_last_timestamp [22:54:32]Write 4 bytes [22:54:32]NVStorageSaveData done [22:54:32]ExternCall_PrintAddStr [22:54:32]wPrintStart [22:54:32]Write to MH i2c: 01 00 00 FE 0F 0D [22:54:32]Write i2c OK [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: 01 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: 01 07 00 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: 01 07 00 FE 0F 00 00 00 00 00 FF 0F 22 [22:54:32]RasterBufferAndPrint [22:54:32]line Счет N : (1)46423 [22:54:32]line ИНН: 02508201610067 [22:54:32]line Контрольно-Кассовый Чек [22:54:32]line ПРОДАЖА [22:54:32]line ТРК (МРК, ГНК) : 31 [22:54:32]line Товар: 2710194210 [22:54:32]line ДТ-К-5 [22:54:32]line 26.250 * 76.20 [22:54:32]line = 2000.25 [22:54:32]line НДС 12% НСП 1% [22:54:32]line > о реализуемом товаре [22:54:32]line ОКРУГЛЕНИЕ: -0.25 [22:54:32]line ИТОГО: 2000.00 [22:54:32]line Внесено: 2000.00 [22:54:32]line СДАЧА: 0.00 [22:54:32]line НСП 1% : 17.70 [22:54:32]line НДС 12% : 212.42 [22:54:32]line Наличными: 2000.00 [22:54:32]line Безнал.: 0.00 [22:54:32]line Место: АЗС № 160 "Партнер Нефть" [22:54:32]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:54:32]line СНО: Общий режим [22:54:32]line Чек 165 29.10.2024 22:54 [22:54:32]line Смена: 548 ФФД: 1.0 [22:54:32]line ЗНМ: 0300000093 [22:54:32]line РНМ: 0000000000091759 [22:54:32]line Версия ККМ: 001 [22:54:32]line ФМ: 0000000000871758 [22:54:32]line ФД: 68442 [22:54:32]line ФПД: 165046219898869 [22:54:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T225432&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68442&fm=165046219898869&tin=02508201610067®Number=0000000000091759&sum=200000 [22:54:32]OFD Sender: Processing packet 68442 [packets to send 28, broken 27] [22:54:32]ProducePacketName [22:54:32]name=ofd_packets/00068442 [22:54:32]OFD Sender: To server: pG, [22:54:32]CommunicateWithHost lk.salyk.kg:30040 [22:54:32]ConnectInit lk.salyk.kg [22:54:32]written 0, free lines is 4095 [22:54:32]Connected sock=11 [22:54:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 2E 3D 04 01 1F F9 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 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A5 00 00 00 F4 03 04 00 A8 67 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5A 0B 01 00 35 04 06 00 96 1B D1 4E FF F5 7E 3A 9E 01 FD E1 97 A4 [22:54:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 CA 80 47 00 AC 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5A 0B 01 00 F4 03 04 00 4F 13 21 67 B6 04 01 00 00 C8 61 BB 04 5A D9 26 9B [22:54:32]CommunicateWithHost err = 0 [22:54:32]CheckOFDResponse [22:54:32]1017 (14) - 77093643461234 [22:54:32]1041 (16) - 0000000000871758 [22:54:32]1040 (4) - 68442 [22:54:32]1012 (4) - 29.10.2024 16:54 [22:54:32]1206 (1) - 0 [22:54:32]OFD Sender: Remove packet 68442 [22:54:32]ProducePacketName [22:54:32]name=ofd_packets/00068442 [22:54:32]NVStorageDeleteData [22:54:32]Write to MH i2c: 01 00 00 28 10 38 [22:54:32]Write i2c OK [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: 01 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: 01 07 00 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: 01 07 00 28 10 00 00 00 00 00 D5 0C 20 [22:54:32]RasterBufferAndPrint [22:54:32]line [22:54:32]line [22:54:32]line [22:54:32]line [22:54:32]line [22:54:32]written 0, free lines is 3300 [22:54:32]MH_Cut [22:54:32]Write to MH i2c: D1 01 00 2F 10 01 11 [22:54:32]Write i2c OK [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: D1 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: D1 01 00 [22:54:32]MH_I2C_Read... [22:54:32]Read from MH i2c: D1 01 00 2F 10 00 10 [22:54:32]Write to MH i2c: 01 00 00 30 10 40 [22:54:32]Write i2c OK [22:54:32]MH_I2C_Read... [22:54:33]OFD Sender: No OFD packet to send [22:54:33]*** Cut start [22:54:33]*** Partial cut [22:54:33]*** CUTSNS_PIN = 1 [22:54:33]*** CUTSNS_PIN = 0 [22:54:33]*** Brake cut motor [22:54:34]Read from MH i2c: 01 [22:54:34]MH_I2C_Read... [22:54:34]*** Stop cut motor [22:54:34]*** Cut end [22:54:34]Read from MH i2c: 01 07 00 [22:54:34]MH_I2C_Read... [22:54:34]Read from MH i2c: 01 07 00 30 10 00 00 00 00 00 FF 0F 55 [22:54:34]process_action close_receipt done [22:54:34]requested_data is exist [22:54:34]produce_requested_data [22:54:34]requested_item fm.sn is exist - process it [22:54:34]wFMCommunicate request_size=4 [22:54:34]MH_SAM_APDU [22:54:34]CAPDU: 80 11 00 00 [22:54:34]Write to MH i2c: E2 08 00 31 10 80 11 00 00 00 00 00 00 BB [22:54:34]Write i2c OK [22:54:34]MH_I2C_Read... [22:54:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:54:34]Read from MH i2c: E2 [22:54:34]MH_I2C_Read... [22:54:34]Read from MH i2c: E2 17 00 [22:54:34]MH_I2C_Read... [22:54:34]Read from MH i2c: E2 17 00 31 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 12 [22:54:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:54:34]wFMCommunicate OK [22:54:34]requested_item fd.num is exist - process it [22:54:34]SAM_PROTO_GetFieldsCounters [22:54:34]wFMCommunicate request_size=4 [22:54:34]MH_SAM_APDU [22:54:34]CAPDU: 80 13 00 00 [22:54:34]Write to MH i2c: E2 08 00 32 10 80 13 00 00 00 00 00 00 BE [22:54:34]Write i2c OK [22:54:34]MH_I2C_Read... [22:54:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:54:34]Read from MH i2c: E2 [22:54:34]MH_I2C_Read... [22:54:34]Read from MH i2c: E2 62 00 [22:54:34]MH_I2C_Read... [22:54:34]Read from MH i2c: E2 62 00 32 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A5 00 00 00 5E 04 04 00 A5 00 00 00 57 04 04 00 A6 00 00 00 19 04 04 00 00 00 00 00 90 00 64 [22:54:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A5 00 00 00 5E 04 04 00 A5 00 00 00 57 04 04 00 A6 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:54:34]wFMCommunicate OK [22:54:34]SAM_PROTO_GetFieldsCounters done [22:54:34]requested_item shift.num is exist - process it [22:54:34]requested_item shift.opened is exist - process it [22:54:34]req_shift_opened [22:54:34]FM_GetShiftState [22:54:34]SAM_PROTO_GetShiftState [22:54:34]wFMCommunicate request_size=4 [22:54:34]MH_SAM_APDU [22:54:34]CAPDU: 80 13 01 00 [22:54:34]Write to MH i2c: E2 08 00 33 10 80 13 01 00 00 00 00 00 C0 [22:54:34]Write i2c OK [22:54:34]MH_I2C_Read... [22:54:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:54:34]Read from MH i2c: E2 [22:54:34]MH_I2C_Read... [22:54:34]Read from MH i2c: E2 0E 00 [22:54:34]MH_I2C_Read... [22:54:34]Read from MH i2c: E2 0E 00 33 10 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 70 [22:54:34]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:54:34]wFMCommunicate OK [22:54:34]SAM_PROTO_GetShiftState done [22:54:34]FM_GetShiftState done [22:54:34]req_shift_opened done [22:54:34]requested_item shift.open_date is exist - process it [22:54:34]req_shift_open_date [22:54:34]req_shift_open_date done [22:54:34]produce_requested_data done [22:54:34]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68442,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:54:34]process_action_free close_receipt [22:54:34]json_value_free [22:54:34]json_value_free done [22:54:34]process_json_proto returns [22:54:34]Send response to host [22:54:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68442,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:54:34]free response buf [22:54:34]execute_script done [22:54:34]execute_script returns [22:54:34]free content buf [22:54:34]Sock 8.Close socket [22:54:34]Sock 8.Thread stoped [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:49]int [22:54:49]Write to MH i2c: 01 00 00 34 10 44 [22:54:49]*** FLAG_PRN_PAP1 set [22:54:49]Write i2c OK [22:54:49]MH_I2C_Read... [22:54:49]Read from MH i2c: 01 [22:54:49]MH_I2C_Read... [22:54:49]Read from MH i2c: 01 07 00 [22:54:49]MH_I2C_Read... [22:54:49]Read from MH i2c: 01 07 00 34 10 00 01 00 00 00 FF 0F 5A [22:54:49]state=0 [22:54:49]No paper [22:54:49]int [22:54:49]Write to MH i2c: 01 00 00 35 10 45 [22:54:49]*** FLAG_PRN_PAP2 set [22:54:49]Write i2c OK [22:54:49]MH_I2C_Read... [22:54:49]Read from MH i2c: 01 [22:54:49]MH_I2C_Read... [22:54:49]Read from MH i2c: 01 07 00 [22:54:49]MH_I2C_Read... [22:54:49]Read from MH i2c: 01 07 00 35 10 00 03 00 00 00 FF 0F 5D [22:54:49]state=0 [22:54:49]No paper [22:54:49]Cover opened [22:54:53]OFD Sender: No OFD packet to send [22:54:54]Write to MH i2c: 01 00 00 36 10 46 [22:54:54]Write i2c OK [22:54:54]MH_I2C_Read... [22:54:54]Read from MH i2c: 01 [22:54:54]MH_I2C_Read... [22:54:54]Read from MH i2c: 01 07 00 [22:54:54]MH_I2C_Read... [22:54:54]Read from MH i2c: 01 07 00 36 10 00 03 00 00 00 FF 0F 5E [22:54:54]state=3 [22:54:54]No paper [22:54:54]Cover opened [22:54:58]OFD Sender: No OFD packet to send [22:54:59]Write to MH i2c: 01 00 00 37 10 47 [22:54:59]Write i2c OK [22:54:59]MH_I2C_Read... [22:54:59]Read from MH i2c: 01 [22:54:59]MH_I2C_Read... [22:54:59]Read from MH i2c: 01 07 00 [22:54:59]MH_I2C_Read... [22:54:59]Read from MH i2c: 01 07 00 37 10 00 03 00 00 00 FF 0F 5F [22:54:59]state=3 [22:54:59]No paper [22:54:59]Cover opened [22:55:00]int [22:55:00]Write to MH i2c: 01 00 00 38 10 48 [22:55:00]*** FLAG_PRN_PAP2 reset [22:55:00]Write i2c OK [22:55:00]MH_I2C_Read... [22:55:00]Read from MH i2c: 01 [22:55:00]MH_I2C_Read... [22:55:00]Read from MH i2c: 01 07 00 [22:55:00]MH_I2C_Read... [22:55:00]Read from MH i2c: 01 07 00 38 10 00 01 00 00 00 FF 0F 5E [22:55:00]state=3 [22:55:00]No paper [22:55:00]Cover closed [22:55:01]int [22:55:01]Write to MH i2c: 01 00 00 39 10 49 [22:55:01]*** FLAG_PRN_PAP2 set [22:55:01]Write i2c OK [22:55:01]MH_I2C_Read... [22:55:01]Read from MH i2c: 01 [22:55:01]MH_I2C_Read... [22:55:01]Read from MH i2c: 01 07 00 [22:55:01]MH_I2C_Read... [22:55:01]Read from MH i2c: 01 07 00 39 10 00 03 00 00 00 FF 0F 61 [22:55:01]state=0 [22:55:01]No paper [22:55:01]Cover opened [22:55:02]int [22:55:02]Write to MH i2c: 01 00 00 3A 10 4A [22:55:02]*** FLAG_PRN_PAP2 reset [22:55:02]Write i2c OK [22:55:02]MH_I2C_Read... [22:55:02]Read from MH i2c: 01 [22:55:02]MH_I2C_Read... [22:55:02]Read from MH i2c: 01 07 00 [22:55:02]MH_I2C_Read... [22:55:02]Read from MH i2c: 01 07 00 3A 10 00 01 00 00 00 FF 0F 60 [22:55:02]state=3 [22:55:02]No paper [22:55:02]Cover closed [22:55:03]OFD Sender: No OFD packet to send [22:55:03]int [22:55:03]Write to MH i2c: 01 00 00 3B 10 4B [22:55:03]*** FLAG_PRN_PAP2 set [22:55:03]Write i2c OK [22:55:03]MH_I2C_Read... [22:55:03]Read from MH i2c: 01 [22:55:03]MH_I2C_Read... [22:55:03]Read from MH i2c: 01 07 00 [22:55:03]MH_I2C_Read... [22:55:03]Read from MH i2c: 01 07 00 3B 10 00 03 00 00 00 FF 0F 63 [22:55:03]state=0 [22:55:03]No paper [22:55:03]Cover opened [22:55:04]int [22:55:04]Write to MH i2c: 01 00 00 3C 10 4C [22:55:04]Write i2c OK [22:55:04]MH_I2C_Read... [22:55:04]Read from MH i2c: 01 [22:55:04]MH_I2C_Read... [22:55:04]Read from MH i2c: 01 07 00 [22:55:04]MH_I2C_Read... [22:55:04]*** FLAG_PRN_PAP2 reset [22:55:04]*** FLAG_PRN_PAP1 reset [22:55:04]Read from MH i2c: 01 07 00 3C 10 00 00 00 00 00 FF 0F 61 [22:55:04]state=3 [22:55:04]Cover closed [22:55:06]int [22:55:06]Write to MH i2c: 01 00 00 3D 10 4D [22:55:06]Write i2c OK [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 [22:55:06]MH_I2C_Read... [22:55:06]*** FLAG_PRN_PAP1 set [22:55:06]*** FLAG_PRN_PAP1 reset [22:55:06]Read from MH i2c: 01 07 00 3D 10 00 00 00 00 00 FF 0F 62 [22:55:06]state=0 [22:55:06]int [22:55:06]Write to MH i2c: 01 00 00 3E 10 4E [22:55:06]*** FLAG_PRN_PAP1 set [22:55:06]Write i2c OK [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 3E 10 00 01 00 00 00 FF 0F 64 [22:55:06]state=0 [22:55:06]No paper [22:55:06]int [22:55:06]Write to MH i2c: 01 00 00 3F 10 4F [22:55:06]*** FLAG_PRN_PAP1 reset [22:55:06]Write i2c OK [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 3F 10 00 00 00 00 00 FF 0F 64 [22:55:06]state=0 [22:55:06]int [22:55:06]Write to MH i2c: 01 00 00 40 10 50 [22:55:06]*** FLAG_PRN_PAP1 set [22:55:06]Write i2c OK [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 40 10 00 01 00 00 00 FF 0F 66 [22:55:06]state=0 [22:55:06]No paper [22:55:06]int [22:55:06]Write to MH i2c: 01 00 00 41 10 51 [22:55:06]*** FLAG_PRN_PAP1 reset [22:55:06]Write i2c OK [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 41 10 00 00 00 00 00 FF 0F 66 [22:55:06]state=0 [22:55:06]int [22:55:06]Write to MH i2c: 01 00 00 42 10 52 [22:55:06]*** FLAG_PRN_PAP1 set [22:55:06]Write i2c OK [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 42 10 00 01 00 00 00 FF 0F 68 [22:55:06]state=0 [22:55:06]No paper [22:55:06]int [22:55:06]Write to MH i2c: 01 00 00 43 10 53 [22:55:06]*** FLAG_PRN_PAP2 set [22:55:06]Write i2c OK [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 [22:55:06]MH_I2C_Read... [22:55:06]Read from MH i2c: 01 07 00 43 10 00 03 00 00 00 FF 0F 6B [22:55:06]state=0 [22:55:06]No paper [22:55:06]Cover opened [22:55:08]OFD Sender: No OFD packet to send [22:55:08]int [22:55:08]Write to MH i2c: 01 00 00 44 10 54 [22:55:08]*** FLAG_PRN_PAP2 reset [22:55:08]Write i2c OK [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: 01 [22:55:08]MH_I2C_Read... [22:55:08]Read from MH i2c: 01 07 00 [22:55:08]MH_I2C_Read... [22:55:08]*** FLAG_PRN_PAP1 reset [22:55:08]Read from MH i2c: 01 07 00 44 10 00 00 00 00 00 FF 0F 69 [22:55:08]state=3 [22:55:08]Cover closed [22:55:13]OFD Sender: No OFD packet to send [22:55:14]accept exits with 9 [22:55:14]New connection [22:55:14]New thread 3066715492 created [22:55:14]Thread 3066858852 joined [22:55:14]Waiting for new connection... [22:55:14] Sock 9.Parse request [22:55:14]Sock 9.Check first char [22:55:14]Sock 9.First char is OK [22:55:14]request: POST /json_proto HTTP/1.0 [22:55:14]Method: POST [22:55:14]URL: /json_proto [22:55:14]Method is POST - this is cgi request [22:55:14]url: /json_proto [22:55:14]query_string will be loaded in cgi processing [22:55:14]execute_cgi json_proto POST (null) [22:55:14]execute_cgi path=json_proto method=POST [22:55:14]POST find Content-Length [22:55:14]Host: 172.17.42.3:8080 [22:55:14]Content-Length: 215 [22:55:14]Content-Type: application/json [22:55:14] [22:55:14]POST finish read [22:55:14]Found Content-Length = 215 [22:55:14]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" ] } } [22:55:14]execute_script... [22:55:14]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" ] } } [22:55:14]POST & json_proto [22:55:14]process_json_proto [22:55:14]json parsed OK: [22:55:14]protocol is kg_v1.0 [22:55:14]action value=get_value [22:55:14]process_action get_value [22:55:14]cmd_get_value [22:55:14]process_action get_value done [22:55:14]requested_data is exist [22:55:14]produce_requested_data [22:55:14]requested_item kkm.sn is exist - process it [22:55:14]requested_item kkm.ver is exist - process it [22:55:14]requested_item fm.sn is exist - process it [22:55:14]wFMCommunicate request_size=4 [22:55:14]MH_SAM_APDU [22:55:14]CAPDU: 80 11 00 00 [22:55:14]Write to MH i2c: E2 08 00 45 10 80 11 00 00 00 00 00 00 CF [22:55:14]Write i2c OK [22:55:14]MH_I2C_Read... [22:55:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:55:14]Read from MH i2c: E2 [22:55:14]MH_I2C_Read... [22:55:14]Read from MH i2c: E2 17 00 [22:55:14]MH_I2C_Read... [22:55:14]Read from MH i2c: E2 17 00 45 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 26 [22:55:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:55:14]wFMCommunicate OK [22:55:14]requested_item fd.num is exist - process it [22:55:14]SAM_PROTO_GetFieldsCounters [22:55:14]wFMCommunicate request_size=4 [22:55:14]MH_SAM_APDU [22:55:14]CAPDU: 80 13 00 00 [22:55:14]Write to MH i2c: E2 08 00 46 10 80 13 00 00 00 00 00 00 D2 [22:55:14]Write i2c OK [22:55:14]MH_I2C_Read... [22:55:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:55:15]Read from MH i2c: E2 [22:55:15]MH_I2C_Read... [22:55:15]Read from MH i2c: E2 62 00 [22:55:15]MH_I2C_Read... [22:55:15]Read from MH i2c: E2 62 00 46 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A5 00 00 00 5E 04 04 00 A5 00 00 00 57 04 04 00 A6 00 00 00 19 04 04 00 00 00 00 00 90 00 78 [22:55:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5A 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A5 00 00 00 5E 04 04 00 A5 00 00 00 57 04 04 00 A6 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:55:15]wFMCommunicate OK [22:55:15]SAM_PROTO_GetFieldsCounters done [22:55:15]requested_item shift.num is exist - process it [22:55:15]requested_item shift.opened is exist - process it [22:55:15]req_shift_opened [22:55:15]FM_GetShiftState [22:55:15]SAM_PROTO_GetShiftState [22:55:15]wFMCommunicate request_size=4 [22:55:15]MH_SAM_APDU [22:55:15]CAPDU: 80 13 01 00 [22:55:15]Write to MH i2c: E2 08 00 47 10 80 13 01 00 00 00 00 00 D4 [22:55:15]Write i2c OK [22:55:15]MH_I2C_Read... [22:55:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:55:15]Read from MH i2c: E2 [22:55:15]MH_I2C_Read... [22:55:15]Read from MH i2c: E2 0E 00 [22:55:15]MH_I2C_Read... [22:55:15]Read from MH i2c: E2 0E 00 47 10 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 84 [22:55:15]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [22:55:15]wFMCommunicate OK [22:55:15]SAM_PROTO_GetShiftState done [22:55:15]FM_GetShiftState done [22:55:15]req_shift_opened done [22:55:15]requested_item shift.open_date is exist - process it [22:55:15]req_shift_open_date [22:55:15]req_shift_open_date done [22:55:15]produce_requested_data done [22:55:15]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68442,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [22:55:15]process_action_free get_value [22:55:15]json_value_free [22:55:15]json_value_free done [22:55:15]process_json_proto returns [22:55:15]Send response to host [22:55:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68442,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [22:55:15]free response buf [22:55:15]execute_script done [22:55:15]execute_script returns [22:55:15]free content buf [22:55:15]Sock 9.Close socket [22:55:15]Sock 9.Thread stoped [22:55:15]accept exits with 8 [22:55:15]New connection [22:55:15]New thread 3066858852 created [22:55:15]Thread 3066715492 joined [22:55:15]Waiting for new connection... [22:55:15] Sock 8.Parse request [22:55:15]Sock 8.Check first char [22:55:15]Sock 8.First char is OK [22:55:15]request: POST /json_proto HTTP/1.0 [22:55:15]Method: POST [22:55:15]URL: /json_proto [22:55:15]Method is POST - this is cgi request [22:55:15]url: /json_proto [22:55:15]query_string will be loaded in cgi processing [22:55:15]execute_cgi json_proto POST (null) [22:55:15]execute_cgi path=json_proto method=POST [22:55:15]POST find Content-Length [22:55:15]Host: 172.17.42.3:8080 [22:55:15]Content-Length: 331 [22:55:15]Content-Type: application/json [22:55:15] [22:55:15]POST finish read [22:55:15]Found Content-Length = 331 [22:55:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [22:55:15]execute_script... [22:55:15]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" ] } } [22:55:15]POST & json_proto [22:55:15]process_json_proto [22:55:15]json parsed OK: [22:55:15]protocol is kg_v1.0 [22:55:15]action value=get_value [22:55:15]process_action get_value [22:55:15]cmd_get_value [22:55:15]process_action get_value done [22:55:15]requested_data is exist [22:55:15]produce_requested_data [22:55:15]requested_item fm.sale.total is exist - process it [22:55:15]SAM_PROTO_GetFMData [22:55:15]wFMCommunicate request_size=4 [22:55:15]MH_SAM_APDU [22:55:15]CAPDU: 80 13 03 00 [22:55:15]Write to MH i2c: E2 08 00 48 10 80 13 03 00 00 00 00 00 D7 [22:55:15]Write i2c OK [22:55:15]MH_I2C_Read... [22:55:15]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [22:55:15]Read from MH i2c: E2 [22:55:15]MH_I2C_Read... [22:55:15]Read from MH i2c: E2 FD 00 [22:55:15]MH_I2C_Read... [22:55:15]Read from MH i2c: E2 FD 00 48 10 00 C7 04 85 04 C3 04 6E 04 04 00 12 07 01 00 69 04 A3 00 6F 04 04 00 13 06 01 00 B1 04 05 00 E9 D5 CB 62 02 70 04 05 00 E0 C9 18 D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 D9 C5 DF 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 A0 E8 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 EE [22:55:15]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 12 07 01 00 69 04 A3 00 6F 04 04 00 13 06 01 00 B1 04 05 00 E9 D5 CB 62 02 70 04 05 00 E0 C9 18 D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 D9 C5 DF 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 A0 E8 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 [22:55:15]wFMCommunicate OK [22:55:15]wFMCommunicate request_size=4 [22:55:15]MH_SAM_APDU [22:55:15]CAPDU: 80 17 00 00 [22:55:15]Write to MH i2c: E2 08 00 49 10 80 17 00 00 00 00 00 00 D9 [22:55:15]Write i2c OK [22:55:15]MH_I2C_Read... [22:55:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:55:16]Read from MH i2c: E2 [22:55:16]MH_I2C_Read... [22:55:16]Read from MH i2c: E2 FD 00 [22:55:16]MH_I2C_Read... [22:55:16]Read from MH i2c: E2 FD 00 49 10 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 EB [22:55:16]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 [22:55:16]wFMCommunicate OK [22:55:16]wFMCommunicate request_size=4 [22:55:16]MH_SAM_APDU [22:55:16]CAPDU: 80 17 00 00 [22:55:16]Write to MH i2c: E2 08 00 4A 10 80 17 00 00 00 00 00 00 DA [22:55:16]Write i2c OK [22:55:16]MH_I2C_Read... [22:55:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:55:16]Read from MH i2c: E2 [22:55:16]MH_I2C_Read... [22:55:16]Read from MH i2c: E2 FD 00 [22:55:16]MH_I2C_Read... [22:55:16]Read from MH i2c: E2 FD 00 4A 10 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 B2 [22:55:16]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 [22:55:16]wFMCommunicate OK [22:55:16]wFMCommunicate request_size=4 [22:55:16]MH_SAM_APDU [22:55:16]CAPDU: 80 17 00 00 [22:55:16]Write to MH i2c: E2 08 00 4B 10 80 17 00 00 00 00 00 00 DB [22:55:16]Write i2c OK [22:55:16]MH_I2C_Read... [22:55:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:55:16]Read from MH i2c: E2 [22:55:16]MH_I2C_Read... [22:55:16]Read from MH i2c: E2 FD 00 [22:55:16]MH_I2C_Read... [22:55:16]Read from MH i2c: E2 FD 00 4B 10 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 56 [22:55:16]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [22:55:16]wFMCommunicate OK [22:55:16]wFMCommunicate request_size=4 [22:55:16]MH_SAM_APDU [22:55:16]CAPDU: 80 17 00 00 [22:55:16]Write to MH i2c: E2 08 00 4C 10 80 17 00 00 00 00 00 00 DC [22:55:16]Write i2c OK [22:55:16]MH_I2C_Read... [22:55:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [22:55:16]Read from MH i2c: E2 [22:55:16]MH_I2C_Read... [22:55:16]Read from MH i2c: E2 E4 00 [22:55:16]MH_I2C_Read... [22:55:16]Read from MH i2c: E2 E4 00 4C 10 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BC [22:55:16]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:55:16]wFMCommunicate OK [22:55:16]SAM_PROTO_GetFMData done [22:55:16]requested_item fm.sale_refund.total is exist - process it [22:55:16]requested_item fm.buy.total is exist - process it [22:55:16]requested_item shift.sale.total is exist - process it [22:55:16]SAM_PROTO_GetShiftData [22:55:16]wFMCommunicate request_size=4 [22:55:16]MH_SAM_APDU [22:55:16]CAPDU: 80 13 02 00 [22:55:16]Write to MH i2c: E2 08 00 4D 10 80 13 02 00 00 00 00 00 DB [22:55:16]Write i2c OK [22:55:16]MH_I2C_Read... [22:55:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:55:17]Read from MH i2c: E2 [22:55:17]MH_I2C_Read... [22:55:17]Read from MH i2c: E2 FD 00 [22:55:17]MH_I2C_Read... [22:55:17]Read from MH i2c: E2 FD 00 4D 10 00 B0 04 AA 04 AC 04 6E 04 04 00 A5 00 00 00 69 04 9D 00 6F 04 04 00 A5 00 00 00 B1 04 04 00 1B 4B 46 01 70 04 03 00 BC CA E1 72 04 03 00 5F 80 64 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 BE A7 22 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 43 E3 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 FE [22:55:17]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 A5 00 00 00 69 04 9D 00 6F 04 04 00 A5 00 00 00 B1 04 04 00 1B 4B 46 01 70 04 03 00 BC CA E1 72 04 03 00 5F 80 64 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 BE A7 22 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 43 E3 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [22:55:17]wFMCommunicate OK [22:55:17]wFMCommunicate request_size=4 [22:55:17]MH_SAM_APDU [22:55:17]CAPDU: 80 17 00 00 [22:55:17]Write to MH i2c: E2 08 00 4E 10 80 17 00 00 00 00 00 00 DE [22:55:17]Write i2c OK [22:55:17]MH_I2C_Read... [22:55:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:55:17]Read from MH i2c: E2 [22:55:17]MH_I2C_Read... [22:55:17]Read from MH i2c: E2 FD 00 [22:55:17]MH_I2C_Read... [22:55:17]Read from MH i2c: E2 FD 00 4E 10 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 F8 [22:55:17]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 [22:55:17]wFMCommunicate OK [22:55:17]wFMCommunicate request_size=4 [22:55:17]MH_SAM_APDU [22:55:17]CAPDU: 80 17 00 00 [22:55:17]Write to MH i2c: E2 08 00 4F 10 80 17 00 00 00 00 00 00 DF [22:55:17]Write i2c OK [22:55:17]MH_I2C_Read... [22:55:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:55:17]Read from MH i2c: E2 [22:55:17]MH_I2C_Read... [22:55:17]Read from MH i2c: E2 FD 00 [22:55:17]MH_I2C_Read... [22:55:17]Read from MH i2c: E2 FD 00 4F 10 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 9C [22:55:17]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [22:55:17]wFMCommunicate OK [22:55:17]wFMCommunicate request_size=4 [22:55:17]MH_SAM_APDU [22:55:17]CAPDU: 80 17 00 00 [22:55:17]Write to MH i2c: E2 08 00 50 10 80 17 00 00 00 00 00 00 E0 [22:55:17]Write i2c OK [22:55:17]MH_I2C_Read... [22:55:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:55:18]Read from MH i2c: E2 [22:55:18]MH_I2C_Read... [22:55:18]Read from MH i2c: E2 FD 00 [22:55:18]MH_I2C_Read... [22:55:18]Read from MH i2c: E2 FD 00 50 10 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 53 [22:55:18]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [22:55:18]wFMCommunicate OK [22:55:18]wFMCommunicate request_size=4 [22:55:18]MH_SAM_APDU [22:55:18]CAPDU: 80 17 00 00 [22:55:18]Write to MH i2c: E2 08 00 51 10 80 17 00 00 00 00 00 00 E1 [22:55:18]OFD Sender: No OFD packet to send [22:55:18]Write i2c OK [22:55:18]MH_I2C_Read... [22:55:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [22:55:18]Read from MH i2c: E2 [22:55:18]MH_I2C_Read... [22:55:18]Read from MH i2c: E2 CD 00 [22:55:18]MH_I2C_Read... [22:55:18]Read from MH i2c: E2 CD 00 51 10 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C5 [22:55:18]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:55:18]wFMCommunicate OK [22:55:18]SAM_PROTO_GetShiftData done [22:55:18]requested_item shift.sale.total_cash is exist - process it [22:55:18]requested_item shift.sale_refund.total is exist - process it [22:55:18]requested_item shift.sale_refund.total_cash is exist - process it [22:55:18]requested_item shift.buy.total is exist - process it [22:55:18]requested_item shift.buy.total_cash is exist - process it [22:55:18]produce_requested_data done [22:55:18]produce_requested_data return {"fm.sale.total":102474603.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":213839.63,"shift.sale.total_cash":147975.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} [22:55:18]process_action_free get_value [22:55:18]json_value_free [22:55:18]json_value_free done [22:55:18]process_json_proto returns [22:55:18]Send response to host [22:55:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102474603.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":213839.63,"shift.sale.total_cash":147975.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}}} [22:55:18]free response buf [22:55:18]execute_script done [22:55:18]execute_script returns [22:55:18]free content buf [22:55:18]Sock 8.Close socket [22:55:18]Sock 8.Thread stoped [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:53]OFD Sender: No OFD packet to send [22:55:58]OFD Sender: No OFD packet to send [22:56:03]OFD Sender: No OFD packet to send [22:56:08]OFD Sender: No OFD packet to send [22:56:13]OFD Sender: No OFD packet to send [22:56:18]OFD Sender: No OFD packet to send [22:56:23]OFD Sender: No OFD packet to send [22:56:28]OFD Sender: No OFD packet to send [22:56:33]OFD Sender: No OFD packet to send [22:56:38]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:42]accept exits with 9 [23:02:42]New connection [23:02:42]New thread 3066715492 created [23:02:42]Thread 3066858852 joined [23:02:42]Waiting for new connection... [23:02:42] Sock 9.Parse request [23:02:42]Sock 9.Check first char [23:02:42]Sock 9.First char is OK [23:02:42]request: POST /json_proto HTTP/1.0 [23:02:42]Method: POST [23:02:42]URL: /json_proto [23:02:42]Method is POST - this is cgi request [23:02:42]url: /json_proto [23:02:42]query_string will be loaded in cgi processing [23:02:42]execute_cgi json_proto POST (null) [23:02:42]execute_cgi path=json_proto method=POST [23:02:42]POST find Content-Length [23:02:42]Host: 172.17.42.3:8080 [23:02:42]Content-Length: 676 [23:02:42]Content-Type: application/json [23:02:42] [23:02:42]POST finish read [23:02:42]Found Content-Length = 676 [23:02:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46424", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.480, "sum" : 299.71, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 299.00, "payments": [ { "type": 0, "sum" : 299.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:02:42]execute_script... [23:02: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)46424", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.480, "sum" : 299.71, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 299.00, "payments": [ { "type": 0, "sum" : 299.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:02:42]POST & json_proto [23:02:42]process_json_proto [23:02:42]json parsed OK: [23:02:42]protocol is kg_v1.0 [23:02:42]action value=close_receipt [23:02:42]process_action close_receipt [23:02:42]cmd_close_receipt [23:02:42]MH_GetDate [23:02:42]Write to MH i2c: F0 00 00 52 10 51 [23:02:42]Write i2c OK [23:02:42]MH_I2C_Read... [23:02:42]Read from MH i2c: F0 [23:02:42]MH_I2C_Read... [23:02:42]Read from MH i2c: F0 09 00 [23:02:42]MH_I2C_Read... [23:02:42]Read from MH i2c: F0 09 00 52 10 00 94 69 21 67 28 A1 20 67 2F [23:02:42]GetLastDocTimeStamp 1730242472 [23:02:42]current date 1730242964 [23:02:42]FM_GetShiftState [23:02:42]SAM_PROTO_GetShiftState [23:02:42]wFMCommunicate request_size=4 [23:02:42]MH_SAM_APDU [23:02:42]CAPDU: 80 13 01 00 [23:02:42]Write to MH i2c: E2 08 00 53 10 80 13 01 00 00 00 00 00 E0 [23:02:42]Write i2c OK [23:02:42]MH_I2C_Read... [23:02:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:02:42]Read from MH i2c: E2 [23:02:42]MH_I2C_Read... [23:02:42]Read from MH i2c: E2 0E 00 [23:02:42]MH_I2C_Read... [23:02:42]Read from MH i2c: E2 0E 00 53 10 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 90 [23:02:42]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [23:02:42]wFMCommunicate OK [23:02:42]SAM_PROTO_GetShiftState done [23:02:42]FM_GetShiftState done [23:02:42]opened in 1730160885 [23:02:42]opened+sec_in_day 1730247285 [23:02:42]quantity*price = 29971 [23:02:42]sum+1 = 29972 [23:02:42]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.71 ИТОГО: 299.00 Внесено: 300.00 СДАЧА: 1.00 НСП 1% : 2.65 НДС 12% : 31.83 Наличными: 299.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 166 29.10.2024 23:02 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68443 ФПД: 215586241021351 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T230244&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68443&fm=215586241021351&tin=02508201610067®Number=0000000000091759&sum=29900 [23:02:43]StoreToDocumentArchive [23:02:43]shift 548 fd 68443 [23:02:43]save to /storage/0548/doc_00068443 [23:02:43]save last doc name /storage/0548/doc_00068443 to /storage/kkm_last_doc_name [23:02:43]save OK [23:02:43]Clear old archive folders... [23:02:43]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:02:43]tlvbuf is 01DE95A0 [23:02:43]SAM_PROTO_ClearQueue [23:02:43]wFMCommunicate request_size=4 [23:02:43]MH_SAM_APDU [23:02:43]CAPDU: 80 09 00 00 [23:02:43]Write to MH i2c: E2 08 00 60 10 80 09 00 00 00 00 00 00 E2 [23:02:43]Write i2c OK [23:02:43]MH_I2C_Read... [23:02:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:02:43]Read from MH i2c: E2 [23:02:43]MH_I2C_Read... [23:02:43]Read from MH i2c: E2 03 00 [23:02:43]MH_I2C_Read... [23:02:43]Read from MH i2c: E2 03 00 60 10 00 90 00 E4 [23:02:43]RAPDU: 90 00 [23:02:43]wFMCommunicate OK [23:02:43]SAM_PROTO_ClearQueue done [23:02:43]KKMCreateOFDPacket [23:02:43]OFDProtocolAddRootSTLVToBuf [23:02:43]FM_MakeSignedData [23:02:43]FM_MakeSignedData [23:02:43]SAM_PROTO_SignData [23:02:43]wFMCommunicate request_size=4 [23:02:43]MH_SAM_APDU [23:02:43]CAPDU: 80 0D 01 02 [23:02:43]Write to MH i2c: E2 08 00 61 10 80 0D 01 02 00 00 00 00 EA [23:02:43]Write i2c OK [23:02:43]MH_I2C_Read... [23:02:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:02:43]Read from MH i2c: E2 [23:02:43]MH_I2C_Read... [23:02:43]Read from MH i2c: E2 03 00 [23:02:43]MH_I2C_Read... [23:02:43]Read from MH i2c: E2 03 00 61 10 00 90 00 E5 [23:02:43]RAPDU: 90 00 [23:02:43]wFMCommunicate OK [23:02:43]wFMCommunicate request_size=255 [23:02:43]MH_SAM_APDU [23:02:43]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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A6 00 00 00 F4 03 04 00 94 69 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5B 0B 01 00 35 04 06 00 C4 [23:02:43]Write to MH i2c: E2 02 01 62 10 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A6 00 00 00 F4 03 04 00 94 69 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5B 0B 01 00 35 04 06 00 C4 00 00 D4 [23:02:43]Write i2c OK [23:02:43]MH_I2C_Read... [23:02:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:02:44]Read from MH i2c: E2 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: E2 03 00 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: E2 03 00 62 10 00 90 00 E6 [23:02:44]RAPDU: 90 00 [23:02:44]wFMCommunicate OK [23:02:44]wFMCommunicate request_size=10 [23:02:44]MH_SAM_APDU [23:02:44]CAPDU: 80 0D 02 02 05 13 15 50 85 A7 [23:02:44]Write to MH i2c: E2 0D 00 63 10 80 0D 02 02 05 00 13 15 50 85 A7 00 00 9B [23:02:44]Write i2c OK [23:02:44]MH_I2C_Read... [23:02:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:02:44]Read from MH i2c: E2 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: E2 03 00 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: E2 03 00 63 10 00 90 00 E7 [23:02:44]RAPDU: 90 00 [23:02:44]wFMCommunicate OK [23:02:44]wFMCommunicate request_size=4 [23:02:44]MH_SAM_APDU [23:02:44]CAPDU: 80 0D 03 02 [23:02:44]Write to MH i2c: E2 08 00 64 10 80 0D 03 02 00 00 00 00 EF [23:02:44]Write i2c OK [23:02:44]MH_I2C_Read... [23:02:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:02:44]Read from MH i2c: E2 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: E2 0B 00 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: E2 0B 00 64 10 00 30 65 3C F3 11 16 BA A8 90 00 3D [23:02:44]RAPDU: 30 65 3C F3 11 16 BA A8 90 00 [23:02:44]wFMCommunicate OK [23:02:44]SAM_PROTO_SignData done [23:02:44]FM_MakeSignedData done [23:02:44]CreateOFDProtocolMessage [23:02:44]wFMCommunicate request_size=4 [23:02:44]MH_SAM_APDU [23:02:44]CAPDU: 80 11 00 00 [23:02:44]Write to MH i2c: E2 08 00 65 10 80 11 00 00 00 00 00 00 EF [23:02:44]Write i2c OK [23:02:44]MH_I2C_Read... [23:02:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:02:44]Read from MH i2c: E2 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: E2 17 00 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: E2 17 00 65 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 46 [23:02:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:02:44]wFMCommunicate OK [23:02:44]CreateOFDProtocolMessage done [23:02:44]OFDSenderStorePacket 68443 [23:02:44]StoreOFDPacket docnum=68443 [23:02:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 C1 24 07 01 87 88 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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A6 00 00 00 F4 03 04 00 94 69 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5B 0B 01 00 35 04 06 00 C4 13 15 50 85 A7 30 65 3C F3 11 16 BA A8 [23:02:44]CheckFolder [23:02:44]dirname=/storage/ofd_packets [23:02:44]CheckFolder done [23:02:44]ProducePacketName [23:02:44]name=ofd_packets/00068443 [23:02:44]NVStorageSaveData ofd_packets/00068443 [23:02:44]File name is /storage/ofd_packets/00068443 [23:02:44]Write 301 bytes [23:02:44]NVStorageSaveData done [23:02:44]OFDSenderStorePacket done [23:02:44]KKMCreateOFDPacket done [23:02:44]NVStorageSaveData kkm_last_timestamp [23:02:44]File name is /storage/kkm_last_timestamp [23:02:44]Write 4 bytes [23:02:44]NVStorageSaveData done [23:02:44]ExternCall_PrintAddStr [23:02:44]wPrintStart [23:02:44]Write to MH i2c: 01 00 00 66 10 76 [23:02:44]Write i2c OK [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: 01 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: 01 07 00 [23:02:44]MH_I2C_Read... [23:02:44]Read from MH i2c: 01 07 00 66 10 00 00 00 00 00 FF 0F 8B [23:02:44]RasterBufferAndPrint [23:02:44]line Счет N : (1)46424 [23:02:44]line ИНН: 02508201610067 [23:02:44]line Контрольно-Кассовый Чек [23:02:44]line ПРОДАЖА [23:02:44]line ТРК (МРК, ГНК) : 13 [23:02:44]line Товар: 2710124130 [23:02:44]line Аи-92-К-5 [23:02:44]line 4.480 * 66.90 [23:02:44]line = 299.71 [23:02:44]line НДС 12% НСП 1% [23:02:44]line > о реализуемом товаре [23:02:44]line ОКРУГЛЕНИЕ: -0.71 [23:02:44]line ИТОГО: 299.00 [23:02:44]line Внесено: 300.00 [23:02:44]line СДАЧА: 1.00 [23:02:44]line НСП 1% : 2.65 [23:02:44]line НДС 12% : 31.83 [23:02:44]line Наличными: 299.00 [23:02:44]line Безнал.: 0.00 [23:02:44]line Место: АЗС № 160 "Партнер Нефть" [23:02:44]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:02:44]line СНО: Общий режим [23:02:44]line Чек 166 29.10.2024 23:02 [23:02:44]line Смена: 548 ФФД: 1.0 [23:02:44]line ЗНМ: 0300000093 [23:02:44]line РНМ: 0000000000091759 [23:02:44]line Версия ККМ: 001 [23:02:44]line ФМ: 0000000000871758 [23:02:44]line ФД: 68443 [23:02:44]line ФПД: 215586241021351 [23:02:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T230244&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68443&fm=215586241021351&tin=02508201610067®Number=0000000000091759&sum=29900 [23:02:44]written 0, free lines is 4095 [23:02:44]OFD Sender: Processing packet 68443 [packets to send 28, broken 27] [23:02:44]ProducePacketName [23:02:44]name=ofd_packets/00068443 [23:02:44]OFD Sender: To server: pG, [23:02:44]CommunicateWithHost lk.salyk.kg:30040 [23:02:44]ConnectInit lk.salyk.kg [23:02:44]Connected sock=10 [23:02:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 C1 24 07 01 87 88 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 80 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 13 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6F 0C 00 00 00 00 07 04 06 00 CC 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A6 00 00 00 F4 03 04 00 94 69 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5B 0B 01 00 35 04 06 00 C4 13 15 50 85 A7 30 65 3C F3 11 16 BA A8 [23:02:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 20 B8 47 00 9F F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5B 0B 01 00 F4 03 04 00 3B 15 21 67 B6 04 01 00 00 F1 99 98 0B 46 98 20 F1 [23:02:44]CommunicateWithHost err = 0 [23:02:44]CheckOFDResponse [23:02:44]1017 (14) - 77093643461234 [23:02:44]1041 (16) - 0000000000871758 [23:02:44]1040 (4) - 68443 [23:02:44]1012 (4) - 29.10.2024 17:02 [23:02:44]1206 (1) - 0 [23:02:44]OFD Sender: Remove packet 68443 [23:02:44]ProducePacketName [23:02:44]name=ofd_packets/00068443 [23:02:44]NVStorageDeleteData [23:02:45]Write to MH i2c: 01 00 00 90 10 A0 [23:02:45]Write i2c OK [23:02:45]MH_I2C_Read... [23:02:45]Read from MH i2c: 01 [23:02:45]MH_I2C_Read... [23:02:45]Read from MH i2c: 01 07 00 [23:02:45]MH_I2C_Read... [23:02:45]Read from MH i2c: 01 07 00 90 10 00 00 00 00 00 B4 0C 67 [23:02:45]RasterBufferAndPrint [23:02:45]line [23:02:45]line [23:02:45]line [23:02:45]line [23:02:45]line [23:02:45]written 0, free lines is 3258 [23:02:45]MH_Cut [23:02:45]Write to MH i2c: D1 01 00 97 10 01 79 [23:02:45]Write i2c OK [23:02:45]MH_I2C_Read... [23:02:45]Read from MH i2c: D1 [23:02:45]MH_I2C_Read... [23:02:45]Read from MH i2c: D1 01 00 [23:02:45]MH_I2C_Read... [23:02:45]Read from MH i2c: D1 01 00 97 10 00 78 [23:02:45]Write to MH i2c: 01 00 00 98 10 A8 [23:02:45]Write i2c OK [23:02:45]MH_I2C_Read... [23:02:45]OFD Sender: No OFD packet to send [23:02:45]*** Cut start [23:02:45]*** Partial cut [23:02:45]*** CUTSNS_PIN = 1 [23:02:45]*** CUTSNS_PIN = 0 [23:02:46]*** Brake cut motor [23:02:46]Read from MH i2c: 01 [23:02:46]MH_I2C_Read... [23:02:46]*** Stop cut motor [23:02:46]*** Cut end [23:02:46]Read from MH i2c: 01 07 00 [23:02:46]MH_I2C_Read... [23:02:46]Read from MH i2c: 01 07 00 98 10 00 00 00 00 00 FF 0F BD [23:02:46]process_action close_receipt done [23:02:46]requested_data is exist [23:02:46]produce_requested_data [23:02:46]requested_item fm.sn is exist - process it [23:02:46]wFMCommunicate request_size=4 [23:02:46]MH_SAM_APDU [23:02:46]CAPDU: 80 11 00 00 [23:02:46]Write to MH i2c: E2 08 00 99 10 80 11 00 00 00 00 00 00 23 [23:02:46]Write i2c OK [23:02:46]MH_I2C_Read... [23:02:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:02:46]Read from MH i2c: E2 [23:02:46]MH_I2C_Read... [23:02:46]Read from MH i2c: E2 17 00 [23:02:46]MH_I2C_Read... [23:02:46]Read from MH i2c: E2 17 00 99 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 7A [23:02:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:02:46]wFMCommunicate OK [23:02:46]requested_item fd.num is exist - process it [23:02:46]SAM_PROTO_GetFieldsCounters [23:02:46]wFMCommunicate request_size=4 [23:02:46]MH_SAM_APDU [23:02:46]CAPDU: 80 13 00 00 [23:02:46]Write to MH i2c: E2 08 00 9A 10 80 13 00 00 00 00 00 00 26 [23:02:46]Write i2c OK [23:02:46]MH_I2C_Read... [23:02:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:02:46]Read from MH i2c: E2 [23:02:46]MH_I2C_Read... [23:02:46]Read from MH i2c: E2 62 00 [23:02:46]MH_I2C_Read... [23:02:46]Read from MH i2c: E2 62 00 9A 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5B 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A6 00 00 00 5E 04 04 00 A6 00 00 00 57 04 04 00 A7 00 00 00 19 04 04 00 00 00 00 00 90 00 D0 [23:02:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5B 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A6 00 00 00 5E 04 04 00 A6 00 00 00 57 04 04 00 A7 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:02:46]wFMCommunicate OK [23:02:46]SAM_PROTO_GetFieldsCounters done [23:02:46]requested_item shift.num is exist - process it [23:02:46]requested_item shift.opened is exist - process it [23:02:46]req_shift_opened [23:02:46]FM_GetShiftState [23:02:46]SAM_PROTO_GetShiftState [23:02:46]wFMCommunicate request_size=4 [23:02:46]MH_SAM_APDU [23:02:46]CAPDU: 80 13 01 00 [23:02:46]Write to MH i2c: E2 08 00 9B 10 80 13 01 00 00 00 00 00 28 [23:02:46]Write i2c OK [23:02:46]MH_I2C_Read... [23:02:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:02:46]Read from MH i2c: E2 [23:02:46]MH_I2C_Read... [23:02:46]Read from MH i2c: E2 0E 00 [23:02:46]MH_I2C_Read... [23:02:46]Read from MH i2c: E2 0E 00 9B 10 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 D8 [23:02:46]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [23:02:46]wFMCommunicate OK [23:02:46]SAM_PROTO_GetShiftState done [23:02:46]FM_GetShiftState done [23:02:46]req_shift_opened done [23:02:46]requested_item shift.open_date is exist - process it [23:02:46]req_shift_open_date [23:02:46]req_shift_open_date done [23:02:46]produce_requested_data done [23:02:46]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68443,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [23:02:46]process_action_free close_receipt [23:02:46]json_value_free [23:02:46]json_value_free done [23:02:46]process_json_proto returns [23:02:46]Send response to host [23:02:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68443,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [23:02:46]free response buf [23:02:46]execute_script done [23:02:46]execute_script returns [23:02:46]free content buf [23:02:46]Sock 9.Close socket [23:02:46]Sock 9.Thread stoped [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:45]OFD Sender: No OFD packet to send [23:10:50]OFD Sender: No OFD packet to send [23:10:55]OFD Sender: No OFD packet to send [23:11:00]OFD Sender: No OFD packet to send [23:11:05]OFD Sender: No OFD packet to send [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]OFD Sender: No OFD packet to send [23:11:25]OFD Sender: No OFD packet to send [23:11:30]OFD Sender: No OFD packet to send [23:11:35]OFD Sender: No OFD packet to send [23:11:40]OFD Sender: No OFD packet to send [23:11:45]OFD Sender: No OFD packet to send [23:11:50]OFD Sender: No OFD packet to send [23:11:55]OFD Sender: No OFD packet to send [23:12:00]OFD Sender: No OFD packet to send [23:12:05]OFD Sender: No OFD packet to send [23:12:10]OFD Sender: No OFD packet to send [23:12:15]OFD Sender: No OFD packet to send [23:12:20]OFD Sender: No OFD packet to send [23:12:25]OFD Sender: No OFD packet to send [23:12:30]OFD Sender: No OFD packet to send [23:12:35]OFD Sender: No OFD packet to send [23:12:40]OFD Sender: No OFD packet to send [23:12:45]OFD Sender: No OFD packet to send [23:12:50]OFD Sender: No OFD packet to send [23:12:55]OFD Sender: No OFD packet to send [23:13:00]OFD Sender: No OFD packet to send [23:13:05]OFD Sender: No OFD packet to send [23:13:10]OFD Sender: No OFD packet to send [23:13:15]OFD Sender: No OFD packet to send [23:13:21]OFD Sender: No OFD packet to send [23:13:26]OFD Sender: No OFD packet to send [23:13:31]OFD Sender: No OFD packet to send [23:13:36]OFD Sender: No OFD packet to send [23:13:41]OFD Sender: No OFD packet to send [23:13:46]OFD Sender: No OFD packet to send [23:13:51]OFD Sender: No OFD packet to send [23:13:56]OFD Sender: No OFD packet to send [23:14:01]OFD Sender: No OFD packet to send [23:14:06]OFD Sender: No OFD packet to send [23:14:11]OFD Sender: No OFD packet to send [23:14:16]OFD Sender: No OFD packet to send [23:14:21]OFD Sender: No OFD packet to send [23:14:26]OFD Sender: No OFD packet to send [23:14:31]OFD Sender: No OFD packet to send [23:14:36]OFD Sender: No OFD packet to send [23:14:41]OFD Sender: No OFD packet to send [23:14:46]OFD Sender: No OFD packet to send [23:14:51]OFD Sender: No OFD packet to send [23:14:56]OFD Sender: No OFD packet to send [23:15:01]OFD Sender: No OFD packet to send [23:15:06]OFD Sender: No OFD packet to send [23:15:11]OFD Sender: No OFD packet to send [23:15:16]OFD Sender: No OFD packet to send [23:15:21]OFD Sender: No OFD packet to send [23:15:26]OFD Sender: No OFD packet to send [23:15:31]OFD Sender: No OFD packet to send [23:15:36]OFD Sender: No OFD packet to send [23:15:41]OFD Sender: No OFD packet to send [23:15:46]OFD Sender: No OFD packet to send [23:15:51]OFD Sender: No OFD packet to send [23:15:56]OFD Sender: No OFD packet to send [23:16:01]OFD Sender: No OFD packet to send [23:16:06]OFD Sender: No OFD packet to send [23:16:11]OFD Sender: No OFD packet to send [23:16:16]OFD Sender: No OFD packet to send [23:16:21]OFD Sender: No OFD packet to send [23:16:26]OFD Sender: No OFD packet to send [23:16:31]OFD Sender: No OFD packet to send [23:16:36]OFD Sender: No OFD packet to send [23:16:41]OFD Sender: No OFD packet to send [23:16:46]OFD Sender: No OFD packet to send [23:16:51]OFD Sender: No OFD packet to send [23:16:56]OFD Sender: No OFD packet to send [23:17:01]OFD Sender: No OFD packet to send [23:17:06]OFD Sender: No OFD packet to send [23:17:11]OFD Sender: No OFD packet to send [23:17:16]OFD Sender: No OFD packet to send [23:17:21]OFD Sender: No OFD packet to send [23:17:26]OFD Sender: No OFD packet to send [23:17:31]OFD Sender: No OFD packet to send [23:17:36]OFD Sender: No OFD packet to send [23:17:41]OFD Sender: No OFD packet to send [23:17:46]OFD Sender: No OFD packet to send [23:17:51]OFD Sender: No OFD packet to send [23:17:51]int [23:17:51]Write to MH i2c: 01 00 00 9C 10 AC [23:17:51]Write i2c OK [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 07 00 [23:17:51]MH_I2C_Read... [23:17:51]*** FLAG_PRN_KEY set [23:17:51]*** FLAG_PRN_KEY reset [23:17:51]Read from MH i2c: 01 07 00 9C 10 00 00 00 00 00 FF 0F C1 [23:17:51]state=0 [23:17:51]int [23:17:51]Write to MH i2c: 01 00 00 9D 10 AD [23:17:51]*** FLAG_PRN_KEY set [23:17:51]Write i2c OK [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 07 00 [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 07 00 9D 10 00 08 00 00 00 FF 0F CA [23:17:51]state=0 [23:17:51]Key pressed [23:17:51]Feed [23:17:51]Write to MH i2c: D8 00 00 9E 10 85 [23:17:51]Write i2c OK [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: D8 [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: D8 01 00 [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: D8 01 00 9E 10 00 86 [23:17:51]int [23:17:51]Write to MH i2c: 01 00 00 9F 10 AF [23:17:51]Write i2c OK [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 07 00 [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 07 00 9F 10 00 48 00 00 00 3C 00 3A [23:17:51]state=2 [23:17:51]Key pressed [23:17:51]int [23:17:51]Write to MH i2c: 01 00 00 A0 10 B0 [23:17:51]*** FLAG_PRN_KEY reset [23:17:51]Write i2c OK [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 07 00 [23:17:51]MH_I2C_Read... [23:17:51]Read from MH i2c: 01 07 00 A0 10 00 00 00 00 00 F5 0F BB [23:17:51]state=2 [23:17:51]Stop feed [23:17:56]OFD Sender: No OFD packet to send [23:18:06]OFD Sender: No OFD packet to send [23:18:11]OFD Sender: No OFD packet to send [23:18:16]OFD Sender: No OFD packet to send [23:18:21]OFD Sender: No OFD packet to send [23:18:26]OFD Sender: No OFD packet to send [23:18:31]OFD Sender: No OFD packet to send [23:18:36]OFD Sender: No OFD packet to send [23:18:41]OFD Sender: No OFD packet to send [23:18:46]OFD Sender: No OFD packet to send [23:18:51]OFD Sender: No OFD packet to send [23:18:56]OFD Sender: No OFD packet to send [23:19:00]accept exits with 8 [23:19:00]New connection [23:19:00]New thread 3066858852 created [23:19:00]Thread 3066715492 joined [23:19:00]Waiting for new connection... [23:19:00] Sock 8.Parse request [23:19:00]Sock 8.Check first char [23:19:00]Sock 8.First char is OK [23:19:00]request: POST /json_proto HTTP/1.0 [23:19:00]Method: POST [23:19:00]URL: /json_proto [23:19:00]Method is POST - this is cgi request [23:19:00]url: /json_proto [23:19:00]query_string will be loaded in cgi processing [23:19:00]execute_cgi json_proto POST (null) [23:19:00]execute_cgi path=json_proto method=POST [23:19:00]POST find Content-Length [23:19:00]Host: 172.17.42.3:8080 [23:19:00]Content-Length: 678 [23:19:00]Content-Type: application/json [23:19:00] [23:19:00]POST finish read [23:19:00]Found Content-Length = 678 [23:19:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46425", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.240, "sum" : 1999.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1999.00, "payments": [ { "type": 0, "sum" : 1999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:19:00]execute_script... [23:19: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)46425", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.240, "sum" : 1999.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1999.00, "payments": [ { "type": 0, "sum" : 1999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:19:00]POST & json_proto [23:19:00]process_json_proto [23:19:00]json parsed OK: [23:19:00]protocol is kg_v1.0 [23:19:00]action value=close_receipt [23:19:00]process_action close_receipt [23:19:00]cmd_close_receipt [23:19:00]MH_GetDate [23:19:00]Write to MH i2c: F0 00 00 A1 10 A0 [23:19:00]Write i2c OK [23:19:00]MH_I2C_Read... [23:19:00]Read from MH i2c: F0 [23:19:00]MH_I2C_Read... [23:19:00]Read from MH i2c: F0 09 00 [23:19:00]MH_I2C_Read... [23:19:00]Read from MH i2c: F0 09 00 A1 10 00 67 6D 21 67 28 A1 20 67 55 [23:19:00]GetLastDocTimeStamp 1730242964 [23:19:00]current date 1730243943 [23:19:00]FM_GetShiftState [23:19:00]SAM_PROTO_GetShiftState [23:19:00]wFMCommunicate request_size=4 [23:19:00]MH_SAM_APDU [23:19:00]CAPDU: 80 13 01 00 [23:19:00]Write to MH i2c: E2 08 00 A2 10 80 13 01 00 00 00 00 00 2F [23:19:00]Write i2c OK [23:19:00]MH_I2C_Read... [23:19:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:19:00]Read from MH i2c: E2 [23:19:00]MH_I2C_Read... [23:19:00]Read from MH i2c: E2 0E 00 [23:19:00]MH_I2C_Read... [23:19:00]Read from MH i2c: E2 0E 00 A2 10 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 DF [23:19:00]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [23:19:00]wFMCommunicate OK [23:19:00]SAM_PROTO_GetShiftState done [23:19:00]FM_GetShiftState done [23:19:00]opened in 1730160885 [23:19:00]opened+sec_in_day 1730247285 [23:19:00]quantity*price = 199948 [23:19:00]sum+1 = 199950 [23:19:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.49 ИТОГО: 1999.00 Внесено: 2000.00 СДАЧА: 1.00 НСП 1% : 17.69 НДС 12% : 212.33 Наличными: 1999.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 167 29.10.2024 23:19 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68444 ФПД: 59330630463602 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T231903&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68444&fm=59330630463602&tin=02508201610067®Number=0000000000091759&sum=199900 [23:19:02]StoreToDocumentArchive [23:19:02]shift 548 fd 68444 [23:19:02]save to /storage/0548/doc_00068444 [23:19:02]save last doc name /storage/0548/doc_00068444 to /storage/kkm_last_doc_name [23:19:02]save OK [23:19:02]Clear old archive folders... [23:19:02]ProcessDocumentItem done err = 0, tmpTLVsize=248 [23:19:02]tlvbuf is 01DDB8C0 [23:19:02]SAM_PROTO_ClearQueue [23:19:02]wFMCommunicate request_size=4 [23:19:02]MH_SAM_APDU [23:19:02]CAPDU: 80 09 00 00 [23:19:02]Write to MH i2c: E2 08 00 AF 10 80 09 00 00 00 00 00 00 31 [23:19:02]Write i2c OK [23:19:02]MH_I2C_Read... [23:19:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:19:02]Read from MH i2c: E2 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 03 00 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 03 00 AF 10 00 90 00 33 [23:19:02]RAPDU: 90 00 [23:19:02]wFMCommunicate OK [23:19:02]SAM_PROTO_ClearQueue done [23:19:02]KKMCreateOFDPacket [23:19:02]OFDProtocolAddRootSTLVToBuf [23:19:02]FM_MakeSignedData [23:19:02]FM_MakeSignedData [23:19:02]SAM_PROTO_SignData [23:19:02]wFMCommunicate request_size=4 [23:19:02]MH_SAM_APDU [23:19:02]CAPDU: 80 0D 01 02 [23:19:02]Write to MH i2c: E2 08 00 B0 10 80 0D 01 02 00 00 00 00 39 [23:19:02]Write i2c OK [23:19:02]MH_I2C_Read... [23:19:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:19:02]Read from MH i2c: E2 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 03 00 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 03 00 B0 10 00 90 00 34 [23:19:02]RAPDU: 90 00 [23:19:02]wFMCommunicate OK [23:19:02]wFMCommunicate request_size=255 [23:19:02]MH_SAM_APDU [23:19: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 80 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A7 00 00 00 F4 03 04 00 67 6D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5C 0B 01 00 35 04 06 00 35 F5 FD 27 [23:19:02]Write to MH i2c: E2 02 01 B1 10 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 80 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A7 00 00 00 F4 03 04 00 67 6D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5C 0B 01 00 35 04 06 00 35 F5 FD 27 00 00 6B [23:19:02]Write i2c OK [23:19:02]MH_I2C_Read... [23:19:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:19:02]Read from MH i2c: E2 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 03 00 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 03 00 B1 10 00 90 00 35 [23:19:02]RAPDU: 90 00 [23:19:02]wFMCommunicate OK [23:19:02]wFMCommunicate request_size=7 [23:19:02]MH_SAM_APDU [23:19:02]CAPDU: 80 0D 02 02 02 30 72 [23:19:02]Write to MH i2c: E2 0A 00 B2 10 80 0D 02 02 02 00 30 72 00 00 E2 [23:19:02]Write i2c OK [23:19:02]MH_I2C_Read... [23:19:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:19:02]Read from MH i2c: E2 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 03 00 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 03 00 B2 10 00 90 00 36 [23:19:02]RAPDU: 90 00 [23:19:02]wFMCommunicate OK [23:19:02]wFMCommunicate request_size=4 [23:19:02]MH_SAM_APDU [23:19:02]CAPDU: 80 0D 03 02 [23:19:02]Write to MH i2c: E2 08 00 B3 10 80 0D 03 02 00 00 00 00 3E [23:19:02]Write i2c OK [23:19:02]MH_I2C_Read... [23:19:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:19:02]Read from MH i2c: E2 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 0B 00 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 0B 00 B3 10 00 46 25 9F DA 0F 82 6E 2B 90 00 4D [23:19:02]RAPDU: 46 25 9F DA 0F 82 6E 2B 90 00 [23:19:02]wFMCommunicate OK [23:19:02]SAM_PROTO_SignData done [23:19:02]FM_MakeSignedData done [23:19:02]CreateOFDProtocolMessage [23:19:02]wFMCommunicate request_size=4 [23:19:02]MH_SAM_APDU [23:19:02]CAPDU: 80 11 00 00 [23:19:02]Write to MH i2c: E2 08 00 B4 10 80 11 00 00 00 00 00 00 3E [23:19:02]Write i2c OK [23:19:02]MH_I2C_Read... [23:19:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:19:02]Read from MH i2c: E2 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 17 00 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: E2 17 00 B4 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 95 [23:19:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:19:02]wFMCommunicate OK [23:19:02]CreateOFDProtocolMessage done [23:19:02]OFDSenderStorePacket 68444 [23:19:02]StoreOFDPacket docnum=68444 [23:19:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 55 9E 04 01 CE 34 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 80 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A7 00 00 00 F4 03 04 00 67 6D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5C 0B 01 00 35 04 06 00 35 F5 FD 27 30 72 46 25 9F DA 0F 82 6E 2B [23:19:02]CheckFolder [23:19:02]dirname=/storage/ofd_packets [23:19:02]CheckFolder done [23:19:02]ProducePacketName [23:19:02]name=ofd_packets/00068444 [23:19:02]NVStorageSaveData ofd_packets/00068444 [23:19:02]File name is /storage/ofd_packets/00068444 [23:19:02]Write 298 bytes [23:19:02]NVStorageSaveData done [23:19:02]OFDSenderStorePacket done [23:19:02]KKMCreateOFDPacket done [23:19:02]NVStorageSaveData kkm_last_timestamp [23:19:02]File name is /storage/kkm_last_timestamp [23:19:02]Write 4 bytes [23:19:02]NVStorageSaveData done [23:19:02]ExternCall_PrintAddStr [23:19:02]wPrintStart [23:19:02]Write to MH i2c: 01 00 00 B5 10 C5 [23:19:02]Write i2c OK [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: 01 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: 01 07 00 [23:19:02]MH_I2C_Read... [23:19:02]Read from MH i2c: 01 07 00 B5 10 00 00 00 00 00 FF 0F DA [23:19:02]RasterBufferAndPrint [23:19:02]line Счет N : (1)46425 [23:19:02]line ИНН: 02508201610067 [23:19:02]line Контрольно-Кассовый Чек [23:19:02]line ПРОДАЖА [23:19:02]line ТРК (МРК, ГНК) : 11 [23:19:02]line Товар: 2710194210 [23:19:02]line ДТ-К-5 [23:19:02]line 26.240 * 76.20 [23:19:02]line = 1999.49 [23:19:02]line НДС 12% НСП 1% [23:19:02]line > о реализуемом товаре [23:19:02]line ОКРУГЛЕНИЕ: -0.49 [23:19:02]line ИТОГО: 1999.00 [23:19:02]line Внесено: 2000.00 [23:19:02]line СДАЧА: 1.00 [23:19:02]line НСП 1% : 17.69 [23:19:02]line НДС 12% : 212.33 [23:19:02]line Наличными: 1999.00 [23:19:02]line Безнал.: 0.00 [23:19:02]line Место: АЗС № 160 "Партнер Нефть" [23:19:02]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:19:02]line СНО: Общий режим [23:19:02]line Чек 167 29.10.2024 23:19 [23:19:02]line Смена: 548 ФФД: 1.0 [23:19:02]line ЗНМ: 0300000093 [23:19:02]line РНМ: 0000000000091759 [23:19:02]line Версия ККМ: 001 [23:19:02]line ФМ: 0000000000871758 [23:19:02]line ФД: 68444 [23:19:02]line ФПД: 59330630463602 [23:19:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T231903&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68444&fm=59330630463602&tin=02508201610067®Number=0000000000091759&sum=199900 [23:19:02]OFD Sender: Processing packet 68444 [packets to send 28, broken 27] [23:19:02]ProducePacketName [23:19:02]name=ofd_packets/00068444 [23:19:02]OFD Sender: To server: pG, [23:19:02]CommunicateWithHost lk.salyk.kg:30040 [23:19:02]ConnectInit lk.salyk.kg [23:19:02]written 0, free lines is 4095 [23:19:02]Connected sock=11 [23:19:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 55 9E 04 01 CE 34 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 80 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A7 00 00 00 F4 03 04 00 67 6D 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5C 0B 01 00 35 04 06 00 35 F5 FD 27 30 72 46 25 9F DA 0F 82 6E 2B [23:19:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 DF 11 47 00 85 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5C 0B 01 00 F4 03 04 00 0E 19 21 67 B6 04 01 00 00 F2 E8 03 18 08 C5 DD 08 [23:19:03]CommunicateWithHost err = 0 [23:19:03]CheckOFDResponse [23:19:03]1017 (14) - 77093643461234 [23:19:03]1041 (16) - 0000000000871758 [23:19:03]1040 (4) - 68444 [23:19:03]1012 (4) - 29.10.2024 17:19 [23:19:03]1206 (1) - 0 [23:19:03]OFD Sender: Remove packet 68444 [23:19:03]ProducePacketName [23:19:03]name=ofd_packets/00068444 [23:19:03]NVStorageDeleteData [23:19:03]Write to MH i2c: 01 00 00 DF 10 EF [23:19:03]Write i2c OK [23:19:03]MH_I2C_Read... [23:19:03]Read from MH i2c: 01 [23:19:03]MH_I2C_Read... [23:19:03]Read from MH i2c: 01 07 00 [23:19:03]MH_I2C_Read... [23:19:03]Read from MH i2c: 01 07 00 DF 10 00 00 00 00 00 B7 0C B9 [23:19:03]RasterBufferAndPrint [23:19:03]line [23:19:03]line [23:19:03]line [23:19:03]line [23:19:03]line [23:19:03]written 0, free lines is 3262 [23:19:03]MH_Cut [23:19:03]Write to MH i2c: D1 01 00 E6 10 01 C8 [23:19:03]Write i2c OK [23:19:03]MH_I2C_Read... [23:19:03]Read from MH i2c: D1 [23:19:03]MH_I2C_Read... [23:19:03]Read from MH i2c: D1 01 00 [23:19:03]MH_I2C_Read... [23:19:03]Read from MH i2c: D1 01 00 E6 10 00 C7 [23:19:03]Write to MH i2c: 01 00 00 E7 10 F7 [23:19:03]Write i2c OK [23:19:03]MH_I2C_Read... [23:19:03]OFD Sender: No OFD packet to send [23:19:04]*** Cut start [23:19:04]*** Partial cut [23:19:04]*** CUTSNS_PIN = 1 [23:19:04]*** CUTSNS_PIN = 0 [23:19:04]*** Brake cut motor [23:19:04]Read from MH i2c: 01 [23:19:04]MH_I2C_Read... [23:19:04]*** Stop cut motor [23:19:04]*** Cut end [23:19:04]Read from MH i2c: 01 07 00 [23:19:04]MH_I2C_Read... [23:19:04]Read from MH i2c: 01 07 00 E7 10 00 00 00 00 00 FF 0F 0C [23:19:04]process_action close_receipt done [23:19:04]requested_data is exist [23:19:04]produce_requested_data [23:19:04]requested_item fm.sn is exist - process it [23:19:04]wFMCommunicate request_size=4 [23:19:04]MH_SAM_APDU [23:19:04]CAPDU: 80 11 00 00 [23:19:04]Write to MH i2c: E2 08 00 E8 10 80 11 00 00 00 00 00 00 72 [23:19:04]Write i2c OK [23:19:04]MH_I2C_Read... [23:19:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:19:04]Read from MH i2c: E2 [23:19:04]MH_I2C_Read... [23:19:04]Read from MH i2c: E2 17 00 [23:19:04]MH_I2C_Read... [23:19:04]Read from MH i2c: E2 17 00 E8 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C9 [23:19:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:19:04]wFMCommunicate OK [23:19:04]requested_item fd.num is exist - process it [23:19:04]SAM_PROTO_GetFieldsCounters [23:19:04]wFMCommunicate request_size=4 [23:19:04]MH_SAM_APDU [23:19:04]CAPDU: 80 13 00 00 [23:19:04]Write to MH i2c: E2 08 00 E9 10 80 13 00 00 00 00 00 00 75 [23:19:04]Write i2c OK [23:19:04]MH_I2C_Read... [23:19:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:19:04]Read from MH i2c: E2 [23:19:04]MH_I2C_Read... [23:19:04]Read from MH i2c: E2 62 00 [23:19:04]MH_I2C_Read... [23:19:04]Read from MH i2c: E2 62 00 E9 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5C 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A7 00 00 00 5E 04 04 00 A7 00 00 00 57 04 04 00 A8 00 00 00 19 04 04 00 00 00 00 00 90 00 23 [23:19:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5C 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A7 00 00 00 5E 04 04 00 A7 00 00 00 57 04 04 00 A8 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:19:04]wFMCommunicate OK [23:19:04]SAM_PROTO_GetFieldsCounters done [23:19:04]requested_item shift.num is exist - process it [23:19:04]requested_item shift.opened is exist - process it [23:19:04]req_shift_opened [23:19:04]FM_GetShiftState [23:19:04]SAM_PROTO_GetShiftState [23:19:04]wFMCommunicate request_size=4 [23:19:04]MH_SAM_APDU [23:19:04]CAPDU: 80 13 01 00 [23:19:04]Write to MH i2c: E2 08 00 EA 10 80 13 01 00 00 00 00 00 77 [23:19:05]Write i2c OK [23:19:05]MH_I2C_Read... [23:19:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:19:05]Read from MH i2c: E2 [23:19:05]MH_I2C_Read... [23:19:05]Read from MH i2c: E2 0E 00 [23:19:05]MH_I2C_Read... [23:19:05]Read from MH i2c: E2 0E 00 EA 10 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 27 [23:19:05]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [23:19:05]wFMCommunicate OK [23:19:05]SAM_PROTO_GetShiftState done [23:19:05]FM_GetShiftState done [23:19:05]req_shift_opened done [23:19:05]requested_item shift.open_date is exist - process it [23:19:05]req_shift_open_date [23:19:05]req_shift_open_date done [23:19:05]produce_requested_data done [23:19:05]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68444,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [23:19:05]process_action_free close_receipt [23:19:05]json_value_free [23:19:05]json_value_free done [23:19:05]process_json_proto returns [23:19:05]Send response to host [23:19:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68444,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [23:19:05]free response buf [23:19:05]execute_script done [23:19:05]execute_script returns [23:19:05]free content buf [23:19:05]Sock 8.Close socket [23:19:05]Sock 8.Thread stoped [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:16]ConnectInit Can't connect to host [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:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:19]int [23:28:19]Write to MH i2c: 01 00 00 EB 10 FB [23:28:19]Write i2c OK [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 07 00 [23:28:19]MH_I2C_Read... [23:28:19]*** FLAG_PRN_KEY set [23:28:19]*** FLAG_PRN_KEY reset [23:28:19]Read from MH i2c: 01 07 00 EB 10 00 00 00 00 00 FF 0F 10 [23:28:19]state=0 [23:28:19]int [23:28:19]Write to MH i2c: 01 00 00 EC 10 FC [23:28:19]*** FLAG_PRN_KEY set [23:28:19]Write i2c OK [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 07 00 [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 07 00 EC 10 00 08 00 00 00 FF 0F 19 [23:28:19]state=0 [23:28:19]Key pressed [23:28:19]Feed [23:28:19]Write to MH i2c: D8 00 00 ED 10 D4 [23:28:19]Write i2c OK [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: D8 [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: D8 01 00 [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: D8 01 00 ED 10 00 D5 [23:28:19]int [23:28:19]Write to MH i2c: 01 00 00 EE 10 FE [23:28:19]Write i2c OK [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 07 00 [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 07 00 EE 10 00 48 00 00 00 3C 00 89 [23:28:19]state=2 [23:28:19]Key pressed [23:28:19]int [23:28:19]Write to MH i2c: 01 00 00 EF 10 FF [23:28:19]*** FLAG_PRN_KEY reset [23:28:19]Write i2c OK [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 07 00 [23:28:19]MH_I2C_Read... [23:28:19]Read from MH i2c: 01 07 00 EF 10 00 00 00 00 00 F6 0F 0B [23:28:19]state=2 [23:28:19]Stop feed [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:09]OFD Sender: No OFD packet to send [23:29:14]OFD Sender: No OFD packet to send [23:29:19]OFD Sender: No OFD packet to send [23:29:24]OFD Sender: No OFD packet to send [23:29:29]OFD Sender: No OFD packet to send [23:29:34]OFD Sender: No OFD packet to send [23:29:39]OFD Sender: No OFD packet to send [23:29:44]OFD Sender: No OFD packet to send [23:29:49]OFD Sender: No OFD packet to send [23:29:54]OFD Sender: No OFD packet to send [23:29:59]OFD Sender: No OFD packet to send [23:30:04]OFD Sender: No OFD packet to send [23:30:09]OFD Sender: No OFD packet to send [23:30:14]OFD Sender: No OFD packet to send [23:30:19]OFD Sender: No OFD packet to send [23:30:24]OFD Sender: No OFD packet to send [23:30:29]OFD Sender: No OFD packet to send [23:30:34]OFD Sender: No OFD packet to send [23:30:39]OFD Sender: No OFD packet to send [23:30:44]OFD Sender: No OFD packet to send [23:30:49]OFD Sender: No OFD packet to send [23:30:54]OFD Sender: No OFD packet to send [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:24]OFD Sender: No OFD packet to send [23:31:29]OFD Sender: No OFD packet to send [23:31:34]OFD Sender: No OFD packet to send [23:31:39]OFD Sender: No OFD packet to send [23:31:44]OFD Sender: No OFD packet to send [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:31:59]OFD Sender: No OFD packet to send [23:32:04]OFD Sender: No OFD packet to send [23:32:09]OFD Sender: No OFD packet to send [23:32:14]OFD Sender: No OFD packet to send [23:32:19]OFD Sender: No OFD packet to send [23:32:24]OFD Sender: No OFD packet to send [23:32:29]OFD Sender: No OFD packet to send [23:32:34]OFD Sender: No OFD packet to send [23:32:39]OFD Sender: No OFD packet to send [23:32:44]OFD Sender: No OFD packet to send [23:32:49]OFD Sender: No OFD packet to send [23:32:54]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:44]OFD Sender: No OFD packet to send [23:35:49]OFD Sender: No OFD packet to send [23:35:54]OFD Sender: No OFD packet to send [23:35:59]OFD Sender: No OFD packet to send [23:36:04]OFD Sender: No OFD packet to send [23:36:09]OFD Sender: No OFD packet to send [23:36:14]OFD Sender: No OFD packet to send [23:36:19]OFD Sender: No OFD packet to send [23:36:24]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37:14]OFD Sender: No OFD packet to send [23:37:19]OFD Sender: No OFD packet to send [23:37:24]OFD Sender: No OFD packet to send [23:37:29]OFD Sender: No OFD packet to send [23:37:34]OFD Sender: No OFD packet to send [23:37:39]OFD Sender: No OFD packet to send [23:37:44]OFD Sender: No OFD packet to send [23:37:49]OFD Sender: No OFD packet to send [23:37:54]OFD Sender: No OFD packet to send [23:37:59]OFD Sender: No OFD packet to send [23:38:04]OFD Sender: No OFD packet to send [23:38:09]OFD Sender: No OFD packet to send [23:38:14]OFD Sender: No OFD packet to send [23:38:19]OFD Sender: No OFD packet to send [23:38:24]OFD Sender: No OFD packet to send [23:38:29]OFD Sender: No OFD packet to send [23:38:34]OFD Sender: No OFD packet to send [23:38:39]OFD Sender: No OFD packet to send [23:38:44]OFD Sender: No OFD packet to send [23:38:49]OFD Sender: No OFD packet to send [23:38:54]OFD Sender: No OFD packet to send [23:38:59]OFD Sender: No OFD packet to send [23:39:04]OFD Sender: No OFD packet to send [23:39:09]OFD Sender: No OFD packet to send [23:39:14]OFD Sender: No OFD packet to send [23:39:19]OFD Sender: No OFD packet to send [23:39:24]OFD Sender: No OFD packet to send [23:39:29]OFD Sender: No OFD packet to send [23:39:34]OFD Sender: No OFD packet to send [23:39:39]OFD Sender: No OFD packet to send [23:39:44]OFD Sender: No OFD packet to send [23:39:49]OFD Sender: No OFD packet to send [23:39:54]OFD Sender: No OFD packet to send [23:39:59]OFD Sender: No OFD packet to send [23:40:04]OFD Sender: No OFD packet to send [23:40:09]OFD Sender: No OFD packet to send [23:40:14]OFD Sender: No OFD packet to send [23:40:19]OFD Sender: No OFD packet to send [23:40:24]OFD Sender: No OFD packet to send [23:40:29]OFD Sender: No OFD packet to send [23:40:34]OFD Sender: No OFD packet to send [23:40:39]OFD Sender: No OFD packet to send [23:40:44]OFD Sender: No OFD packet to send [23:40:49]OFD Sender: No OFD packet to send [23:40:54]OFD Sender: No OFD packet to send [23:40:59]OFD Sender: No OFD packet to send [23:41:04]OFD Sender: No OFD packet to send [23:41:09]OFD Sender: No OFD packet to send [23:41:14]OFD Sender: No OFD packet to send [23:41:19]OFD Sender: No OFD packet to send [23:41:24]OFD Sender: No OFD packet to send [23:41:29]OFD Sender: No OFD packet to send [23:41:34]OFD Sender: No OFD packet to send [23:41:39]OFD Sender: No OFD packet to send [23:41:44]OFD Sender: No OFD packet to send [23:41:49]OFD Sender: No OFD packet to send [23:41:54]OFD Sender: No OFD packet to send [23:41:59]OFD Sender: No OFD packet to send [23:42:04]OFD Sender: No OFD packet to send [23:42:09]OFD Sender: No OFD packet to send [23:42:14]OFD Sender: No OFD packet to send [23:42:19]OFD Sender: No OFD packet to send [23:42:24]OFD Sender: No OFD packet to send [23:42:29]OFD Sender: No OFD packet to send [23:42:34]OFD Sender: No OFD packet to send [23:42:39]OFD Sender: No OFD packet to send [23:42:44]OFD Sender: No OFD packet to send [23:42:49]OFD Sender: No OFD packet to send [23:42:54]OFD Sender: No OFD packet to send [23:42:59]OFD Sender: No OFD packet to send [23:43:04]OFD Sender: No OFD packet to send [23:43:09]OFD Sender: No OFD packet to send [23:43:14]OFD Sender: No OFD packet to send [23:43:19]OFD Sender: No OFD packet to send [23:43:24]OFD Sender: No OFD packet to send [23:43:29]OFD Sender: No OFD packet to send [23:43:34]OFD Sender: No OFD packet to send [23:43:39]OFD Sender: No OFD packet to send [23:43:44]OFD Sender: No OFD packet to send [23:43:49]OFD Sender: No OFD packet to send [23:43:54]OFD Sender: No OFD packet to send [23:43:59]OFD Sender: No OFD packet to send [23:44:04]OFD Sender: No OFD packet to send [23:44:09]OFD Sender: No OFD packet to send [23:44:14]OFD Sender: No OFD packet to send [23:44:19]OFD Sender: No OFD packet to send [23:44:24]OFD Sender: No OFD packet to send [23:44:29]OFD Sender: No OFD packet to send [23:44:34]OFD Sender: No OFD packet to send [23:44:39]OFD Sender: No OFD packet to send [23:44:44]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]OFD Sender: No OFD packet to send [23:57:10]OFD Sender: No OFD packet to send [23:57:15]OFD Sender: No OFD packet to send [23:57:20]OFD Sender: No OFD packet to send [23:57:25]OFD Sender: No OFD packet to send [23:57:30]OFD Sender: No OFD packet to send [23:57:35]OFD Sender: No OFD packet to send [23:57:40]OFD Sender: No OFD packet to send [23:57:45]OFD Sender: No OFD packet to send [23:57:50]OFD Sender: No OFD packet to send [23:57:55]OFD Sender: No OFD packet to send [23:58:00]OFD Sender: No OFD packet to send [23:58:05]OFD Sender: No OFD packet to send [23:58:10]OFD Sender: No OFD packet to send [23:58:15]OFD Sender: No OFD packet to send [23:58:20]OFD Sender: No OFD packet to send [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:46]ConnectInit Can't connect to host [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:50]ConnectInit Can't connect to host [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:26]accept exits with 10 [00:08:26]New connection [00:08:26]New thread 3066715492 created [00:08:26]Thread 3066858852 joined [00:08:26]Waiting for new connection... [00:08:26] Sock 10.Parse request [00:08:26]Sock 10.Check first char [00:08:26]Sock 10.First char is OK [00:08:26]request: POST /json_proto HTTP/1.0 [00:08:26]Method: POST [00:08:26]URL: /json_proto [00:08:26]Method is POST - this is cgi request [00:08:26]url: /json_proto [00:08:26]query_string will be loaded in cgi processing [00:08:26]execute_cgi json_proto POST (null) [00:08:26]execute_cgi path=json_proto method=POST [00:08:26]POST find Content-Length [00:08:26]Host: 172.17.42.3:8080 [00:08:26]Content-Length: 678 [00:08:26]Content-Type: application/json [00:08:26] [00:08:26]POST finish read [00:08:26]Found Content-Length = 678 [00:08:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46426", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 13.020, "sum" : 871.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 871.00, "payments": [ { "type": 0, "sum" : 871.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:26]execute_script... [00:08:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46426", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 13.020, "sum" : 871.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 871.00, "payments": [ { "type": 0, "sum" : 871.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:26]POST & json_proto [00:08:26]process_json_proto [00:08:26]json parsed OK: [00:08:26]protocol is kg_v1.0 [00:08:26]action value=close_receipt [00:08:26]process_action close_receipt [00:08:26]cmd_close_receipt [00:08:26]MH_GetDate [00:08:26]Write to MH i2c: F0 00 00 F0 10 EF [00:08:26]Write i2c OK [00:08:26]MH_I2C_Read... [00:08:26]Read from MH i2c: F0 [00:08:26]MH_I2C_Read... [00:08:26]Read from MH i2c: F0 09 00 [00:08:26]MH_I2C_Read... [00:08:26]Read from MH i2c: F0 09 00 F0 10 00 FC 78 21 67 28 A1 20 67 44 [00:08:26]GetLastDocTimeStamp 1730243943 [00:08:26]current date 1730246908 [00:08:26]FM_GetShiftState [00:08:26]SAM_PROTO_GetShiftState [00:08:26]wFMCommunicate request_size=4 [00:08:26]MH_SAM_APDU [00:08:26]CAPDU: 80 13 01 00 [00:08:26]Write to MH i2c: E2 08 00 F1 10 80 13 01 00 00 00 00 00 7E [00:08:26]Write i2c OK [00:08:26]MH_I2C_Read... [00:08:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:26]Read from MH i2c: E2 [00:08:26]MH_I2C_Read... [00:08:26]Read from MH i2c: E2 0E 00 [00:08:26]MH_I2C_Read... [00:08:26]Read from MH i2c: E2 0E 00 F1 10 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 2E [00:08:26]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:08:26]wFMCommunicate OK [00:08:26]SAM_PROTO_GetShiftState done [00:08:26]FM_GetShiftState done [00:08:26]opened in 1730160885 [00:08:26]opened+sec_in_day 1730247285 [00:08:26]quantity*price = 87103 [00:08:26]sum+1 = 87105 [00:08:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.04 ИТОГО: 871.00 Внесено: 1000.00 СДАЧА: 129.00 НСП 1% : 7.71 НДС 12% : 92.50 Наличными: 871.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 168 30.10.2024 00:08 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68445 ФПД: 206416464121027 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T000828&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68445&fm=206416464121027&tin=02508201610067®Number=0000000000091759&sum=87100 [00:08:27]StoreToDocumentArchive [00:08:27]shift 548 fd 68445 [00:08:27]save to /storage/0548/doc_00068445 [00:08:27]save last doc name /storage/0548/doc_00068445 to /storage/kkm_last_doc_name [00:08:27]save OK [00:08:27]Clear old archive folders... [00:08:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [00:08:27]tlvbuf is 01E1CFE0 [00:08:27]SAM_PROTO_ClearQueue [00:08:27]wFMCommunicate request_size=4 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 09 00 00 [00:08:27]Write to MH i2c: E2 08 00 FE 10 80 09 00 00 00 00 00 00 80 [00:08:27]Write i2c OK [00:08:27]MH_I2C_Read... [00:08:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:08:27]Read from MH i2c: E2 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 FE 10 00 90 00 82 [00:08:27]RAPDU: 90 00 [00:08:27]wFMCommunicate OK [00:08:27]SAM_PROTO_ClearQueue done [00:08:27]KKMCreateOFDPacket [00:08:27]OFDProtocolAddRootSTLVToBuf [00:08:27]FM_MakeSignedData [00:08:27]FM_MakeSignedData [00:08:27]SAM_PROTO_SignData [00:08:27]wFMCommunicate request_size=4 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 0D 01 02 [00:08:27]Write to MH i2c: E2 08 00 FF 10 80 0D 01 02 00 00 00 00 88 [00:08:27]Write i2c OK [00:08:27]MH_I2C_Read... [00:08:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:08:27]Read from MH i2c: E2 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 FF 10 00 90 00 83 [00:08:27]RAPDU: 90 00 [00:08:27]wFMCommunicate OK [00:08:27]wFMCommunicate request_size=255 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 0D 02 02 FA 03 00 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 DC 32 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 40 54 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 54 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 24 00 00 00 00 07 04 06 00 3C 54 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A8 00 00 00 F4 03 04 00 FC 78 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5D 0B 01 00 35 04 06 00 BB [00:08:27]Write to MH i2c: E2 02 01 00 11 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 32 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 40 54 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 54 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 24 00 00 00 00 07 04 06 00 3C 54 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A8 00 00 00 F4 03 04 00 FC 78 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5D 0B 01 00 35 04 06 00 BB 00 00 D8 [00:08:27]Write i2c OK [00:08:27]MH_I2C_Read... [00:08:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:28]Read from MH i2c: E2 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 00 11 00 90 00 85 [00:08:28]RAPDU: 90 00 [00:08:28]wFMCommunicate OK [00:08:28]wFMCommunicate request_size=10 [00:08:28]MH_SAM_APDU [00:08:28]CAPDU: 80 0D 02 02 05 BC 14 05 0C C3 [00:08:28]Write to MH i2c: E2 0D 00 01 11 80 0D 02 02 05 00 BC 14 05 0C C3 00 00 3A [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:28]Read from MH i2c: E2 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 01 11 00 90 00 86 [00:08:28]RAPDU: 90 00 [00:08:28]wFMCommunicate OK [00:08:28]wFMCommunicate request_size=4 [00:08:28]MH_SAM_APDU [00:08:28]CAPDU: 80 0D 03 02 [00:08:28]Write to MH i2c: E2 08 00 02 11 80 0D 03 02 00 00 00 00 8E [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:08:28]Read from MH i2c: E2 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 0B 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 0B 00 02 11 00 33 E7 2A FF FD 00 23 48 90 00 3A [00:08:28]RAPDU: 33 E7 2A FF FD 00 23 48 90 00 [00:08:28]wFMCommunicate OK [00:08:28]SAM_PROTO_SignData done [00:08:28]FM_MakeSignedData done [00:08:28]CreateOFDProtocolMessage [00:08:28]wFMCommunicate request_size=4 [00:08:28]MH_SAM_APDU [00:08:28]CAPDU: 80 11 00 00 [00:08:28]Write to MH i2c: E2 08 00 03 11 80 11 00 00 00 00 00 00 8E [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:28]Read from MH i2c: E2 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 17 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 17 00 03 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E5 [00:08:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:08:28]wFMCommunicate OK [00:08:28]CreateOFDProtocolMessage done [00:08:28]OFDSenderStorePacket 68445 [00:08:28]StoreOFDPacket docnum=68445 [00:08:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 B9 E2 07 01 D2 2C 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 DC 32 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 40 54 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 54 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 24 00 00 00 00 07 04 06 00 3C 54 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A8 00 00 00 F4 03 04 00 FC 78 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5D 0B 01 00 35 04 06 00 BB BC 14 05 0C C3 33 E7 2A FF FD 00 23 48 [00:08:28]CheckFolder [00:08:28]dirname=/storage/ofd_packets [00:08:28]CheckFolder done [00:08:28]ProducePacketName [00:08:28]name=ofd_packets/00068445 [00:08:28]NVStorageSaveData ofd_packets/00068445 [00:08:28]File name is /storage/ofd_packets/00068445 [00:08:28]Write 301 bytes [00:08:28]NVStorageSaveData done [00:08:28]OFDSenderStorePacket done [00:08:28]KKMCreateOFDPacket done [00:08:28]NVStorageSaveData kkm_last_timestamp [00:08:28]File name is /storage/kkm_last_timestamp [00:08:28]Write 4 bytes [00:08:28]NVStorageSaveData done [00:08:28]ExternCall_PrintAddStr [00:08:28]wPrintStart [00:08:28]Write to MH i2c: 01 00 00 04 11 15 [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: 01 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: 01 07 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: 01 07 00 04 11 00 00 00 00 00 FF 0F 2A [00:08:28]RasterBufferAndPrint [00:08:28]line Счет N : (1)46426 [00:08:28]line ИНН: 02508201610067 [00:08:28]line Контрольно-Кассовый Чек [00:08:28]line ПРОДАЖА [00:08:28]line ТРК (МРК, ГНК) : 23 [00:08:28]line Товар: 2710124130 [00:08:28]line Аи-92-К-5 [00:08:28]line 13.020 * 66.90 [00:08:28]line = 871.04 [00:08:28]line НДС 12% НСП 1% [00:08:28]line > о реализуемом товаре [00:08:28]line ОКРУГЛЕНИЕ: -0.04 [00:08:28]line ИТОГО: 871.00 [00:08:28]line Внесено: 1000.00 [00:08:28]line СДАЧА: 129.00 [00:08:28]line НСП 1% : 7.71 [00:08:28]line НДС 12% : 92.50 [00:08:28]line Наличными: 871.00 [00:08:28]line Безнал.: 0.00 [00:08:28]line Место: АЗС № 160 "Партнер Нефть" [00:08:28]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:08:28]line СНО: Общий режим [00:08:28]line Чек 168 30.10.2024 00:08 [00:08:28]line Смена: 548 ФФД: 1.0 [00:08:28]line ЗНМ: 0300000093 [00:08:28]line РНМ: 0000000000091759 [00:08:28]line Версия ККМ: 001 [00:08:28]line ФМ: 0000000000871758 [00:08:28]line ФД: 68445 [00:08:28]line ФПД: 206416464121027 [00:08:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T000828&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68445&fm=206416464121027&tin=02508201610067®Number=0000000000091759&sum=87100 [00:08:28]written 0, free lines is 4095 [00:08:28]OFD Sender: Processing packet 68445 [packets to send 28, broken 27] [00:08:28]ProducePacketName [00:08:28]name=ofd_packets/00068445 [00:08:28]OFD Sender: To server: pG, [00:08:28]CommunicateWithHost lk.salyk.kg:30040 [00:08:28]ConnectInit lk.salyk.kg [00:08:28]Connected sock=9 [00:08:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 B9 E2 07 01 D2 2C 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 DC 32 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 40 54 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 54 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 24 00 00 00 00 07 04 06 00 3C 54 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A8 00 00 00 F4 03 04 00 FC 78 21 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5D 0B 01 00 35 04 06 00 BB BC 14 05 0C C3 33 E7 2A FF FD 00 23 48 [00:08:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4A A5 47 00 97 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5D 0B 01 00 F4 03 04 00 A3 24 21 67 B6 04 01 00 00 D3 B8 AD FE A4 9E DB 44 [00:08:28]CommunicateWithHost err = 0 [00:08:28]CheckOFDResponse [00:08:28]1017 (14) - 77093643461234 [00:08:28]1041 (16) - 0000000000871758 [00:08:28]1040 (4) - 68445 [00:08:28]1012 (4) - 29.10.2024 18:08 [00:08:28]1206 (1) - 0 [00:08:28]OFD Sender: Remove packet 68445 [00:08:28]ProducePacketName [00:08:28]name=ofd_packets/00068445 [00:08:28]NVStorageDeleteData [00:08:28]Write to MH i2c: 01 00 00 2E 11 3F [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: 01 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: 01 07 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: 01 07 00 2E 11 00 00 00 00 00 BC 0C 0E [00:08:28]RasterBufferAndPrint [00:08:28]line [00:08:28]line [00:08:28]line [00:08:28]line [00:08:28]line [00:08:28]written 0, free lines is 3266 [00:08:28]MH_Cut [00:08:28]Write to MH i2c: D1 01 00 35 11 01 18 [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: D1 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: D1 01 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: D1 01 00 35 11 00 17 [00:08:28]Write to MH i2c: 01 00 00 36 11 47 [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:29]OFD Sender: No OFD packet to send [00:08:29]*** Cut start [00:08:29]*** Partial cut [00:08:29]*** CUTSNS_PIN = 1 [00:08:29]*** CUTSNS_PIN = 0 [00:08:29]*** Brake cut motor [00:08:30]Read from MH i2c: 01 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 36 11 00 00 00 00 00 FF 0F 5C [00:08:30]int [00:08:30]Write to MH i2c: 01 00 00 37 11 48 [00:08:30]process_action close_receipt done [00:08:30]requested_data is exist [00:08:30]produce_requested_data [00:08:30]requested_item fm.sn is exist - process it [00:08:30]wFMCommunicate request_size=4 [00:08:30]MH_SAM_APDU [00:08:30]CAPDU: 80 11 00 00 [00:08:30]*** Stop cut motor [00:08:30]*** Cut end [00:08:30]*** FLAG_PRN_KEY set [00:08:30]*** FLAG_PRN_KEY reset [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 37 11 00 08 00 00 00 FF 0F 65 [00:08:30]state=0 [00:08:30]Key pressed [00:08:30]Feed [00:08:30]Write to MH i2c: D8 00 00 38 11 20 [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: D8 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: D8 01 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: D8 01 00 38 11 00 21 [00:08:30]int line is 0 - check status [00:08:30]Write to MH i2c: 01 00 00 39 11 4A [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 39 11 00 00 00 00 00 F5 0F 55 [00:08:30]state=2 [00:08:30]Stop feed [00:08:30]Write to MH i2c: E2 08 00 3A 11 80 11 00 00 00 00 00 00 C5 [00:08:30]int [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:30]Read from MH i2c: E2 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 17 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 17 00 3A 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 1C [00:08:30]RAPDU: Write to MH i2c: 11 01 04 00 10 00 00 30 3B 30 11 30 4C 30 [00:08:30]30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:08:30]wFMCommunicate OK [00:08:30]requested_item fd.num is exist - process it [00:08:30]Write i2c OK [00:08:30]SAM_PROTO_GetFieldsCounters [00:08:30]MH_I2C_Read... [00:08:30]wFMCommunicate request_size=4 [00:08:30]Read from MH i2c: MH_SAM_APDU [00:08:30]01 CAPDU: [00:08:30]80 MH_I2C_Read... [00:08:30]13 00 Read from MH i2c: 00 01 07 [00:08:30]00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 3B 11 00 00 00 00 00 F5 0F 57 [00:08:30]Write to MH i2c: state=0 [00:08:30]E2 08 00 3C 11 80 13 00 00 00 00 00 00 C9 [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:08:30]Read from MH i2c: E2 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 62 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 62 00 3C 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 7B [00:08:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:08:30]wFMCommunicate OK [00:08:30]SAM_PROTO_GetFieldsCounters done [00:08:30]requested_item shift.num is exist - process it [00:08:30]requested_item shift.opened is exist - process it [00:08:30]req_shift_opened [00:08:30]FM_GetShiftState [00:08:30]SAM_PROTO_GetShiftState [00:08:30]wFMCommunicate request_size=4 [00:08:30]MH_SAM_APDU [00:08:30]CAPDU: 80 13 01 00 [00:08:30]Write to MH i2c: E2 08 00 3D 11 80 13 01 00 00 00 00 00 CB [00:08:30]*** FLAG_PRN_KEY set [00:08:30]int [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:30]Read from MH i2c: E2 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 0E 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 0E 00 3D 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 7B [00:08:30]RAPDU: Write to MH i2c: 01 09 00 00 00 01 3E F5 11 28 4F 20 [00:08:30]67 00 00 00 00 90 00 [00:08:30]wFMCommunicate OK [00:08:30]SAM_PROTO_GetShiftState done [00:08:30]FM_GetShiftState done [00:08:30]req_shift_opened done [00:08:30]requested_item shift.open_date is exist - process it [00:08:30]req_shift_open_date [00:08:30]req_shift_open_date done [00:08:30]produce_requested_data done [00:08:30]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68445,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [00:08:30]process_action_free close_receipt [00:08:30]json_value_free [00:08:30]json_value_free done [00:08:30]process_json_proto returns [00:08:30]Send response to host [00:08:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68445,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [00:08:30]free response buf [00:08:30]execute_script done [00:08:30]execute_script returns [00:08:30]free content buf [00:08:30]Sock 10.Close socket [00:08:30]Sock 10.Thread stoped [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 3E 11 00 08 00 00 00 FF 0F 6C [00:08:30]state=0 [00:08:30]Key pressed [00:08:30]Feed [00:08:30]Write to MH i2c: D8 00 00 3F 11 27 [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: D8 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: D8 01 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: D8 01 00 3F 11 00 28 [00:08:30]int [00:08:30]Write to MH i2c: 01 00 00 40 11 51 [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 40 11 00 48 00 00 00 3C 00 DC [00:08:30]state=2 [00:08:30]Key pressed [00:08:30]int [00:08:30]Write to MH i2c: 01 00 00 41 11 52 [00:08:30]*** FLAG_PRN_KEY reset [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 41 11 00 00 00 00 00 F7 0F 5F [00:08:30]state=2 [00:08:30]Stop feed [00:08:34]OFD Sender: No OFD packet to send [00:08:39]OFD Sender: No OFD packet to send [00:08:44]OFD Sender: No OFD packet to send [00:08:49]OFD Sender: No OFD packet to send [00:08:54]OFD Sender: No OFD packet to send [00:08:59]OFD Sender: No OFD packet to send [00:09:04]OFD Sender: No OFD packet to send [00:09:09]OFD Sender: No OFD packet to send [00:09:14]OFD Sender: No OFD packet to send [00:09:19]OFD Sender: No OFD packet to send [00:09:24]OFD Sender: No OFD packet to send [00:09:29]OFD Sender: No OFD packet to send [00:09:34]OFD Sender: No OFD packet to send [00:09:39]OFD Sender: No OFD packet to send [00:09:44]OFD Sender: No OFD packet to send [00:09:46]accept exits with 8 [00:09:46]New connection [00:09:46]New thread 3066858852 created [00:09:46]Thread 3066715492 joined [00:09:46]Waiting for new connection... [00:09:46] Sock 8.Parse request [00:09:46]Sock 8.Check first char [00:09:46]Sock 8.First char is OK [00:09:46]request: POST /json_proto HTTP/1.0 [00:09:46]Method: POST [00:09:46]URL: /json_proto [00:09:46]Method is POST - this is cgi request [00:09:46]url: /json_proto [00:09:46]query_string will be loaded in cgi processing [00:09:46]execute_cgi json_proto POST (null) [00:09:46]execute_cgi path=json_proto method=POST [00:09:46]POST find Content-Length [00:09:46]Host: 172.17.42.3:8080 [00:09:46]Content-Length: 215 [00:09:46]Content-Type: application/json [00:09:46] [00:09:46]POST finish read [00:09:46]Found Content-Length = 215 [00:09:46]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:09:46]execute_script... [00:09:46]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:09:46]POST & json_proto [00:09:46]process_json_proto [00:09:46]json parsed OK: [00:09:46]protocol is kg_v1.0 [00:09:46]action value=get_value [00:09:46]process_action get_value [00:09:46]cmd_get_value [00:09:46]process_action get_value done [00:09:46]requested_data is exist [00:09:46]produce_requested_data [00:09:46]requested_item kkm.sn is exist - process it [00:09:46]requested_item kkm.ver is exist - process it [00:09:46]requested_item fm.sn is exist - process it [00:09:46]wFMCommunicate request_size=4 [00:09:46]MH_SAM_APDU [00:09:46]CAPDU: 80 11 00 00 [00:09:46]Write to MH i2c: E2 08 00 42 11 80 11 00 00 00 00 00 00 CD [00:09:46]Write i2c OK [00:09:46]MH_I2C_Read... [00:09:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:46]Read from MH i2c: E2 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 17 00 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 17 00 42 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 24 [00:09:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:09:46]wFMCommunicate OK [00:09:46]requested_item fd.num is exist - process it [00:09:46]SAM_PROTO_GetFieldsCounters [00:09:46]wFMCommunicate request_size=4 [00:09:46]MH_SAM_APDU [00:09:46]CAPDU: 80 13 00 00 [00:09:46]Write to MH i2c: E2 08 00 43 11 80 13 00 00 00 00 00 00 D0 [00:09:46]Write i2c OK [00:09:46]MH_I2C_Read... [00:09:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:46]Read from MH i2c: E2 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 62 00 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 62 00 43 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [00:09:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:46]wFMCommunicate OK [00:09:46]SAM_PROTO_GetFieldsCounters done [00:09:46]requested_item shift.num is exist - process it [00:09:46]requested_item shift.opened is exist - process it [00:09:46]req_shift_opened [00:09:46]FM_GetShiftState [00:09:46]SAM_PROTO_GetShiftState [00:09:46]wFMCommunicate request_size=4 [00:09:46]MH_SAM_APDU [00:09:46]CAPDU: 80 13 01 00 [00:09:46]Write to MH i2c: E2 08 00 44 11 80 13 01 00 00 00 00 00 D2 [00:09:46]Write i2c OK [00:09:46]MH_I2C_Read... [00:09:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:46]Read from MH i2c: E2 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 0E 00 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 0E 00 44 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 82 [00:09:46]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:09:46]wFMCommunicate OK [00:09:46]SAM_PROTO_GetShiftState done [00:09:46]FM_GetShiftState done [00:09:46]req_shift_opened done [00:09:46]requested_item shift.open_date is exist - process it [00:09:46]req_shift_open_date [00:09:46]req_shift_open_date done [00:09:46]produce_requested_data done [00:09:46]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68445,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [00:09:46]process_action_free get_value [00:09:46]json_value_free [00:09:46]json_value_free done [00:09:46]process_json_proto returns [00:09:46]Send response to host [00:09:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68445,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [00:09:46]free response buf [00:09:46]execute_script done [00:09:46]execute_script returns [00:09:46]free content buf [00:09:46]Sock 8.Close socket [00:09:46]Sock 8.Thread stoped [00:09:46]accept exits with 9 [00:09:46]New connection [00:09:46]New thread 3066715492 created [00:09:46]Thread 3066858852 joined [00:09:46]Waiting for new connection... [00:09:46] Sock 9.Parse request [00:09:46]Sock 9.Check first char [00:09:46]Sock 9.First char is OK [00:09:46]request: POST /json_proto HTTP/1.0 [00:09:46]Method: POST [00:09:46]URL: /json_proto [00:09:46]Method is POST - this is cgi request [00:09:46]url: /json_proto [00:09:46]query_string will be loaded in cgi processing [00:09:46]execute_cgi json_proto POST (null) [00:09:46]execute_cgi path=json_proto method=POST [00:09:46]POST find Content-Length [00:09:46]Host: 172.17.42.3:8080 [00:09:46]Content-Length: 331 [00:09:46]Content-Type: application/json [00:09:46] [00:09:46]POST finish read [00:09:46]Found Content-Length = 331 [00:09:46]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:09:46]execute_script... [00:09:47]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:09:47]POST & json_proto [00:09:47]process_json_proto [00:09:47]json parsed OK: [00:09:47]protocol is kg_v1.0 [00:09:47]action value=get_value [00:09:47]process_action get_value [00:09:47]cmd_get_value [00:09:47]process_action get_value done [00:09:47]requested_data is exist [00:09:47]produce_requested_data [00:09:47]requested_item fm.sale.total is exist - process it [00:09:47]SAM_PROTO_GetFMData [00:09:47]wFMCommunicate request_size=4 [00:09:47]MH_SAM_APDU [00:09:47]CAPDU: 80 13 03 00 [00:09:47]Write to MH i2c: E2 08 00 45 11 80 13 03 00 00 00 00 00 D5 [00:09:47]Write i2c OK [00:09:47]MH_I2C_Read... [00:09:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:47]Read from MH i2c: E2 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 45 11 00 C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 77 [00:09:47]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 [00:09:47]wFMCommunicate OK [00:09:47]wFMCommunicate request_size=4 [00:09:47]MH_SAM_APDU [00:09:47]CAPDU: 80 17 00 00 [00:09:47]Write to MH i2c: E2 08 00 46 11 80 17 00 00 00 00 00 00 D7 [00:09:47]Write i2c OK [00:09:47]MH_I2C_Read... [00:09:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:47]Read from MH i2c: E2 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 46 11 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 E9 [00:09:47]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 [00:09:47]wFMCommunicate OK [00:09:47]wFMCommunicate request_size=4 [00:09:47]MH_SAM_APDU [00:09:47]CAPDU: 80 17 00 00 [00:09:47]Write to MH i2c: E2 08 00 47 11 80 17 00 00 00 00 00 00 D8 [00:09:47]Write i2c OK [00:09:47]MH_I2C_Read... [00:09:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:47]Read from MH i2c: E2 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 47 11 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 B0 [00:09:47]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 [00:09:47]wFMCommunicate OK [00:09:47]wFMCommunicate request_size=4 [00:09:47]MH_SAM_APDU [00:09:47]CAPDU: 80 17 00 00 [00:09:47]Write to MH i2c: E2 08 00 48 11 80 17 00 00 00 00 00 00 D9 [00:09:47]Write i2c OK [00:09:47]MH_I2C_Read... [00:09:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:48]Read from MH i2c: E2 [00:09:48]MH_I2C_Read... [00:09:48]Read from MH i2c: E2 FD 00 [00:09:48]MH_I2C_Read... [00:09:48]Read from MH i2c: E2 FD 00 48 11 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 54 [00:09:48]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [00:09:48]wFMCommunicate OK [00:09:48]wFMCommunicate request_size=4 [00:09:48]MH_SAM_APDU [00:09:48]CAPDU: 80 17 00 00 [00:09:48]Write to MH i2c: E2 08 00 49 11 80 17 00 00 00 00 00 00 DA [00:09:48]Write i2c OK [00:09:48]MH_I2C_Read... [00:09:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:09:48]Read from MH i2c: E2 [00:09:48]MH_I2C_Read... [00:09:48]Read from MH i2c: E2 E4 00 [00:09:48]MH_I2C_Read... [00:09:48]Read from MH i2c: E2 E4 00 49 11 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BA [00:09:48]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:48]wFMCommunicate OK [00:09:48]SAM_PROTO_GetFMData done [00:09:48]requested_item fm.sale_refund.total is exist - process it [00:09:48]requested_item fm.buy.total is exist - process it [00:09:48]requested_item shift.sale.total is exist - process it [00:09:48]SAM_PROTO_GetShiftData [00:09:48]wFMCommunicate request_size=4 [00:09:48]MH_SAM_APDU [00:09:48]CAPDU: 80 13 02 00 [00:09:48]Write to MH i2c: E2 08 00 4A 11 80 13 02 00 00 00 00 00 D9 [00:09:48]Write i2c OK [00:09:48]MH_I2C_Read... [00:09:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:48]Read from MH i2c: E2 [00:09:48]MH_I2C_Read... [00:09:48]Read from MH i2c: E2 FD 00 [00:09:48]MH_I2C_Read... [00:09:48]Read from MH i2c: E2 FD 00 4A 11 00 B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 86 [00:09:48]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:09:48]wFMCommunicate OK [00:09:48]wFMCommunicate request_size=4 [00:09:48]MH_SAM_APDU [00:09:48]CAPDU: 80 17 00 00 [00:09:48]Write to MH i2c: E2 08 00 4B 11 80 17 00 00 00 00 00 00 DC [00:09:48]Write i2c OK [00:09:48]MH_I2C_Read... [00:09:49]OFD Sender: No OFD packet to send [00:09:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:49]Read from MH i2c: E2 [00:09:49]MH_I2C_Read... [00:09:49]Read from MH i2c: E2 FD 00 [00:09:49]MH_I2C_Read... [00:09:49]Read from MH i2c: E2 FD 00 4B 11 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 F6 [00:09:49]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 [00:09:49]wFMCommunicate OK [00:09:49]wFMCommunicate request_size=4 [00:09:49]MH_SAM_APDU [00:09:49]CAPDU: 80 17 00 00 [00:09:49]Write to MH i2c: E2 08 00 4C 11 80 17 00 00 00 00 00 00 DD [00:09:49]Write i2c OK [00:09:49]MH_I2C_Read... [00:09:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:49]Read from MH i2c: E2 [00:09:49]MH_I2C_Read... [00:09:49]Read from MH i2c: E2 FD 00 [00:09:49]MH_I2C_Read... [00:09:49]Read from MH i2c: E2 FD 00 4C 11 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 9A [00:09:49]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [00:09:49]wFMCommunicate OK [00:09:49]wFMCommunicate request_size=4 [00:09:49]MH_SAM_APDU [00:09:49]CAPDU: 80 17 00 00 [00:09:49]Write to MH i2c: E2 08 00 4D 11 80 17 00 00 00 00 00 00 DE [00:09:49]Write i2c OK [00:09:49]MH_I2C_Read... [00:09:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:49]Read from MH i2c: E2 [00:09:49]MH_I2C_Read... [00:09:49]Read from MH i2c: E2 FD 00 [00:09:49]MH_I2C_Read... [00:09:49]Read from MH i2c: E2 FD 00 4D 11 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 51 [00:09:49]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:09:49]wFMCommunicate OK [00:09:49]wFMCommunicate request_size=4 [00:09:49]MH_SAM_APDU [00:09:49]CAPDU: 80 17 00 00 [00:09:49]Write to MH i2c: E2 08 00 4E 11 80 17 00 00 00 00 00 00 DF [00:09:49]Write i2c OK [00:09:49]MH_I2C_Read... [00:09:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:09:50]Read from MH i2c: E2 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 CD 00 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 CD 00 4E 11 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C3 [00:09:50]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:50]wFMCommunicate OK [00:09:50]SAM_PROTO_GetShiftData done [00:09:50]requested_item shift.sale.total_cash is exist - process it [00:09:50]requested_item shift.sale_refund.total is exist - process it [00:09:50]requested_item shift.sale_refund.total_cash is exist - process it [00:09:50]requested_item shift.buy.total is exist - process it [00:09:50]requested_item shift.buy.total_cash is exist - process it [00:09:50]produce_requested_data done [00:09:50]produce_requested_data return {"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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:09:50]process_action_free get_value [00:09:50]json_value_free [00:09:50]json_value_free done [00:09:50]process_json_proto returns [00:09:50]Send response to host [00:09:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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:09:50]free response buf [00:09:50]execute_script done [00:09:50]execute_script returns [00:09:50]free content buf [00:09:50]Sock 9.Close socket [00:09:50]Sock 9.Thread stoped [00:09:50]accept exits with 8 [00:09:50]New connection [00:09:50]New thread 3066858852 created [00:09:50]Thread 3066715492 joined [00:09:50]Waiting for new connection... [00:09:50] Sock 8.Parse request [00:09:50]Sock 8.Check first char [00:09:50]Sock 8.First char is OK [00:09:50]request: POST /json_proto HTTP/1.0 [00:09:50]Method: POST [00:09:50]URL: /json_proto [00:09:50]Method is POST - this is cgi request [00:09:50]url: /json_proto [00:09:50]query_string will be loaded in cgi processing [00:09:50]execute_cgi json_proto POST (null) [00:09:50]execute_cgi path=json_proto method=POST [00:09:50]POST find Content-Length [00:09:50]Host: 172.17.42.3:8080 [00:09:50]Content-Length: 331 [00:09:50]Content-Type: application/json [00:09:50] [00:09:50]POST finish read [00:09:50]Found Content-Length = 331 [00:09:50]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:09:50]execute_script... [00:09:50]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:09:50]POST & json_proto [00:09:50]process_json_proto [00:09:50]json parsed OK: [00:09:50]protocol is kg_v1.0 [00:09:50]action value=get_value [00:09:50]process_action get_value [00:09:50]cmd_get_value [00:09:50]process_action get_value done [00:09:50]requested_data is exist [00:09:50]produce_requested_data [00:09:50]requested_item fm.sale.total is exist - process it [00:09:50]SAM_PROTO_GetFMData [00:09:50]wFMCommunicate request_size=4 [00:09:50]MH_SAM_APDU [00:09:50]CAPDU: 80 13 03 00 [00:09:50]Write to MH i2c: E2 08 00 4F 11 80 13 03 00 00 00 00 00 DF [00:09:50]Write i2c OK [00:09:50]MH_I2C_Read... [00:09:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:50]Read from MH i2c: E2 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 FD 00 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 FD 00 4F 11 00 C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 81 [00:09:50]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 [00:09:50]wFMCommunicate OK [00:09:50]wFMCommunicate request_size=4 [00:09:50]MH_SAM_APDU [00:09:50]CAPDU: 80 17 00 00 [00:09:50]Write to MH i2c: E2 08 00 50 11 80 17 00 00 00 00 00 00 E1 [00:09:50]Write i2c OK [00:09:50]MH_I2C_Read... [00:09:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:51]Read from MH i2c: E2 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 50 11 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 F3 [00:09:51]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 [00:09:51]wFMCommunicate OK [00:09:51]wFMCommunicate request_size=4 [00:09:51]MH_SAM_APDU [00:09:51]CAPDU: 80 17 00 00 [00:09:51]Write to MH i2c: E2 08 00 51 11 80 17 00 00 00 00 00 00 E2 [00:09:51]Write i2c OK [00:09:51]MH_I2C_Read... [00:09:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:51]Read from MH i2c: E2 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 51 11 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 BA [00:09:51]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 [00:09:51]wFMCommunicate OK [00:09:51]wFMCommunicate request_size=4 [00:09:51]MH_SAM_APDU [00:09:51]CAPDU: 80 17 00 00 [00:09:51]Write to MH i2c: E2 08 00 52 11 80 17 00 00 00 00 00 00 E3 [00:09:51]Write i2c OK [00:09:51]MH_I2C_Read... [00:09:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:51]Read from MH i2c: E2 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 52 11 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 5E [00:09:52]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [00:09:52]wFMCommunicate OK [00:09:52]wFMCommunicate request_size=4 [00:09:52]MH_SAM_APDU [00:09:52]CAPDU: 80 17 00 00 [00:09:52]Write to MH i2c: E2 08 00 53 11 80 17 00 00 00 00 00 00 E4 [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:09:52]Read from MH i2c: E2 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 E4 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 E4 00 53 11 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C4 [00:09:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:52]wFMCommunicate OK [00:09:52]SAM_PROTO_GetFMData done [00:09:52]requested_item fm.sale_refund.total is exist - process it [00:09:52]requested_item fm.buy.total is exist - process it [00:09:52]requested_item shift.sale.total is exist - process it [00:09:52]SAM_PROTO_GetShiftData [00:09:52]wFMCommunicate request_size=4 [00:09:52]MH_SAM_APDU [00:09:52]CAPDU: 80 13 02 00 [00:09:52]Write to MH i2c: E2 08 00 54 11 80 13 02 00 00 00 00 00 E3 [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:52]Read from MH i2c: E2 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 FD 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 FD 00 54 11 00 B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 90 [00:09:52]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:09:52]wFMCommunicate OK [00:09:52]wFMCommunicate request_size=4 [00:09:52]MH_SAM_APDU [00:09:52]CAPDU: 80 17 00 00 [00:09:52]Write to MH i2c: E2 08 00 55 11 80 17 00 00 00 00 00 00 E6 [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:53]Read from MH i2c: E2 [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: E2 FD 00 [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: E2 FD 00 55 11 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 00 [00:09:53]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 [00:09:53]wFMCommunicate OK [00:09:53]wFMCommunicate request_size=4 [00:09:53]MH_SAM_APDU [00:09:53]CAPDU: 80 17 00 00 [00:09:53]Write to MH i2c: E2 08 00 56 11 80 17 00 00 00 00 00 00 E7 [00:09:53]Write i2c OK [00:09:53]MH_I2C_Read... [00:09:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:53]Read from MH i2c: E2 [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: E2 FD 00 [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: E2 FD 00 56 11 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 A4 [00:09:53]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [00:09:53]wFMCommunicate OK [00:09:53]wFMCommunicate request_size=4 [00:09:53]MH_SAM_APDU [00:09:53]CAPDU: 80 17 00 00 [00:09:53]Write to MH i2c: E2 08 00 57 11 80 17 00 00 00 00 00 00 E8 [00:09:53]Write i2c OK [00:09:53]MH_I2C_Read... [00:09:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:54]Read from MH i2c: E2 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 FD 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 FD 00 57 11 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 5B [00:09:54]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:09:54]wFMCommunicate OK [00:09:54]wFMCommunicate request_size=4 [00:09:54]MH_SAM_APDU [00:09:54]CAPDU: 80 17 00 00 [00:09:54]Write to MH i2c: E2 08 00 58 11 80 17 00 00 00 00 00 00 E9 [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]OFD Sender: No OFD packet to send [00:09:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:09:54]Read from MH i2c: E2 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 CD 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 CD 00 58 11 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CD [00:09:54]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:54]wFMCommunicate OK [00:09:54]SAM_PROTO_GetShiftData done [00:09:54]requested_item shift.sale.total_cash is exist - process it [00:09:54]requested_item shift.sale_refund.total is exist - process it [00:09:54]requested_item shift.sale_refund.total_cash is exist - process it [00:09:54]requested_item shift.buy.total is exist - process it [00:09:54]requested_item shift.buy.total_cash is exist - process it [00:09:54]produce_requested_data done [00:09:54]produce_requested_data return {"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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:09:54]process_action_free get_value [00:09:54]json_value_free [00:09:54]json_value_free done [00:09:54]process_json_proto returns [00:09:54]Send response to host [00:09:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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:09:54]free response buf [00:09:54]execute_script done [00:09:54]execute_script returns [00:09:54]free content buf [00:09:54]Sock 8.Close socket [00:09:54]Sock 8.Thread stoped [00:09:54]accept exits with 9 [00:09:54]New connection [00:09:54]New thread 3066715492 created [00:09:54]Thread 3066858852 joined [00:09:54]Waiting for new connection... [00:09:54] Sock 9.Parse request [00:09:54]Sock 9.Check first char [00:09:54]Sock 9.First char is OK [00:09:54]request: POST /json_proto HTTP/1.0 [00:09:54]Method: POST [00:09:54]URL: /json_proto [00:09:54]Method is POST - this is cgi request [00:09:54]url: /json_proto [00:09:54]query_string will be loaded in cgi processing [00:09:54]execute_cgi json_proto POST (null) [00:09:54]execute_cgi path=json_proto method=POST [00:09:54]POST find Content-Length [00:09:54]Host: 172.17.42.3:8080 [00:09:54]Content-Length: 263 [00:09:54]Content-Type: application/json [00:09:54] [00:09:54]POST finish read [00:09:54]Found Content-Length = 263 [00:09:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0418\u043C\u0430\u043D\u0431\u0430\u0435\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:54]execute_script... [00:09:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0418\u043C\u0430\u043D\u0431\u0430\u0435\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:54]POST & json_proto [00:09:54]process_json_proto [00:09:54]json parsed OK: [00:09:54]protocol is kg_v1.0 [00:09:54]action value=x_report [00:09:54]process_action x_report [00:09:54]cmd_x_report [00:09:54]MH_GetDate [00:09:54]Write to MH i2c: F0 00 00 59 11 59 [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: F0 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: F0 09 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: F0 09 00 59 11 00 55 79 21 67 28 A1 20 67 08 [00:09:54]GetLastDocTimeStamp 1730246908 [00:09:54]current date 1730246997 [00:09:54]FM_GetShiftState [00:09:54]SAM_PROTO_GetShiftState [00:09:54]wFMCommunicate request_size=4 [00:09:54]MH_SAM_APDU [00:09:54]CAPDU: 80 13 01 00 [00:09:54]Write to MH i2c: E2 08 00 5A 11 80 13 01 00 00 00 00 00 E8 [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:54]Read from MH i2c: E2 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 0E 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 0E 00 5A 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 98 [00:09:54]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:09:54]wFMCommunicate OK [00:09:54]SAM_PROTO_GetShiftState done [00:09:54]FM_GetShiftState done [00:09:54]KKMCreateXReportDocument [00:09:54]Load OK [00:09:54]Malloc new data [00:09:54]MH_GetDate [00:09:54]Write to MH i2c: F0 00 00 5B 11 5B [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: F0 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: F0 09 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: F0 09 00 5B 11 00 55 79 21 67 28 A1 20 67 0A [00:09:54]Malloc new data [00:09:54]Malloc new data [00:09:54]wFMCommunicate request_size=4 [00:09:54]MH_SAM_APDU [00:09:54]CAPDU: 80 11 00 00 [00:09:54]Write to MH i2c: E2 08 00 5C 11 80 11 00 00 00 00 00 00 E7 [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:54]Read from MH i2c: E2 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 17 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 17 00 5C 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 3E [00:09:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:09:54]wFMCommunicate OK [00:09:54]SAM_PROTO_GetFieldsCounters [00:09:54]wFMCommunicate request_size=4 [00:09:54]MH_SAM_APDU [00:09:54]CAPDU: 80 13 00 00 [00:09:54]Write to MH i2c: E2 08 00 5D 11 80 13 00 00 00 00 00 00 EA [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:54]Read from MH i2c: E2 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 62 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 62 00 5D 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 9C [00:09:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:54]wFMCommunicate OK [00:09:54]SAM_PROTO_GetFieldsCounters done [00:09:54]Malloc new data [00:09:54]Malloc new data [00:09:54]Malloc new data [00:09:54]KKMCreateXReportDocument OK [00:09:54]KKMSetXReportData OK [00:09:54]KKMPrepareXReportFMData [00:09:54]SAM_PROTO_GetShiftData [00:09:54]wFMCommunicate request_size=4 [00:09:54]MH_SAM_APDU [00:09:54]CAPDU: 80 13 02 00 [00:09:54]Write to MH i2c: E2 08 00 5E 11 80 13 02 00 00 00 00 00 ED [00:09:55]Write i2c OK [00:09:55]MH_I2C_Read... [00:09:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:55]Read from MH i2c: E2 [00:09:55]MH_I2C_Read... [00:09:55]Read from MH i2c: E2 FD 00 [00:09:55]MH_I2C_Read... [00:09:55]Read from MH i2c: E2 FD 00 5E 11 00 B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 9A [00:09:55]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:09:55]wFMCommunicate OK [00:09:55]wFMCommunicate request_size=4 [00:09:55]MH_SAM_APDU [00:09:55]CAPDU: 80 17 00 00 [00:09:55]Write to MH i2c: E2 08 00 5F 11 80 17 00 00 00 00 00 00 F0 [00:09:55]Write i2c OK [00:09:55]MH_I2C_Read... [00:09:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:55]Read from MH i2c: E2 [00:09:55]MH_I2C_Read... [00:09:55]Read from MH i2c: E2 FD 00 [00:09:55]MH_I2C_Read... [00:09:55]Read from MH i2c: E2 FD 00 5F 11 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 0A [00:09:56]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 [00:09:56]wFMCommunicate OK [00:09:56]wFMCommunicate request_size=4 [00:09:56]MH_SAM_APDU [00:09:56]CAPDU: 80 17 00 00 [00:09:56]Write to MH i2c: E2 08 00 60 11 80 17 00 00 00 00 00 00 F1 [00:09:56]Write i2c OK [00:09:56]MH_I2C_Read... [00:09:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:56]Read from MH i2c: E2 [00:09:56]MH_I2C_Read... [00:09:56]Read from MH i2c: E2 FD 00 [00:09:56]MH_I2C_Read... [00:09:56]Read from MH i2c: E2 FD 00 60 11 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 AE [00:09:56]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [00:09:56]wFMCommunicate OK [00:09:56]wFMCommunicate request_size=4 [00:09:56]MH_SAM_APDU [00:09:56]CAPDU: 80 17 00 00 [00:09:56]Write to MH i2c: E2 08 00 61 11 80 17 00 00 00 00 00 00 F2 [00:09:56]Write i2c OK [00:09:56]MH_I2C_Read... [00:09:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:56]Read from MH i2c: E2 [00:09:56]MH_I2C_Read... [00:09:56]Read from MH i2c: E2 FD 00 [00:09:56]MH_I2C_Read... [00:09:56]Read from MH i2c: E2 FD 00 61 11 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 65 [00:09:56]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:09:57]wFMCommunicate OK [00:09:57]wFMCommunicate request_size=4 [00:09:57]MH_SAM_APDU [00:09:57]CAPDU: 80 17 00 00 [00:09:57]Write to MH i2c: E2 08 00 62 11 80 17 00 00 00 00 00 00 F3 [00:09:57]Write i2c OK [00:09:57]MH_I2C_Read... [00:09:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:09:57]Read from MH i2c: E2 [00:09:57]MH_I2C_Read... [00:09:57]Read from MH i2c: E2 CD 00 [00:09:57]MH_I2C_Read... [00:09:57]Read from MH i2c: E2 CD 00 62 11 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D7 [00:09:57]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:09:57]wFMCommunicate OK [00:09:57]SAM_PROTO_GetShiftData done [00:09:57]1194 (1196) - счетчики итогов смены [00:09:57] 1134 (4) - 168 - количество чеков со всеми признаками расчетов [00:09:57] 1129 (157) - счетчики операций «приход» [00:09:57] 1135 (4) - 168 - количество чеков по признаку расчетов [00:09:57] 1201 (4) - 217008.63 - общая итоговая сумма в чеках [00:09:57] 1136 (3) - 151144.00 - итоговая сумма в чеках наличными [00:09:57] 1138 (3) - 65864.63 - итоговая сумма в чеках безналичными [00:09:57] 1024 (123) - суммы налогов [00:09:57] 1006 (9) - суммы НДС [00:09:57] 1010 (1) - 0% - код ставки НДС [00:09:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:57] 1006 (12) - суммы НДС [00:09:57] 1010 (1) - 12% - код ставки НДС [00:09:57] 1011 (3) - 23048.32 - сумма НДС по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 0% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (12) - суммы НСП [00:09:57] 1014 (1) - 1% - код ставки НСП [00:09:57] 1015 (3) - 1920.56 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 2% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 3% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 5% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 0,50% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 1,50% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1130 (141) - счетчики операций «возврат прихода» [00:09:57] 1135 (4) - 0 - количество чеков по признаку расчетов [00:09:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:09:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:09:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:09:57] 1024 (117) - суммы налогов [00:09:57] 1006 (9) - суммы НДС [00:09:57] 1010 (1) - 0% - код ставки НДС [00:09:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:57] 1006 (9) - суммы НДС [00:09:57] 1010 (1) - 12% - код ставки НДС [00:09:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 0% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 1% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 2% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 3% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 5% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 0,50% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 1,50% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1131 (141) - счетчики операций «расход» [00:09:57] 1135 (4) - 0 - количество чеков по признаку расчетов [00:09:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:09:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:09:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:09:57] 1024 (117) - суммы налогов [00:09:57] 1006 (9) - суммы НДС [00:09:57] 1010 (1) - 0% - код ставки НДС [00:09:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:57] 1006 (9) - суммы НДС [00:09:57] 1010 (1) - 12% - код ставки НДС [00:09:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 0% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 1% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 2% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 3% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 5% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 0,50% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 1,50% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1132 (141) - счетчики операций «возврат расхода» [00:09:57] 1135 (4) - 0 - количество чеков по признаку расчетов [00:09:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:09:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:09:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:09:57] 1024 (117) - суммы налогов [00:09:57] 1006 (9) - суммы НДС [00:09:57] 1010 (1) - 0% - код ставки НДС [00:09:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:57] 1006 (9) - суммы НДС [00:09:57] 1010 (1) - 12% - код ставки НДС [00:09:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 0% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 1% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 2% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 3% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 5% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 0,50% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1007 (9) - суммы НСП [00:09:57] 1014 (1) - 1,50% - код ставки НСП [00:09:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:57] 1133 (588) - - счетчики коррекции - не используются [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1194 (04AA) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1134 (046E) [00:09:58]Malloc new data [00:09:58]Processing tag 1129 (0469) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1135 (046F) [00:09:58]Malloc new data [00:09:58]Processing tag 1201 (04B1) [00:09:58]Malloc new data [00:09:58]Processing tag 1136 (0470) [00:09:58]Malloc new data [00:09:58]Processing tag 1138 (0472) [00:09:58]Malloc new data [00:09:58]Processing tag 1024 (0400) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1006 (03EE) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1010 (03F2) [00:09:58]Malloc new data [00:09:58]Processing tag 1011 (03F3) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1006 (03EE) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1010 (03F2) [00:09:58]Malloc new data [00:09:58]Processing tag 1011 (03F3) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]SetTLVBufToDocument err=0 [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1130 (046A) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1135 (046F) [00:09:58]Malloc new data [00:09:58]Processing tag 1201 (04B1) [00:09:58]Malloc new data [00:09:58]Processing tag 1136 (0470) [00:09:58]Malloc new data [00:09:58]Processing tag 1138 (0472) [00:09:58]Malloc new data [00:09:58]Processing tag 1024 (0400) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1006 (03EE) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1010 (03F2) [00:09:58]Malloc new data [00:09:58]Processing tag 1011 (03F3) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1006 (03EE) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1010 (03F2) [00:09:58]Malloc new data [00:09:58]Processing tag 1011 (03F3) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]SetTLVBufToDocument err=0 [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1131 (046B) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1135 (046F) [00:09:58]Malloc new data [00:09:58]Processing tag 1201 (04B1) [00:09:58]Malloc new data [00:09:58]Processing tag 1136 (0470) [00:09:58]Malloc new data [00:09:58]Processing tag 1138 (0472) [00:09:58]Malloc new data [00:09:58]Processing tag 1024 (0400) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1006 (03EE) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1010 (03F2) [00:09:58]Malloc new data [00:09:58]Processing tag 1011 (03F3) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1006 (03EE) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1010 (03F2) [00:09:58]Malloc new data [00:09:58]Processing tag 1011 (03F3) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]SetTLVBufToDocument err=0 [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1132 (046C) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1135 (046F) [00:09:58]Malloc new data [00:09:58]Processing tag 1201 (04B1) [00:09:58]Malloc new data [00:09:58]Processing tag 1136 (0470) [00:09:58]Malloc new data [00:09:58]Processing tag 1138 (0472) [00:09:58]Malloc new data [00:09:58]Processing tag 1024 (0400) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1006 (03EE) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1010 (03F2) [00:09:58]Malloc new data [00:09:58]Processing tag 1011 (03F3) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1006 (03EE) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1010 (03F2) [00:09:58]Malloc new data [00:09:58]Processing tag 1011 (03F3) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1007 (03EF) [00:09:58]Load OK [00:09:58]SetTLVBufToDocument [00:09:58]Processing tag 1014 (03F6) [00:09:58]Malloc new data [00:09:58]Processing tag 1015 (03F7) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]SetTLVBufToDocument err=0 [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Processing tag 1133 (046D) [00:09:58]Malloc new data [00:09:58]SetTLVBufToDocument err=0 [00:09:58]SetTLVBufToDocument err=0 [00:09:58]Malloc new data [00:09:58]SAM_PROTO_GetFMData [00:09:58]wFMCommunicate request_size=4 [00:09:58]MH_SAM_APDU [00:09:58]CAPDU: 80 13 03 00 [00:09:58]Write to MH i2c: E2 08 00 63 11 80 13 03 00 00 00 00 00 F3 [00:09:58]Write i2c OK [00:09:58]MH_I2C_Read... [00:09:59]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:59]Read from MH i2c: E2 [00:09:59]MH_I2C_Read... [00:09:59]Read from MH i2c: E2 FD 00 [00:09:59]MH_I2C_Read... [00:09:59]Read from MH i2c: E2 FD 00 63 11 00 C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 95 [00:09:59]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 [00:09:59]wFMCommunicate OK [00:09:59]wFMCommunicate request_size=4 [00:09:59]MH_SAM_APDU [00:09:59]CAPDU: 80 17 00 00 [00:09:59]Write to MH i2c: E2 08 00 64 11 80 17 00 00 00 00 00 00 F5 [00:09:59]OFD Sender: No OFD packet to send [00:09:59]Write i2c OK [00:09:59]MH_I2C_Read... [00:09:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:59]Read from MH i2c: E2 [00:09:59]MH_I2C_Read... [00:09:59]Read from MH i2c: E2 FD 00 [00:09:59]MH_I2C_Read... [00:09:59]Read from MH i2c: E2 FD 00 64 11 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 07 [00:09:59]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 [00:09:59]wFMCommunicate OK [00:09:59]wFMCommunicate request_size=4 [00:09:59]MH_SAM_APDU [00:09:59]CAPDU: 80 17 00 00 [00:09:59]Write to MH i2c: E2 08 00 65 11 80 17 00 00 00 00 00 00 F6 [00:09:59]Write i2c OK [00:09:59]MH_I2C_Read... [00:10:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:00]Read from MH i2c: E2 [00:10:00]MH_I2C_Read... [00:10:00]Read from MH i2c: E2 FD 00 [00:10:00]MH_I2C_Read... [00:10:00]Read from MH i2c: E2 FD 00 65 11 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 CE [00:10:00]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 [00:10:00]wFMCommunicate OK [00:10:00]wFMCommunicate request_size=4 [00:10:00]MH_SAM_APDU [00:10:00]CAPDU: 80 17 00 00 [00:10:00]Write to MH i2c: E2 08 00 66 11 80 17 00 00 00 00 00 00 F7 [00:10:00]Write i2c OK [00:10:00]MH_I2C_Read... [00:10:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:00]Read from MH i2c: E2 [00:10:00]MH_I2C_Read... [00:10:00]Read from MH i2c: E2 FD 00 [00:10:00]MH_I2C_Read... [00:10:00]Read from MH i2c: E2 FD 00 66 11 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 72 [00:10:00]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [00:10:00]wFMCommunicate OK [00:10:00]wFMCommunicate request_size=4 [00:10:00]MH_SAM_APDU [00:10:00]CAPDU: 80 17 00 00 [00:10:00]Write to MH i2c: E2 08 00 67 11 80 17 00 00 00 00 00 00 F8 [00:10:00]Write i2c OK [00:10:00]MH_I2C_Read... [00:10:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:10:01]Read from MH i2c: E2 [00:10:01]MH_I2C_Read... [00:10:01]Read from MH i2c: E2 E4 00 [00:10:01]MH_I2C_Read... [00:10:01]Read from MH i2c: E2 E4 00 67 11 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D8 [00:10:01]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:01]wFMCommunicate OK [00:10:01]SAM_PROTO_GetFMData done [00:10:01]FM_GetFMData:85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:02]oper:6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:02]total:CD AB D0 62 02 [00:10:02]Malloc new data [00:10:02]oper:6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:10:02]total:A8 87 FD 04 [00:10:02]Malloc new data [00:10:02]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:02]total: [00:10:02]Malloc new data [00:10:02]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:02]total: [00:10:02]Malloc new data [00:10:02]KKMPrepareXReportFMData err=0 [00:10:02]Х отчет ИНН: 02508201610067 Кассир: Иманбаева Б. 30.10.2024 00:09 Смена: 522 РНМ: 0000000000091759 ЗНМ: 0300000093 СНО: Общий режим Всего чеков: 168 ИТОГИ ПРИХОД Чеков: 168 Общий итог: 217008.63 Итого наличными: 151144.00 Итого безнал.: 65864.63 НДС 0% : 0.00 НДС 12% : 23048.32 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 1920.56 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 151144.00 НС Приход: 102477772.29 НС Возвр.Прихода: 837242.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871758 [00:10:02]StoreToDocumentArchive [00:10:02]MH_GetDate [00:10:02]Write to MH i2c: F0 00 00 68 11 68 [00:10:02]Write i2c OK [00:10:02]MH_I2C_Read... [00:10:02]Read from MH i2c: F0 [00:10:02]MH_I2C_Read... [00:10:02]Read from MH i2c: F0 09 00 [00:10:02]MH_I2C_Read... [00:10:02]Read from MH i2c: F0 09 00 68 11 00 5D 79 21 67 28 A1 20 67 1F [00:10:02]shift 522 fd 1730247005 [00:10:02]Create dir for shift 0522 [00:10:02]save to /storage/0522/doc_1730247005 [00:10:02]save last doc name /storage/0522/doc_1730247005 to /storage/kkm_last_doc_name [00:10:02]save OK [00:10:02]Clear old archive folders... [00:10:02]NVStorageSaveData kkm_last_timestamp [00:10:02]File name is /storage/kkm_last_timestamp [00:10:02]Write 4 bytes [00:10:02]NVStorageSaveData done [00:10:02]ExternCall_PrintAddStr [00:10:02]wPrintStart [00:10:02]Write to MH i2c: 01 00 00 69 11 7A [00:10:02]Write i2c OK [00:10:02]MH_I2C_Read... [00:10:02]Read from MH i2c: 01 [00:10:02]MH_I2C_Read... [00:10:02]Read from MH i2c: 01 07 00 [00:10:02]MH_I2C_Read... [00:10:02]Read from MH i2c: 01 07 00 69 11 00 00 00 00 00 FF 0F 8F [00:10:02]RasterBufferAndPrint [00:10:02]line Х отчет [00:10:02]line ИНН: 02508201610067 [00:10:02]line Кассир: Иманбаева Б. [00:10:02]line 30.10.2024 00:09 [00:10:02]line Смена: 522 [00:10:02]line РНМ: 0000000000091759 [00:10:02]line ЗНМ: 0300000093 [00:10:02]line СНО: Общий режим [00:10:02]line Всего чеков: 168 [00:10:02]line ИТОГИ ПРИХОД [00:10:02]line Чеков: 168 [00:10:02]line Общий итог: 217008.63 [00:10:02]line Итого наличными: 151144.00 [00:10:02]line Итого безнал.: 65864.63 [00:10:02]line НДС 0% : 0.00 [00:10:02]line НДС 12% : 23048.32 [00:10:02]line НСП 0% : 0.00 [00:10:02]line НСП 1,50% : 0.00 [00:10:02]line НСП 0,50% : 0.00 [00:10:02]line НСП 5% : 0.00 [00:10:02]line НСП 3% : 0.00 [00:10:02]line НСП 2% : 0.00 [00:10:02]line НСП 1% : 1920.56 [00:10:02]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:10:02]line Чеков: 0 [00:10:02]line Общий итог: 0.00 [00:10:02]line Итого наличными: 0.00 [00:10:02]line Итого безнал.: 0.00 [00:10:02]line НДС 0% : 0.00 [00:10:02]line НДС 12% : 0.00 [00:10:02]line НСП 0% : 0.00 [00:10:02]line НСП 1,50% : 0.00 [00:10:02]line НСП 0,50% : 0.00 [00:10:02]line НСП 5% : 0.00 [00:10:02]line НСП 3% : 0.00 [00:10:02]line НСП 2% : 0.00 [00:10:02]line НСП 1% : 0.00 [00:10:02]line ИТОГИ РАСХОД [00:10:02]line Чеков: 0 [00:10:02]line Общий итог: 0.00 [00:10:02]line Итого наличными: 0.00 [00:10:02]line Итого безнал.: 0.00 [00:10:02]line НДС 0% : 0.00 [00:10:02]line НДС 12% : 0.00 [00:10:02]line НСП 0% : 0.00 [00:10:02]line НСП 1,50% : 0.00 [00:10:02]line НСП 0,50% : 0.00 [00:10:02]line НСП 5% : 0.00 [00:10:02]line НСП 3% : 0.00 [00:10:02]line НСП 2% : 0.00 [00:10:02]line НСП 1% : 0.00 [00:10:02]line ИТОГИ ВОЗВРАТ РАСХОДА [00:10:02]line Чеков: 0 [00:10:02]line Общий итог: 0.00 [00:10:02]line Итого наличными: 0.00 [00:10:02]line Итого безнал.: 0.00 [00:10:02]line НДС 0% : 0.00 [00:10:02]line НДС 12% : 0.00 [00:10:02]line НСП 0% : 0.00 [00:10:02]line НСП 1,50% : 0.00 [00:10:02]line НСП 0,50% : 0.00 [00:10:02]line НСП 5% : 0.00 [00:10:02]line НСП 3% : 0.00 [00:10:02]line НСП 2% : 0.00 [00:10:02]line НСП 1% : 0.00 [00:10:02]line Сумма внесений: 0.00 [00:10:02]line Сумма выплат: 0.00 [00:10:02]line Нал. в кассе: 151144.00 [00:10:02]line НС Приход: 102477772.29 [00:10:02]line НС Возвр.Прихода: 837242.00 [00:10:02]line НС Расход: 0.00 [00:10:02]line НС Возвр.Расхода: 0.00 [00:10:02]line ФМ: 0000000000871758 [00:10:02]written 0, free lines is 4095 [00:10:03]Write to MH i2c: 01 00 00 B4 11 C5 [00:10:03]Write i2c OK [00:10:03]MH_I2C_Read... [00:10:03]Read from MH i2c: 01 [00:10:03]MH_I2C_Read... [00:10:03]Read from MH i2c: 01 07 00 [00:10:03]MH_I2C_Read... [00:10:03]Read from MH i2c: 01 07 00 B4 11 00 00 00 00 00 7C 0A 52 [00:10:03]RasterBufferAndPrint [00:10:03]line [00:10:03]line [00:10:03]line [00:10:03]line [00:10:03]line [00:10:03]written 0, free lines is 2712 [00:10:03]MH_Cut [00:10:03]Write to MH i2c: D1 01 00 BB 11 01 9E [00:10:03]Write i2c OK [00:10:03]MH_I2C_Read... [00:10:03]Read from MH i2c: D1 [00:10:03]MH_I2C_Read... [00:10:03]Read from MH i2c: D1 01 00 [00:10:03]MH_I2C_Read... [00:10:03]Read from MH i2c: D1 01 00 BB 11 00 9D [00:10:03]Write to MH i2c: 01 00 00 BC 11 CD [00:10:03]Write i2c OK [00:10:03]MH_I2C_Read... [00:10:04]OFD Sender: No OFD packet to send [00:10:04]*** Cut start [00:10:04]*** Partial cut [00:10:04]*** CUTSNS_PIN = 1 [00:10:04]*** CUTSNS_PIN = 0 [00:10:04]*** Brake cut motor [00:10:05]Read from MH i2c: 01 [00:10:05]MH_I2C_Read... [00:10:05]*** Stop cut motor [00:10:05]*** Cut end [00:10:05]Read from MH i2c: 01 07 00 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: 01 07 00 BC 11 00 00 00 00 00 FF 0F E2 [00:10:05]process_action x_report done [00:10:05]requested_data is exist [00:10:05]produce_requested_data [00:10:05]requested_item fd.num is exist - process it [00:10:05]SAM_PROTO_GetFieldsCounters [00:10:05]wFMCommunicate request_size=4 [00:10:05]MH_SAM_APDU [00:10:05]CAPDU: 80 13 00 00 [00:10:05]Write to MH i2c: E2 08 00 BD 11 80 13 00 00 00 00 00 00 4A [00:10:05]Write i2c OK [00:10:05]MH_I2C_Read... [00:10:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:05]Read from MH i2c: E2 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 62 00 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 62 00 BD 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 FC [00:10:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:05]wFMCommunicate OK [00:10:05]SAM_PROTO_GetFieldsCounters done [00:10:05]requested_item shift.num is exist - process it [00:10:05]requested_item shift.opened is exist - process it [00:10:05]req_shift_opened [00:10:05]FM_GetShiftState [00:10:05]SAM_PROTO_GetShiftState [00:10:05]wFMCommunicate request_size=4 [00:10:05]MH_SAM_APDU [00:10:05]CAPDU: 80 13 01 00 [00:10:05]Write to MH i2c: E2 08 00 BE 11 80 13 01 00 00 00 00 00 4C [00:10:05]Write i2c OK [00:10:05]MH_I2C_Read... [00:10:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:05]Read from MH i2c: E2 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 0E 00 [00:10:05]MH_I2C_Read... [00:10:05]Read from MH i2c: E2 0E 00 BE 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 FC [00:10:05]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:10:05]wFMCommunicate OK [00:10:05]SAM_PROTO_GetShiftState done [00:10:05]FM_GetShiftState done [00:10:05]req_shift_opened done [00:10:05]requested_item shift.open_date is exist - process it [00:10:05]req_shift_open_date [00:10:05]req_shift_open_date done [00:10:05]produce_requested_data done [00:10:05]produce_requested_data return {"fd.num":68445,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [00:10:05]process_action_free x_report [00:10:05]json_value_free [00:10:05]json_value_free done [00:10:05]process_json_proto returns [00:10:05]Send response to host [00:10:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":68445,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [00:10:05]free response buf [00:10:05]execute_script done [00:10:05]execute_script returns [00:10:05]free content buf [00:10:05]Sock 9.Close socket [00:10:05]Sock 9.Thread stoped [00:10:06]int [00:10:06]Write to MH i2c: 01 00 00 BF 11 D0 [00:10:06]*** FLAG_PRN_KEY set [00:10:06]*** FLAG_PRN_KEY reset [00:10:06]*** FLAG_PRN_KEY set [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 BF 11 00 08 00 00 00 FF 0F ED [00:10:06]state=0 [00:10:06]Key pressed [00:10:06]Feed [00:10:06]Write to MH i2c: D8 00 00 C0 11 A8 [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: D8 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: D8 01 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: D8 01 00 C0 11 00 A9 [00:10:06]int line is 0 - check status [00:10:06]Write to MH i2c: 01 00 00 C1 11 D2 [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 C1 11 00 48 00 00 00 3C 00 5D [00:10:06]state=2 [00:10:06]Key pressed [00:10:06]int [00:10:06]Write to MH i2c: 01 00 00 C2 11 D3 [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 C2 11 00 48 00 00 00 3C 00 5E [00:10:06]state=2 [00:10:06]Key pressed [00:10:06]int [00:10:06]Write to MH i2c: 01 00 00 C3 11 D4 [00:10:06]*** FLAG_PRN_KEY reset [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 C3 11 00 00 00 00 00 FA 0F E4 [00:10:06]state=2 [00:10:06]Stop feed [00:10:06]int [00:10:06]Write to MH i2c: 01 00 00 C4 11 D5 [00:10:06]*** FLAG_PRN_KEY set [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: 01 07 00 C4 11 00 08 00 00 00 FF 0F F2 [00:10:06]state=0 [00:10:06]Key pressed [00:10:06]Feed [00:10:06]Write to MH i2c: D8 00 00 C5 11 AD [00:10:06]Write i2c OK [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: D8 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: D8 01 00 [00:10:06]MH_I2C_Read... [00:10:06]Read from MH i2c: D8 01 00 C5 11 00 AE [00:10:07]int line is 0 - check status [00:10:07]Write to MH i2c: 01 00 00 C6 11 D7 [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: 01 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: 01 07 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: 01 07 00 C6 11 00 48 00 00 00 3C 00 62 [00:10:07]state=2 [00:10:07]Key pressed [00:10:07]int [00:10:07]Write to MH i2c: 01 00 00 C7 11 D8 [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: 01 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: 01 07 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: 01 07 00 C7 11 00 48 00 00 00 3C 00 63 [00:10:07]state=2 [00:10:07]Key pressed [00:10:07]int [00:10:07]Write to MH i2c: 01 00 00 C8 11 D9 [00:10:07]*** FLAG_PRN_KEY reset [00:10:07]Write i2c OK [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: 01 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: 01 07 00 [00:10:07]MH_I2C_Read... [00:10:07]Read from MH i2c: 01 07 00 C8 11 00 00 00 00 00 FA 0F E9 [00:10:07]state=2 [00:10:07]Stop feed [00:10:09]OFD Sender: No OFD packet to send [00:10:10]accept exits with 8 [00:10:10]New connection [00:10:10]New thread 3066858852 created [00:10:10]Thread 3066715492 joined [00:10:10]Waiting for new connection... [00:10:10] Sock 8.Parse request [00:10:10]Sock 8.Check first char [00:10:10]Sock 8.First char is OK [00:10:10]request: POST /json_proto HTTP/1.0 [00:10:10]Method: POST [00:10:10]URL: /json_proto [00:10:10]Method is POST - this is cgi request [00:10:10]url: /json_proto [00:10:10]query_string will be loaded in cgi processing [00:10:10]execute_cgi json_proto POST (null) [00:10:10]execute_cgi path=json_proto method=POST [00:10:10]POST find Content-Length [00:10:10]Host: 172.17.42.3:8080 [00:10:10]Content-Length: 215 [00:10:10]Content-Type: application/json [00:10:10] [00:10:10]POST finish read [00:10:10]Found Content-Length = 215 [00:10:10]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:10]execute_script... [00:10:10]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:10]POST & json_proto [00:10:10]process_json_proto [00:10:10]json parsed OK: [00:10:10]protocol is kg_v1.0 [00:10:10]action value=get_value [00:10:10]process_action get_value [00:10:10]cmd_get_value [00:10:10]process_action get_value done [00:10:10]requested_data is exist [00:10:10]produce_requested_data [00:10:10]requested_item kkm.sn is exist - process it [00:10:10]requested_item kkm.ver is exist - process it [00:10:10]requested_item fm.sn is exist - process it [00:10:10]wFMCommunicate request_size=4 [00:10:10]MH_SAM_APDU [00:10:10]CAPDU: 80 11 00 00 [00:10:10]Write to MH i2c: E2 08 00 C9 11 80 11 00 00 00 00 00 00 54 [00:10:10]Write i2c OK [00:10:10]MH_I2C_Read... [00:10:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:10]Read from MH i2c: E2 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 17 00 [00:10:10]MH_I2C_Read... [00:10:10]Read from MH i2c: E2 17 00 C9 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 AB [00:10:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:10:11]wFMCommunicate OK [00:10:11]requested_item fd.num is exist - process it [00:10:11]SAM_PROTO_GetFieldsCounters [00:10:11]wFMCommunicate request_size=4 [00:10:11]MH_SAM_APDU [00:10:11]CAPDU: 80 13 00 00 [00:10:11]Write to MH i2c: E2 08 00 CA 11 80 13 00 00 00 00 00 00 57 [00:10:11]Write i2c OK [00:10:11]MH_I2C_Read... [00:10:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:10:11]Read from MH i2c: E2 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 62 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 62 00 CA 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [00:10:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5D 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:10:11]wFMCommunicate OK [00:10:11]SAM_PROTO_GetFieldsCounters done [00:10:11]requested_item shift.num is exist - process it [00:10:11]requested_item shift.opened is exist - process it [00:10:11]req_shift_opened [00:10:11]FM_GetShiftState [00:10:11]SAM_PROTO_GetShiftState [00:10:11]wFMCommunicate request_size=4 [00:10:11]MH_SAM_APDU [00:10:11]CAPDU: 80 13 01 00 [00:10:11]Write to MH i2c: E2 08 00 CB 11 80 13 01 00 00 00 00 00 59 [00:10:11]Write i2c OK [00:10:11]MH_I2C_Read... [00:10:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:11]Read from MH i2c: E2 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 0E 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 0E 00 CB 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 09 [00:10:11]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:10:11]wFMCommunicate OK [00:10:11]SAM_PROTO_GetShiftState done [00:10:11]FM_GetShiftState done [00:10:11]req_shift_opened done [00:10:11]requested_item shift.open_date is exist - process it [00:10:11]req_shift_open_date [00:10:11]req_shift_open_date done [00:10:11]produce_requested_data done [00:10:11]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68445,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [00:10:11]process_action_free get_value [00:10:11]json_value_free [00:10:11]json_value_free done [00:10:11]process_json_proto returns [00:10:11]Send response to host [00:10:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68445,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [00:10:11]free response buf [00:10:11]execute_script done [00:10:11]execute_script returns [00:10:11]free content buf [00:10:11]Sock 8.Close socket [00:10:11]Sock 8.Thread stoped [00:10:11]accept exits with 9 [00:10:11]New connection [00:10:11]New thread 3066715492 created [00:10:11]Thread 3066858852 joined [00:10:11]Waiting for new connection... [00:10:11] Sock 9.Parse request [00:10:11]Sock 9.Check first char [00:10:11]Sock 9.First char is OK [00:10:11]request: POST /json_proto HTTP/1.0 [00:10:11]Method: POST [00:10:11]URL: /json_proto [00:10:11]Method is POST - this is cgi request [00:10:11]url: /json_proto [00:10:11]query_string will be loaded in cgi processing [00:10:11]execute_cgi json_proto POST (null) [00:10:11]execute_cgi path=json_proto method=POST [00:10:11]POST find Content-Length [00:10:11]Host: 172.17.42.3:8080 [00:10:11]Content-Length: 331 [00:10:11]Content-Type: application/json [00:10:11] [00:10:11]POST finish read [00:10:11]Found Content-Length = 331 [00:10:11]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:11]execute_script... [00:10:11]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:11]POST & json_proto [00:10:11]process_json_proto [00:10:11]json parsed OK: [00:10:11]protocol is kg_v1.0 [00:10:11]action value=get_value [00:10:11]process_action get_value [00:10:11]cmd_get_value [00:10:11]process_action get_value done [00:10:11]requested_data is exist [00:10:11]produce_requested_data [00:10:11]requested_item fm.sale.total is exist - process it [00:10:11]SAM_PROTO_GetFMData [00:10:11]wFMCommunicate request_size=4 [00:10:11]MH_SAM_APDU [00:10:11]CAPDU: 80 13 03 00 [00:10:11]Write to MH i2c: E2 08 00 CC 11 80 13 03 00 00 00 00 00 5C [00:10:11]Write i2c OK [00:10:11]MH_I2C_Read... [00:10:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:11]Read from MH i2c: E2 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 [00:10:11]MH_I2C_Read... [00:10:11]Read from MH i2c: E2 FD 00 CC 11 00 C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 FE [00:10:12]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 [00:10:12]wFMCommunicate OK [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 17 00 00 [00:10:12]Write to MH i2c: E2 08 00 CD 11 80 17 00 00 00 00 00 00 5E [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 CD 11 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 70 [00:10:12]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 [00:10:12]wFMCommunicate OK [00:10:12]wFMCommunicate request_size=4 [00:10:12]MH_SAM_APDU [00:10:12]CAPDU: 80 17 00 00 [00:10:12]Write to MH i2c: E2 08 00 CE 11 80 17 00 00 00 00 00 00 5F [00:10:12]Write i2c OK [00:10:12]MH_I2C_Read... [00:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:12]Read from MH i2c: E2 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 [00:10:12]MH_I2C_Read... [00:10:12]Read from MH i2c: E2 FD 00 CE 11 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 37 [00:10:13]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 [00:10:13]wFMCommunicate OK [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 17 00 00 [00:10:13]Write to MH i2c: E2 08 00 CF 11 80 17 00 00 00 00 00 00 60 [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:13]Read from MH i2c: E2 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 [00:10:13]MH_I2C_Read... [00:10:13]Read from MH i2c: E2 FD 00 CF 11 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 DB [00:10:13]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [00:10:13]wFMCommunicate OK [00:10:13]wFMCommunicate request_size=4 [00:10:13]MH_SAM_APDU [00:10:13]CAPDU: 80 17 00 00 [00:10:13]Write to MH i2c: E2 08 00 D0 11 80 17 00 00 00 00 00 00 61 [00:10:13]Write i2c OK [00:10:13]MH_I2C_Read... [00:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 E4 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 E4 00 D0 11 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 41 [00:10:14]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:14]wFMCommunicate OK [00:10:14]SAM_PROTO_GetFMData done [00:10:14]requested_item fm.sale_refund.total is exist - process it [00:10:14]requested_item fm.buy.total is exist - process it [00:10:14]requested_item shift.sale.total is exist - process it [00:10:14]SAM_PROTO_GetShiftData [00:10:14]wFMCommunicate request_size=4 [00:10:14]MH_SAM_APDU [00:10:14]CAPDU: 80 13 02 00 [00:10:14]Write to MH i2c: E2 08 00 D1 11 80 13 02 00 00 00 00 00 60 [00:10:14]Write i2c OK [00:10:14]MH_I2C_Read... [00:10:14]OFD Sender: No OFD packet to send [00:10:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:10:14]Read from MH i2c: E2 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 [00:10:14]MH_I2C_Read... [00:10:14]Read from MH i2c: E2 FD 00 D1 11 00 B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 0D [00:10:15]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 D2 11 80 17 00 00 00 00 00 00 63 [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:15]Read from MH i2c: E2 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 [00:10:15]MH_I2C_Read... [00:10:15]Read from MH i2c: E2 FD 00 D2 11 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 7D [00:10:15]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 [00:10:15]wFMCommunicate OK [00:10:15]wFMCommunicate request_size=4 [00:10:15]MH_SAM_APDU [00:10:15]CAPDU: 80 17 00 00 [00:10:15]Write to MH i2c: E2 08 00 D3 11 80 17 00 00 00 00 00 00 64 [00:10:15]Write i2c OK [00:10:15]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 FD 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 FD 00 D3 11 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 21 [00:10:16]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [00:10:16]wFMCommunicate OK [00:10:16]wFMCommunicate request_size=4 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 17 00 00 [00:10:16]Write to MH i2c: E2 08 00 D4 11 80 17 00 00 00 00 00 00 65 [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:10:16]Read from MH i2c: E2 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 FD 00 [00:10:16]MH_I2C_Read... [00:10:16]Read from MH i2c: E2 FD 00 D4 11 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 D8 [00:10:16]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:10:16]wFMCommunicate OK [00:10:16]wFMCommunicate request_size=4 [00:10:16]MH_SAM_APDU [00:10:16]CAPDU: 80 17 00 00 [00:10:16]Write to MH i2c: E2 08 00 D5 11 80 17 00 00 00 00 00 00 66 [00:10:16]Write i2c OK [00:10:16]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:10:17]Read from MH i2c: E2 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 CD 00 [00:10:17]MH_I2C_Read... [00:10:17]Read from MH i2c: E2 CD 00 D5 11 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:17]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:17]wFMCommunicate OK [00:10:17]SAM_PROTO_GetShiftData done [00:10:17]requested_item shift.sale.total_cash is exist - process it [00:10:17]requested_item shift.sale_refund.total is exist - process it [00:10:17]requested_item shift.sale_refund.total_cash is exist - process it [00:10:17]requested_item shift.buy.total is exist - process it [00:10:17]requested_item shift.buy.total_cash is exist - process it [00:10:17]produce_requested_data done [00:10:17]produce_requested_data return {"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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: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":{"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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: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 9.Close socket [00:10:17]Sock 9.Thread stoped [00:10:17]accept exits with 8 [00:10:17]New connection [00:10:17]New thread 3066858852 created [00:10:17]Thread 3066715492 joined [00:10:17]Waiting for new connection... [00:10:17] Sock 8.Parse request [00:10:17]Sock 8.Check first char [00:10:17]Sock 8.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.42.3: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 D6 11 80 13 03 00 00 00 00 00 66 [00:10:17]Write i2c OK [00:10:17]MH_I2C_Read... [00:10:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:10:17]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 D6 11 00 C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 08 [00:10:18]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 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 D7 11 80 17 00 00 00 00 00 00 68 [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 D7 11 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 7A [00:10:18]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 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 D8 11 80 17 00 00 00 00 00 00 69 [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 D8 11 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 41 [00:10:19]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 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 D9 11 80 17 00 00 00 00 00 00 6A [00:10:19]OFD Sender: No OFD packet to send [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 = 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 D9 11 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 E5 [00:10:20]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [00: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 DA 11 80 17 00 00 00 00 00 00 6B [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 = 225! [00:10:20]Read from MH i2c: E2 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 E4 00 [00:10:20]MH_I2C_Read... [00:10:20]Read from MH i2c: E2 E4 00 DA 11 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4B [00:10:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:20]wFMCommunicate OK [00:10:20]SAM_PROTO_GetFMData done [00:10:20]requested_item fm.sale_refund.total is exist - process it [00:10:20]requested_item fm.buy.total is exist - process it [00:10:20]requested_item shift.sale.total is exist - process it [00:10:20]SAM_PROTO_GetShiftData [00:10:20]wFMCommunicate request_size=4 [00:10:20]MH_SAM_APDU [00:10:20]CAPDU: 80 13 02 00 [00:10:20]Write to MH i2c: E2 08 00 DB 11 80 13 02 00 00 00 00 00 6A [00:10:20]Write i2c OK [00:10:20]MH_I2C_Read... [00:10:21]*** iso7816_exchange 80 13 02 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 DB 11 00 B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 17 [00:10:21]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 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 DC 11 80 17 00 00 00 00 00 00 6D [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 DC 11 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 87 [00:10:22]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 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 DD 11 80 17 00 00 00 00 00 00 6E [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 DD 11 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 2B [00:10:22]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [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 DE 11 80 17 00 00 00 00 00 00 6F [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 = 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 DE 11 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 E2 [00:10:23]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 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 DF 11 80 17 00 00 00 00 00 00 70 [00:10:23]Write i2c OK [00:10:23]MH_I2C_Read... [00:10:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:10:23]Read from MH i2c: E2 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 CD 00 [00:10:23]MH_I2C_Read... [00:10:23]Read from MH i2c: E2 CD 00 DF 11 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:24]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:24]wFMCommunicate OK [00:10:24]SAM_PROTO_GetShiftData done [00:10:24]requested_item shift.sale.total_cash is exist - process it [00:10:24]requested_item shift.sale_refund.total is exist - process it [00:10:24]requested_item shift.sale_refund.total_cash is exist - process it [00:10:24]requested_item shift.buy.total is exist - process it [00:10:24]requested_item shift.buy.total_cash is exist - process it [00:10:24]produce_requested_data done [00:10:24]produce_requested_data return {"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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:24]process_action_free get_value [00:10:24]json_value_free [00:10:24]json_value_free done [00:10:24]process_json_proto returns [00:10:24]Send response to host [00:10:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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:24]free response buf [00:10:24]execute_script done [00:10:24]execute_script returns [00:10:24]free content buf [00:10:24]Sock 8.Close socket [00:10:24]Sock 8.Thread stoped [00:10:24]accept exits with 9 [00:10:24]New connection [00:10:24]New thread 3066715492 created [00:10:24]Thread 3066858852 joined [00:10:24]Waiting for new connection... [00:10:24] Sock 9.Parse request [00:10:24]Sock 9.Check first char [00:10:24]Sock 9.First char is OK [00:10:24]request: POST /json_proto HTTP/1.0 [00:10:24]Method: POST [00:10:24]URL: /json_proto [00:10:24]Method is POST - this is cgi request [00:10:24]url: /json_proto [00:10:24]query_string will be loaded in cgi processing [00:10:24]execute_cgi json_proto POST (null) [00:10:24]execute_cgi path=json_proto method=POST [00:10:24]POST find Content-Length [00:10:24]Host: 172.17.42.3:8080 [00:10:24]Content-Length: 266 [00:10:24]Content-Type: application/json [00:10:24] [00:10:24]POST finish read [00:10:24]Found Content-Length = 266 [00:10:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0418\u043C\u0430\u043D\u0431\u0430\u0435\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:24]execute_script... [00:10:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0418\u043C\u0430\u043D\u0431\u0430\u0435\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:10:24]POST & json_proto [00:10:24]process_json_proto [00:10:24]json parsed OK: [00:10:24]protocol is kg_v1.0 [00:10:24]action value=close_shift [00:10:24]process_action close_shift [00:10:24]cmd_close_shift [00:10:24]MH_GetDate [00:10:24]Write to MH i2c: F0 00 00 E0 11 E0 [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: F0 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: F0 09 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: F0 09 00 E0 11 00 72 79 21 67 28 A1 20 67 AC [00:10:24]GetLastDocTimeStamp 1730246997 [00:10:24]current date 1730247026 [00:10:24]FM_GetShiftState [00:10:24]SAM_PROTO_GetShiftState [00:10:24]wFMCommunicate request_size=4 [00:10:24]MH_SAM_APDU [00:10:24]CAPDU: 80 13 01 00 [00:10:24]Write to MH i2c: E2 08 00 E1 11 80 13 01 00 00 00 00 00 6F [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 0E 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 0E 00 E1 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 1F [00:10:24]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:10:24]wFMCommunicate OK [00:10:24]SAM_PROTO_GetShiftState done [00:10:24]FM_GetShiftState done [00:10:24]KKMCreateCloseShiftDocument [00:10:24]Load OK [00:10:24]Malloc new data [00:10:24]MH_GetDate [00:10:24]Write to MH i2c: F0 00 00 E2 11 E2 [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: F0 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: F0 09 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: F0 09 00 E2 11 00 72 79 21 67 28 A1 20 67 AE [00:10:24]Malloc new data [00:10:24]Malloc new data [00:10:24]Malloc new data [00:10:24]Malloc new data [00:10:24]KKMCreateCloseShiftDocument OK [00:10:24]KKMSetCloseShiftData OK [00:10:24]ProcessDocumentItem done err = 0, tmpTLVsize=73 [00:10:24]tlvbuf is 01EB6B90 [00:10:24]KKMLoadAndSignCloseShiftData [00:10:24]SAM_PROTO_ProcessDocument [00:10:24]wFMCommunicate request_size=9 [00:10:24]MH_SAM_APDU [00:10:24]CAPDU: 80 15 01 00 04 05 00 49 00 [00:10:24]Write to MH i2c: E2 0C 00 E3 11 80 15 01 00 04 00 05 00 49 00 00 00 C9 [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 03 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 03 00 E3 11 00 90 00 68 [00:10:24]RAPDU: 90 00 [00:10:24]wFMCommunicate OK [00:10:24]wFMCommunicate request_size=23 [00:10:24]MH_SAM_APDU [00:10:24]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:24]Write to MH i2c: E2 1A 00 E4 11 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 6A [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]OFD Sender: No OFD packet to send [00:10:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 03 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 03 00 E4 11 00 90 00 69 [00:10:24]RAPDU: 90 00 [00:10:24]wFMCommunicate OK [00:10:24]wFMCommunicate request_size=32 [00:10:24]MH_SAM_APDU [00:10:24]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 [00:10:24]Write to MH i2c: E2 23 00 E5 11 80 15 02 00 1B 00 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 00 00 1B [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 03 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 03 00 E5 11 00 90 00 6A [00:10:24]RAPDU: 90 00 [00:10:24]wFMCommunicate OK [00:10:24]wFMCommunicate request_size=13 [00:10:24]MH_SAM_APDU [00:10:24]CAPDU: 80 15 02 00 08 F4 03 04 00 72 79 21 67 [00:10:24]Write to MH i2c: E2 10 00 E6 11 80 15 02 00 08 00 F4 03 04 00 72 79 21 67 00 00 F5 [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:24]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:24]Read from MH i2c: E2 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 03 00 [00:10:24]MH_I2C_Read... [00:10:24]Read from MH i2c: E2 03 00 E6 11 00 90 00 6B [00:10:24]RAPDU: 90 00 [00:10:24]wFMCommunicate OK [00:10:24]wFMCommunicate request_size=25 [00:10:24]MH_SAM_APDU [00:10:24]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 [00:10:24]Write to MH i2c: E2 1C 00 E7 11 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 00 00 E0 [00:10:24]Write i2c OK [00:10:24]MH_I2C_Read... [00:10:25]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:10:25]Read from MH i2c: E2 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 03 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 03 00 E7 11 00 90 00 6C [00:10:25]RAPDU: 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 15 03 00 [00:10:25]Write to MH i2c: E2 08 00 E8 11 80 15 03 00 00 00 00 00 7A [00:10:25]Write i2c OK [00:10:25]MH_I2C_Read... [00:10:25]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:10:25]Read from MH i2c: E2 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 FD 00 [00:10:25]MH_I2C_Read... [00:10:25]Read from MH i2c: E2 FD 00 E8 11 00 F3 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5E 0B 01 00 0E 04 04 00 24 02 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 00 00 00 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 A4 [00:10:25]RAPDU: F3 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5E 0B 01 00 0E 04 04 00 24 02 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 00 00 00 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [00:10:25]wFMCommunicate OK [00:10:25]SAM_PROTO_ProcessDocument answer len = 1267 [00:10:25]SAM_PROTO_ProcessDocument remain to read = 1019 [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 E9 11 80 17 00 00 00 00 00 00 7A [00:10:25]Write i2c OK [00:10:25]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 E9 11 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 CA [00:10:26]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 90 00 [00:10:26]wFMCommunicate OK [00:10:26]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:10:26]SAM_PROTO_ProcessDocument remain to read = 769 [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 EA 11 80 17 00 00 00 00 00 00 7B [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 EA 11 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 DD [00:10:27]RAPDU: F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 90 00 [00:10:27]wFMCommunicate OK [00:10:27]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:10:27]SAM_PROTO_ProcessDocument remain to read = 519 [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 EB 11 80 17 00 00 00 00 00 00 7C [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 EB 11 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 90 00 0D [00:10:27]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 90 00 [00:10:28]wFMCommunicate OK [00:10:28]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:10:28]SAM_PROTO_ProcessDocument remain to read = 269 [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 EC 11 80 17 00 00 00 00 00 00 7D [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 = 250! [00:10:28]Read from MH i2c: E2 [00:10:28]MH_I2C_Read... [00:10:28]Read from MH i2c: E2 FD 00 [00:10:28]MH_I2C_Read... [00:10:28]Read from MH i2c: E2 FD 00 EC 11 00 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 90 00 3E [00:10:28]RAPDU: 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 90 00 [00:10:28]wFMCommunicate OK [00:10:28]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:10:28]SAM_PROTO_ProcessDocument remain to read = 19 [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 ED 11 80 17 00 00 00 00 00 00 7E [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 = 19! [00:10:28]Read from MH i2c: E2 [00:10:28]MH_I2C_Read... [00:10:28]Read from MH i2c: E2 16 00 [00:10:28]MH_I2C_Read... [00:10:28]Read from MH i2c: E2 16 00 ED 11 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 F0 B8 8A 1D BA 05 90 00 CC [00:10:28]RAPDU: F6 03 01 00 06 F7 03 00 00 35 04 06 00 F0 B8 8A 1D BA 05 90 00 [00:10:28]wFMCommunicate OK [00:10:28]SAM_PROTO_ProcessDocument received (without SW) 19 bytes [00:10:28]SAM_PROTO_ProcessDocument done [00:10:28]1209 (1) - 1.0 - номер версии ФФД [00:10:28]1041 (16) - 0000000000871758 - номер ФМ [00:10:28]1040 (4) - 68446 - номер ФД [00:10:28]1038 (4) - 548 - номер смены [00:10:28]1118 (4) - 168 - количество кассовых чеков за смену [00:10:28]1111 (4) - 170 - общее количество ФД за смену [00:10:28]1194 (1196) - счетчики итогов смены [00:10:28] 1134 (4) - 168 - количество чеков со всеми признаками расчетов [00:10:28] 1129 (157) - счетчики операций «приход» [00:10:28] 1135 (4) - 168 - количество чеков по признаку расчетов [00:10:28] 1201 (4) - 217008.63 - общая итоговая сумма в чеках [00:10:28] 1136 (3) - 151144.00 - итоговая сумма в чеках наличными [00:10:28] 1138 (3) - 65864.63 - итоговая сумма в чеках безналичными [00:10:28] 1024 (123) - суммы налогов [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) - 23048.32 - сумма НДС по ставке [00:10:28] 1007 (9) - суммы НСП [00:10:28] 1014 (1) - 0% - код ставки НСП [00:10:28] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:28] 1007 (12) - суммы НСП [00:10:28] 1014 (1) - 1% - код ставки НСП [00:10:28] 1015 (3) - 1920.56 - сумма НСП по ставке [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:29] 1014 (1) - 5% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 0,50% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 1,50% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1130 (141) - счетчики операций «возврат прихода» [00:10:29] 1135 (4) - 0 - количество чеков по признаку расчетов [00:10:29] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:10:29] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:10:29] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:10:29] 1024 (117) - суммы налогов [00:10:29] 1006 (9) - суммы НДС [00:10:29] 1010 (1) - 0% - код ставки НДС [00:10:29] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:29] 1006 (9) - суммы НДС [00:10:29] 1010 (1) - 12% - код ставки НДС [00:10:29] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 0% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 1% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 2% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 3% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 5% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 0,50% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 1,50% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1131 (141) - счетчики операций «расход» [00:10:29] 1135 (4) - 0 - количество чеков по признаку расчетов [00:10:29] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:10:29] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:10:29] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:10:29] 1024 (117) - суммы налогов [00:10:29] 1006 (9) - суммы НДС [00:10:29] 1010 (1) - 0% - код ставки НДС [00:10:29] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:29] 1006 (9) - суммы НДС [00:10:29] 1010 (1) - 12% - код ставки НДС [00:10:29] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 0% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 1% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 2% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 3% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 5% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 0,50% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 1,50% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1132 (141) - счетчики операций «возврат расхода» [00:10:29] 1135 (4) - 0 - количество чеков по признаку расчетов [00:10:29] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:10:29] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:10:29] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:10:29] 1024 (117) - суммы налогов [00:10:29] 1006 (9) - суммы НДС [00:10:29] 1010 (1) - 0% - код ставки НДС [00:10:29] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:29] 1006 (9) - суммы НДС [00:10:29] 1010 (1) - 12% - код ставки НДС [00:10:29] 1011 (0) - 0.00 - сумма НДС по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 0% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 1% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 2% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 3% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 5% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 0,50% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1007 (9) - суммы НСП [00:10:29] 1014 (1) - 1,50% - код ставки НСП [00:10:29] 1015 (0) - 0.00 - сумма НСП по ставке [00:10:29] 1133 (588) - - счетчики коррекции - не используются [00:10:29]1077 (6) - 264675381852677 - ФПД [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1209 (04B9) [00:10:29]Malloc new data [00:10:29]Processing tag 1041 (0411) [00:10:29]Processing tag 1040 (0410) [00:10:29]Malloc new data [00:10:29]Processing tag 1038 (040E) [00:10:29]Malloc new data [00:10:29]Processing tag 1118 (045E) [00:10:29]Malloc new data [00:10:29]Processing tag 1111 (0457) [00:10:29]Malloc new data [00:10:29]Processing tag 1194 (04AA) [00:10:29]Load OK [00:10:29]SetTLVBufToDocument [00:10:29]Processing tag 1134 (046E) [00:10:29]Malloc new data [00:10:29]Processing tag 1129 (0469) [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 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]OFD Sender: No OFD packet to send [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]Processing tag 1077 (0435) [00:10:29]Malloc new data [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 EE 11 80 13 03 00 00 00 00 00 7E [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 EE 11 00 C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 20 [00:10:30]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 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 EF 11 80 17 00 00 00 00 00 00 80 [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 EF 11 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 92 [00:10:31]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 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 F0 11 80 17 00 00 00 00 00 00 81 [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 F0 11 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 59 [00:10:32]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 [00:10:32]wFMCommunicate OK [00:10:32]wFMCommunicate request_size=4 [00:10:32]MH_SAM_APDU [00:10:32]CAPDU: 80 17 00 00 [00:10:32]Write to MH i2c: E2 08 00 F1 11 80 17 00 00 00 00 00 00 82 [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 = 250! [00:10:32]Read from MH i2c: E2 [00:10:32]MH_I2C_Read... [00:10:32]Read from MH i2c: E2 FD 00 [00:10:32]MH_I2C_Read... [00:10:32]Read from MH i2c: E2 FD 00 F1 11 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 FD [00:10:32]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [00:10:33]wFMCommunicate OK [00:10:33]wFMCommunicate request_size=4 [00:10:33]MH_SAM_APDU [00:10:33]CAPDU: 80 17 00 00 [00:10:33]Write to MH i2c: E2 08 00 F2 11 80 17 00 00 00 00 00 00 83 [00:10:33]Write i2c OK [00:10:33]MH_I2C_Read... [00:10:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:10:33]Read from MH i2c: E2 [00:10:33]MH_I2C_Read... [00:10:33]Read from MH i2c: E2 E4 00 [00:10:33]MH_I2C_Read... [00:10:33]Read from MH i2c: E2 E4 00 F2 11 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 63 [00:10:33]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:33]wFMCommunicate OK [00:10:33]SAM_PROTO_GetFMData done [00:10:33]Malloc new data [00:10:33]Malloc new data [00:10:33]Malloc new data [00:10:33]Malloc new data [00:10:33]KKMLoadAndSignCloseShiftData err=0 [00:10:33]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Иманбаева Б. 30.10.2024 00:10 Смена: 548 РНМ: 0000000000091759 ЗНМ: 0300000093 СНО: Общий режим Чеков за смену: 168 ФД за смену: 170 Всего чеков: 168 ИТОГИ ПРИХОД Чеков: 168 Общий итог: 217008.63 Итого наличными: 151144.00 Итого безнал.: 65864.63 НДС 0% : 0.00 НДС 12% : 23048.32 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 1920.56 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 151144.00 НС Приход: 102477772.29 НС Возвр.Прихода: 837242.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 68446 ФМ: 0000000000871758 ФПД: 264675381852677 [00:10:33]StoreToDocumentArchive [00:10:33]shift 548 fd 68446 [00:10:33]save to /storage/0548/doc_00068446 [00:10:33]save last doc name /storage/0548/doc_00068446 to /storage/kkm_last_doc_name [00:10:33]save OK [00:10:33]Clear old archive folders... [00:10:33]Remove dir /storage/0522 [00:10:33]opendir ok [00:10:33]file . [00:10:33]file .. [00:10:33]file doc_1730247005 [00:10:33]remove file /storage/0522/doc_1730247005 [00:10:33]remove dir /storage/0522 [00:10:33]NVStorageSaveData kkm_registers [00:10:33]File name is /storage/kkm_registers [00:10:33]Write 24 bytes [00:10:33]NVStorageSaveData done [00:10:33]NVStorageSaveData kkm_registers [00:10:33]File name is /storage/kkm_registers [00:10:33]Write 24 bytes [00:10:33]NVStorageSaveData done [00:10:33]ProcessDocumentItem done err = 0, tmpTLVsize=1383 [00:10:33]tlvbuf is 01F66A50 [00:10:33]SAM_PROTO_ClearQueue [00:10:33]wFMCommunicate request_size=4 [00:10:33]MH_SAM_APDU [00:10:33]CAPDU: 80 09 00 00 [00:10:33]Write to MH i2c: E2 08 00 F3 11 80 09 00 00 00 00 00 00 76 [00:10:33]Write i2c OK [00:10:33]MH_I2C_Read... [00:10:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:10:33]Read from MH i2c: E2 [00:10:33]MH_I2C_Read... [00:10:33]Read from MH i2c: E2 03 00 [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: E2 03 00 F3 11 00 90 00 78 [00:10:34]RAPDU: 90 00 [00:10:34]wFMCommunicate OK [00:10:34]SAM_PROTO_ClearQueue done [00:10:34]KKMCreateOFDPacket [00:10:34]OFDProtocolAddRootSTLVToBuf [00:10:34]FM_MakeSignedData [00:10:34]FM_MakeSignedData [00:10:34]SAM_PROTO_SignData [00:10:34]wFMCommunicate request_size=4 [00:10:34]MH_SAM_APDU [00:10:34]CAPDU: 80 0D 01 02 [00:10:34]Write to MH i2c: E2 08 00 F4 11 80 0D 01 02 00 00 00 00 7E [00:10:34]Write i2c OK [00:10:34]MH_I2C_Read... [00:10:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:10:34]Read from MH i2c: E2 [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: E2 03 00 [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: E2 03 00 F4 11 00 90 00 79 [00:10:34]RAPDU: 90 00 [00:10:34]wFMCommunicate OK [00:10:34]wFMCommunicate request_size=255 [00:10:34]MH_SAM_APDU [00:10:34]CAPDU: 80 0D 02 02 FA 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 F4 03 04 00 72 79 21 67 0E 04 04 00 24 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 00 00 00 AA 04 D7 04 6E 04 04 00 A8 00 00 00 69 04 A4 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 00 04 82 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 40 2B 23 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 [00:10:34]Write to MH i2c: E2 02 01 F5 11 80 0D 02 02 FA 00 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 F4 03 04 00 72 79 21 67 0E 04 04 00 24 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 00 00 00 AA 04 D7 04 6E 04 04 00 A8 00 00 00 69 04 A4 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 00 04 82 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 40 2B 23 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 00 00 EC [00:10:34]Write i2c OK [00:10:34]MH_I2C_Read... [00:10:34]OFD Sender: No OFD packet to send [00:10:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:34]Read from MH i2c: E2 [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: E2 03 00 [00:10:34]MH_I2C_Read... [00:10:34]Read from MH i2c: E2 03 00 F5 11 00 90 00 7A [00:10:34]RAPDU: 90 00 [00:10:34]wFMCommunicate OK [00:10:34]wFMCommunicate request_size=255 [00:10:34]MH_SAM_APDU [00:10:34]CAPDU: 80 0D 02 02 FA 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 EE 02 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:10:35]Write to MH i2c: E2 02 01 F6 11 80 0D 02 02 FA 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 38 EE 02 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 18 [00:10:35]Write i2c OK [00:10:35]MH_I2C_Read... [00:10:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:35]Read from MH i2c: E2 [00:10:35]MH_I2C_Read... [00:10:35]Read from MH i2c: E2 03 00 [00:10:35]MH_I2C_Read... [00:10:35]Read from MH i2c: E2 03 00 F6 11 00 90 00 7B [00:10:35]RAPDU: 90 00 [00:10:35]wFMCommunicate OK [00:10:35]wFMCommunicate request_size=255 [00:10:35]MH_SAM_APDU [00:10:35]CAPDU: 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 [00:10:35]Write to MH i2c: E2 02 01 F7 11 80 0D 02 02 FA 00 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 48 [00:10:36]Write i2c OK [00:10:36]MH_I2C_Read... [00:10:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:36]Read from MH i2c: E2 [00:10:36]MH_I2C_Read... [00:10:36]Read from MH i2c: E2 03 00 [00:10:36]MH_I2C_Read... [00:10:36]Read from MH i2c: E2 03 00 F7 11 00 90 00 7C [00:10:36]RAPDU: 90 00 [00:10:36]wFMCommunicate OK [00:10:36]wFMCommunicate request_size=255 [00:10:36]MH_SAM_APDU [00:10:36]CAPDU: 80 0D 02 02 FA 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 [00:10:36]Write to MH i2c: E2 02 01 F8 11 80 0D 02 02 FA 00 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 00 00 47 [00:10:37]Write i2c OK [00:10:37]MH_I2C_Read... [00:10:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:37]Read from MH i2c: E2 [00:10:37]MH_I2C_Read... [00:10:37]Read from MH i2c: E2 03 00 [00:10:37]MH_I2C_Read... [00:10:37]Read from MH i2c: E2 03 00 F8 11 00 90 00 7D [00:10:37]RAPDU: 90 00 [00:10:37]wFMCommunicate OK [00:10:37]wFMCommunicate request_size=255 [00:10:37]MH_SAM_APDU [00:10:37]CAPDU: 80 0D 02 02 FA 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 [00:10:37]Write to MH i2c: E2 02 01 F9 11 80 0D 02 02 FA 00 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 00 00 0C [00:10:37]Write i2c OK [00:10:37]MH_I2C_Read... [00:10:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:38]Read from MH i2c: E2 [00:10:38]MH_I2C_Read... [00:10:38]Read from MH i2c: E2 03 00 [00:10:38]MH_I2C_Read... [00:10:38]Read from MH i2c: E2 03 00 F9 11 00 90 00 7E [00:10:38]RAPDU: 90 00 [00:10:38]wFMCommunicate OK [00:10:38]wFMCommunicate request_size=142 [00:10:38]MH_SAM_APDU [00:10:38]CAPDU: 80 0D 02 02 89 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 5E 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 F0 B8 8A 1D BA 05 [00:10:38]Write to MH i2c: E2 91 00 FA 11 80 0D 02 02 89 00 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 5E 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 F0 B8 8A 1D BA 05 00 00 48 [00:10:38]Write i2c OK [00:10:38]MH_I2C_Read... [00:10:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:10:38]Read from MH i2c: E2 [00:10:38]MH_I2C_Read... [00:10:38]Read from MH i2c: E2 03 00 [00:10:38]MH_I2C_Read... [00:10:38]Read from MH i2c: E2 03 00 FA 11 00 90 00 7F [00:10:38]RAPDU: 90 00 [00:10:38]wFMCommunicate OK [00:10:38]wFMCommunicate request_size=4 [00:10:38]MH_SAM_APDU [00:10:38]CAPDU: 80 0D 03 02 [00:10:38]Write to MH i2c: E2 08 00 FB 11 80 0D 03 02 00 00 00 00 87 [00:10:38]Write i2c OK [00:10:38]MH_I2C_Read... [00:10:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:10:38]Read from MH i2c: E2 [00:10:38]MH_I2C_Read... [00:10:38]Read from MH i2c: E2 0B 00 [00:10:38]MH_I2C_Read... [00:10:38]Read from MH i2c: E2 0B 00 FB 11 00 A4 C9 64 27 45 0A 5B 82 90 00 AC [00:10:38]RAPDU: A4 C9 64 27 45 0A 5B 82 90 00 [00:10:38]wFMCommunicate OK [00:10:38]SAM_PROTO_SignData done [00:10:38]FM_MakeSignedData done [00:10:38]CreateOFDProtocolMessage [00:10:38]wFMCommunicate request_size=4 [00:10:38]MH_SAM_APDU [00:10:38]CAPDU: 80 11 00 00 [00:10:38]Write to MH i2c: E2 08 00 FC 11 80 11 00 00 00 00 00 00 87 [00:10:38]Write i2c OK [00:10:38]MH_I2C_Read... [00:10:38]Read from MH i2c: E2 [00:10:38]MH_I2C_Read... [00:10:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:10:38]Read from MH i2c: E2 17 00 [00:10:38]MH_I2C_Read... [00:10:38]Read from MH i2c: E2 17 00 FC 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 DE [00:10:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:10:38]wFMCommunicate OK [00:10:38]CreateOFDProtocolMessage done [00:10:38]OFDSenderStorePacket 68446 [00:10:38]StoreOFDPacket docnum=68446 [00:10:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 7B 05 00 00 A1 3B 73 05 AE BB 5A 05 01 00 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 F4 03 04 00 72 79 21 67 0E 04 04 00 24 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 00 00 00 AA 04 D7 04 6E 04 04 00 A8 00 00 00 69 04 A4 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 00 04 82 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 40 2B 23 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 0C 00 F6 03 01 00 01 F7 03 03 00 38 EE 02 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 5E 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 F0 B8 8A 1D BA 05 A4 C9 64 27 45 0A 5B 82 [00:10:39]CheckFolder [00:10:39]dirname=/storage/ofd_packets [00:10:39]CheckFolder done [00:10:39]ProducePacketName [00:10:39]name=ofd_packets/00068446 [00:10:39]NVStorageSaveData ofd_packets/00068446 [00:10:39]File name is /storage/ofd_packets/00068446 [00:10:39]Write 1433 bytes [00:10:39]NVStorageSaveData done [00:10:39]OFDSenderStorePacket done [00:10:39]KKMCreateOFDPacket done [00:10:39]NVStorageSaveData kkm_last_timestamp [00:10:39]File name is /storage/kkm_last_timestamp [00:10:39]Write 4 bytes [00:10:39]NVStorageSaveData done [00:10:39]ExternCall_PrintAddStr [00:10:39]wPrintStart [00:10:39]Write to MH i2c: 01 00 00 FD 11 0E [00:10:39]OFD Sender: Processing packet 68446 [packets to send 28, broken 27] [00:10:39]ProducePacketName [00:10:39]name=ofd_packets/00068446 [00:10:39]OFD Sender: To server: pG, [00:10:39]CommunicateWithHost lk.salyk.kg:30040 [00:10:39]ConnectInit lk.salyk.kg [00:10:39]Write i2c OK [00:10:39]MH_I2C_Read... [00:10:39]Read from MH i2c: 01 [00:10:39]MH_I2C_Read... [00:10:39]Read from MH i2c: 01 07 00 [00:10:39]MH_I2C_Read... [00:10:39]Read from MH i2c: 01 07 00 FD 11 00 00 00 00 00 FF 0F 23 [00:10:39]RasterBufferAndPrint [00:10:39]line Отчет о закрытии смены [00:10:39]line ФФД: 1.0 [00:10:39]line ИНН: 02508201610067 [00:10:39]line Кассир: Иманбаева Б. [00:10:39]line 30.10.2024 00:10 [00:10:39]line Смена: 548 [00:10:39]line РНМ: 0000000000091759 [00:10:39]line ЗНМ: 0300000093 [00:10:39]line СНО: Общий режим [00:10:39]line Чеков за смену: 168 [00:10:39]line ФД за смену: 170 [00:10:39]line Всего чеков: 168 [00:10:39]line ИТОГИ ПРИХОД [00:10:39]line Чеков: 168 [00:10:39]line Общий итог: 217008.63 [00:10:39]line Итого наличными: 151144.00 [00:10:39]line Итого безнал.: 65864.63 [00:10:39]line НДС 0% : 0.00 [00:10:39]line НДС 12% : 23048.32 [00:10:39]line НСП 0% : 0.00 [00:10:39]line НСП 1,50% : 0.00 [00:10:39]line НСП 0,50% : 0.00 [00:10:39]line НСП 5% : 0.00 [00:10:39]line НСП 3% : 0.00 [00:10:39]line НСП 2% : 0.00 [00:10:39]line НСП 1% : 1920.56 [00:10:39]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:10:39]line Чеков: 0 [00:10:39]line Общий итог: 0.00 [00:10:39]line Итого наличными: 0.00 [00:10:39]line Итого безнал.: 0.00 [00:10:39]line НДС 0% : 0.00 [00:10:39]line НДС 12% : 0.00 [00:10:39]line НСП 0% : 0.00 [00:10:39]line НСП 1,50% : 0.00 [00:10:39]line НСП 0,50% : 0.00 [00:10:39]line НСП 5% : 0.00 [00:10:39]line НСП 3% : 0.00 [00:10:39]line НСП 2% : 0.00 [00:10:39]line НСП 1% : 0.00 [00:10:39]line ИТОГИ РАСХОД [00:10:39]line Чеков: 0 [00:10:39]line Общий итог: 0.00 [00:10:39]line Итого наличными: 0.00 [00:10:39]line Итого безнал.: 0.00 [00:10:39]line НДС 0% : 0.00 [00:10:39]line НДС 12% : 0.00 [00:10:39]line НСП 0% : 0.00 [00:10:39]line НСП 1,50% : 0.00 [00:10:39]line НСП 0,50% : 0.00 [00:10:39]line НСП 5% : 0.00 [00:10:39]line НСП 3% : 0.00 [00:10:39]line НСП 2% : 0.00 [00:10:39]line НСП 1% : 0.00 [00:10:39]line ИТОГИ ВОЗВРАТ РАСХОДА [00:10:39]line Чеков: 0 [00:10:39]line Общий итог: 0.00 [00:10:39]line Итого наличными: 0.00 [00:10:39]line Итого безнал.: 0.00 [00:10:39]line НДС 0% : 0.00 [00:10:39]line НДС 12% : 0.00 [00:10:39]line НСП 0% : 0.00 [00:10:39]line НСП 1,50% : 0.00 [00:10:39]line НСП 0,50% : 0.00 [00:10:39]line НСП 5% : 0.00 [00:10:39]line НСП 3% : 0.00 [00:10:39]line НСП 2% : 0.00 [00:10:39]line НСП 1% : 0.00 [00:10:39]line Сумма внесений: 0.00 [00:10:39]line Сумма выплат: 0.00 [00:10:39]line Нал. в кассе: 151144.00 [00:10:39]line НС Приход: 102477772.29 [00:10:39]line НС Возвр.Прихода: 837242.00 [00:10:39]line НС Расход: 0.00 [00:10:39]line НС Возвр.Расхода: 0.00 [00:10:39]line ФД: 68446 [00:10:39]line ФМ: 0000000000871758 [00:10:39]line ФПД: 264675381852677 [00:10:39]Connected sock=10 [00:10:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 7B 05 00 00 A1 3B 73 05 AE BB 5A 05 01 00 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 F4 03 04 00 72 written 0, free lines is 4095 [00:10:39]79 21 67 0E 04 04 00 24 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 00 00 00 AA 04 D7 04 6E 04 04 00 A8 00 00 00 69 04 A4 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 00 04 82 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 40 2B 23 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 0C 00 F6 03 01 00 01 F7 03 03 00 38 EE 02 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 Write to MH i2c: 00 01 F3 00 03 00 00 00 4D EE 12 03 5F 09 [00:10:40]00 Write i2c OK [00:10:40]F2 MH_I2C_Read... [00:10:40]03 01 00 01 F3 03 00 00 Read from MH i2c: EF 01 03 [00:10:40]09 MH_I2C_Read... [00:10:40]00 F6 03 Read from MH i2c: 01 01 00 07 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 [00:10:40]00 MH_I2C_Read... [00:10:40]01 F7 03 00 00 EF 03 Read from MH i2c: 09 01 00 07 F6 00 03 4D 01 00 02 F7 03 00 00 EF 03 09 00 12 F6 00 03 00 01 00 00 00 03 F7 03 00 00 00 EF 64 03 0A 09 00 F6 03 01 00 04 F7 03 00 00 D4 EF [00:10:40]03 09 00 F6 03 01 00 05 F7 03 00 00 RasterBufferAndPrint [00:10:40]EF line [00:10:40]03 line [00:10:40]09 line [00:10:40]00 line [00:10:40]F6 line [00:10:40]03 01 00 written 0, free lines is 2873 [00:10:40]06 F7 03 00 00 D0 04 8D 00 6F 04 04 MH_Cut [00:10:40]00 Write to MH i2c: 00 D1 00 01 00 00 00 54 B1 12 01 38 [00:10:40]04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 Write i2c OK [00:10:40]EF MH_I2C_Read... [00:10:40]03 Read from MH i2c: 09 D1 00 [00:10:40]F6 03 01 00 03 F7 03 00 00 EF 03 MH_I2C_Read... [00:10:40]09 Read from MH i2c: 00 D1 F6 01 03 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 [00:10:40]03 MH_I2C_Read... [00:10:40]01 Read from MH i2c: 00 D1 05 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 00 54 06 12 F7 00 03 37 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 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:10:41]09 Write to MH i2c: 00 01 F6 00 03 01 00 02 F7 03 00 00 EF 03 09 00 00 F6 55 03 12 01 67 00 [00:10:41]03 Write i2c OK [00:10:41]F7 MH_I2C_Read... [00:10:41]03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5E 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 F0 B8 8A 1D BA 05 A4 C9 64 27 45 0A 5B 82 [00:10:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B0 CC 47 00 D1 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5E 0B 01 *** Cut start [00:10:41]00 *** Partial cut [00:10:41]F4 *** CUTSNS_PIN = 1 [00:10:41]03 04 00 28 25 21 67 B6 04 01 00 00 A2 F8 02 16 FA 57 3F 80 [00:10:41]CommunicateWithHost err = 0 [00:10:41]CheckOFDResponse [00:10:41]*** CUTSNS_PIN = 0 [00:10:41]1017 (14) - 77093643461234 [00:10:41]1041 (16) - 0000000000871758 [00:10:41]1040 (4) - 68446 [00:10:41]1012 (4) - 29.10.2024 18:10 [00:10:41]1206 (1) - 0 [00:10:41]OFD Sender: Remove packet 68446 [00:10:41]ProducePacketName [00:10:41]name=ofd_packets/00068446 [00:10:41]NVStorageDeleteData [00:10:41]*** Brake cut motor [00:10:42]OFD Sender: No OFD packet to send [00:10:42]Read from MH i2c: 01 [00:10:42]MH_I2C_Read... [00:10:42]*** Stop cut motor [00:10:42]*** Cut end [00:10:42]Read from MH i2c: 01 07 00 [00:10:42]MH_I2C_Read... [00:10:42]Read from MH i2c: 01 07 00 55 12 00 00 00 00 00 FF 0F 7C [00:10:42]process_action close_shift done [00:10:42]requested_data is exist [00:10:42]produce_requested_data [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 56 12 80 13 00 00 00 00 00 00 E4 [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 56 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [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 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 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 57 12 80 13 01 00 00 00 00 00 E6 [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 57 12 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F1 [00:10:42]RAPDU: 09 00 00 00 00 00 00 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]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 58 12 80 13 01 00 00 00 00 00 E7 int [00:10:42] [00:10:42]Write i2c OK [00:10:42]MH_I2C_Read... [00:10:42]*** FLAG_PRN_KEY set [00:10:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:10:43]Read from MH i2c: E2 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: E2 0E 00 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: E2 0E 00 58 12 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F2 [00:10:43]RAPDU: 09 00 00 00 00 00 00 00 00 *** FLAG_PRN_KEY reset [00:10:43]00 Write to MH i2c: 00 01 90 00 00 00 59 12 6B [00:10:43] [00:10:43]wFMCommunicate OK [00:10:43]SAM_PROTO_GetShiftState done [00:10:43]FM_GetShiftState done [00:10:43]req_shift_open_date done [00:10:43]produce_requested_data done [00:10:43]produce_requested_data return {"fd.num":68446,"shift.num":548,"shift.opened":0,"shift.open_date":0} [00:10:43]process_action_free close_shift [00:10:43]json_value_free [00:10:43]json_value_free done [00:10:43]process_json_proto returns [00:10:43]Send response to host [00:10:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":68446,"shift.num":548,"shift.opened":0,"shift.open_date":0}}} [00:10:43]free response buf [00:10:43]execute_script done [00:10:43]execute_script returns [00:10:43]free content buf [00:10:43]Sock 9.Close socket [00:10:43]Write i2c OK [00:10:43]Sock 9.Thread stoped [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 59 12 00 00 00 00 00 FF 0F 80 [00:10:43]state=0 [00:10:43]int [00:10:43]Write to MH i2c: 01 00 00 5A 12 6C [00:10:43]*** FLAG_PRN_KEY set [00:10:43]*** FLAG_PRN_KEY reset [00:10:43]*** FLAG_PRN_KEY set [00:10:43]Write i2c OK [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 5A 12 00 08 00 00 00 FF 0F 89 [00:10:43]state=0 [00:10:43]Key pressed [00:10:43]Feed [00:10:43]Write to MH i2c: D8 00 00 5B 12 44 [00:10:43]Write i2c OK [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: D8 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: D8 01 00 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: D8 01 00 5B 12 00 45 [00:10:43]int line is 0 - check status [00:10:43]Write to MH i2c: 01 00 00 5C 12 6E [00:10:43]Write i2c OK [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 5C 12 00 48 00 00 00 3C 00 F9 [00:10:43]state=2 [00:10:43]Key pressed [00:10:43]int [00:10:43]Write to MH i2c: 01 00 00 5D 12 6F [00:10:43]Write i2c OK [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 5D 12 00 48 00 00 00 3C 00 FA [00:10:43]state=2 [00:10:43]Key pressed [00:10:43]int [00:10:43]Write to MH i2c: 01 00 00 5E 12 70 [00:10:43]*** FLAG_PRN_KEY reset [00:10:43]Write i2c OK [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 [00:10:43]MH_I2C_Read... [00:10:43]Read from MH i2c: 01 07 00 5E 12 00 00 00 00 00 FF 0F 85 [00:10:43]state=2 [00:10:43]Stop feed [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:52]OFD Sender: No OFD packet to send [00:11:57]OFD Sender: No OFD packet to send [00:12:02]OFD Sender: No OFD packet to send [00:12:07]OFD Sender: No OFD packet to send [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [00:12:57]OFD Sender: No OFD packet to send [00:13:02]OFD Sender: No OFD packet to send [00:13:07]OFD Sender: No OFD packet to send [00:13:12]OFD Sender: No OFD packet to send [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]OFD Sender: No OFD packet to send [00:13:57]OFD Sender: No OFD packet to send [00:14:02]OFD Sender: No OFD packet to send [00:14:07]OFD Sender: No OFD packet to send [00:14:12]OFD Sender: No OFD packet to send [00:14:17]OFD Sender: No OFD packet to send [00:14:22]OFD Sender: No OFD packet to send [00:14:27]OFD Sender: No OFD packet to send [00:14:32]OFD Sender: No OFD packet to send [00:14:37]OFD Sender: No OFD packet to send [00:14:42]OFD Sender: No OFD packet to send [00:14:47]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:14:57]OFD Sender: No OFD packet to send [00:15:02]OFD Sender: No OFD packet to send [00:15:07]OFD Sender: No OFD packet to send [00:15:12]OFD Sender: No OFD packet to send [00:15:17]OFD Sender: No OFD packet to send [00:15:22]OFD Sender: No OFD packet to send [00:15:27]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:47]OFD Sender: No OFD packet to send [00:15:52]OFD Sender: No OFD packet to send [00:15:57]OFD Sender: No OFD packet to send [00:16:02]OFD Sender: No OFD packet to send [00:16:07]OFD Sender: No OFD packet to send [00:16:12]OFD Sender: No OFD packet to send [00:16:17]OFD Sender: No OFD packet to send [00:16:22]OFD Sender: No OFD packet to send [00:16:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:33]accept exits with 8 [00:16:33]New connection [00:16:33]New thread 3066858852 created [00:16:33]Thread 3066715492 joined [00:16:33]Waiting for new connection... [00:16:33] Sock 8.Parse request [00:16:33]Sock 8.Check first char [00:16:33]Sock 8.First char is OK [00:16:33]request: POST /json_proto HTTP/1.0 [00:16:33]Method: POST [00:16:33]URL: /json_proto [00:16:33]Method is POST - this is cgi request [00:16:33]url: /json_proto [00:16:33]query_string will be loaded in cgi processing [00:16:33]execute_cgi json_proto POST (null) [00:16:33]execute_cgi path=json_proto method=POST [00:16:33]POST find Content-Length [00:16:33]Host: 172.17.42.3:8080 [00:16:33]Content-Length: 215 [00:16:33]Content-Type: application/json [00:16:33] [00:16:33]POST finish read [00:16:33]Found Content-Length = 215 [00:16:33]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:16:33]execute_script... [00:16:33]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:16:33]POST & json_proto [00:16:33]process_json_proto [00:16:33]json parsed OK: [00:16:33]protocol is kg_v1.0 [00:16:33]action value=get_value [00:16:33]process_action get_value [00:16:33]cmd_get_value [00:16:33]process_action get_value done [00:16:33]requested_data is exist [00:16:33]produce_requested_data [00:16:33]requested_item kkm.sn is exist - process it [00:16:33]requested_item kkm.ver is exist - process it [00:16:33]requested_item fm.sn is exist - process it [00:16:33]wFMCommunicate request_size=4 [00:16:33]MH_SAM_APDU [00:16:33]CAPDU: 80 11 00 00 [00:16:33]Write to MH i2c: E2 08 00 5F 12 80 11 00 00 00 00 00 00 EB [00:16:33]Write i2c OK [00:16:33]MH_I2C_Read... [00:16:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:33]Read from MH i2c: E2 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 17 00 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 17 00 5F 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 42 [00:16:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:16:33]wFMCommunicate OK [00:16:33]requested_item fd.num is exist - process it [00:16:33]SAM_PROTO_GetFieldsCounters [00:16:33]wFMCommunicate request_size=4 [00:16:33]MH_SAM_APDU [00:16:33]CAPDU: 80 13 00 00 [00:16:33]Write to MH i2c: E2 08 00 60 12 80 13 00 00 00 00 00 00 EE [00:16:33]Write i2c OK [00:16:33]MH_I2C_Read... [00:16:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:16:33]Read from MH i2c: E2 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 62 00 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 62 00 60 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [00:16:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5E 0B 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 AA 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:16:33]wFMCommunicate OK [00:16:33]SAM_PROTO_GetFieldsCounters done [00:16:33]requested_item shift.num is exist - process it [00:16:33]requested_item shift.opened is exist - process it [00:16:33]req_shift_opened [00:16:33]FM_GetShiftState [00:16:33]SAM_PROTO_GetShiftState [00:16:33]wFMCommunicate request_size=4 [00:16:33]MH_SAM_APDU [00:16:33]CAPDU: 80 13 01 00 [00:16:33]Write to MH i2c: E2 08 00 61 12 80 13 01 00 00 00 00 00 F0 [00:16:33]Write i2c OK [00:16:33]MH_I2C_Read... [00:16:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:33]Read from MH i2c: E2 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 0E 00 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 0E 00 61 12 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FB [00:16:33]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:16:33]wFMCommunicate OK [00:16:33]SAM_PROTO_GetShiftState done [00:16:33]FM_GetShiftState done [00:16:33]req_shift_opened done [00:16:33]requested_item shift.open_date is exist - process it [00:16:33]req_shift_open_date [00:16:33]FM_GetShiftState [00:16:33]SAM_PROTO_GetShiftState [00:16:33]wFMCommunicate request_size=4 [00:16:33]MH_SAM_APDU [00:16:33]CAPDU: 80 13 01 00 [00:16:33]Write to MH i2c: E2 08 00 62 12 80 13 01 00 00 00 00 00 F1 [00:16:33]Write i2c OK [00:16:33]MH_I2C_Read... [00:16:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:33]Read from MH i2c: E2 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 0E 00 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 0E 00 62 12 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FC [00:16:33]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:16:33]wFMCommunicate OK [00:16:33]SAM_PROTO_GetShiftState done [00:16:33]FM_GetShiftState done [00:16:33]req_shift_open_date done [00:16:33]produce_requested_data done [00:16:33]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68446,"shift.num":548,"shift.opened":0,"shift.open_date":0} [00:16:33]process_action_free get_value [00:16:33]json_value_free [00:16:33]json_value_free done [00:16:33]process_json_proto returns [00:16:33]Send response to host [00:16:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68446,"shift.num":548,"shift.opened":0,"shift.open_date":0}}} [00:16:33]free response buf [00:16:33]execute_script done [00:16:33]execute_script returns [00:16:33]free content buf [00:16:33]Sock 8.Close socket [00:16:33]Sock 8.Thread stoped [00:16:33]accept exits with 9 [00:16:33]New connection [00:16:33]New thread 3066715492 created [00:16:33]Thread 3066858852 joined [00:16:33]Waiting for new connection... [00:16:33] Sock 9.Parse request [00:16:33]Sock 9.Check first char [00:16:33]Sock 9.First char is OK [00:16:33]request: POST /json_proto HTTP/1.0 [00:16:33]Method: POST [00:16:33]URL: /json_proto [00:16:33]Method is POST - this is cgi request [00:16:33]url: /json_proto [00:16:33]query_string will be loaded in cgi processing [00:16:33]execute_cgi json_proto POST (null) [00:16:33]execute_cgi path=json_proto method=POST [00:16:33]POST find Content-Length [00:16:33]Host: 172.17.42.3:8080 [00:16:33]Content-Length: 331 [00:16:33]Content-Type: application/json [00:16:33] [00:16:33]POST finish read [00:16:33]Found Content-Length = 331 [00:16:33]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:16:33]execute_script... [00:16:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:34]POST & json_proto [00:16:34]process_json_proto [00:16:34]json parsed OK: [00:16:34]protocol is kg_v1.0 [00:16:34]action value=get_value [00:16:34]process_action get_value [00:16:34]cmd_get_value [00:16:34]process_action get_value done [00:16:34]requested_data is exist [00:16:34]produce_requested_data [00:16:34]requested_item fm.sale.total is exist - process it [00:16:34]SAM_PROTO_GetFMData [00:16:34]wFMCommunicate request_size=4 [00:16:34]MH_SAM_APDU [00:16:34]CAPDU: 80 13 03 00 [00:16:34]Write to MH i2c: E2 08 00 63 12 80 13 03 00 00 00 00 00 F4 [00:16:34]Write i2c OK [00:16:34]MH_I2C_Read... [00:16:34]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:16:34]Read from MH i2c: E2 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 63 12 00 C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 96 [00:16:34]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 [00:16:34]wFMCommunicate OK [00:16:34]wFMCommunicate request_size=4 [00:16:34]MH_SAM_APDU [00:16:34]CAPDU: 80 17 00 00 [00:16:34]Write to MH i2c: E2 08 00 64 12 80 17 00 00 00 00 00 00 F6 [00:16:34]Write i2c OK [00:16:34]MH_I2C_Read... [00:16:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:34]Read from MH i2c: E2 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 64 12 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 08 [00:16:34]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 [00:16:34]wFMCommunicate OK [00:16:34]wFMCommunicate request_size=4 [00:16:34]MH_SAM_APDU [00:16:34]CAPDU: 80 17 00 00 [00:16:34]Write to MH i2c: E2 08 00 65 12 80 17 00 00 00 00 00 00 F7 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 FD 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 FD 00 65 12 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 CF [00:16:35]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 [00:16:35]wFMCommunicate OK [00:16:35]wFMCommunicate request_size=4 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 17 00 00 [00:16:35]Write to MH i2c: E2 08 00 66 12 80 17 00 00 00 00 00 00 F8 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 FD 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 FD 00 66 12 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 73 [00:16:35]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [00:16:35]wFMCommunicate OK [00:16:35]wFMCommunicate request_size=4 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 17 00 00 [00:16:35]Write to MH i2c: E2 08 00 67 12 80 17 00 00 00 00 00 00 F9 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 E4 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 E4 00 67 12 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D9 [00:16:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:35]wFMCommunicate OK [00:16:35]SAM_PROTO_GetFMData done [00:16:35]requested_item fm.sale_refund.total is exist - process it [00:16:35]requested_item fm.buy.total is exist - process it [00:16:35]requested_item shift.sale.total is exist - process it [00:16:35]SAM_PROTO_GetShiftData [00:16:35]wFMCommunicate request_size=4 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 13 02 00 [00:16:35]Write to MH i2c: E2 08 00 68 12 80 13 02 00 00 00 00 00 F8 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:16:36]Read from MH i2c: E2 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 FD 00 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 FD 00 68 12 00 B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 A5 [00:16:36]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 A8 00 00 00 69 04 9D 00 6F 04 04 00 A8 00 00 00 B1 04 04 00 FF 20 4B 01 70 04 03 00 A0 A0 E6 72 04 03 00 5F 80 64 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 40 2B 23 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 38 EE 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:16:36]wFMCommunicate OK [00:16:36]wFMCommunicate request_size=4 [00:16:36]MH_SAM_APDU [00:16:36]CAPDU: 80 17 00 00 [00:16:36]Write to MH i2c: E2 08 00 69 12 80 17 00 00 00 00 00 00 FB [00:16:36]Write i2c OK [00:16:36]MH_I2C_Read... [00:16:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:36]Read from MH i2c: E2 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 FD 00 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 FD 00 69 12 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 15 [00:16:36]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 90 00 [00:16:36]wFMCommunicate OK [00:16:36]wFMCommunicate request_size=4 [00:16:36]MH_SAM_APDU [00:16:36]CAPDU: 80 17 00 00 [00:16:36]Write to MH i2c: E2 08 00 6A 12 80 17 00 00 00 00 00 00 FC [00:16:36]Write i2c OK [00:16:36]MH_I2C_Read... [00:16:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:36]Read from MH i2c: E2 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 FD 00 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 FD 00 6A 12 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 B9 [00:16:36]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 90 00 [00:16:36]wFMCommunicate OK [00:16:36]wFMCommunicate request_size=4 [00:16:36]MH_SAM_APDU [00:16:36]CAPDU: 80 17 00 00 [00:16:36]Write to MH i2c: E2 08 00 6B 12 80 17 00 00 00 00 00 00 FD [00:16:36]Write i2c OK [00:16:36]MH_I2C_Read... [00:16:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:37]Read from MH i2c: E2 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 FD 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 FD 00 6B 12 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 70 [00:16:37]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:16:37]wFMCommunicate OK [00:16:37]wFMCommunicate request_size=4 [00:16:37]MH_SAM_APDU [00:16:37]CAPDU: 80 17 00 00 [00:16:37]Write to MH i2c: E2 08 00 6C 12 80 17 00 00 00 00 00 00 FE [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:16:37]Read from MH i2c: E2 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 CD 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 CD 00 6C 12 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E2 [00:16:37]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:37]wFMCommunicate OK [00:16:37]SAM_PROTO_GetShiftData done [00:16:37]requested_item shift.sale.total_cash is exist - process it [00:16:37]requested_item shift.sale_refund.total is exist - process it [00:16:37]requested_item shift.sale_refund.total_cash is exist - process it [00:16:37]requested_item shift.buy.total is exist - process it [00:16:37]requested_item shift.buy.total_cash is exist - process it [00:16:37]produce_requested_data done [00:16:37]produce_requested_data return {"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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:16:37]process_action_free get_value [00:16:37]json_value_free [00:16:37]json_value_free done [00:16:37]process_json_proto returns [00:16:37]Send response to host [00:16:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":217008.63,"shift.sale.total_cash":151144.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:16:37]free response buf [00:16:37]execute_script done [00:16:37]execute_script returns [00:16:37]free content buf [00:16:37]Sock 9.Close socket [00:16:37]Sock 9.Thread stoped [00:16:37]accept exits with 8 [00:16:37]New connection [00:16:37]New thread 3066858852 created [00:16:37]Thread 3066715492 joined [00:16:37]Waiting for new connection... [00:16:37] Sock 8.Parse request [00:16:37]Sock 8.Check first char [00:16:37]Sock 8.First char is OK [00:16:37]request: POST /json_proto HTTP/1.0 [00:16:37]Method: POST [00:16:37]URL: /json_proto [00:16:37]Method is POST - this is cgi request [00:16:37]url: /json_proto [00:16:37]query_string will be loaded in cgi processing [00:16:37]execute_cgi json_proto POST (null) [00:16:37]execute_cgi path=json_proto method=POST [00:16:37]POST find Content-Length [00:16:37]Host: 172.17.42.3:8080 [00:16:37]Content-Length: 277 [00:16:37]Content-Type: application/json [00:16:37] [00:16:37]POST finish read [00:16:37]Found Content-Length = 277 [00:16:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u0443\u0440\u0433\u0443\u043D\u0431\u0430\u0435\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:37]execute_script... [00:16:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u0443\u0440\u0433\u0443\u043D\u0431\u0430\u0435\u0432\u0430 \u0414. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:37]POST & json_proto [00:16:37]process_json_proto [00:16:37]json parsed OK: [00:16:37]protocol is kg_v1.0 [00:16:37]action value=open_shift [00:16:37]process_action open_shift [00:16:37]cmd_open_shift [00:16:37]MH_GetDate [00:16:37]Write to MH i2c: F0 00 00 6D 12 6E [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: F0 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: F0 09 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: F0 09 00 6D 12 00 E8 7A 21 67 28 A1 20 67 B1 [00:16:37]GetLastDocTimeStamp 1730247026 [00:16:37]current date 1730247400 [00:16:37]FM_GetShiftState [00:16:37]SAM_PROTO_GetShiftState [00:16:37]wFMCommunicate request_size=4 [00:16:37]MH_SAM_APDU [00:16:37]CAPDU: 80 13 01 00 [00:16:37]Write to MH i2c: E2 08 00 6E 12 80 13 01 00 00 00 00 00 FD [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:37]Read from MH i2c: E2 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 0E 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 0E 00 6E 12 00 09 00 00 00 00 00 00 00 00 00 00 90 00 08 [00:16:37]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:16:37]wFMCommunicate OK [00:16:37]SAM_PROTO_GetShiftState done [00:16:37]FM_GetShiftState done [00:16:37]KKMCreateOpenShiftDocument [00:16:37]Load OK [00:16:37]Malloc new data [00:16:37]MH_GetDate [00:16:37]Write to MH i2c: F0 00 00 6F 12 70 [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: F0 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: F0 09 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: F0 09 00 6F 12 00 E8 7A 21 67 28 A1 20 67 B3 [00:16:37]Malloc new data [00:16:37]KKMCreateOpenShiftDocument OK [00:16:37]KKMSetOpenShiftData OK [00:16:37]ProcessDocumentItem done err = 0, tmpTLVsize=169 [00:16:37]tlvbuf is 01DDEF90 [00:16:37]KKMLoadAndSignOpenShiftData [00:16:37]SAM_PROTO_ProcessDocument [00:16:37]wFMCommunicate request_size=9 [00:16:37]MH_SAM_APDU [00:16:37]CAPDU: 80 15 01 00 04 02 00 A9 00 [00:16:37]Write to MH i2c: E2 0C 00 70 12 80 15 01 00 04 00 02 00 A9 00 00 00 B4 [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]OFD Sender: No OFD packet to send [00:16:37]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:16:37]Read from MH i2c: E2 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 03 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 03 00 70 12 00 90 00 F6 [00:16:37]RAPDU: 90 00 [00:16:37]wFMCommunicate OK [00:16:37]wFMCommunicate request_size=23 [00:16:37]MH_SAM_APDU [00:16:37]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:16:37]Write to MH i2c: E2 1A 00 71 12 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 F8 [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:37]Read from MH i2c: E2 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 03 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 03 00 71 12 00 90 00 F7 [00:16:37]RAPDU: 90 00 [00:16:37]wFMCommunicate OK [00:16:37]wFMCommunicate request_size=36 [00:16:37]MH_SAM_APDU [00:16:37]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 A2 D1 83 D1 80 D0 B3 D1 83 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 [00:16:37]Write to MH i2c: E2 27 00 72 12 80 15 02 00 1F 00 FD 03 1B 00 D0 A2 D1 83 D1 80 D0 B3 D1 83 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 00 00 32 [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:37]Read from MH i2c: E2 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 03 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 03 00 72 12 00 90 00 F8 [00:16:37]RAPDU: 90 00 [00:16:37]wFMCommunicate OK [00:16:37]wFMCommunicate request_size=51 [00:16:37]MH_SAM_APDU [00:16:37]CAPDU: 80 15 02 00 2E F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 [00:16:37]Write to MH i2c: E2 36 00 73 12 80 15 02 00 2E 00 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 00 00 94 [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:37]Read from MH i2c: E2 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 03 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 03 00 73 12 00 90 00 F9 [00:16:37]RAPDU: 90 00 [00:16:37]wFMCommunicate OK [00:16:37]wFMCommunicate request_size=51 [00:16:37]MH_SAM_APDU [00:16:37]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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:16:38]Write to MH i2c: E2 36 00 74 12 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 AF [00:16:38]Write i2c OK [00:16:38]MH_I2C_Read... [00:16:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:38]Read from MH i2c: E2 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 03 00 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 03 00 74 12 00 90 00 FA [00:16:38]RAPDU: 90 00 [00:16:38]wFMCommunicate OK [00:16:38]wFMCommunicate request_size=13 [00:16:38]MH_SAM_APDU [00:16:38]CAPDU: 80 15 02 00 08 F4 03 04 00 E8 7A 21 67 [00:16:38]Write to MH i2c: E2 10 00 75 12 80 15 02 00 08 00 F4 03 04 00 E8 7A 21 67 00 00 FC [00:16:38]Write i2c OK [00:16:38]MH_I2C_Read... [00:16:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:38]Read from MH i2c: E2 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 03 00 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 03 00 75 12 00 90 00 FB [00:16:38]RAPDU: 90 00 [00:16:38]wFMCommunicate OK [00:16:38]wFMCommunicate request_size=25 [00:16:38]MH_SAM_APDU [00:16:38]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 [00:16:38]Write to MH i2c: E2 1C 00 76 12 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 00 00 70 [00:16:38]Write i2c OK [00:16:38]MH_I2C_Read... [00:16:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:38]Read from MH i2c: E2 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 03 00 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 03 00 76 12 00 90 00 FC [00:16:38]RAPDU: 90 00 [00:16:38]wFMCommunicate OK [00:16:38]wFMCommunicate request_size=4 [00:16:38]MH_SAM_APDU [00:16:38]CAPDU: 80 15 03 00 [00:16:38]Write to MH i2c: E2 08 00 77 12 80 15 03 00 00 00 00 00 0A [00:16:38]Write i2c OK [00:16:38]MH_I2C_Read... [00:16:38]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:16:38]Read from MH i2c: E2 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 38 00 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 38 00 77 12 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5F 0B 01 00 0E 04 04 00 25 02 00 00 35 04 06 00 42 89 1A 09 6F A9 90 00 72 [00:16:38]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5F 0B 01 00 0E 04 04 00 25 02 00 00 35 04 06 00 42 89 1A 09 6F A9 90 00 [00:16:38]wFMCommunicate OK [00:16:38]SAM_PROTO_ProcessDocument answer len = 51 [00:16:38]SAM_PROTO_ProcessDocument done [00:16:38]SetTLVBufToDocument [00:16:38]Processing tag 1209 (04B9) [00:16:38]Malloc new data [00:16:38]Processing tag 1041 (0411) [00:16:38]Processing tag 1040 (0410) [00:16:38]Malloc new data [00:16:38]Processing tag 1038 (040E) [00:16:38]Malloc new data [00:16:38]Processing tag 1077 (0435) [00:16:38]Malloc new data [00:16:38]SetTLVBufToDocument err=0 [00:16:38]KKMLoadAndSignOpenShiftData store KKM data [00:16:38]KKMLoadAndSignOpenShiftData err=0 [00:16:38]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Тургунбаева Д. Адрес: 720001, с. Арал, 41.929219, 72.888225 Место: АЗС № 160 "Партнер Нефть" 30.10.2024 00:16 Смена: 549 РНМ: 0000000000091759 ЗНМ: 0300000093 ФД: 68447 ФМ: 0000000000871758 ФПД: 73156614778793 [00:16:38]StoreToDocumentArchive [00:16:38]shift 549 fd 68447 [00:16:38]Create dir for shift 0549 [00:16:38]save to /storage/0549/doc_00068447 [00:16:38]save last doc name /storage/0549/doc_00068447 to /storage/kkm_last_doc_name [00:16:38]save OK [00:16:38]Clear old archive folders... [00:16:38]Remove dir /storage/0548 [00:16:38]opendir ok [00:16:38]file . [00:16:38]file .. [00:16:38]file doc_00068300 [00:16:38]remove file /storage/0548/doc_00068300 [00:16:38]file doc_00068301 [00:16:38]remove file /storage/0548/doc_00068301 [00:16:38]file doc_00068302 [00:16:38]remove file /storage/0548/doc_00068302 [00:16:38]file doc_00068303 [00:16:38]remove file /storage/0548/doc_00068303 [00:16:38]file doc_00068304 [00:16:38]remove file /storage/0548/doc_00068304 [00:16:38]file doc_00068305 [00:16:38]remove file /storage/0548/doc_00068305 [00:16:38]file doc_00068306 [00:16:38]remove file /storage/0548/doc_00068306 [00:16:38]file doc_00068307 [00:16:38]remove file /storage/0548/doc_00068307 [00:16:38]file doc_00068308 [00:16:38]remove file /storage/0548/doc_00068308 [00:16:38]file doc_00068309 [00:16:38]remove file /storage/0548/doc_00068309 [00:16:38]file doc_00068310 [00:16:38]remove file /storage/0548/doc_00068310 [00:16:38]file doc_00068311 [00:16:38]remove file /storage/0548/doc_00068311 [00:16:38]file doc_00068312 [00:16:38]remove file /storage/0548/doc_00068312 [00:16:38]file doc_00068313 [00:16:38]remove file /storage/0548/doc_00068313 [00:16:38]file doc_00068314 [00:16:38]remove file /storage/0548/doc_00068314 [00:16:38]file doc_00068315 [00:16:38]remove file /storage/0548/doc_00068315 [00:16:38]file doc_00068316 [00:16:38]remove file /storage/0548/doc_00068316 [00:16:38]file doc_00068317 [00:16:38]remove file /storage/0548/doc_00068317 [00:16:38]file doc_00068318 [00:16:38]remove file /storage/0548/doc_00068318 [00:16:38]file doc_00068319 [00:16:38]remove file /storage/0548/doc_00068319 [00:16:38]file doc_00068320 [00:16:38]remove file /storage/0548/doc_00068320 [00:16:38]file doc_00068321 [00:16:38]remove file /storage/0548/doc_00068321 [00:16:38]file doc_00068322 [00:16:38]remove file /storage/0548/doc_00068322 [00:16:38]file doc_00068323 [00:16:38]remove file /storage/0548/doc_00068323 [00:16:38]file doc_00068324 [00:16:38]remove file /storage/0548/doc_00068324 [00:16:38]file doc_00068325 [00:16:38]remove file /storage/0548/doc_00068325 [00:16:38]file doc_00068326 [00:16:38]remove file /storage/0548/doc_00068326 [00:16:38]file doc_00068327 [00:16:38]remove file /storage/0548/doc_00068327 [00:16:38]file doc_00068328 [00:16:38]remove file /storage/0548/doc_00068328 [00:16:38]file doc_00068329 [00:16:38]remove file /storage/0548/doc_00068329 [00:16:38]file doc_00068330 [00:16:38]remove file /storage/0548/doc_00068330 [00:16:38]file doc_00068331 [00:16:38]remove file /storage/0548/doc_00068331 [00:16:38]file doc_00068332 [00:16:38]remove file /storage/0548/doc_00068332 [00:16:38]file doc_00068333 [00:16:38]remove file /storage/0548/doc_00068333 [00:16:38]file doc_00068334 [00:16:38]remove file /storage/0548/doc_00068334 [00:16:38]file doc_00068335 [00:16:38]remove file /storage/0548/doc_00068335 [00:16:38]file doc_00068336 [00:16:38]remove file /storage/0548/doc_00068336 [00:16:38]file doc_00068337 [00:16:38]remove file /storage/0548/doc_00068337 [00:16:38]file doc_00068338 [00:16:38]remove file /storage/0548/doc_00068338 [00:16:38]file doc_00068339 [00:16:38]remove file /storage/0548/doc_00068339 [00:16:38]file doc_00068340 [00:16:38]remove file /storage/0548/doc_00068340 [00:16:38]file doc_00068341 [00:16:38]remove file /storage/0548/doc_00068341 [00:16:38]file doc_00068342 [00:16:38]remove file /storage/0548/doc_00068342 [00:16:38]file doc_00068343 [00:16:38]remove file /storage/0548/doc_00068343 [00:16:38]file doc_00068344 [00:16:38]remove file /storage/0548/doc_00068344 [00:16:38]file doc_00068345 [00:16:38]remove file /storage/0548/doc_00068345 [00:16:38]file doc_00068346 [00:16:38]remove file /storage/0548/doc_00068346 [00:16:38]file doc_00068347 [00:16:38]remove file /storage/0548/doc_00068347 [00:16:38]file doc_00068348 [00:16:38]remove file /storage/0548/doc_00068348 [00:16:38]file doc_00068349 [00:16:38]remove file /storage/0548/doc_00068349 [00:16:38]file doc_00068350 [00:16:38]remove file /storage/0548/doc_00068350 [00:16:38]file doc_00068351 [00:16:38]remove file /storage/0548/doc_00068351 [00:16:38]file doc_00068352 [00:16:38]remove file /storage/0548/doc_00068352 [00:16:38]file doc_00068353 [00:16:38]remove file /storage/0548/doc_00068353 [00:16:38]file doc_00068354 [00:16:38]remove file /storage/0548/doc_00068354 [00:16:38]file doc_00068355 [00:16:38]remove file /storage/0548/doc_00068355 [00:16:38]file doc_00068356 [00:16:38]remove file /storage/0548/doc_00068356 [00:16:38]file doc_00068357 [00:16:38]remove file /storage/0548/doc_00068357 [00:16:38]file doc_00068358 [00:16:38]remove file /storage/0548/doc_00068358 [00:16:38]file doc_00068359 [00:16:38]remove file /storage/0548/doc_00068359 [00:16:38]file doc_00068360 [00:16:38]remove file /storage/0548/doc_00068360 [00:16:38]file doc_00068361 [00:16:38]remove file /storage/0548/doc_00068361 [00:16:38]file doc_00068362 [00:16:38]remove file /storage/0548/doc_00068362 [00:16:38]file doc_00068363 [00:16:38]remove file /storage/0548/doc_00068363 [00:16:38]file doc_00068364 [00:16:38]remove file /storage/0548/doc_00068364 [00:16:38]file doc_00068365 [00:16:38]remove file /storage/0548/doc_00068365 [00:16:38]file doc_00068366 [00:16:38]remove file /storage/0548/doc_00068366 [00:16:38]file doc_00068367 [00:16:38]remove file /storage/0548/doc_00068367 [00:16:38]file doc_00068368 [00:16:38]remove file /storage/0548/doc_00068368 [00:16:38]file doc_00068369 [00:16:38]remove file /storage/0548/doc_00068369 [00:16:38]file doc_00068370 [00:16:38]remove file /storage/0548/doc_00068370 [00:16:38]file doc_00068371 [00:16:38]remove file /storage/0548/doc_00068371 [00:16:38]file doc_00068372 [00:16:38]remove file /storage/0548/doc_00068372 [00:16:38]file doc_00068373 [00:16:38]remove file /storage/0548/doc_00068373 [00:16:38]file doc_00068374 [00:16:38]remove file /storage/0548/doc_00068374 [00:16:38]file doc_00068375 [00:16:38]remove file /storage/0548/doc_00068375 [00:16:38]file doc_00068376 [00:16:38]remove file /storage/0548/doc_00068376 [00:16:38]file doc_00068377 [00:16:38]remove file /storage/0548/doc_00068377 [00:16:38]file doc_00068378 [00:16:38]remove file /storage/0548/doc_00068378 [00:16:39]file doc_00068379 [00:16:39]remove file /storage/0548/doc_00068379 [00:16:39]file doc_00068380 [00:16:39]remove file /storage/0548/doc_00068380 [00:16:39]file doc_00068381 [00:16:39]remove file /storage/0548/doc_00068381 [00:16:39]file doc_00068382 [00:16:39]remove file /storage/0548/doc_00068382 [00:16:39]file doc_00068383 [00:16:39]remove file /storage/0548/doc_00068383 [00:16:39]file doc_00068384 [00:16:39]remove file /storage/0548/doc_00068384 [00:16:39]file doc_00068385 [00:16:39]remove file /storage/0548/doc_00068385 [00:16:39]file doc_00068386 [00:16:39]remove file /storage/0548/doc_00068386 [00:16:39]file doc_00068387 [00:16:39]remove file /storage/0548/doc_00068387 [00:16:39]file doc_00068388 [00:16:39]remove file /storage/0548/doc_00068388 [00:16:39]file doc_00068389 [00:16:39]remove file /storage/0548/doc_00068389 [00:16:39]file doc_00068390 [00:16:39]remove file /storage/0548/doc_00068390 [00:16:39]file doc_00068391 [00:16:39]remove file /storage/0548/doc_00068391 [00:16:39]file doc_00068392 [00:16:39]remove file /storage/0548/doc_00068392 [00:16:39]file doc_00068393 [00:16:39]remove file /storage/0548/doc_00068393 [00:16:39]file doc_00068394 [00:16:39]remove file /storage/0548/doc_00068394 [00:16:39]file doc_00068395 [00:16:39]remove file /storage/0548/doc_00068395 [00:16:39]file doc_00068396 [00:16:39]remove file /storage/0548/doc_00068396 [00:16:39]file doc_00068397 [00:16:39]remove file /storage/0548/doc_00068397 [00:16:39]file doc_00068398 [00:16:39]remove file /storage/0548/doc_00068398 [00:16:39]file doc_00068399 [00:16:39]remove file /storage/0548/doc_00068399 [00:16:39]file doc_00068400 [00:16:39]remove file /storage/0548/doc_00068400 [00:16:39]file doc_00068401 [00:16:39]remove file /storage/0548/doc_00068401 [00:16:39]file doc_00068402 [00:16:39]remove file /storage/0548/doc_00068402 [00:16:39]file doc_00068403 [00:16:39]remove file /storage/0548/doc_00068403 [00:16:39]file doc_00068404 [00:16:39]remove file /storage/0548/doc_00068404 [00:16:39]file doc_00068405 [00:16:39]remove file /storage/0548/doc_00068405 [00:16:39]file doc_00068406 [00:16:39]remove file /storage/0548/doc_00068406 [00:16:39]file doc_00068407 [00:16:39]remove file /storage/0548/doc_00068407 [00:16:39]file doc_00068408 [00:16:39]remove file /storage/0548/doc_00068408 [00:16:39]file doc_00068409 [00:16:39]remove file /storage/0548/doc_00068409 [00:16:39]file doc_00068410 [00:16:39]remove file /storage/0548/doc_00068410 [00:16:39]file doc_00068411 [00:16:39]remove file /storage/0548/doc_00068411 [00:16:39]file doc_00068412 [00:16:39]remove file /storage/0548/doc_00068412 [00:16:39]file doc_00068413 [00:16:39]remove file /storage/0548/doc_00068413 [00:16:39]file doc_00068414 [00:16:39]remove file /storage/0548/doc_00068414 [00:16:39]file doc_00068415 [00:16:39]remove file /storage/0548/doc_00068415 [00:16:39]file doc_00068416 [00:16:39]remove file /storage/0548/doc_00068416 [00:16:39]file doc_00068417 [00:16:39]remove file /storage/0548/doc_00068417 [00:16:39]file doc_00068418 [00:16:39]remove file /storage/0548/doc_00068418 [00:16:39]file doc_00068419 [00:16:39]remove file /storage/0548/doc_00068419 [00:16:39]file doc_00068420 [00:16:39]remove file /storage/0548/doc_00068420 [00:16:39]file doc_00068421 [00:16:39]remove file /storage/0548/doc_00068421 [00:16:39]file doc_00068422 [00:16:39]remove file /storage/0548/doc_00068422 [00:16:39]file doc_00068423 [00:16:39]remove file /storage/0548/doc_00068423 [00:16:39]file doc_00068424 [00:16:39]remove file /storage/0548/doc_00068424 [00:16:39]file doc_00068425 [00:16:39]remove file /storage/0548/doc_00068425 [00:16:39]file doc_00068426 [00:16:39]remove file /storage/0548/doc_00068426 [00:16:39]file doc_00068427 [00:16:39]remove file /storage/0548/doc_00068427 [00:16:39]file doc_00068428 [00:16:39]remove file /storage/0548/doc_00068428 [00:16:39]file doc_00068429 [00:16:39]remove file /storage/0548/doc_00068429 [00:16:39]file doc_00068430 [00:16:39]remove file /storage/0548/doc_00068430 [00:16:39]file doc_00068431 [00:16:39]remove file /storage/0548/doc_00068431 [00:16:39]file doc_00068432 [00:16:39]remove file /storage/0548/doc_00068432 [00:16:39]file doc_00068433 [00:16:39]remove file /storage/0548/doc_00068433 [00:16:39]file doc_00068434 [00:16:39]remove file /storage/0548/doc_00068434 [00:16:39]file doc_00068435 [00:16:39]remove file /storage/0548/doc_00068435 [00:16:39]file doc_00068436 [00:16:39]remove file /storage/0548/doc_00068436 [00:16:39]file doc_00068437 [00:16:39]remove file /storage/0548/doc_00068437 [00:16:39]file doc_00068438 [00:16:39]remove file /storage/0548/doc_00068438 [00:16:39]file doc_00068439 [00:16:39]remove file /storage/0548/doc_00068439 [00:16:39]file doc_00068440 [00:16:39]remove file /storage/0548/doc_00068440 [00:16:39]file doc_00068441 [00:16:39]remove file /storage/0548/doc_00068441 [00:16:39]file doc_00068442 [00:16:39]remove file /storage/0548/doc_00068442 [00:16:39]file doc_00068443 [00:16:39]remove file /storage/0548/doc_00068443 [00:16:39]file doc_00068444 [00:16:39]remove file /storage/0548/doc_00068444 [00:16:39]file doc_00068445 [00:16:39]remove file /storage/0548/doc_00068445 [00:16:39]file doc_00068446 [00:16:39]remove file /storage/0548/doc_00068446 [00:16:39]remove dir /storage/0548 [00:16:39]ProcessDocumentItem done err = 0, tmpTLVsize=220 [00:16:39]tlvbuf is 01E8EB20 [00:16:39]SAM_PROTO_ClearQueue [00:16:39]wFMCommunicate request_size=4 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 09 00 00 [00:16:39]Write to MH i2c: E2 08 00 78 12 80 09 00 00 00 00 00 00 FC [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 78 12 00 90 00 FE [00:16:39]RAPDU: 90 00 [00:16:39]wFMCommunicate OK [00:16:39]SAM_PROTO_ClearQueue done [00:16:39]KKMCreateOFDPacket [00:16:39]OFDProtocolAddRootSTLVToBuf [00:16:39]FM_MakeSignedData [00:16:39]FM_MakeSignedData [00:16:39]SAM_PROTO_SignData [00:16:39]wFMCommunicate request_size=4 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 0D 01 02 [00:16:39]Write to MH i2c: E2 08 00 79 12 80 0D 01 02 00 00 00 00 04 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 79 12 00 90 00 FF [00:16:39]RAPDU: 90 00 [00:16:39]wFMCommunicate OK [00:16:39]wFMCommunicate request_size=229 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 0D 02 02 E0 02 00 DC 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D1 83 D1 80 D0 B3 D1 83 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 E8 7A 21 67 0E 04 04 00 25 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5F 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 42 89 1A 09 6F A9 [00:16:39]Write to MH i2c: E2 E8 00 7A 12 80 0D 02 02 E0 00 02 00 DC 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D1 83 D1 80 D0 B3 D1 83 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 E8 7A 21 67 0E 04 04 00 25 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5F 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 42 89 1A 09 6F A9 00 00 17 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 03 00 7A 12 00 90 00 00 [00:16:39]RAPDU: 90 00 [00:16:39]wFMCommunicate OK [00:16:39]wFMCommunicate request_size=4 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 0D 03 02 [00:16:39]Write to MH i2c: E2 08 00 7B 12 80 0D 03 02 00 00 00 00 08 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 0B 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 0B 00 7B 12 00 0E 91 7E 14 E5 FF ED 5B 90 00 66 [00:16:39]RAPDU: 0E 91 7E 14 E5 FF ED 5B 90 00 [00:16:39]wFMCommunicate OK [00:16:39]SAM_PROTO_SignData done [00:16:39]FM_MakeSignedData done [00:16:39]CreateOFDProtocolMessage [00:16:39]wFMCommunicate request_size=4 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 11 00 00 [00:16:39]Write to MH i2c: E2 08 00 7C 12 80 11 00 00 00 00 00 00 08 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:40]Read from MH i2c: E2 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: E2 17 00 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: E2 17 00 7C 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 5F [00:16:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:16:40]wFMCommunicate OK [00:16:40]CreateOFDProtocolMessage done [00:16:40]OFDSenderStorePacket 68447 [00:16:40]StoreOFDPacket docnum=68447 [00:16:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 F0 00 00 00 FB EA E8 00 37 09 5A 02 01 00 02 00 DC 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D1 83 D1 80 D0 B3 D1 83 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 E8 7A 21 67 0E 04 04 00 25 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5F 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 42 89 1A 09 6F A9 0E 91 7E 14 E5 FF ED 5B [00:16:40]CheckFolder [00:16:40]dirname=/storage/ofd_packets [00:16:40]CheckFolder done [00:16:40]ProducePacketName [00:16:40]name=ofd_packets/00068447 [00:16:40]NVStorageSaveData ofd_packets/00068447 [00:16:40]File name is /storage/ofd_packets/00068447 [00:16:40]Write 270 bytes [00:16:40]NVStorageSaveData done [00:16:40]OFDSenderStorePacket done [00:16:40]KKMCreateOFDPacket done [00:16:40]NVStorageSaveData kkm_last_timestamp [00:16:40]File name is /storage/kkm_last_timestamp [00:16:40]Write 4 bytes [00:16:40]NVStorageSaveData done [00:16:40]ExternCall_PrintAddStr [00:16:40]wPrintStart [00:16:40]Write to MH i2c: 01 00 00 7D 12 8F [00:16:40]Write i2c OK [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: 01 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: 01 07 00 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: 01 07 00 7D 12 00 00 00 00 00 FF 0F A4 [00:16:40]RasterBufferAndPrint [00:16:40]line Отчет об открытии смены [00:16:40]line ФФД: 1.0 [00:16:40]line ИНН: 02508201610067 [00:16:40]line Кассир: Тургунбаева Д. [00:16:40]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:16:40]line Место: АЗС № 160 "Партнер Нефть" [00:16:40]line 30.10.2024 00:16 [00:16:40]line Смена: 549 [00:16:40]line РНМ: 0000000000091759 [00:16:40]line ЗНМ: 0300000093 [00:16:40]line ФД: 68447 [00:16:40]line ФМ: 0000000000871758 [00:16:40]line ФПД: 73156614778793 [00:16:40]written 0, free lines is 4095 [00:16:40]OFD Sender: Processing packet 68447 [packets to send 28, broken 27] [00:16:40]ProducePacketName [00:16:40]name=ofd_packets/00068447 [00:16:40]OFD Sender: To server: pG, [00:16:40]CommunicateWithHost lk.salyk.kg:30040 [00:16:40]ConnectInit lk.salyk.kg [00:16:40]Connected sock=9 [00:16:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 F0 00 00 00 FB EA E8 00 37 09 5A 02 01 00 02 00 DC 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D1 83 D1 80 D0 B3 D1 83 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 94 2E 20 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 E8 7A 21 67 0E 04 04 00 25 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5F 0B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 42 89 1A 09 6F A9 0E 91 7E 14 E5 FF ED 5B [00:16:40]Write to MH i2c: 01 00 00 8E 12 A0 [00:16:40]Write i2c OK [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: 01 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: 01 07 00 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: 01 07 00 8E 12 00 00 00 00 00 75 0E 2A [00:16:40]RasterBufferAndPrint [00:16:40]line [00:16:40]line [00:16:40]line [00:16:40]line [00:16:40]line [00:16:40]written 0, free lines is 3714 [00:16:40]MH_Cut [00:16:40]Write to MH i2c: D1 01 00 95 12 01 79 [00:16:40]Write i2c OK [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: D1 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: D1 01 00 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: D1 01 00 95 12 00 78 [00:16:40]Write to MH i2c: 01 00 00 96 12 A8 [00:16:40]Write i2c OK [00:16:40]MH_I2C_Read... [00:16:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 10 7B 47 00 85 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5F 0B 01 00 F4 03 04 00 8F 26 21 67 B6 04 01 00 00 62 B1 2B F1 78 41 AE E5 [00:16:40]CommunicateWithHost err = 0 [00:16:40]CheckOFDResponse [00:16:40]1017 (14) - 77093643461234 [00:16:40]1041 (16) - 0000000000871758 [00:16:40]1040 (4) - 68447 [00:16:40]1012 (4) - 29.10.2024 18:16 [00:16:40]1206 (1) - 0 [00:16:40]OFD Sender: Remove packet 68447 [00:16:40]ProducePacketName [00:16:40]name=ofd_packets/00068447 [00:16:40]NVStorageDeleteData [00:16:40]*** Cut start [00:16:40]*** Partial cut [00:16:40]*** CUTSNS_PIN = 1 [00:16:40]*** CUTSNS_PIN = 0 [00:16:40]OFD Sender: No OFD packet to send [00:16:41]*** Brake cut motor [00:16:41]Read from MH i2c: 01 [00:16:41]MH_I2C_Read... [00:16:41]*** Stop cut motor [00:16:41]*** Cut end [00:16:41]Read from MH i2c: 01 07 00 [00:16:41]MH_I2C_Read... [00:16:41]Read from MH i2c: 01 07 00 96 12 00 00 00 00 00 FF 0F BD [00:16:41]process_action open_shift done [00:16:41]requested_data is exist [00:16:41]produce_requested_data [00:16:41]requested_item fd.num is exist - process it [00:16:41]SAM_PROTO_GetFieldsCounters [00:16:41]wFMCommunicate request_size=4 [00:16:41]MH_SAM_APDU [00:16:41]CAPDU: 80 13 00 00 [00:16:41]Write to MH i2c: E2 08 00 97 12 80 13 00 00 00 00 00 00 25 [00:16:41]Write i2c OK [00:16:41]MH_I2C_Read... [00:16:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:16:41]Read from MH i2c: E2 [00:16:41]MH_I2C_Read... [00:16:41]Read from MH i2c: E2 62 00 [00:16:41]MH_I2C_Read... [00:16:41]Read from MH i2c: E2 62 00 97 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5F 0B 01 00 0E 04 04 00 25 02 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 E2 [00:16:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 5F 0B 01 00 0E 04 04 00 25 02 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:16:41]wFMCommunicate OK [00:16:41]SAM_PROTO_GetFieldsCounters done [00:16:41]requested_item shift.num is exist - process it [00:16:41]requested_item shift.opened is exist - process it [00:16:41]req_shift_opened [00:16:41]FM_GetShiftState [00:16:41]SAM_PROTO_GetShiftState [00:16:41]wFMCommunicate request_size=4 [00:16:41]MH_SAM_APDU [00:16:41]CAPDU: 80 13 01 00 [00:16:41]Write to MH i2c: E2 08 00 98 12 80 13 01 00 00 00 00 00 27 [00:16:41]Write i2c OK [00:16:41]MH_I2C_Read... [00:16:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:41]Read from MH i2c: E2 [00:16:41]MH_I2C_Read... [00:16:41]Read from MH i2c: E2 0E 00 [00:16:41]MH_I2C_Read... [00:16:41]Read from MH i2c: E2 0E 00 98 12 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 1D [00:16:41]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:16:41]wFMCommunicate OK [00:16:41]SAM_PROTO_GetShiftState done [00:16:41]FM_GetShiftState done [00:16:41]req_shift_opened done [00:16:41]requested_item shift.open_date is exist - process it [00:16:41]req_shift_open_date [00:16:41]req_shift_open_date done [00:16:41]produce_requested_data done [00:16:41]produce_requested_data return {"fd.num":68447,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [00:16:41]process_action_free open_shift [00:16:41]json_value_free [00:16:41]json_value_free done [00:16:41]process_json_proto returns [00:16:41]Send response to host [00:16:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":68447,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [00:16:41]free response buf [00:16:41]execute_script done [00:16:41]execute_script returns [00:16:41]free content buf [00:16:41]Sock 8.Close socket [00:16:41]Sock 8.Thread stoped [00:16:41]accept exits with 10 [00:16:41]New connection [00:16:41]New thread 3066715492 created [00:16:41]Thread 3066858852 joined [00:16:41]Waiting for new connection... [00:16:41] Sock 10.Parse request [00:16:41]Sock 10.Check first char [00:16:41]Sock 10.First char is OK [00:16:41]request: POST /json_proto HTTP/1.0 [00:16:41]Method: POST [00:16:41]URL: /json_proto [00:16:41]Method is POST - this is cgi request [00:16:41]url: /json_proto [00:16:41]query_string will be loaded in cgi processing [00:16:41]execute_cgi json_proto POST (null) [00:16:41]execute_cgi path=json_proto method=POST [00:16:41]POST find Content-Length [00:16:41]Host: 172.17.42.3:8080 [00:16:41]Content-Length: 331 [00:16:41]Content-Type: application/json [00:16:41] [00:16:41]POST finish read [00:16:41]Found Content-Length = 331 [00:16:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:41]execute_script... [00:16:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:41]POST & json_proto [00:16:41]process_json_proto [00:16:41]json parsed OK: [00:16:41]protocol is kg_v1.0 [00:16:41]action value=get_value [00:16:41]process_action get_value [00:16:41]cmd_get_value [00:16:41]process_action get_value done [00:16:41]requested_data is exist [00:16:41]produce_requested_data [00:16:41]requested_item fm.sale.total is exist - process it [00:16:41]SAM_PROTO_GetFMData [00:16:41]wFMCommunicate request_size=4 [00:16:41]MH_SAM_APDU [00:16:41]CAPDU: 80 13 03 00 [00:16:41]Write to MH i2c: E2 08 00 99 12 80 13 03 00 00 00 00 00 2A [00:16:41]Write i2c OK [00:16:41]MH_I2C_Read... [00:16:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:16:42]Read from MH i2c: E2 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 99 12 00 C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 CC [00:16:42]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 15 07 01 00 69 04 A3 00 6F 04 04 00 16 06 01 00 B1 04 05 00 CD AB D0 62 02 70 04 05 00 C4 9F 1D D2 01 72 04 04 00 09 0C B3 90 00 04 7D 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 5B 49 E0 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 95 F3 67 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 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 A6 AF 87 EF 90 00 [00:16:42]wFMCommunicate OK [00:16:42]wFMCommunicate request_size=4 [00:16:42]MH_SAM_APDU [00:16:42]CAPDU: 80 17 00 00 [00:16:42]Write to MH i2c: E2 08 00 9A 12 80 17 00 00 00 00 00 00 2C [00:16:42]Write i2c OK [00:16:42]MH_I2C_Read... [00:16:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:42]Read from MH i2c: E2 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 9A 12 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 3E [00:16:42]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 90 00 [00:16:42]wFMCommunicate OK [00:16:42]wFMCommunicate request_size=4 [00:16:42]MH_SAM_APDU [00:16:42]CAPDU: 80 17 00 00 [00:16:42]Write to MH i2c: E2 08 00 9B 12 80 17 00 00 00 00 00 00 2D [00:16:42]Write i2c OK [00:16:42]MH_I2C_Read... [00:16:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:42]Read from MH i2c: E2 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 9B 12 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 05 [00:16:43]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 90 00 [00:16:43]wFMCommunicate OK [00:16:43]wFMCommunicate request_size=4 [00:16:43]MH_SAM_APDU [00:16:43]CAPDU: 80 17 00 00 [00:16:43]Write to MH i2c: E2 08 00 9C 12 80 17 00 00 00 00 00 00 2E [00:16:43]Write i2c OK [00:16:43]MH_I2C_Read... [00:16:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:43]Read from MH i2c: E2 [00:16:43]MH_I2C_Read... [00:16:43]Read from MH i2c: E2 FD 00 [00:16:43]MH_I2C_Read... [00:16:43]Read from MH i2c: E2 FD 00 9C 12 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 A9 [00:16:43]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 90 00 [00:16:43]wFMCommunicate OK [00:16:43]wFMCommunicate request_size=4 [00:16:43]MH_SAM_APDU [00:16:43]CAPDU: 80 17 00 00 [00:16:43]Write to MH i2c: E2 08 00 9D 12 80 17 00 00 00 00 00 00 2F [00:16:43]Write i2c OK [00:16:43]MH_I2C_Read... [00:16:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:16:43]Read from MH i2c: E2 [00:16:43]MH_I2C_Read... [00:16:43]Read from MH i2c: E2 E4 00 [00:16:43]MH_I2C_Read... [00:16:43]Read from MH i2c: E2 E4 00 9D 12 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0F [00:16:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:43]wFMCommunicate OK [00:16:43]SAM_PROTO_GetFMData done [00:16:43]requested_item fm.sale_refund.total is exist - process it [00:16:43]requested_item fm.buy.total is exist - process it [00:16:43]requested_item shift.sale.total is exist - process it [00:16:43]SAM_PROTO_GetShiftData [00:16:43]wFMCommunicate request_size=4 [00:16:43]MH_SAM_APDU [00:16:43]CAPDU: 80 13 02 00 [00:16:43]Write to MH i2c: E2 08 00 9E 12 80 13 02 00 00 00 00 00 2E [00:16:43]Write i2c OK [00:16:43]MH_I2C_Read... [00:16:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:16:44]Read from MH i2c: E2 [00:16:44]MH_I2C_Read... [00:16:44]Read from MH i2c: E2 FD 00 [00:16:44]MH_I2C_Read... [00:16:44]Read from MH i2c: E2 FD 00 9E 12 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 A1 [00:16:44]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:16:44]wFMCommunicate OK [00:16:44]wFMCommunicate request_size=4 [00:16:44]MH_SAM_APDU [00:16:44]CAPDU: 80 17 00 00 [00:16:44]Write to MH i2c: E2 08 00 9F 12 80 17 00 00 00 00 00 00 31 [00:16:44]Write i2c OK [00:16:44]MH_I2C_Read... [00:16:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:44]Read from MH i2c: E2 [00:16:44]MH_I2C_Read... [00:16:44]Read from MH i2c: E2 FD 00 [00:16:44]MH_I2C_Read... [00:16:44]Read from MH i2c: E2 FD 00 9F 12 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 39 [00:16:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 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:16:44]wFMCommunicate OK [00:16:44]wFMCommunicate request_size=4 [00:16:44]MH_SAM_APDU [00:16:44]CAPDU: 80 17 00 00 [00:16:44]Write to MH i2c: E2 08 00 A0 12 80 17 00 00 00 00 00 00 32 [00:16:44]Write i2c OK [00:16:44]MH_I2C_Read... [00:16:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:45]Read from MH i2c: E2 [00:16:45]MH_I2C_Read... [00:16:45]Read from MH i2c: E2 FD 00 [00:16:45]MH_I2C_Read... [00:16:45]Read from MH i2c: E2 FD 00 A0 12 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 04 [00:16:45]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:16:45]wFMCommunicate OK [00:16:45]wFMCommunicate request_size=4 [00:16:45]MH_SAM_APDU [00:16:45]CAPDU: 80 17 00 00 [00:16:45]Write to MH i2c: E2 08 00 A1 12 80 17 00 00 00 00 00 00 33 [00:16:45]Write i2c OK [00:16:45]MH_I2C_Read... [00:16:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:45]Read from MH i2c: E2 [00:16:45]MH_I2C_Read... [00:16:45]Read from MH i2c: E2 FD 00 [00:16:45]MH_I2C_Read... [00:16:45]Read from MH i2c: E2 FD 00 A1 12 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 A5 [00:16:45]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:16:45]wFMCommunicate OK [00:16:45]wFMCommunicate request_size=4 [00:16:45]MH_SAM_APDU [00:16:45]CAPDU: 80 17 00 00 [00:16:45]Write to MH i2c: E2 08 00 A2 12 80 17 00 00 00 00 00 00 34 [00:16:45]Write i2c OK [00:16:45]MH_I2C_Read... [00:16:45]OFD Sender: No OFD packet to send [00:16:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:16:46]Read from MH i2c: E2 [00:16:46]MH_I2C_Read... [00:16:46]Read from MH i2c: E2 BD 00 [00:16:46]MH_I2C_Read... [00:16:46]Read from MH i2c: E2 BD 00 A2 12 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 1A [00:16:46]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:16:46]wFMCommunicate OK [00:16:46]SAM_PROTO_GetShiftData done [00:16:46]requested_item shift.sale.total_cash is exist - process it [00:16:46]requested_item shift.sale_refund.total is exist - process it [00:16:46]requested_item shift.sale_refund.total_cash is exist - process it [00:16:46]requested_item shift.buy.total is exist - process it [00:16:46]requested_item shift.buy.total_cash is exist - process it [00:16:46]produce_requested_data done [00:16:46]produce_requested_data return {"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.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:16:46]process_action_free get_value [00:16:46]json_value_free [00:16:46]json_value_free done [00:16:46]process_json_proto returns [00:16:46]Send response to host [00:16:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102477772.29,"fm.sale_refund.total":837242.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:16:46]free response buf [00:16:46]execute_script done [00:16:46]execute_script returns [00:16:46]free content buf [00:16:46]Sock 10.Close socket [00:16:46]Sock 10.Thread stoped [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:23]int [00:17:23]Write to MH i2c: 01 00 00 A3 12 B5 [00:17:23]*** FLAG_PRN_KEY set [00:17:23]Write i2c OK [00:17:23]MH_I2C_Read... [00:17:23]Read from MH i2c: 01 [00:17:23]MH_I2C_Read... [00:17:23]Read from MH i2c: 01 07 00 [00:17:23]MH_I2C_Read... [00:17:23]Read from MH i2c: 01 07 00 A3 12 00 08 00 00 00 FF 0F D2 [00:17:23]state=0 [00:17:23]Key pressed [00:17:23]Feed [00:17:23]Write to MH i2c: D8 00 00 A4 12 8D [00:17:23]Write i2c OK [00:17:23]MH_I2C_Read... [00:17:23]Read from MH i2c: D8 [00:17:23]MH_I2C_Read... [00:17:23]Read from MH i2c: D8 01 00 [00:17:23]MH_I2C_Read... [00:17:23]Read from MH i2c: D8 01 00 A4 12 00 8E [00:17:23]int [00:17:23]Write to MH i2c: 01 00 00 A5 12 B7 [00:17:23]Write i2c OK [00:17:23]MH_I2C_Read... [00:17:23]Read from MH i2c: 01 [00:17:23]MH_I2C_Read... [00:17:23]Read from MH i2c: 01 07 00 [00:17:23]MH_I2C_Read... [00:17:23]Read from MH i2c: 01 07 00 A5 12 00 48 00 00 00 3C 00 42 [00:17:23]state=2 [00:17:23]Key pressed [00:17:24]int [00:17:24]Write to MH i2c: 01 00 00 A6 12 B8 [00:17:24]*** FLAG_PRN_KEY reset [00:17:24]Write i2c OK [00:17:24]MH_I2C_Read... [00:17:24]Read from MH i2c: 01 [00:17:24]MH_I2C_Read... [00:17:24]Read from MH i2c: 01 07 00 [00:17:24]MH_I2C_Read... [00:17:24]Read from MH i2c: 01 07 00 A6 12 00 00 00 00 00 F5 0F C3 [00:17:24]state=2 [00:17:24]Stop feed [00:17:25]int [00:17:25]Write to MH i2c: 01 00 00 A7 12 B9 [00:17:25]Write i2c OK [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 07 00 [00:17:25]MH_I2C_Read... [00:17:25]*** FLAG_PRN_KEY set [00:17:25]*** FLAG_PRN_KEY reset [00:17:25]Read from MH i2c: 01 07 00 A7 12 00 00 00 00 00 FF 0F CE [00:17:25]state=0 [00:17:25]int [00:17:25]Write to MH i2c: 01 00 00 A8 12 BA [00:17:25]Write i2c OK [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 [00:17:25]MH_I2C_Read... [00:17:25]*** FLAG_PRN_KEY set [00:17:25]*** FLAG_PRN_KEY reset [00:17:25]Read from MH i2c: 01 07 00 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 07 00 A8 12 00 00 00 00 00 FF 0F CF [00:17:25]state=0 [00:17:25]int [00:17:25]Write to MH i2c: 01 00 00 A9 12 BB [00:17:25]*** FLAG_PRN_KEY set [00:17:25]Write i2c OK [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 07 00 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 07 00 A9 12 00 08 00 00 00 FF 0F D8 [00:17:25]state=0 [00:17:25]Key pressed [00:17:25]Feed [00:17:25]Write to MH i2c: D8 00 00 AA 12 93 [00:17:25]Write i2c OK [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: D8 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: D8 01 00 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: D8 01 00 AA 12 00 94 [00:17:25]int [00:17:25]Write to MH i2c: 01 00 00 AB 12 BD [00:17:25]Write i2c OK [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 07 00 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 07 00 AB 12 00 48 00 00 00 3C 00 48 [00:17:25]state=2 [00:17:25]Key pressed [00:17:25]int [00:17:25]Write to MH i2c: 01 00 00 AC 12 BE [00:17:25]*** FLAG_PRN_KEY reset [00:17:25]Write i2c OK [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 07 00 [00:17:25]MH_I2C_Read... [00:17:25]Read from MH i2c: 01 07 00 AC 12 00 00 00 00 00 F5 0F C9 [00:17:25]state=2 [00:17:25]Stop feed [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]OFD Sender: No OFD packet to send [00:17:41]OFD Sender: No OFD packet to send [00:17:46]OFD Sender: No OFD packet to send [00:17:51]OFD Sender: No OFD packet to send [00:17:56]OFD Sender: No OFD packet to send [00:18:01]OFD Sender: No OFD packet to send [00:18:06]OFD Sender: No OFD packet to send [00:18:11]OFD Sender: No OFD packet to send [00:18:16]OFD Sender: No OFD packet to send [00:18:21]OFD Sender: No OFD packet to send [00:18:26]OFD Sender: No OFD packet to send [00:18:31]OFD Sender: No OFD packet to send [00:18:36]OFD Sender: No OFD packet to send [00:18:41]OFD Sender: No OFD packet to send [00:18:46]OFD Sender: No OFD packet to send [00:18:51]OFD Sender: No OFD packet to send [00:18:56]OFD Sender: No OFD packet to send [00:19:01]OFD Sender: No OFD packet to send [00:19:06]OFD Sender: No OFD packet to send [00:19:11]OFD Sender: No OFD packet to send [00:19:16]OFD Sender: No OFD packet to send [00:19:21]OFD Sender: No OFD packet to send [00:19:26]OFD Sender: No OFD packet to send [00:19:31]OFD Sender: No OFD packet to send [00:19:36]OFD Sender: No OFD packet to send [00:19:41]OFD Sender: No OFD packet to send [00:19:46]OFD Sender: No OFD packet to send [00:19:51]OFD Sender: No OFD packet to send [00:19:56]OFD Sender: No OFD packet to send [00:20:01]OFD Sender: No OFD packet to send [00:20:06]OFD Sender: No OFD packet to send [00:20:11]OFD Sender: No OFD packet to send [00:20:16]OFD Sender: No OFD packet to send [00:20:21]OFD Sender: No OFD packet to send [00:20:26]OFD Sender: No OFD packet to send [00:20:31]OFD Sender: No OFD packet to send [00:20:36]OFD Sender: No OFD packet to send [00:20:41]OFD Sender: No OFD packet to send [00:20:46]OFD Sender: No OFD packet to send [00:20:51]OFD Sender: No OFD packet to send [00:20:56]OFD Sender: No OFD packet to send [00:21:01]OFD Sender: No OFD packet to send [00:21:06]OFD Sender: No OFD packet to send [00:21:11]OFD Sender: No OFD packet to send [00:21:16]OFD Sender: No OFD packet to send [00:21:21]OFD Sender: No OFD packet to send [00:21:26]OFD Sender: No OFD packet to send [00:21:31]OFD Sender: No OFD packet to send [00:21:36]OFD Sender: No OFD packet to send [00:21:41]OFD Sender: No OFD packet to send [00:21:46]OFD Sender: No OFD packet to send [00:21:51]OFD Sender: No OFD packet to send [00:21:56]OFD Sender: No OFD packet to send [00:22:01]OFD Sender: No OFD packet to send [00:22:06]OFD Sender: No OFD packet to send [00:22:11]OFD Sender: No OFD packet to send [00:22:16]OFD Sender: No OFD packet to send [00:22:21]OFD Sender: No OFD packet to send [00:22:26]OFD Sender: No OFD packet to send [00:22:31]OFD Sender: No OFD packet to send [00:22:36]OFD Sender: No OFD packet to send [00:22:41]OFD Sender: No OFD packet to send [00:22:46]OFD Sender: No OFD packet to send [00:22:51]OFD Sender: No OFD packet to send [00:22:56]OFD Sender: No OFD packet to send [00:23:01]OFD Sender: No OFD packet to send [00:23:06]OFD Sender: No OFD packet to send [00:23:11]OFD Sender: No OFD packet to send [00:23:16]OFD Sender: No OFD packet to send [00:23:21]OFD Sender: No OFD packet to send [00:23:26]OFD Sender: No OFD packet to send [00:23:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:41]OFD Sender: No OFD packet to send [00:23:46]OFD Sender: No OFD packet to send [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:12]accept exits with 8 [00:26:12]New connection [00:26:12]New thread 3066858852 created [00:26:12]Thread 3066715492 joined [00:26:12]Waiting for new connection... [00:26:12] Sock 8.Parse request [00:26:12]Sock 8.Check first char [00:26:12]Sock 8.First char is OK [00:26:12]request: POST /json_proto HTTP/1.0 [00:26:12]Method: POST [00:26:12]URL: /json_proto [00:26:12]Method is POST - this is cgi request [00:26:12]url: /json_proto [00:26:12]query_string will be loaded in cgi processing [00:26:12]execute_cgi json_proto POST (null) [00:26:12]execute_cgi path=json_proto method=POST [00:26:12]POST find Content-Length [00:26:12]Host: 172.17.42.3:8080 [00:26:12]Content-Length: 826 [00:26:12]Content-Type: application/json [00:26:12] [00:26:12]POST finish read [00:26:12]Found Content-Length = 826 [00:26:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17262", "tax_sys" : 0, "items" : [ { "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:26:12]execute_script... [00:26:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17262", "tax_sys" : 0, "items" : [ { "code": "4607010740757", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0441\u043C\u0435\u0442\u0430\u043D\u0430, \u043B\u0443\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:26:12]POST & json_proto [00:26:12]process_json_proto [00:26:12]json parsed OK: [00:26:12]protocol is kg_v1.0 [00:26:12]action value=close_receipt [00:26:12]process_action close_receipt [00:26:12]cmd_close_receipt [00:26:12]MH_GetDate [00:26:12]Write to MH i2c: F0 00 00 AD 12 AE [00:26:12]Write i2c OK [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: F0 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: F0 09 00 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: F0 09 00 AD 12 00 26 7D 21 67 28 A1 20 67 32 [00:26:12]GetLastDocTimeStamp 1730247400 [00:26:12]current date 1730247974 [00:26:12]FM_GetShiftState [00:26:12]SAM_PROTO_GetShiftState [00:26:12]wFMCommunicate request_size=4 [00:26:12]MH_SAM_APDU [00:26:12]CAPDU: 80 13 01 00 [00:26:12]Write to MH i2c: E2 08 00 AE 12 80 13 01 00 00 00 00 00 3D [00:26:12]Write i2c OK [00:26:12]MH_I2C_Read... [00:26:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:26:12]Read from MH i2c: E2 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 0E 00 [00:26:12]MH_I2C_Read... [00:26:12]Read from MH i2c: E2 0E 00 AE 12 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 33 [00:26:12]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:26:12]wFMCommunicate OK [00:26:12]SAM_PROTO_GetShiftState done [00:26:12]FM_GetShiftState done [00:26:12]opened in 1730247400 [00:26:12]opened+sec_in_day 1730333800 [00:26:12]quantity*price = 4500 [00:26:12]sum+1 = 4501 [00:26:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 1 30.10.2024 00:26 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68448 ФПД: 24298506800481 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T002614&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68448&fm=24298506800481&tin=02508201610067®Number=0000000000091759&sum=4500 0 [00:26:13]StoreToDocumentArchive [00:26:13]shift 549 fd 68448 [00:26:13]save to /storage/0549/doc_00068448 [00:26:13]save last doc name /storage/0549/doc_00068448 to /storage/kkm_last_doc_name [00:26:13]save OK [00:26:13]Clear old archive folders... [00:26:13]ProcessDocumentItem done err = 0, tmpTLVsize=295 [00:26:13]tlvbuf is 01DF4390 [00:26:13]SAM_PROTO_ClearQueue [00:26:13]wFMCommunicate request_size=4 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 09 00 00 [00:26:13]Write to MH i2c: E2 08 00 BB 12 80 09 00 00 00 00 00 00 3F [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 BB 12 00 90 00 41 [00:26:13]RAPDU: 90 00 [00:26:13]wFMCommunicate OK [00:26:13]SAM_PROTO_ClearQueue done [00:26:13]KKMCreateOFDPacket [00:26:13]OFDProtocolAddRootSTLVToBuf [00:26:13]FM_MakeSignedData [00:26:13]FM_MakeSignedData [00:26:13]SAM_PROTO_SignData [00:26:13]wFMCommunicate request_size=4 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 0D 01 02 [00:26:13]Write to MH i2c: E2 08 00 BC 12 80 0D 01 02 00 00 00 00 47 [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 BC 12 00 90 00 42 [00:26:13]RAPDU: 90 00 [00:26:13]wFMCommunicate OK [00:26:13]wFMCommunicate request_size=255 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 26 7D 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [00:26:13]Write to MH i2c: E2 02 01 BD 12 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 26 7D 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 EE [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 BD 12 00 90 00 43 [00:26:13]RAPDU: 90 00 [00:26:13]wFMCommunicate OK [00:26:13]wFMCommunicate request_size=54 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 60 0B 01 00 35 04 06 00 16 19 6F DD CD 61 [00:26:13]Write to MH i2c: E2 39 00 BE 12 80 0D 02 02 31 00 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 60 0B 01 00 35 04 06 00 16 19 6F DD CD 61 00 00 90 [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 03 00 BE 12 00 90 00 44 [00:26:13]RAPDU: 90 00 [00:26:13]wFMCommunicate OK [00:26:13]wFMCommunicate request_size=4 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 0D 03 02 [00:26:13]Write to MH i2c: E2 08 00 BF 12 80 0D 03 02 00 00 00 00 4C [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 0B 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 0B 00 BF 12 00 0E FD 07 F0 79 B7 B1 E4 90 00 14 [00:26:13]RAPDU: 0E FD 07 F0 79 B7 B1 E4 90 00 [00:26:13]wFMCommunicate OK [00:26:13]SAM_PROTO_SignData done [00:26:13]FM_MakeSignedData done [00:26:13]CreateOFDProtocolMessage [00:26:13]wFMCommunicate request_size=4 [00:26:13]MH_SAM_APDU [00:26:13]CAPDU: 80 11 00 00 [00:26:13]Write to MH i2c: E2 08 00 C0 12 80 11 00 00 00 00 00 00 4C [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:26:13]Read from MH i2c: E2 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 17 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: E2 17 00 C0 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 A3 [00:26:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:26:13]wFMCommunicate OK [00:26:13]CreateOFDProtocolMessage done [00:26:13]OFDSenderStorePacket 68448 [00:26:13]StoreOFDPacket docnum=68448 [00:26:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3B 01 00 00 AD 51 33 01 53 23 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 26 7D 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 60 0B 01 00 35 04 06 00 16 19 6F DD CD 61 0E FD 07 F0 79 B7 B1 E4 [00:26:13]CheckFolder [00:26:13]dirname=/storage/ofd_packets [00:26:13]CheckFolder done [00:26:13]ProducePacketName [00:26:13]name=ofd_packets/00068448 [00:26:13]NVStorageSaveData ofd_packets/00068448 [00:26:13]File name is /storage/ofd_packets/00068448 [00:26:13]Write 345 bytes [00:26:13]NVStorageSaveData done [00:26:13]OFDSenderStorePacket done [00:26:13]KKMCreateOFDPacket done [00:26:13]NVStorageSaveData kkm_last_timestamp [00:26:13]File name is /storage/kkm_last_timestamp [00:26:13]Write 4 bytes [00:26:13]NVStorageSaveData done [00:26:13]ExternCall_PrintAddStr [00:26:13]wPrintStart [00:26:13]Write to MH i2c: 01 00 00 C1 12 D3 [00:26:13]OFD Sender: Processing packet 68448 [packets to send 28, broken 27] [00:26:13]ProducePacketName [00:26:13]name=ofd_packets/00068448 [00:26:13]OFD Sender: To server: pG, [00:26:13]CommunicateWithHost lk.salyk.kg:30040 [00:26:13]ConnectInit lk.salyk.kg [00:26:13]Write i2c OK [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: 01 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: 01 07 00 [00:26:13]MH_I2C_Read... [00:26:13]Read from MH i2c: 01 07 00 C1 12 00 00 00 00 00 FF 0F E8 [00:26:13]RasterBufferAndPrint [00:26:13]line Счет N : (3)17262 [00:26:13]line ИНН: 02508201610067 [00:26:13]line Контрольно-Кассовый Чек [00:26:13]line ПРОДАЖА [00:26:13]line Товар: 4607010740757 [00:26:13]line Чипсы Чипсоны сметана, лук 40г [00:26:13]line 1.000 * 45.00 [00:26:13]line = 45.00 [00:26:13]line НДС 12% НСП 1% [00:26:13]line > о реализуемом товаре [00:26:13]line ИТОГО: 45.00 [00:26:13]line НСП 1% : 0.40 [00:26:13]line НДС 12% : 4.78 [00:26:13]line Наличными: 0.00 [00:26:13]line Безнал.: 45.00 [00:26:13]line Место: АЗС № 160 "Партнер Нефть" [00:26:13]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:26:13]line СНО: Общий режим [00:26:13]line Чек 1 30.10.2024 00:26 [00:26:13]line Смена: 549 ФФД: 1.0 [00:26:13]line ЗНМ: 0300000093 [00:26:13]line РНМ: 0000000000091759 [00:26:13]line Версия ККМ: 001 [00:26:13]line Платежная система: Mbank [00:26:13]line ФМ: 0000000000871758 [00:26:13]line ФД: 68448 [00:26:13]line ФПД: 24298506800481 [00:26:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T002614&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68448&fm=24298506800481&tin=02508201610067®Number=0000000000091759&sum=4500 [00:26:14]line 0 [00:26:14]Connected sock=10 [00:26:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3B 01 00 00 AD 51 33 01 53 23 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 26 7D 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 60 0B 01 00 35 04 06 00 16 19 6F DD CD 61 0E FD 07 F0 79 B7 B1 E4 [00:26:14]written 0, free lines is 4095 [00:26:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B7 26 47 00 94 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 60 0B 01 00 F4 03 04 00 CD 28 21 67 B6 04 01 00 00 AA FF 34 F2 96 3C 46 4B [00:26:14]CommunicateWithHost err = 0 [00:26:14]CheckOFDResponse [00:26:14]1017 (14) - 77093643461234 [00:26:14]1041 (16) - 0000000000871758 [00:26:14]1040 (4) - 68448 [00:26:14]1012 (4) - 29.10.2024 18:26 [00:26:14]1206 (1) - 0 [00:26:14]OFD Sender: Remove packet 68448 [00:26:14]ProducePacketName [00:26:14]name=ofd_packets/00068448 [00:26:14]NVStorageDeleteData [00:26:14]Write to MH i2c: 01 00 00 EA 12 FC [00:26:14]Write i2c OK [00:26:14]MH_I2C_Read... [00:26:14]Read from MH i2c: 01 [00:26:14]MH_I2C_Read... [00:26:14]Read from MH i2c: 01 07 00 [00:26:14]MH_I2C_Read... [00:26:14]Read from MH i2c: 01 07 00 EA 12 00 00 00 00 00 B5 0C C4 [00:26:14]RasterBufferAndPrint [00:26:14]line [00:26:14]line [00:26:14]line [00:26:14]line [00:26:14]line [00:26:14]written 0, free lines is 3258 [00:26:14]MH_Cut [00:26:14]Write to MH i2c: D1 01 00 F1 12 01 D5 [00:26:14]Write i2c OK [00:26:14]MH_I2C_Read... [00:26:14]Read from MH i2c: D1 [00:26:14]MH_I2C_Read... [00:26:14]Read from MH i2c: D1 01 00 [00:26:14]MH_I2C_Read... [00:26:14]Read from MH i2c: D1 01 00 F1 12 00 D4 [00:26:14]Write to MH i2c: 01 00 00 F2 12 04 [00:26:14]Write i2c OK [00:26:14]MH_I2C_Read... [00:26:14]OFD Sender: No OFD packet to send [00:26:15]*** Cut start [00:26:15]*** Partial cut [00:26:15]*** CUTSNS_PIN = 1 [00:26:15]*** CUTSNS_PIN = 0 [00:26:15]*** Brake cut motor [00:26:16]Read from MH i2c: 01 [00:26:16]MH_I2C_Read... [00:26:16]*** Stop cut motor [00:26:16]*** Cut end [00:26:16]Read from MH i2c: 01 07 00 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: 01 07 00 F2 12 00 00 00 00 00 FF 0F 19 [00:26:16]process_action close_receipt done [00:26:16]requested_data is exist [00:26:16]produce_requested_data [00:26:16]requested_item fm.sn is exist - process it [00:26:16]wFMCommunicate request_size=4 [00:26:16]MH_SAM_APDU [00:26:16]CAPDU: 80 11 00 00 [00:26:16]Write to MH i2c: E2 08 00 F3 12 80 11 00 00 00 00 00 00 7F [00:26:16]Write i2c OK [00:26:16]MH_I2C_Read... [00:26:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:26:16]Read from MH i2c: E2 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 17 00 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 17 00 F3 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D6 [00:26:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:26:16]wFMCommunicate OK [00:26:16]requested_item fd.num is exist - process it [00:26:16]SAM_PROTO_GetFieldsCounters [00:26:16]wFMCommunicate request_size=4 [00:26:16]MH_SAM_APDU [00:26:16]CAPDU: 80 13 00 00 [00:26:16]Write to MH i2c: E2 08 00 F4 12 80 13 00 00 00 00 00 00 82 [00:26:16]Write i2c OK [00:26:16]MH_I2C_Read... [00:26:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:26:16]Read from MH i2c: E2 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 62 00 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 62 00 F4 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 60 0B 01 00 0E 04 04 00 25 02 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 43 [00:26:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 60 0B 01 00 0E 04 04 00 25 02 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:26:16]wFMCommunicate OK [00:26:16]SAM_PROTO_GetFieldsCounters done [00:26:16]requested_item shift.num is exist - process it [00:26:16]requested_item shift.opened is exist - process it [00:26:16]req_shift_opened [00:26:16]FM_GetShiftState [00:26:16]SAM_PROTO_GetShiftState [00:26:16]wFMCommunicate request_size=4 [00:26:16]MH_SAM_APDU [00:26:16]CAPDU: 80 13 01 00 [00:26:16]Write to MH i2c: E2 08 00 F5 12 80 13 01 00 00 00 00 00 84 [00:26:16]Write i2c OK [00:26:16]MH_I2C_Read... [00:26:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:26:16]Read from MH i2c: E2 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 0E 00 [00:26:16]MH_I2C_Read... [00:26:16]Read from MH i2c: E2 0E 00 F5 12 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 7A [00:26:16]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:26:16]wFMCommunicate OK [00:26:16]SAM_PROTO_GetShiftState done [00:26:16]FM_GetShiftState done [00:26:16]req_shift_opened done [00:26:16]requested_item shift.open_date is exist - process it [00:26:16]req_shift_open_date [00:26:16]req_shift_open_date done [00:26:16]produce_requested_data done [00:26:16]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68448,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [00:26:16]process_action_free close_receipt [00:26:16]json_value_free [00:26:16]json_value_free done [00:26:16]process_json_proto returns [00:26:16]Send response to host [00:26:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68448,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [00:26:16]free response buf [00:26:16]execute_script done [00:26:16]execute_script returns [00:26:16]free content buf [00:26:16]Sock 8.Close socket [00:26:16]Sock 8.Thread stoped [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:52]int [00:27:52]Write to MH i2c: 01 00 00 F6 12 08 [00:27:52]*** FLAG_PRN_KEY set [00:27:52]Write i2c OK [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: 01 [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: 01 07 00 [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: 01 07 00 F6 12 00 08 00 00 00 FF 0F 25 [00:27:52]state=0 [00:27:52]Key pressed [00:27:52]Feed [00:27:52]Write to MH i2c: D8 00 00 F7 12 E0 [00:27:52]Write i2c OK [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: D8 [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: D8 01 00 [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: D8 01 00 F7 12 00 E1 [00:27:52]int [00:27:52]Write to MH i2c: 01 00 00 F8 12 0A [00:27:52]Write i2c OK [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: 01 [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: 01 07 00 [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: 01 07 00 F8 12 00 48 00 00 00 3C 00 95 [00:27:52]state=2 [00:27:52]Key pressed [00:27:52]int [00:27:52]Write to MH i2c: 01 00 00 F9 12 0B [00:27:52]*** FLAG_PRN_KEY reset [00:27:52]Write i2c OK [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: 01 [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: 01 07 00 [00:27:52]MH_I2C_Read... [00:27:52]Read from MH i2c: 01 07 00 F9 12 00 00 00 00 00 F5 0F 16 [00:27:52]state=2 [00:27:52]Stop feed [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:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:43]accept exits with 9 [00:32:43]New connection [00:32:43]New thread 3066715492 created [00:32:43]Thread 3066858852 joined [00:32:43]Waiting for new connection... [00:32:43] Sock 9.Parse request [00:32:43]Sock 9.Check first char [00:32:43]Sock 9.First char is OK [00:32:43]request: POST /json_proto HTTP/1.0 [00:32:43]Method: POST [00:32:43]URL: /json_proto [00:32:43]Method is POST - this is cgi request [00:32:43]url: /json_proto [00:32:43]query_string will be loaded in cgi processing [00:32:43]execute_cgi json_proto POST (null) [00:32:43]execute_cgi path=json_proto method=POST [00:32:43]POST find Content-Length [00:32:43]Host: 172.17.42.3:8080 [00:32:43]Content-Length: 621 [00:32:43]Content-Type: application/json [00:32:43] [00:32:43]POST finish read [00:32:43]Found Content-Length = 621 [00:32:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17263", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:43]execute_script... [00:32:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17263", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:43]POST & json_proto [00:32:43]process_json_proto [00:32:43]json parsed OK: [00:32:43]protocol is kg_v1.0 [00:32:43]action value=close_receipt [00:32:43]process_action close_receipt [00:32:43]cmd_close_receipt [00:32:43]MH_GetDate [00:32:43]Write to MH i2c: F0 00 00 FA 12 FB [00:32:43]Write i2c OK [00:32:43]MH_I2C_Read... [00:32:43]Read from MH i2c: F0 [00:32:43]MH_I2C_Read... [00:32:43]Read from MH i2c: F0 09 00 [00:32:43]MH_I2C_Read... [00:32:43]Read from MH i2c: F0 09 00 FA 12 00 AD 7E 21 67 28 A1 20 67 07 [00:32:43]GetLastDocTimeStamp 1730247974 [00:32:43]current date 1730248365 [00:32:43]FM_GetShiftState [00:32:43]SAM_PROTO_GetShiftState [00:32:43]wFMCommunicate request_size=4 [00:32:43]MH_SAM_APDU [00:32:43]CAPDU: 80 13 01 00 [00:32:43]Write to MH i2c: E2 08 00 FB 12 80 13 01 00 00 00 00 00 8A [00:32:43]Write i2c OK [00:32:43]MH_I2C_Read... [00:32:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:43]Read from MH i2c: E2 [00:32:43]MH_I2C_Read... [00:32:43]Read from MH i2c: E2 0E 00 [00:32:43]MH_I2C_Read... [00:32:43]Read from MH i2c: E2 0E 00 FB 12 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 80 [00:32:43]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:32:43]wFMCommunicate OK [00:32:43]SAM_PROTO_GetShiftState done [00:32:43]FM_GetShiftState done [00:32:43]opened in 1730247400 [00:32:43]opened+sec_in_day 1730333800 [00:32:43]quantity*price = 16000 [00:32:43]sum+1 = 16001 [00:32:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 2 30.10.2024 00:32 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68449 ФПД: 112890491206293 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T003245&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68449&fm=112890491206293&tin=02508201610067®Number=0000000000091759&sum=16000 0 [00:32:44]StoreToDocumentArchive [00:32:44]shift 549 fd 68449 [00:32:44]save to /storage/0549/doc_00068449 [00:32:44]save last doc name /storage/0549/doc_00068449 to /storage/kkm_last_doc_name [00:32:44]save OK [00:32:44]Clear old archive folders... [00:32:44]ProcessDocumentItem done err = 0, tmpTLVsize=274 [00:32:44]tlvbuf is 01E8AA40 [00:32:44]SAM_PROTO_ClearQueue [00:32:44]wFMCommunicate request_size=4 [00:32:44]MH_SAM_APDU [00:32:44]CAPDU: 80 09 00 00 [00:32:44]Write to MH i2c: E2 08 00 08 13 80 09 00 00 00 00 00 00 8D [00:32:44]Write i2c OK [00:32:44]MH_I2C_Read... [00:32:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:32:44]Read from MH i2c: E2 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 03 00 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 03 00 08 13 00 90 00 8F [00:32:44]RAPDU: 90 00 [00:32:44]wFMCommunicate OK [00:32:44]SAM_PROTO_ClearQueue done [00:32:44]KKMCreateOFDPacket [00:32:44]OFDProtocolAddRootSTLVToBuf [00:32:44]FM_MakeSignedData [00:32:44]FM_MakeSignedData [00:32:44]SAM_PROTO_SignData [00:32:44]wFMCommunicate request_size=4 [00:32:44]MH_SAM_APDU [00:32:44]CAPDU: 80 0D 01 02 [00:32:44]Write to MH i2c: E2 08 00 09 13 80 0D 01 02 00 00 00 00 95 [00:32:44]Write i2c OK [00:32:44]MH_I2C_Read... [00:32:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:32:44]Read from MH i2c: E2 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 03 00 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 03 00 09 13 00 90 00 90 [00:32:44]RAPDU: 90 00 [00:32:44]wFMCommunicate OK [00:32:44]wFMCommunicate request_size=255 [00:32:44]MH_SAM_APDU [00:32:44]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 AD 7E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 [00:32:44]Write to MH i2c: E2 02 01 0A 13 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 AD 7E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 00 00 C8 [00:32:44]Write i2c OK [00:32:44]MH_I2C_Read... [00:32:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:32:44]Read from MH i2c: E2 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 03 00 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 03 00 0A 13 00 90 00 91 [00:32:44]RAPDU: 90 00 [00:32:44]wFMCommunicate OK [00:32:44]wFMCommunicate request_size=33 [00:32:44]MH_SAM_APDU [00:32:44]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 37 35 38 10 04 04 00 61 0B 01 00 35 04 06 00 66 AC 5D A0 7A 95 [00:32:44]Write to MH i2c: E2 24 00 0B 13 80 0D 02 02 1C 00 30 30 30 30 38 37 31 37 35 38 10 04 04 00 61 0B 01 00 35 04 06 00 66 AC 5D A0 7A 95 00 00 B6 [00:32:44]Write i2c OK [00:32:44]MH_I2C_Read... [00:32:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:32:44]Read from MH i2c: E2 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 03 00 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 03 00 0B 13 00 90 00 92 [00:32:44]RAPDU: 90 00 [00:32:44]wFMCommunicate OK [00:32:44]wFMCommunicate request_size=4 [00:32:44]MH_SAM_APDU [00:32:44]CAPDU: 80 0D 03 02 [00:32:44]Write to MH i2c: E2 08 00 0C 13 80 0D 03 02 00 00 00 00 9A [00:32:44]Write i2c OK [00:32:44]MH_I2C_Read... [00:32:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:32:44]Read from MH i2c: E2 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 0B 00 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 0B 00 0C 13 00 A4 87 26 94 5D C9 1E 3F 90 00 03 [00:32:44]RAPDU: A4 87 26 94 5D C9 1E 3F 90 00 [00:32:44]wFMCommunicate OK [00:32:44]SAM_PROTO_SignData done [00:32:44]FM_MakeSignedData done [00:32:44]CreateOFDProtocolMessage [00:32:44]wFMCommunicate request_size=4 [00:32:44]MH_SAM_APDU [00:32:44]CAPDU: 80 11 00 00 [00:32:44]Write to MH i2c: E2 08 00 0D 13 80 11 00 00 00 00 00 00 9A [00:32:44]Write i2c OK [00:32:44]MH_I2C_Read... [00:32:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:32:44]Read from MH i2c: E2 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 17 00 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: E2 17 00 0D 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F1 [00:32:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:32:44]wFMCommunicate OK [00:32:44]CreateOFDProtocolMessage done [00:32:44]OFDSenderStorePacket 68449 [00:32:44]StoreOFDPacket docnum=68449 [00:32:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 26 01 00 00 28 E4 1E 01 67 5B 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 AD 7E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 61 0B 01 00 35 04 06 00 66 AC 5D A0 7A 95 A4 87 26 94 5D C9 1E 3F [00:32:44]CheckFolder [00:32:44]dirname=/storage/ofd_packets [00:32:44]CheckFolder done [00:32:44]ProducePacketName [00:32:44]name=ofd_packets/00068449 [00:32:44]NVStorageSaveData ofd_packets/00068449 [00:32:44]File name is /storage/ofd_packets/00068449 [00:32:44]Write 324 bytes [00:32:44]NVStorageSaveData done [00:32:44]OFDSenderStorePacket done [00:32:44]KKMCreateOFDPacket done [00:32:44]NVStorageSaveData kkm_last_timestamp [00:32:44]File name is /storage/kkm_last_timestamp [00:32:44]Write 4 bytes [00:32:44]NVStorageSaveData done [00:32:44]ExternCall_PrintAddStr [00:32:44]wPrintStart [00:32:44]Write to MH i2c: 01 00 00 0E 13 21 [00:32:44]Write i2c OK [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: 01 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: 01 07 00 [00:32:44]MH_I2C_Read... [00:32:44]Read from MH i2c: 01 07 00 0E 13 00 00 00 00 00 FF 0F 36 [00:32:44]RasterBufferAndPrint [00:32:44]line Счет N : (3)17263 [00:32:44]line ИНН: 02508201610067 [00:32:44]line Контрольно-Кассовый Чек [00:32:44]line ПРОДАЖА [00:32:44]line Товар: 48741958 [00:32:44]line Сигареты Parliament Aqua Blue [00:32:44]line 1.000 * 160.00 [00:32:44]line = 160.00 [00:32:44]line НДС 12% НСП 1% [00:32:44]line > о реализуемом товаре [00:32:44]line ИТОГО: 160.00 [00:32:44]line НСП 1% : 1.42 [00:32:44]line НДС 12% : 16.99 [00:32:44]line Наличными: 160.00 [00:32:44]line Безнал.: 0.00 [00:32:44]line Место: АЗС № 160 "Партнер Нефть" [00:32:44]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:32:44]line СНО: Общий режим [00:32:44]line Чек 2 30.10.2024 00:32 [00:32:44]line Смена: 549 ФФД: 1.0 [00:32:44]line ЗНМ: 0300000093 [00:32:44]line РНМ: 0000000000091759 [00:32:44]line Версия ККМ: 001 [00:32:44]line ФМ: 0000000000871758 [00:32:44]line ФД: 68449 [00:32:44]line ФПД: 112890491206293 [00:32:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T003245&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68449&fm=112890491206293&tin=02508201610067®Number=0000000000091759&sum=16000 [00:32:44]line 0 [00:32:44]written 0, free lines is 4095 [00:32:44]OFD Sender: Processing packet 68449 [packets to send 28, broken 27] [00:32:44]ProducePacketName [00:32:44]name=ofd_packets/00068449 [00:32:44]OFD Sender: To server: pG, [00:32:44]CommunicateWithHost lk.salyk.kg:30040 [00:32:45]ConnectInit lk.salyk.kg [00:32:45]Write to MH i2c: 01 00 00 36 13 49 [00:32:45]Write i2c OK [00:32:45]MH_I2C_Read... [00:32:45]Read from MH i2c: 01 [00:32:45]MH_I2C_Read... [00:32:45]Read from MH i2c: 01 07 00 [00:32:45]MH_I2C_Read... [00:32:45]Read from MH i2c: 01 07 00 36 13 00 00 00 00 00 C5 0C 21 [00:32:45]RasterBufferAndPrint [00:32:45]line [00:32:45]line [00:32:45]line [00:32:45]line [00:32:45]line [00:32:45]written 0, free lines is 3272 [00:32:45]Connected sock=10 [00:32:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 26 01 00 00 28 E4 1E 01 67 5B 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 AD 7E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 61 0B 01 00 35 04 06 00 66 AC 5D A0 7A 95 A4 87 26 94 5D C9 1E 3F [00:32:45]MH_Cut [00:32:45]Write to MH i2c: D1 01 00 3D 13 01 22 [00:32:45]Write i2c OK [00:32:45]MH_I2C_Read... [00:32:45]Read from MH i2c: D1 [00:32:45]MH_I2C_Read... [00:32:45]Read from MH i2c: D1 01 00 [00:32:45]MH_I2C_Read... [00:32:45]Read from MH i2c: D1 01 00 3D 13 00 21 [00:32:45]Write to MH i2c: 01 00 00 3E 13 51 [00:32:45]Write i2c OK [00:32:45]MH_I2C_Read... [00:32:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 07 E4 47 00 B2 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 61 0B 01 00 F4 03 04 00 54 2A 21 67 B6 04 01 00 00 51 0E 00 BB 1B 2D A3 07 [00:32:45]CommunicateWithHost err = 0 [00:32:45]CheckOFDResponse [00:32:45]1017 (14) - 77093643461234 [00:32:45]1041 (16) - 0000000000871758 [00:32:45]1040 (4) - 68449 [00:32:45]1012 (4) - 29.10.2024 18:32 [00:32:45]1206 (1) - 0 [00:32:45]OFD Sender: Remove packet 68449 [00:32:45]ProducePacketName [00:32:45]name=ofd_packets/00068449 [00:32:45]NVStorageDeleteData [00:32:45]OFD Sender: No OFD packet to send [00:32:46]*** Cut start [00:32:46]*** Partial cut [00:32:46]*** CUTSNS_PIN = 1 [00:32:46]*** CUTSNS_PIN = 0 [00:32:46]*** Brake cut motor [00:32:46]Read from MH i2c: 01 [00:32:46]MH_I2C_Read... [00:32:46]*** Stop cut motor [00:32:46]*** Cut end [00:32:46]Read from MH i2c: 01 07 00 [00:32:46]MH_I2C_Read... [00:32:46]Read from MH i2c: 01 07 00 3E 13 00 00 00 00 00 FF 0F 66 [00:32:46]process_action close_receipt done [00:32:46]requested_data is exist [00:32:46]produce_requested_data [00:32:46]requested_item fm.sn is exist - process it [00:32:46]wFMCommunicate request_size=4 [00:32:46]MH_SAM_APDU [00:32:46]CAPDU: 80 11 00 00 [00:32:46]Write to MH i2c: E2 08 00 3F 13 80 11 00 00 00 00 00 00 CC [00:32:46]Write i2c OK [00:32:46]MH_I2C_Read... [00:32:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:32:46]Read from MH i2c: E2 [00:32:46]MH_I2C_Read... [00:32:46]Read from MH i2c: E2 17 00 [00:32:46]MH_I2C_Read... [00:32:46]Read from MH i2c: E2 17 00 3F 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 23 [00:32:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:32:46]wFMCommunicate OK [00:32:46]requested_item fd.num is exist - process it [00:32:46]SAM_PROTO_GetFieldsCounters [00:32:46]wFMCommunicate request_size=4 [00:32:46]MH_SAM_APDU [00:32:46]CAPDU: 80 13 00 00 [00:32:46]Write to MH i2c: E2 08 00 40 13 80 13 00 00 00 00 00 00 CF [00:32:46]Write i2c OK [00:32:46]MH_I2C_Read... [00:32:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:32:46]Read from MH i2c: E2 [00:32:46]MH_I2C_Read... [00:32:46]Read from MH i2c: E2 62 00 [00:32:46]MH_I2C_Read... [00:32:46]Read from MH i2c: E2 62 00 40 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 61 0B 01 00 0E 04 04 00 25 02 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 94 [00:32:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 61 0B 01 00 0E 04 04 00 25 02 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:32:46]wFMCommunicate OK [00:32:46]SAM_PROTO_GetFieldsCounters done [00:32:46]requested_item shift.num is exist - process it [00:32:46]requested_item shift.opened is exist - process it [00:32:46]req_shift_opened [00:32:46]FM_GetShiftState [00:32:46]SAM_PROTO_GetShiftState [00:32:46]wFMCommunicate request_size=4 [00:32:46]MH_SAM_APDU [00:32:46]CAPDU: 80 13 01 00 [00:32:46]Write to MH i2c: E2 08 00 41 13 80 13 01 00 00 00 00 00 D1 [00:32:46]Write i2c OK [00:32:46]MH_I2C_Read... [00:32:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:46]Read from MH i2c: E2 [00:32:46]MH_I2C_Read... [00:32:46]Read from MH i2c: E2 0E 00 [00:32:46]MH_I2C_Read... [00:32:46]Read from MH i2c: E2 0E 00 41 13 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 C7 [00:32:46]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:32:46]wFMCommunicate OK [00:32:46]SAM_PROTO_GetShiftState done [00:32:46]FM_GetShiftState done [00:32:46]req_shift_opened done [00:32:46]requested_item shift.open_date is exist - process it [00:32:46]req_shift_open_date [00:32:46]req_shift_open_date done [00:32:46]produce_requested_data done [00:32:46]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68449,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [00:32:46]process_action_free close_receipt [00:32:46]json_value_free [00:32:46]json_value_free done [00:32:46]process_json_proto returns [00:32:46]Send response to host [00:32:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68449,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [00:32:46]free response buf [00:32:46]execute_script done [00:32:46]execute_script returns [00:32:46]free content buf [00:32:46]Sock 9.Close socket [00:32:46]Sock 9.Thread stoped [00:32:47]accept exits with 8 [00:32:47]New connection [00:32:47]New thread 3066858852 created [00:32:47]Thread 3066715492 joined [00:32:47]Waiting for new connection... [00:32:47] Sock 8.Parse request [00:32:47]Sock 8.Check first char [00:32:47]Sock 8.First char is OK [00:32:47]request: POST /json_proto HTTP/1.0 [00:32:47]Method: POST [00:32:47]URL: /json_proto [00:32:47]Method is POST - this is cgi request [00:32:47]url: /json_proto [00:32:47]query_string will be loaded in cgi processing [00:32:47]execute_cgi json_proto POST (null) [00:32:47]execute_cgi path=json_proto method=POST [00:32:47]POST find Content-Length [00:32:47]Host: 172.17.42.3:8080 [00:32:47]Content-Length: 674 [00:32:47]Content-Type: application/json [00:32:47] [00:32:47]POST finish read [00:32:47]Found Content-Length = 674 [00:32:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46428", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 43.860, "sum" : 3000.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 3000.00, "payments": [ { "type": 0, "sum" : 3000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:47]execute_script... [00:32:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46428", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 43.860, "sum" : 3000.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 3000.00, "payments": [ { "type": 0, "sum" : 3000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:47]POST & json_proto [00:32:47]process_json_proto [00:32:47]json parsed OK: [00:32:47]protocol is kg_v1.0 [00:32:47]action value=close_receipt [00:32:47]process_action close_receipt [00:32:47]cmd_close_receipt [00:32:47]MH_GetDate [00:32:47]Write to MH i2c: F0 00 00 42 13 44 [00:32:47]Write i2c OK [00:32:47]MH_I2C_Read... [00:32:47]Read from MH i2c: F0 [00:32:47]MH_I2C_Read... [00:32:47]Read from MH i2c: F0 09 00 [00:32:47]MH_I2C_Read... [00:32:47]Read from MH i2c: F0 09 00 42 13 00 B1 7E 21 67 28 A1 20 67 54 [00:32:47]GetLastDocTimeStamp 1730248365 [00:32:47]current date 1730248369 [00:32:47]FM_GetShiftState [00:32:47]SAM_PROTO_GetShiftState [00:32:47]wFMCommunicate request_size=4 [00:32:47]MH_SAM_APDU [00:32:47]CAPDU: 80 13 01 00 [00:32:47]Write to MH i2c: E2 08 00 43 13 80 13 01 00 00 00 00 00 D3 [00:32:47]Write i2c OK [00:32:47]MH_I2C_Read... [00:32:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:47]Read from MH i2c: E2 [00:32:47]MH_I2C_Read... [00:32:47]Read from MH i2c: E2 0E 00 [00:32:47]MH_I2C_Read... [00:32:47]Read from MH i2c: E2 0E 00 43 13 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 C9 [00:32:47]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:32:47]wFMCommunicate OK [00:32:47]SAM_PROTO_GetShiftState done [00:32:47]FM_GetShiftState done [00:32:47]opened in 1730247400 [00:32:47]opened+sec_in_day 1730333800 [00:32:47]quantity*price = 300002 [00:32:47]sum+1 = 300003 [00:32:47]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 3000.00 Внесено: 3000.00 СДАЧА: 0.00 НСП 1% : 26.55 НДС 12% : 318.59 Наличными: 3000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 3 30.10.2024 00:32 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68450 ФПД: 2598327792078 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T003249&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68450&fm=2598327792078&tin=02508201610067®Number=0000000000091759&sum=300000 [00:32:48]StoreToDocumentArchive [00:32:48]shift 549 fd 68450 [00:32:48]save to /storage/0549/doc_00068450 [00:32:48]save last doc name /storage/0549/doc_00068450 to /storage/kkm_last_doc_name [00:32:48]save OK [00:32:48]Clear old archive folders... [00:32:48]ProcessDocumentItem done err = 0, tmpTLVsize=252 [00:32:48]tlvbuf is 01E4A3E0 [00:32:48]SAM_PROTO_ClearQueue [00:32:48]wFMCommunicate request_size=4 [00:32:48]MH_SAM_APDU [00:32:48]CAPDU: 80 09 00 00 [00:32:48]Write to MH i2c: E2 08 00 50 13 80 09 00 00 00 00 00 00 D5 [00:32:48]Write i2c OK [00:32:48]MH_I2C_Read... [00:32:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:32:48]Read from MH i2c: E2 [00:32:48]MH_I2C_Read... [00:32:48]Read from MH i2c: E2 03 00 [00:32:48]MH_I2C_Read... [00:32:48]Read from MH i2c: E2 03 00 50 13 00 90 00 D7 [00:32:48]RAPDU: 90 00 [00:32:48]wFMCommunicate OK [00:32:48]SAM_PROTO_ClearQueue done [00:32:48]KKMCreateOFDPacket [00:32:48]OFDProtocolAddRootSTLVToBuf [00:32:48]FM_MakeSignedData [00:32:48]FM_MakeSignedData [00:32:48]SAM_PROTO_SignData [00:32:48]wFMCommunicate request_size=4 [00:32:48]MH_SAM_APDU [00:32:48]CAPDU: 80 0D 01 02 [00:32:48]Write to MH i2c: E2 08 00 51 13 80 0D 01 02 00 00 00 00 DD [00:32:48]Write i2c OK [00:32:48]MH_I2C_Read... [00:32:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:32:48]Read from MH i2c: E2 [00:32:48]MH_I2C_Read... [00:32:48]Read from MH i2c: E2 03 00 [00:32:48]MH_I2C_Read... [00:32:48]Read from MH i2c: E2 03 00 51 13 00 90 00 D8 [00:32:48]RAPDU: 90 00 [00:32:48]wFMCommunicate OK [00:32:48]wFMCommunicate request_size=255 [00:32:48]MH_SAM_APDU [00:32:48]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 54 AB 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 E2 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 E0 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 B1 7E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 62 0B 01 00 35 04 06 00 [00:32:48]Write to MH i2c: E2 02 01 52 13 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 54 AB 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 E2 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 E0 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 B1 7E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 62 0B 01 00 35 04 06 00 00 00 7A [00:32:48]Write i2c OK [00:32:48]MH_I2C_Read... [00:32:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:32:49]Read from MH i2c: E2 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: E2 03 00 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: E2 03 00 52 13 00 90 00 D9 [00:32:49]RAPDU: 90 00 [00:32:49]wFMCommunicate OK [00:32:49]wFMCommunicate request_size=11 [00:32:49]MH_SAM_APDU [00:32:49]CAPDU: 80 0D 02 02 06 02 5C F8 67 B1 CE [00:32:49]Write to MH i2c: E2 0E 00 53 13 80 0D 02 02 06 00 02 5C F8 67 B1 CE 00 00 28 [00:32:49]Write i2c OK [00:32:49]MH_I2C_Read... [00:32:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:32:49]Read from MH i2c: E2 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: E2 03 00 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: E2 03 00 53 13 00 90 00 DA [00:32:49]RAPDU: 90 00 [00:32:49]wFMCommunicate OK [00:32:49]wFMCommunicate request_size=4 [00:32:49]MH_SAM_APDU [00:32:49]CAPDU: 80 0D 03 02 [00:32:49]Write to MH i2c: E2 08 00 54 13 80 0D 03 02 00 00 00 00 E2 [00:32:49]Write i2c OK [00:32:49]MH_I2C_Read... [00:32:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:32:49]Read from MH i2c: E2 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: E2 0B 00 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: E2 0B 00 54 13 00 17 CD A2 0C 31 AE 95 0A 90 00 F3 [00:32:49]RAPDU: 17 CD A2 0C 31 AE 95 0A 90 00 [00:32:49]wFMCommunicate OK [00:32:49]SAM_PROTO_SignData done [00:32:49]FM_MakeSignedData done [00:32:49]CreateOFDProtocolMessage [00:32:49]wFMCommunicate request_size=4 [00:32:49]MH_SAM_APDU [00:32:49]CAPDU: 80 11 00 00 [00:32:49]Write to MH i2c: E2 08 00 55 13 80 11 00 00 00 00 00 00 E2 [00:32:49]Write i2c OK [00:32:49]MH_I2C_Read... [00:32:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:32:49]Read from MH i2c: E2 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: E2 17 00 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: E2 17 00 55 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 39 [00:32:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:32:49]wFMCommunicate OK [00:32:49]CreateOFDProtocolMessage done [00:32:49]OFDSenderStorePacket 68450 [00:32:49]StoreOFDPacket docnum=68450 [00:32:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 D6 16 08 01 C8 C9 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 54 AB 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 E2 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 E0 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 B1 7E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 62 0B 01 00 35 04 06 00 02 5C F8 67 B1 CE 17 CD A2 0C 31 AE 95 0A [00:32:49]CheckFolder [00:32:49]dirname=/storage/ofd_packets [00:32:49]CheckFolder done [00:32:49]ProducePacketName [00:32:49]name=ofd_packets/00068450 [00:32:49]NVStorageSaveData ofd_packets/00068450 [00:32:49]File name is /storage/ofd_packets/00068450 [00:32:49]Write 302 bytes [00:32:49]NVStorageSaveData done [00:32:49]OFDSenderStorePacket done [00:32:49]KKMCreateOFDPacket done [00:32:49]NVStorageSaveData kkm_last_timestamp [00:32:49]File name is /storage/kkm_last_timestamp [00:32:49]Write 4 bytes [00:32:49]NVStorageSaveData done [00:32:49]ExternCall_PrintAddStr [00:32:49]wPrintStart [00:32:49]Write to MH i2c: 01 00 00 56 13 69 [00:32:49]Write i2c OK [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: 01 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: 01 07 00 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: 01 07 00 56 13 00 00 00 00 00 FF 0F 7E [00:32:49]RasterBufferAndPrint [00:32:49]line Счет N : (1)46428 [00:32:49]line ИНН: 02508201610067 [00:32:49]line Контрольно-Кассовый Чек [00:32:49]line ПРОДАЖА [00:32:49]line ТРК (МРК, ГНК) : 12 [00:32:49]line Товар: 2710124130 [00:32:49]line SUPER-92-К-5 [00:32:49]line 43.860 * 68.40 [00:32:49]line = 3000.02 [00:32:49]line НДС 12% НСП 1% [00:32:49]line > о реализуемом товаре [00:32:49]line ОКРУГЛЕНИЕ: -0.02 [00:32:49]line ИТОГО: 3000.00 [00:32:49]line Внесено: 3000.00 [00:32:49]line СДАЧА: 0.00 [00:32:49]line НСП 1% : 26.55 [00:32:49]line НДС 12% : 318.59 [00:32:49]line Наличными: 3000.00 [00:32:49]line Безнал.: 0.00 [00:32:49]line Место: АЗС № 160 "Партнер Нефть" [00:32:49]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:32:49]line СНО: Общий режим [00:32:49]line Чек 3 30.10.2024 00:32 [00:32:49]line Смена: 549 ФФД: 1.0 [00:32:49]line ЗНМ: 0300000093 [00:32:49]line РНМ: 0000000000091759 [00:32:49]line Версия ККМ: 001 [00:32:49]line ФМ: 0000000000871758 [00:32:49]line ФД: 68450 [00:32:49]line ФПД: 2598327792078 [00:32:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T003249&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68450&fm=2598327792078&tin=02508201610067®Number=0000000000091759&sum=300000 [00:32:49]written 0, free lines is 4095 [00:32:49]OFD Sender: Processing packet 68450 [packets to send 28, broken 27] [00:32:49]ProducePacketName [00:32:49]name=ofd_packets/00068450 [00:32:49]OFD Sender: To server: pG, [00:32:49]CommunicateWithHost lk.salyk.kg:30040 [00:32:49]ConnectInit lk.salyk.kg [00:32:49]Connected sock=10 [00:32:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 D6 16 08 01 C8 C9 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 54 AB 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 E2 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 7C 00 00 00 00 07 04 06 00 E0 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 B1 7E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 62 0B 01 00 35 04 06 00 02 5C F8 67 B1 CE 17 CD A2 0C 31 AE 95 0A [00:32:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FC F4 47 00 2A 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 62 0B 01 00 F4 03 04 00 58 2A 21 67 B6 04 01 00 00 FD D6 98 4A B5 BB CC 24 [00:32:49]CommunicateWithHost err = 0 [00:32:49]CheckOFDResponse [00:32:49]1017 (14) - 77093643461234 [00:32:49]1041 (16) - 0000000000871758 [00:32:49]1040 (4) - 68450 [00:32:49]1012 (4) - 29.10.2024 18:32 [00:32:49]1206 (1) - 0 [00:32:49]OFD Sender: Remove packet 68450 [00:32:49]ProducePacketName [00:32:49]name=ofd_packets/00068450 [00:32:49]NVStorageDeleteData [00:32:49]Write to MH i2c: 01 00 00 80 13 93 [00:32:49]Write i2c OK [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: 01 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: 01 07 00 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: 01 07 00 80 13 00 00 00 00 00 C3 0C 69 [00:32:49]RasterBufferAndPrint [00:32:49]line [00:32:49]line [00:32:49]line [00:32:49]line [00:32:49]line [00:32:49]written 0, free lines is 3281 [00:32:49]MH_Cut [00:32:49]Write to MH i2c: D1 01 00 87 13 01 6C [00:32:49]Write i2c OK [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: D1 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: D1 01 00 [00:32:49]MH_I2C_Read... [00:32:49]Read from MH i2c: D1 01 00 87 13 00 6B [00:32:49]Write to MH i2c: 01 00 00 88 13 9B [00:32:49]Write i2c OK [00:32:49]MH_I2C_Read... [00:32:50]OFD Sender: No OFD packet to send [00:32:50]*** Cut start [00:32:50]*** Partial cut [00:32:50]*** CUTSNS_PIN = 1 [00:32:50]*** CUTSNS_PIN = 0 [00:32:50]*** Brake cut motor [00:32:51]Read from MH i2c: 01 [00:32:51]MH_I2C_Read... [00:32:51]*** Stop cut motor [00:32:51]*** Cut end [00:32:51]Read from MH i2c: 01 07 00 [00:32:51]MH_I2C_Read... [00:32:51]Read from MH i2c: 01 07 00 88 13 00 00 00 00 00 FF 0F B0 [00:32:51]process_action close_receipt done [00:32:51]requested_data is exist [00:32:51]produce_requested_data [00:32:51]requested_item fm.sn is exist - process it [00:32:51]wFMCommunicate request_size=4 [00:32:51]MH_SAM_APDU [00:32:51]CAPDU: 80 11 00 00 [00:32:51]Write to MH i2c: E2 08 00 89 13 80 11 00 00 00 00 00 00 16 [00:32:51]Write i2c OK [00:32:51]MH_I2C_Read... [00:32:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:32:51]Read from MH i2c: E2 [00:32:51]MH_I2C_Read... [00:32:51]Read from MH i2c: E2 17 00 [00:32:51]MH_I2C_Read... [00:32:51]Read from MH i2c: E2 17 00 89 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 6D [00:32:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:32:51]wFMCommunicate OK [00:32:51]requested_item fd.num is exist - process it [00:32:51]SAM_PROTO_GetFieldsCounters [00:32:51]wFMCommunicate request_size=4 [00:32:51]MH_SAM_APDU [00:32:51]CAPDU: 80 13 00 00 [00:32:51]Write to MH i2c: E2 08 00 8A 13 80 13 00 00 00 00 00 00 19 [00:32:51]Write i2c OK [00:32:51]MH_I2C_Read... [00:32:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:32:51]Read from MH i2c: E2 [00:32:51]MH_I2C_Read... [00:32:51]Read from MH i2c: E2 62 00 [00:32:51]MH_I2C_Read... [00:32:51]Read from MH i2c: E2 62 00 8A 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 62 0B 01 00 0E 04 04 00 25 02 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 E2 [00:32:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 62 0B 01 00 0E 04 04 00 25 02 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:32:51]wFMCommunicate OK [00:32:51]SAM_PROTO_GetFieldsCounters done [00:32:51]requested_item shift.num is exist - process it [00:32:51]requested_item shift.opened is exist - process it [00:32:51]req_shift_opened [00:32:51]FM_GetShiftState [00:32:51]SAM_PROTO_GetShiftState [00:32:51]wFMCommunicate request_size=4 [00:32:51]MH_SAM_APDU [00:32:51]CAPDU: 80 13 01 00 [00:32:51]Write to MH i2c: E2 08 00 8B 13 80 13 01 00 00 00 00 00 1B [00:32:51]Write i2c OK [00:32:51]MH_I2C_Read... [00:32:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:51]Read from MH i2c: E2 [00:32:51]MH_I2C_Read... [00:32:51]Read from MH i2c: E2 0E 00 [00:32:51]MH_I2C_Read... [00:32:51]Read from MH i2c: E2 0E 00 8B 13 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 11 [00:32:51]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:32:51]wFMCommunicate OK [00:32:51]SAM_PROTO_GetShiftState done [00:32:51]FM_GetShiftState done [00:32:51]req_shift_opened done [00:32:51]requested_item shift.open_date is exist - process it [00:32:51]req_shift_open_date [00:32:51]req_shift_open_date done [00:32:51]produce_requested_data done [00:32:51]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68450,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [00:32:51]process_action_free close_receipt [00:32:51]json_value_free [00:32:51]json_value_free done [00:32:51]process_json_proto returns [00:32:51]Send response to host [00:32:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68450,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [00:32:51]free response buf [00:32:51]execute_script done [00:32:51]execute_script returns [00:32:51]free content buf [00:32:51]Sock 8.Close socket [00:32:51]Sock 8.Thread stoped [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:34:30]OFD Sender: No OFD packet to send [00:34:35]OFD Sender: No OFD packet to send [00:34:40]OFD Sender: No OFD packet to send [00:34:45]OFD Sender: No OFD packet to send [00:34:50]OFD Sender: No OFD packet to send [00:34:55]OFD Sender: No OFD packet to send [00:35:00]OFD Sender: No OFD packet to send [00:35:05]OFD Sender: No OFD packet to send [00:35:10]OFD Sender: No OFD packet to send [00:35:15]OFD Sender: No OFD packet to send [00:35:20]OFD Sender: No OFD packet to send [00:35:25]OFD Sender: No OFD packet to send [00:35:30]OFD Sender: No OFD packet to send [00:35:35]OFD Sender: No OFD packet to send [00:35:40]OFD Sender: No OFD packet to send [00:35:45]OFD Sender: No OFD packet to send [00:35:50]OFD Sender: No OFD packet to send [00:35:55]OFD Sender: No OFD packet to send [00:36:00]OFD Sender: No OFD packet to send [00:36:05]OFD Sender: No OFD packet to send [00:36:10]OFD Sender: No OFD packet to send [00:36:15]OFD Sender: No OFD packet to send [00:36:20]OFD Sender: No OFD packet to send [00:36:25]OFD Sender: No OFD packet to send [00:36:30]OFD Sender: No OFD packet to send [00:36:35]OFD Sender: No OFD packet to send [00:36:40]OFD Sender: No OFD packet to send [00:36:45]OFD Sender: No OFD packet to send [00:36:50]OFD Sender: No OFD packet to send [00:36:55]OFD Sender: No OFD packet to send [00:37:00]OFD Sender: No OFD packet to send [00:37:05]OFD Sender: No OFD packet to send [00:37:05]accept exits with 9 [00:37:05]New connection [00:37:05]New thread 3066715492 created [00:37:05]Thread 3066858852 joined [00:37:05]Waiting for new connection... [00:37:05] Sock 9.Parse request [00:37:05]Sock 9.Check first char [00:37:05]Sock 9.First char is OK [00:37:05]request: POST /json_proto HTTP/1.0 [00:37:05]Method: POST [00:37:05]URL: /json_proto [00:37:05]Method is POST - this is cgi request [00:37:05]url: /json_proto [00:37:05]query_string will be loaded in cgi processing [00:37:05]execute_cgi json_proto POST (null) [00:37:05]execute_cgi path=json_proto method=POST [00:37:05]POST find Content-Length [00:37:05]Host: 172.17.42.3:8080 [00:37:05]Content-Length: 629 [00:37:05]Content-Type: application/json [00:37:05] [00:37:05]POST finish read [00:37:05]Found Content-Length = 629 [00:37:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17264", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:05]execute_script... [00:37:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17264", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:37:05]POST & json_proto [00:37:05]process_json_proto [00:37:05]json parsed OK: [00:37:05]protocol is kg_v1.0 [00:37:05]action value=close_receipt [00:37:05]process_action close_receipt [00:37:05]cmd_close_receipt [00:37:05]MH_GetDate [00:37:05]Write to MH i2c: F0 00 00 8C 13 8E [00:37:05]Write i2c OK [00:37:05]MH_I2C_Read... [00:37:05]Read from MH i2c: F0 [00:37:05]MH_I2C_Read... [00:37:05]Read from MH i2c: F0 09 00 [00:37:05]MH_I2C_Read... [00:37:05]Read from MH i2c: F0 09 00 8C 13 00 B4 7F 21 67 28 A1 20 67 A2 [00:37:05]GetLastDocTimeStamp 1730248369 [00:37:05]current date 1730248628 [00:37:05]FM_GetShiftState [00:37:05]SAM_PROTO_GetShiftState [00:37:05]wFMCommunicate request_size=4 [00:37:05]MH_SAM_APDU [00:37:05]CAPDU: 80 13 01 00 [00:37:05]Write to MH i2c: E2 08 00 8D 13 80 13 01 00 00 00 00 00 1D [00:37:05]Write i2c OK [00:37:05]MH_I2C_Read... [00:37:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:37:05]Read from MH i2c: E2 [00:37:05]MH_I2C_Read... [00:37:05]Read from MH i2c: E2 0E 00 [00:37:05]MH_I2C_Read... [00:37:05]Read from MH i2c: E2 0E 00 8D 13 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 13 [00:37:05]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:37:05]wFMCommunicate OK [00:37:05]SAM_PROTO_GetShiftState done [00:37:05]FM_GetShiftState done [00:37:05]opened in 1730247400 [00:37:05]opened+sec_in_day 1730333800 [00:37:05]quantity*price = 5000 [00:37:05]sum+1 = 5001 [00:37:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 4 30.10.2024 00:37 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68451 ФПД: 76739678923141 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T003708&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68451&fm=76739678923141&tin=02508201610067®Number=0000000000091759&sum=5000 0 [00:37:07]StoreToDocumentArchive [00:37:07]shift 549 fd 68451 [00:37:07]save to /storage/0549/doc_00068451 [00:37:07]save last doc name /storage/0549/doc_00068451 to /storage/kkm_last_doc_name [00:37:07]save OK [00:37:07]Clear old archive folders... [00:37:07]ProcessDocumentItem done err = 0, tmpTLVsize=269 [00:37:07]tlvbuf is 01E0F690 [00:37:07]SAM_PROTO_ClearQueue [00:37:07]wFMCommunicate request_size=4 [00:37:07]MH_SAM_APDU [00:37:07]CAPDU: 80 09 00 00 [00:37:07]Write to MH i2c: E2 08 00 9A 13 80 09 00 00 00 00 00 00 1F [00:37:07]Write i2c OK [00:37:07]MH_I2C_Read... [00:37:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:37:07]Read from MH i2c: E2 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 03 00 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 03 00 9A 13 00 90 00 21 [00:37:07]RAPDU: 90 00 [00:37:07]wFMCommunicate OK [00:37:07]SAM_PROTO_ClearQueue done [00:37:07]KKMCreateOFDPacket [00:37:07]OFDProtocolAddRootSTLVToBuf [00:37:07]FM_MakeSignedData [00:37:07]FM_MakeSignedData [00:37:07]SAM_PROTO_SignData [00:37:07]wFMCommunicate request_size=4 [00:37:07]MH_SAM_APDU [00:37:07]CAPDU: 80 0D 01 02 [00:37:07]Write to MH i2c: E2 08 00 9B 13 80 0D 01 02 00 00 00 00 27 [00:37:07]Write i2c OK [00:37:07]MH_I2C_Read... [00:37:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:37:07]Read from MH i2c: E2 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 03 00 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 03 00 9B 13 00 90 00 22 [00:37:07]RAPDU: 90 00 [00:37:07]wFMCommunicate OK [00:37:07]wFMCommunicate request_size=255 [00:37:07]MH_SAM_APDU [00:37:07]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B4 7F 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [00:37:07]Write to MH i2c: E2 02 01 9C 13 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B4 7F 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 2A [00:37:07]Write i2c OK [00:37:07]MH_I2C_Read... [00:37:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:37:07]Read from MH i2c: E2 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 03 00 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 03 00 9C 13 00 90 00 23 [00:37:07]RAPDU: 90 00 [00:37:07]wFMCommunicate OK [00:37:07]wFMCommunicate request_size=28 [00:37:07]MH_SAM_APDU [00:37:07]CAPDU: 80 0D 02 02 17 37 31 37 35 38 10 04 04 00 63 0B 01 00 35 04 06 00 45 CB 59 4D 69 85 [00:37:07]Write to MH i2c: E2 1F 00 9D 13 80 0D 02 02 17 00 37 31 37 35 38 10 04 04 00 63 0B 01 00 35 04 06 00 45 CB 59 4D 69 85 00 00 CE [00:37:07]Write i2c OK [00:37:07]MH_I2C_Read... [00:37:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:37:07]Read from MH i2c: E2 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 03 00 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 03 00 9D 13 00 90 00 24 [00:37:07]RAPDU: 90 00 [00:37:07]wFMCommunicate OK [00:37:07]wFMCommunicate request_size=4 [00:37:07]MH_SAM_APDU [00:37:07]CAPDU: 80 0D 03 02 [00:37:07]Write to MH i2c: E2 08 00 9E 13 80 0D 03 02 00 00 00 00 2C [00:37:07]Write i2c OK [00:37:07]MH_I2C_Read... [00:37:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:37:07]Read from MH i2c: E2 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 0B 00 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 0B 00 9E 13 00 1C 00 27 D2 41 10 21 63 90 00 17 [00:37:07]RAPDU: 1C 00 27 D2 41 10 21 63 90 00 [00:37:07]wFMCommunicate OK [00:37:07]SAM_PROTO_SignData done [00:37:07]FM_MakeSignedData done [00:37:07]CreateOFDProtocolMessage [00:37:07]wFMCommunicate request_size=4 [00:37:07]MH_SAM_APDU [00:37:07]CAPDU: 80 11 00 00 [00:37:07]Write to MH i2c: E2 08 00 9F 13 80 11 00 00 00 00 00 00 2C [00:37:07]Write i2c OK [00:37:07]MH_I2C_Read... [00:37:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:37:07]Read from MH i2c: E2 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 17 00 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: E2 17 00 9F 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 83 [00:37:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:37:07]wFMCommunicate OK [00:37:07]CreateOFDProtocolMessage done [00:37:07]OFDSenderStorePacket 68451 [00:37:07]StoreOFDPacket docnum=68451 [00:37:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 21 01 00 00 52 C6 19 01 B3 56 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B4 7F 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 63 0B 01 00 35 04 06 00 45 CB 59 4D 69 85 1C 00 27 D2 41 10 21 63 [00:37:07]CheckFolder [00:37:07]dirname=/storage/ofd_packets [00:37:07]CheckFolder done [00:37:07]ProducePacketName [00:37:07]name=ofd_packets/00068451 [00:37:07]NVStorageSaveData ofd_packets/00068451 [00:37:07]File name is /storage/ofd_packets/00068451 [00:37:07]Write 319 bytes [00:37:07]NVStorageSaveData done [00:37:07]OFDSenderStorePacket done [00:37:07]KKMCreateOFDPacket done [00:37:07]NVStorageSaveData kkm_last_timestamp [00:37:07]File name is /storage/kkm_last_timestamp [00:37:07]Write 4 bytes [00:37:07]NVStorageSaveData done [00:37:07]ExternCall_PrintAddStr [00:37:07]wPrintStart [00:37:07]Write to MH i2c: 01 00 00 A0 13 B3 [00:37:07]Write i2c OK [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: 01 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: 01 07 00 [00:37:07]MH_I2C_Read... [00:37:07]Read from MH i2c: 01 07 00 A0 13 00 00 00 00 00 FF 0F C8 [00:37:07]RasterBufferAndPrint [00:37:07]line Счет N : (3)17264 [00:37:07]line ИНН: 02508201610067 [00:37:07]line Контрольно-Кассовый Чек [00:37:07]line ПРОДАЖА [00:37:07]line Товар: 4700000160358 [00:37:07]line Вода Легенда 1л [00:37:07]line 1.000 * 50.00 [00:37:07]line = 50.00 [00:37:07]line НДС 12% НСП 1% [00:37:07]line > о реализуемом товаре [00:37:07]line ИТОГО: 50.00 [00:37:07]line НСП 1% : 0.44 [00:37:07]line НДС 12% : 5.31 [00:37:07]line Наличными: 50.00 [00:37:07]line Безнал.: 0.00 [00:37:07]line Место: АЗС № 160 "Партнер Нефть" [00:37:07]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:37:07]line СНО: Общий режим [00:37:07]line Чек 4 30.10.2024 00:37 [00:37:07]line Смена: 549 ФФД: 1.0 [00:37:07]line ЗНМ: 0300000093 [00:37:07]line РНМ: 0000000000091759 [00:37:07]line Версия ККМ: 001 [00:37:07]line ФМ: 0000000000871758 [00:37:07]line ФД: 68451 [00:37:07]line ФПД: 76739678923141 [00:37:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T003708&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68451&fm=76739678923141&tin=02508201610067®Number=0000000000091759&sum=5000 [00:37:08]OFD Sender: Processing packet 68451 [packets to send 28, broken 27] [00:37:08]ProducePacketName [00:37:08]name=ofd_packets/00068451 [00:37:08]OFD Sender: To server: pG, [00:37:08]CommunicateWithHost lk.salyk.kg:30040 [00:37:08]ConnectInit lk.salyk.kg [00:37:08]line 0 [00:37:08]written 0, free lines is 4095 [00:37:08]Connected sock=11 [00:37:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 21 01 00 00 52 C6 19 01 B3 56 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 B4 7F 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 63 0B 01 00 35 04 06 00 45 CB 59 4D 69 85 1C 00 27 D2 41 10 21 63 [00:37:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 C6 40 47 00 CB C5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 63 0B 01 00 F4 03 04 00 5B 2B 21 67 B6 04 01 00 00 54 0B 5F 4A 8A 7A CA 64 [00:37:08]CommunicateWithHost err = 0 [00:37:08]CheckOFDResponse [00:37:08]1017 (14) - 77093643461234 [00:37:08]1041 (16) - 0000000000871758 [00:37:08]1040 (4) - 68451 [00:37:08]1012 (4) - 29.10.2024 18:37 [00:37:08]1206 (1) - 0 [00:37:08]OFD Sender: Remove packet 68451 [00:37:08]ProducePacketName [00:37:08]name=ofd_packets/00068451 [00:37:08]NVStorageDeleteData [00:37:08]Write to MH i2c: 01 00 00 C7 13 DA [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: 01 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: 01 07 00 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: 01 07 00 C7 13 00 00 00 00 00 E0 0C CD [00:37:08]RasterBufferAndPrint [00:37:08]line [00:37:08]line [00:37:08]line [00:37:08]line [00:37:08]line [00:37:08]written 0, free lines is 3300 [00:37:08]MH_Cut [00:37:08]Write to MH i2c: D1 01 00 CE 13 01 B3 [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: D1 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: D1 01 00 [00:37:08]MH_I2C_Read... [00:37:08]Read from MH i2c: D1 01 00 CE 13 00 B2 [00:37:08]Write to MH i2c: 01 00 00 CF 13 E2 [00:37:08]Write i2c OK [00:37:08]MH_I2C_Read... [00:37:08]OFD Sender: No OFD packet to send [00:37:09]*** Cut start [00:37:09]*** Partial cut [00:37:09]*** CUTSNS_PIN = 1 [00:37:09]*** CUTSNS_PIN = 0 [00:37:09]*** Brake cut motor [00:37:09]Read from MH i2c: 01 [00:37:09]MH_I2C_Read... [00:37:09]*** Stop cut motor [00:37:09]*** Cut end [00:37:09]Read from MH i2c: 01 07 00 [00:37:09]MH_I2C_Read... [00:37:09]Read from MH i2c: 01 07 00 CF 13 00 00 00 00 00 FF 0F F7 [00:37:09]process_action close_receipt done [00:37:09]requested_data is exist [00:37:09]produce_requested_data [00:37:09]requested_item fm.sn is exist - process it [00:37:09]wFMCommunicate request_size=4 [00:37:09]MH_SAM_APDU [00:37:09]CAPDU: 80 11 00 00 [00:37:09]Write to MH i2c: E2 08 00 D0 13 80 11 00 00 00 00 00 00 5D [00:37:09]Write i2c OK [00:37:09]MH_I2C_Read... [00:37:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:37:09]Read from MH i2c: E2 [00:37:09]MH_I2C_Read... [00:37:09]Read from MH i2c: E2 17 00 [00:37:09]MH_I2C_Read... [00:37:09]Read from MH i2c: E2 17 00 D0 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B4 [00:37:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:37:09]wFMCommunicate OK [00:37:09]requested_item fd.num is exist - process it [00:37:09]SAM_PROTO_GetFieldsCounters [00:37:09]wFMCommunicate request_size=4 [00:37:09]MH_SAM_APDU [00:37:09]CAPDU: 80 13 00 00 [00:37:09]Write to MH i2c: E2 08 00 D1 13 80 13 00 00 00 00 00 00 60 [00:37:09]Write i2c OK [00:37:09]MH_I2C_Read... [00:37:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:37:10]Read from MH i2c: E2 [00:37:10]MH_I2C_Read... [00:37:10]Read from MH i2c: E2 62 00 [00:37:10]MH_I2C_Read... [00:37:10]Read from MH i2c: E2 62 00 D1 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 63 0B 01 00 0E 04 04 00 25 02 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 2D [00:37:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 63 0B 01 00 0E 04 04 00 25 02 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:37:10]wFMCommunicate OK [00:37:10]SAM_PROTO_GetFieldsCounters done [00:37:10]requested_item shift.num is exist - process it [00:37:10]requested_item shift.opened is exist - process it [00:37:10]req_shift_opened [00:37:10]FM_GetShiftState [00:37:10]SAM_PROTO_GetShiftState [00:37:10]wFMCommunicate request_size=4 [00:37:10]MH_SAM_APDU [00:37:10]CAPDU: 80 13 01 00 [00:37:10]Write to MH i2c: E2 08 00 D2 13 80 13 01 00 00 00 00 00 62 [00:37:10]Write i2c OK [00:37:10]MH_I2C_Read... [00:37:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:37:10]Read from MH i2c: E2 [00:37:10]MH_I2C_Read... [00:37:10]Read from MH i2c: E2 0E 00 [00:37:10]MH_I2C_Read... [00:37:10]Read from MH i2c: E2 0E 00 D2 13 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 58 [00:37:10]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:37:10]wFMCommunicate OK [00:37:10]SAM_PROTO_GetShiftState done [00:37:10]FM_GetShiftState done [00:37:10]req_shift_opened done [00:37:10]requested_item shift.open_date is exist - process it [00:37:10]req_shift_open_date [00:37:10]req_shift_open_date done [00:37:10]produce_requested_data done [00:37:10]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68451,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [00:37:10]process_action_free close_receipt [00:37:10]json_value_free [00:37:10]json_value_free done [00:37:10]process_json_proto returns [00:37:10]Send response to host [00:37:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68451,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [00:37:10]free response buf [00:37:10]execute_script done [00:37:10]execute_script returns [00:37:10]free content buf [00:37:10]Sock 9.Close socket [00:37:10]Sock 9.Thread stoped [00:37:13]OFD Sender: No OFD packet to send [00:37:18]OFD Sender: No OFD packet to send [00:37:23]OFD Sender: No OFD packet to send [00:37:28]OFD Sender: No OFD packet to send [00:37:33]OFD Sender: No OFD packet to send [00:37:38]OFD Sender: No OFD packet to send [00:37:43]OFD Sender: No OFD packet to send [00:37:48]OFD Sender: No OFD packet to send [00:37:53]OFD Sender: No OFD packet to send [00:37:58]OFD Sender: No OFD packet to send [00:38:03]OFD Sender: No OFD packet to send [00:38:08]OFD Sender: No OFD packet to send [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:23]OFD Sender: No OFD packet to send [00:38:28]OFD Sender: No OFD packet to send [00:38:33]OFD Sender: No OFD packet to send [00:38:38]OFD Sender: No OFD packet to send [00:38:43]OFD Sender: No OFD packet to send [00:38:48]OFD Sender: No OFD packet to send [00:38:53]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:19]OFD Sender: No OFD packet to send [00:41:24]OFD Sender: No OFD packet to send [00:41:29]OFD Sender: No OFD packet to send [00:41:34]OFD Sender: No OFD packet to send [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:54]OFD Sender: No OFD packet to send [00:41:59]OFD Sender: No OFD packet to send [00:42:04]OFD Sender: No OFD packet to send [00:42:09]OFD Sender: No OFD packet to send [00:42:14]OFD Sender: No OFD packet to send [00:42:19]OFD Sender: No OFD packet to send [00:42:24]OFD Sender: No OFD packet to send [00:42:29]OFD Sender: No OFD packet to send [00:42:34]OFD Sender: No OFD packet to send [00:42:39]OFD Sender: No OFD packet to send [00:42:44]OFD Sender: No OFD packet to send [00:42:49]OFD Sender: No OFD packet to send [00:42:54]OFD Sender: No OFD packet to send [00:42:59]OFD Sender: No OFD packet to send [00:43:04]OFD Sender: No OFD packet to send [00:43:09]OFD Sender: No OFD packet to send [00:43:14]OFD Sender: No OFD packet to send [00:43:19]OFD Sender: No OFD packet to send [00:43:24]OFD Sender: No OFD packet to send [00:43:29]OFD Sender: No OFD packet to send [00:43:34]OFD Sender: No OFD packet to send [00:43:39]OFD Sender: No OFD packet to send [00:43:44]OFD Sender: No OFD packet to send [00:43:49]OFD Sender: No OFD packet to send [00:43:54]OFD Sender: No OFD packet to send [00:43:59]OFD Sender: No OFD packet to send [00:44:04]OFD Sender: No OFD packet to send [00:44:09]OFD Sender: No OFD packet to send [00:44:14]OFD Sender: No OFD packet to send [00:44:19]OFD Sender: No OFD packet to send [00:44:24]OFD Sender: No OFD packet to send [00:44:29]OFD Sender: No OFD packet to send [00:44:34]OFD Sender: No OFD packet to send [00:44:39]OFD Sender: No OFD packet to send [00:44:44]OFD Sender: No OFD packet to send [00:44:49]OFD Sender: No OFD packet to send [00:44:54]OFD Sender: No OFD packet to send [00:44:59]OFD Sender: No OFD packet to send [00:45:04]OFD Sender: No OFD packet to send [00:45:09]OFD Sender: No OFD packet to send [00:45:14]OFD Sender: No OFD packet to send [00:45:19]OFD Sender: No OFD packet to send [00:45:24]OFD Sender: No OFD packet to send [00:45:29]OFD Sender: No OFD packet to send [00:45:34]OFD Sender: No OFD packet to send [00:45:39]OFD Sender: No OFD packet to send [00:45:44]OFD Sender: No OFD packet to send [00:45:49]OFD Sender: No OFD packet to send [00:45:54]OFD Sender: No OFD packet to send [00:45:59]OFD Sender: No OFD packet to send [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:19]OFD Sender: No OFD packet to send [00:47:24]OFD Sender: No OFD packet to send [00:47:29]OFD Sender: No OFD packet to send [00:47:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]OFD Sender: No OFD packet to send [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:28]int [00:48:28]Write to MH i2c: 01 00 00 D3 13 E6 [00:48:28]*** FLAG_PRN_KEY set [00:48:28]Write i2c OK [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: 01 [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: 01 07 00 [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: 01 07 00 D3 13 00 08 00 00 00 FF 0F 03 [00:48:28]state=0 [00:48:28]Key pressed [00:48:28]Feed [00:48:28]Write to MH i2c: D8 00 00 D4 13 BE [00:48:28]Write i2c OK [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: D8 [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: D8 01 00 [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: D8 01 00 D4 13 00 BF [00:48:28]int [00:48:28]Write to MH i2c: 01 00 00 D5 13 E8 [00:48:28]Write i2c OK [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: 01 [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: 01 07 00 [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: 01 07 00 D5 13 00 48 00 00 00 3C 00 73 [00:48:28]state=2 [00:48:28]Key pressed [00:48:28]int [00:48:28]Write to MH i2c: 01 00 00 D6 13 E9 [00:48:28]*** FLAG_PRN_KEY reset [00:48:28]Write i2c OK [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: 01 [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: 01 07 00 [00:48:28]MH_I2C_Read... [00:48:28]Read from MH i2c: 01 07 00 D6 13 00 00 00 00 00 F6 0F F5 [00:48:28]state=2 [00:48:28]Stop feed [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]OFD Sender: No OFD packet to send [00:49:09]OFD Sender: No OFD packet to send [00:49:14]OFD Sender: No OFD packet to send [00:49:19]OFD Sender: No OFD packet to send [00:49:24]OFD Sender: No OFD packet to send [00:49:29]OFD Sender: No OFD packet to send [00:49:34]OFD Sender: No OFD packet to send [00:49:39]OFD Sender: No OFD packet to send [00:49:44]OFD Sender: No OFD packet to send [00:49:49]OFD Sender: No OFD packet to send [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:24]OFD Sender: No OFD packet to send [00:51:29]OFD Sender: No OFD packet to send [00:51:34]OFD Sender: No OFD packet to send [00:51:39]OFD Sender: No OFD packet to send [00:51:44]OFD Sender: No OFD packet to send [00:51:49]OFD Sender: No OFD packet to send [00:51:54]OFD Sender: No OFD packet to send [00:51:59]OFD Sender: No OFD packet to send [00:52:04]OFD Sender: No OFD packet to send [00:52:09]OFD Sender: No OFD packet to send [00:52:14]OFD Sender: No OFD packet to send [00:52:19]OFD Sender: No OFD packet to send [00:52:24]OFD Sender: No OFD packet to send [00:52:29]OFD Sender: No OFD packet to send [00:52:34]OFD Sender: No OFD packet to send [00:52:39]OFD Sender: No OFD packet to send [00:52:44]OFD Sender: No OFD packet to send [00:52:49]OFD Sender: No OFD packet to send [00:52:54]OFD Sender: No OFD packet to send [00:52:59]OFD Sender: No OFD packet to send [00:53:04]OFD Sender: No OFD packet to send [00:53:09]OFD Sender: No OFD packet to send [00:53:14]OFD Sender: No OFD packet to send [00:53:19]OFD Sender: No OFD packet to send [00:53:24]OFD Sender: No OFD packet to send [00:53:29]OFD Sender: No OFD packet to send [00:53:34]OFD Sender: No OFD packet to send [00:53:39]OFD Sender: No OFD packet to send [00:53:44]OFD Sender: No OFD packet to send [00:53:49]OFD Sender: No OFD packet to send [00:53:54]OFD Sender: No OFD packet to send [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54:34]OFD Sender: No OFD packet to send [00:54:39]OFD Sender: No OFD packet to send [00:54:44]OFD Sender: No OFD packet to send [00:54:49]OFD Sender: No OFD packet to send [00:54:54]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:23]accept exits with 8 [00:55:23]New connection [00:55:23]New thread 3066858852 created [00:55:23]Thread 3066715492 joined [00:55:23]Waiting for new connection... [00:55:23] Sock 8.Parse request [00:55:23]Sock 8.Check first char [00:55:23]Sock 8.First char is OK [00:55:23]request: POST /json_proto HTTP/1.0 [00:55:23]Method: POST [00:55:23]URL: /json_proto [00:55:23]Method is POST - this is cgi request [00:55:23]url: /json_proto [00:55:23]query_string will be loaded in cgi processing [00:55:23]execute_cgi json_proto POST (null) [00:55:23]execute_cgi path=json_proto method=POST [00:55:23]POST find Content-Length [00:55:23]Host: 172.17.42.3:8080 [00:55:23]Content-Length: 1201 [00:55:23]Content-Type: application/json [00:55:23] [00:55:23]POST finish read [00:55:23]Found Content-Length = 1201 [00:55:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17265", "tax_sys" : 0, "items" : [ { "code": "4870112002782", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 Ulker Biskrem \u043A\u0430\u043A\u0430\u043E-\u043A\u0440\u0435\u043C 180\u0433", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:55:23]execute_script... [00:55:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17265", "tax_sys" : 0, "items" : [ { "code": "4870112002782", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 Ulker Biskrem \u043A\u0430\u043A\u0430\u043E-\u043A\u0440\u0435\u043C 180\u0433", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:55:23]POST & json_proto [00:55:23]process_json_proto [00:55:23]json parsed OK: [00:55:23]protocol is kg_v1.0 [00:55:23]action value=close_receipt [00:55:23]process_action close_receipt [00:55:23]cmd_close_receipt [00:55:23]MH_GetDate [00:55:23]Write to MH i2c: F0 00 00 D7 13 D9 [00:55:23]Write i2c OK [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: F0 [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: F0 09 00 [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: F0 09 00 D7 13 00 FD 83 21 67 28 A1 20 67 3A [00:55:23]GetLastDocTimeStamp 1730248628 [00:55:23]current date 1730249725 [00:55:23]FM_GetShiftState [00:55:23]SAM_PROTO_GetShiftState [00:55:23]wFMCommunicate request_size=4 [00:55:23]MH_SAM_APDU [00:55:23]CAPDU: 80 13 01 00 [00:55:23]Write to MH i2c: E2 08 00 D8 13 80 13 01 00 00 00 00 00 68 [00:55:23]Write i2c OK [00:55:23]MH_I2C_Read... [00:55:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:55:23]Read from MH i2c: E2 [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: E2 0E 00 [00:55:23]MH_I2C_Read... [00:55:23]Read from MH i2c: E2 0E 00 D8 13 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 5E [00:55:23]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:55:23]wFMCommunicate OK [00:55:23]SAM_PROTO_GetShiftState done [00:55:23]FM_GetShiftState done [00:55:23]opened in 1730247400 [00:55:23]opened+sec_in_day 1730333800 [00:55:23]quantity*price = 11000 [00:55:23]sum+1 = 11001 [00:55:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 0.00 Безнал.: 170.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 5 30.10.2024 00:55 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68452 ФПД: 183068384317488 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T005525&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68452&fm=183068384317488&tin=02508201610067®Number=0000000000091759&sum=17000 0 [00:55:24]StoreToDocumentArchive [00:55:24]shift 549 fd 68452 [00:55:24]save to /storage/0549/doc_00068452 [00:55:24]save last doc name /storage/0549/doc_00068452 to /storage/kkm_last_doc_name [00:55:24]save OK [00:55:24]Clear old archive folders... [00:55:24]ProcessDocumentItem done err = 0, tmpTLVsize=429 [00:55:24]tlvbuf is 01DDAA70 [00:55:24]SAM_PROTO_ClearQueue [00:55:24]wFMCommunicate request_size=4 [00:55:24]MH_SAM_APDU [00:55:24]CAPDU: 80 09 00 00 [00:55:24]Write to MH i2c: E2 08 00 E5 13 80 09 00 00 00 00 00 00 6A [00:55:24]Write i2c OK [00:55:24]MH_I2C_Read... [00:55:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:55:24]Read from MH i2c: E2 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 03 00 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 03 00 E5 13 00 90 00 6C [00:55:24]RAPDU: 90 00 [00:55:24]wFMCommunicate OK [00:55:24]SAM_PROTO_ClearQueue done [00:55:24]KKMCreateOFDPacket [00:55:24]OFDProtocolAddRootSTLVToBuf [00:55:24]FM_MakeSignedData [00:55:24]FM_MakeSignedData [00:55:24]SAM_PROTO_SignData [00:55:24]wFMCommunicate request_size=4 [00:55:24]MH_SAM_APDU [00:55:24]CAPDU: 80 0D 01 02 [00:55:24]Write to MH i2c: E2 08 00 E6 13 80 0D 01 02 00 00 00 00 72 [00:55:24]Write i2c OK [00:55:24]MH_I2C_Read... [00:55:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:55:24]Read from MH i2c: E2 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 03 00 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 03 00 E6 13 00 90 00 6D [00:55:24]RAPDU: 90 00 [00:55:24]wFMCommunicate OK [00:55:24]wFMCommunicate request_size=255 [00:55:24]MH_SAM_APDU [00:55:24]CAPDU: 80 0D 02 02 FA 03 00 AD 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 38 32 06 04 36 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 55 6C 6B 65 72 20 42 69 73 6B 72 65 6D 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 2D D0 BA D1 80 D0 B5 D0 BC 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 [00:55:24]Write to MH i2c: E2 02 01 E7 13 80 0D 02 02 FA 00 03 00 AD 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 38 32 06 04 36 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 55 6C 6B 65 72 20 42 69 73 6B 72 65 6D 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 2D D0 BA D1 80 D0 B5 D0 BC 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 AC [00:55:24]Write i2c OK [00:55:24]MH_I2C_Read... [00:55:24]OFD Sender: No OFD packet to send [00:55:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:55:24]Read from MH i2c: E2 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 03 00 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 03 00 E7 13 00 90 00 6E [00:55:24]RAPDU: 90 00 [00:55:24]wFMCommunicate OK [00:55:24]wFMCommunicate request_size=188 [00:55:24]MH_SAM_APDU [00:55:24]CAPDU: 80 0D 02 02 B7 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 FD 83 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 64 0B 01 00 35 04 06 00 A6 7F EE 04 50 30 [00:55:24]Write to MH i2c: E2 BF 00 E8 13 80 0D 02 02 B7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 FD 83 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 64 0B 01 00 35 04 06 00 A6 7F EE 04 50 30 00 00 1C [00:55:24]Write i2c OK [00:55:24]MH_I2C_Read... [00:55:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:55:24]Read from MH i2c: E2 [00:55:24]MH_I2C_Read... [00:55:24]Read from MH i2c: E2 03 00 [00:55:24]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 03 00 E8 13 00 90 00 6F [00:55:25]RAPDU: 90 00 [00:55:25]wFMCommunicate OK [00:55:25]wFMCommunicate request_size=4 [00:55:25]MH_SAM_APDU [00:55:25]CAPDU: 80 0D 03 02 [00:55:25]Write to MH i2c: E2 08 00 E9 13 80 0D 03 02 00 00 00 00 77 [00:55:25]Write i2c OK [00:55:25]MH_I2C_Read... [00:55:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:55:25]Read from MH i2c: E2 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 0B 00 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 0B 00 E9 13 00 B4 FC 82 04 D3 E9 3B 83 90 00 28 [00:55:25]RAPDU: B4 FC 82 04 D3 E9 3B 83 90 00 [00:55:25]wFMCommunicate OK [00:55:25]SAM_PROTO_SignData done [00:55:25]FM_MakeSignedData done [00:55:25]CreateOFDProtocolMessage [00:55:25]wFMCommunicate request_size=4 [00:55:25]MH_SAM_APDU [00:55:25]CAPDU: 80 11 00 00 [00:55:25]Write to MH i2c: E2 08 00 EA 13 80 11 00 00 00 00 00 00 77 [00:55:25]Write i2c OK [00:55:25]MH_I2C_Read... [00:55:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:55:25]Read from MH i2c: E2 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 17 00 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: E2 17 00 EA 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 CE [00:55:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:55:25]wFMCommunicate OK [00:55:25]CreateOFDProtocolMessage done [00:55:25]OFDSenderStorePacket 68452 [00:55:25]StoreOFDPacket docnum=68452 [00:55:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 C1 01 00 00 D9 1F B9 01 95 6C 5A 03 01 00 03 00 AD 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 38 32 06 04 36 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 55 6C 6B 65 72 20 42 69 73 6B 72 65 6D 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 2D D0 BA D1 80 D0 B5 D0 BC 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 FD 83 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 64 0B 01 00 35 04 06 00 A6 7F EE 04 50 30 B4 FC 82 04 D3 E9 3B 83 [00:55:25]CheckFolder [00:55:25]dirname=/storage/ofd_packets [00:55:25]CheckFolder done [00:55:25]ProducePacketName [00:55:25]name=ofd_packets/00068452 [00:55:25]NVStorageSaveData ofd_packets/00068452 [00:55:25]File name is /storage/ofd_packets/00068452 [00:55:25]Write 479 bytes [00:55:25]NVStorageSaveData done [00:55:25]OFDSenderStorePacket done [00:55:25]KKMCreateOFDPacket done [00:55:25]NVStorageSaveData kkm_last_timestamp [00:55:25]File name is /storage/kkm_last_timestamp [00:55:25]Write 4 bytes [00:55:25]NVStorageSaveData done [00:55:25]ExternCall_PrintAddStr [00:55:25]wPrintStart [00:55:25]Write to MH i2c: 01 00 00 EB 13 FE [00:55:25]Write i2c OK [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: 01 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: 01 07 00 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: 01 07 00 EB 13 00 00 00 00 00 FF 0F 13 [00:55:25]RasterBufferAndPrint [00:55:25]line Счет N : (3)17265 [00:55:25]line ИНН: 02508201610067 [00:55:25]line Контрольно-Кассовый Чек [00:55:25]line ПРОДАЖА [00:55:25]line Товар: 4870112002782 [00:55:25]line Печенье Ulker Biskrem какао-крем 180г [00:55:25]line 1.000 * 110.00 [00:55:25]line = 110.00 [00:55:25]line НДС 12% НСП 1% [00:55:25]line > о реализуемом товаре [00:55:25]line Товар: 4700000160792 [00:55:25]line Снек Курут классический (круглый) [00:55:25]line 1.000 * 60.00 [00:55:25]line = 60.00 [00:55:25]line НДС 12% НСП 1% [00:55:25]line > о реализуемом товаре [00:55:25]line ИТОГО: 170.00 [00:55:25]line НСП 1% : 1.50 [00:55:25]line НДС 12% : 18.05 [00:55:25]line Наличными: 0.00 [00:55:25]line Безнал.: 170.00 [00:55:25]line Место: АЗС № 160 "Партнер Нефть" [00:55:25]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:55:25]line СНО: Общий режим [00:55:25]line Чек 5 30.10.2024 00:55 [00:55:25]line Смена: 549 ФФД: 1.0 [00:55:25]line ЗНМ: 0300000093 [00:55:25]line РНМ: 0000000000091759 [00:55:25]line Версия ККМ: 001 [00:55:25]line Платежная система: Бакай Банк [00:55:25]line ФМ: 0000000000871758 [00:55:25]line ФД: 68452 [00:55:25]line ФПД: 183068384317488 [00:55:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T005525&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68452&fm=183068384317488&tin=02508201610067®Number=0000000000091759&sum=17000 [00:55:25]line 0 [00:55:25]written 0, free lines is 4095 [00:55:25]OFD Sender: Processing packet 68452 [packets to send 28, broken 27] [00:55:25]ProducePacketName [00:55:25]name=ofd_packets/00068452 [00:55:25]OFD Sender: To server: pG, [00:55:25]CommunicateWithHost lk.salyk.kg:30040 [00:55:25]ConnectInit lk.salyk.kg [00:55:25]Connected sock=10 [00:55:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 C1 01 00 00 D9 1F B9 01 95 6C 5A 03 01 00 03 00 AD 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 38 32 06 04 36 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 55 6C 6B 65 72 20 42 69 73 6B 72 65 6D 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 2D D0 BA D1 80 D0 B5 D0 BC 20 31 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 FD 83 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 64 0B 01 00 35 04 06 00 A6 7F EE 04 50 30 B4 FC 82 04 D3 E9 3B 83 [00:55:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 95 86 47 00 B1 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 64 0B 01 00 F4 03 04 00 A4 2F 21 67 B6 04 01 00 00 AD 64 54 F3 0A 90 37 51 [00:55:25]CommunicateWithHost err = 0 [00:55:25]CheckOFDResponse [00:55:25]1017 (14) - 77093643461234 [00:55:25]1041 (16) - 0000000000871758 [00:55:25]1040 (4) - 68452 [00:55:25]1012 (4) - 29.10.2024 18:55 [00:55:25]1206 (1) - 0 [00:55:25]OFD Sender: Remove packet 68452 [00:55:25]ProducePacketName [00:55:25]name=ofd_packets/00068452 [00:55:25]NVStorageDeleteData [00:55:25]Write to MH i2c: 01 00 00 1C 14 30 [00:55:25]Write i2c OK [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: 01 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: 01 07 00 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: 01 07 00 1C 14 00 00 00 00 00 2C 0C 6F [00:55:25]RasterBufferAndPrint [00:55:25]line [00:55:25]line [00:55:25]line [00:55:25]line [00:55:25]line [00:55:25]written 0, free lines is 3122 [00:55:25]MH_Cut [00:55:25]Write to MH i2c: D1 01 00 23 14 01 09 [00:55:25]Write i2c OK [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: D1 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: D1 01 00 [00:55:25]MH_I2C_Read... [00:55:25]Read from MH i2c: D1 01 00 23 14 00 08 [00:55:25]Write to MH i2c: 01 00 00 24 14 38 [00:55:25]Write i2c OK [00:55:25]MH_I2C_Read... [00:55:26]OFD Sender: No OFD packet to send [00:55:26]*** Cut start [00:55:26]*** Partial cut [00:55:26]*** CUTSNS_PIN = 1 [00:55:26]*** CUTSNS_PIN = 0 [00:55:27]*** Brake cut motor [00:55:27]Read from MH i2c: 01 [00:55:27]MH_I2C_Read... [00:55:27]*** Stop cut motor [00:55:27]*** Cut end [00:55:27]Read from MH i2c: 01 07 00 [00:55:27]MH_I2C_Read... [00:55:27]Read from MH i2c: 01 07 00 24 14 00 00 00 00 00 FF 0F 4D [00:55:27]process_action close_receipt done [00:55:27]requested_data is exist [00:55:27]produce_requested_data [00:55:27]requested_item fm.sn is exist - process it [00:55:27]wFMCommunicate request_size=4 [00:55:27]MH_SAM_APDU [00:55:27]CAPDU: 80 11 00 00 [00:55:27]Write to MH i2c: E2 08 00 25 14 80 11 00 00 00 00 00 00 B3 [00:55:27]Write i2c OK [00:55:27]MH_I2C_Read... [00:55:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:55:27]Read from MH i2c: E2 [00:55:27]MH_I2C_Read... [00:55:27]Read from MH i2c: E2 17 00 [00:55:27]MH_I2C_Read... [00:55:27]Read from MH i2c: E2 17 00 25 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 0A [00:55:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:55:27]wFMCommunicate OK [00:55:27]requested_item fd.num is exist - process it [00:55:27]SAM_PROTO_GetFieldsCounters [00:55:27]wFMCommunicate request_size=4 [00:55:27]MH_SAM_APDU [00:55:27]CAPDU: 80 13 00 00 [00:55:27]Write to MH i2c: E2 08 00 26 14 80 13 00 00 00 00 00 00 B6 [00:55:27]Write i2c OK [00:55:27]MH_I2C_Read... [00:55:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:55:27]Read from MH i2c: E2 [00:55:27]MH_I2C_Read... [00:55:27]Read from MH i2c: E2 62 00 [00:55:27]MH_I2C_Read... [00:55:27]Read from MH i2c: E2 62 00 26 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 64 0B 01 00 0E 04 04 00 25 02 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 87 [00:55:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 64 0B 01 00 0E 04 04 00 25 02 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:55:27]wFMCommunicate OK [00:55:27]SAM_PROTO_GetFieldsCounters done [00:55:27]requested_item shift.num is exist - process it [00:55:27]requested_item shift.opened is exist - process it [00:55:27]req_shift_opened [00:55:27]FM_GetShiftState [00:55:27]SAM_PROTO_GetShiftState [00:55:27]wFMCommunicate request_size=4 [00:55:27]MH_SAM_APDU [00:55:27]CAPDU: 80 13 01 00 [00:55:27]Write to MH i2c: E2 08 00 27 14 80 13 01 00 00 00 00 00 B8 [00:55:27]Write i2c OK [00:55:27]MH_I2C_Read... [00:55:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:55:27]Read from MH i2c: E2 [00:55:27]MH_I2C_Read... [00:55:27]Read from MH i2c: E2 0E 00 [00:55:27]MH_I2C_Read... [00:55:27]Read from MH i2c: E2 0E 00 27 14 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 AE [00:55:27]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [00:55:27]wFMCommunicate OK [00:55:27]SAM_PROTO_GetShiftState done [00:55:27]FM_GetShiftState done [00:55:27]req_shift_opened done [00:55:27]requested_item shift.open_date is exist - process it [00:55:27]req_shift_open_date [00:55:27]req_shift_open_date done [00:55:27]produce_requested_data done [00:55:27]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68452,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [00:55:27]process_action_free close_receipt [00:55:27]json_value_free [00:55:27]json_value_free done [00:55:27]process_json_proto returns [00:55:27]Send response to host [00:55:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68452,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [00:55:27]free response buf [00:55:27]execute_script done [00:55:27]execute_script returns [00:55:27]free content buf [00:55:27]Sock 8.Close socket [00:55:27]Sock 8.Thread stoped [00:55:31]OFD Sender: No OFD packet to send [00:55:36]OFD Sender: No OFD packet to send [00:55:41]OFD Sender: No OFD packet to send [00:55:46]OFD Sender: No OFD packet to send [00:55:51]OFD Sender: No OFD packet to send [00:55:56]OFD Sender: No OFD packet to send [00:56:01]OFD Sender: No OFD packet to send [00:56:06]OFD Sender: No OFD packet to send [00:56:11]OFD Sender: No OFD packet to send [00:56:16]OFD Sender: No OFD packet to send [00:56:21]OFD Sender: No OFD packet to send [00:56:26]OFD Sender: No OFD packet to send [00:56:31]OFD Sender: No OFD packet to send [00:56:36]OFD Sender: No OFD packet to send [00:56:41]OFD Sender: No OFD packet to send [00:56:46]OFD Sender: No OFD packet to send [00:56:51]OFD Sender: No OFD packet to send [00:56:56]OFD Sender: No OFD packet to send [00:57:01]OFD Sender: No OFD packet to send [00:57:06]OFD Sender: No OFD packet to send [00:57:11]OFD Sender: No OFD packet to send [00:57:16]OFD Sender: No OFD packet to send [00:57:21]OFD Sender: No OFD packet to send [00:57:26]OFD Sender: No OFD packet to send [00:57:31]OFD Sender: No OFD packet to send [00:57:36]OFD Sender: No OFD packet to send [00:57:41]OFD Sender: No OFD packet to send [00:57:45]int [00:57:45]Write to MH i2c: 01 00 00 28 14 3C [00:57:45]*** FLAG_PRN_KEY set [00:57:45]Write i2c OK [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 07 00 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 07 00 28 14 00 00 00 00 00 FF 0F 51 [00:57:45]state=0 [00:57:45]int [00:57:45]Write to MH i2c: 01 00 00 29 14 3D [00:57:45]*** FLAG_PRN_KEY reset [00:57:45]*** FLAG_PRN_KEY set [00:57:45]Write i2c OK [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 07 00 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 07 00 29 14 00 08 00 00 00 FF 0F 5A [00:57:45]state=0 [00:57:45]Key pressed [00:57:45]Feed [00:57:45]Write to MH i2c: D8 00 00 2A 14 15 [00:57:45]Write i2c OK [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: D8 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: D8 01 00 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: D8 01 00 2A 14 00 16 [00:57:45]int [00:57:45]Write to MH i2c: 01 00 00 2B 14 3F [00:57:45]Write i2c OK [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 07 00 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 07 00 2B 14 00 48 00 00 00 3C 00 CA [00:57:45]state=2 [00:57:45]Key pressed [00:57:45]int [00:57:45]Write to MH i2c: 01 00 00 2C 14 40 [00:57:45]*** FLAG_PRN_KEY reset [00:57:45]Write i2c OK [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 07 00 [00:57:45]MH_I2C_Read... [00:57:45]Read from MH i2c: 01 07 00 2C 14 00 00 00 00 00 F7 0F 4D [00:57:45]state=2 [00:57:45]Stop feed [00:57:46]OFD Sender: No OFD packet to send [00:57:51]OFD Sender: No OFD packet to send [00:57:56]OFD Sender: No OFD packet to send [00:58:01]OFD Sender: No OFD packet to send [00:58:06]OFD Sender: No OFD packet to send [00:58:11]OFD Sender: No OFD packet to send [00:58:16]OFD Sender: No OFD packet to send [00:58:21]OFD Sender: No OFD packet to send [00:58:26]OFD Sender: No OFD packet to send [00:58:31]OFD Sender: No OFD packet to send [00:58:36]OFD Sender: No OFD packet to send [00:58:41]OFD Sender: No OFD packet to send [00:58:46]OFD Sender: No OFD packet to send [00:58:51]OFD Sender: No OFD packet to send [00:58:56]OFD Sender: No OFD packet to send [00:59:01]OFD Sender: No OFD packet to send [00:59:06]OFD Sender: No OFD packet to send [00:59:11]OFD Sender: No OFD packet to send [00:59:16]OFD Sender: No OFD packet to send [00:59:21]OFD Sender: No OFD packet to send [00:59:26]OFD Sender: No OFD packet to send [00:59:31]OFD Sender: No OFD packet to send [00:59:36]OFD Sender: No OFD packet to send [00:59:41]OFD Sender: No OFD packet to send [00:59:46]OFD Sender: No OFD packet to send [00:59:51]OFD Sender: No OFD packet to send [00:59:56]OFD Sender: No OFD packet to send [01:00:01]OFD Sender: No OFD packet to send [01:00:06]OFD Sender: No OFD packet to send [01:00:11]OFD Sender: No OFD packet to send [01:00:16]OFD Sender: No OFD packet to send [01:00:21]OFD Sender: No OFD packet to send [01:00:26]OFD Sender: No OFD packet to send [01:00:31]OFD Sender: No OFD packet to send [01:00:36]OFD Sender: No OFD packet to send [01:00:41]OFD Sender: No OFD packet to send [01:00:46]OFD Sender: No OFD packet to send [01:00:51]OFD Sender: No OFD packet to send [01:00:56]OFD Sender: No OFD packet to send [01:01:01]OFD Sender: No OFD packet to send [01:01:06]OFD Sender: No OFD packet to send [01:01:11]OFD Sender: No OFD packet to send [01:01:16]OFD Sender: No OFD packet to send [01:01:21]OFD Sender: No OFD packet to send [01:01:26]OFD Sender: No OFD packet to send [01:01:31]OFD Sender: No OFD packet to send [01:01:36]OFD Sender: No OFD packet to send [01:01:41]OFD Sender: No OFD packet to send [01:01:46]OFD Sender: No OFD packet to send [01:01:51]OFD Sender: No OFD packet to send [01:01:56]OFD Sender: No OFD packet to send [01:02:01]OFD Sender: No OFD packet to send [01:02:06]OFD Sender: No OFD packet to send [01:02:11]OFD Sender: No OFD packet to send [01:02:16]OFD Sender: No OFD packet to send [01:02:21]OFD Sender: No OFD packet to send [01:02:26]OFD Sender: No OFD packet to send [01:02:31]OFD Sender: No OFD packet to send [01:02:36]OFD Sender: No OFD packet to send [01:02:41]OFD Sender: No OFD packet to send [01:02:46]OFD Sender: No OFD packet to send [01:02:51]OFD Sender: No OFD packet to send [01:02:56]OFD Sender: No OFD packet to send [01:03:01]OFD Sender: No OFD packet to send [01:03:06]OFD Sender: No OFD packet to send [01:03:11]OFD Sender: No OFD packet to send [01:03:16]OFD Sender: No OFD packet to send [01:03:21]OFD Sender: No OFD packet to send [01:03:26]OFD Sender: No OFD packet to send [01:03:31]OFD Sender: No OFD packet to send [01:03:36]OFD Sender: No OFD packet to send [01:03:41]OFD Sender: No OFD packet to send [01:03:46]OFD Sender: No OFD packet to send [01:03:51]OFD Sender: No OFD packet to send [01:03:56]OFD Sender: No OFD packet to send [01:04:01]OFD Sender: No OFD packet to send [01:04:06]OFD Sender: No OFD packet to send [01:04:11]OFD Sender: No OFD packet to send [01:04:16]OFD Sender: No OFD packet to send [01:04:21]OFD Sender: No OFD packet to send [01:04:26]OFD Sender: No OFD packet to send [01:04:31]OFD Sender: No OFD packet to send [01:04:36]OFD Sender: No OFD packet to send [01:04:41]OFD Sender: No OFD packet to send [01:04:46]OFD Sender: No OFD packet to send [01:04:51]OFD Sender: No OFD packet to send [01:04:56]OFD Sender: No OFD packet to send [01:05:01]OFD Sender: No OFD packet to send [01:05:06]OFD Sender: No OFD packet to send [01:05:11]OFD Sender: No OFD packet to send [01:05:16]OFD Sender: No OFD packet to send [01:05:21]OFD Sender: No OFD packet to send [01:05:26]OFD Sender: No OFD packet to send [01:05:31]OFD Sender: No OFD packet to send [01:05:36]OFD Sender: No OFD packet to send [01:05:41]OFD Sender: No OFD packet to send [01:05:46]OFD Sender: No OFD packet to send [01:05:51]OFD Sender: No OFD packet to send [01:05:56]OFD Sender: No OFD packet to send [01:06:01]OFD Sender: No OFD packet to send [01:06:06]OFD Sender: No OFD packet to send [01:06:11]OFD Sender: No OFD packet to send [01:06:16]OFD Sender: No OFD packet to send [01:06:21]OFD Sender: No OFD packet to send [01:06:26]OFD Sender: No OFD packet to send [01:06:31]OFD Sender: No OFD packet to send [01:06:36]OFD Sender: No OFD packet to send [01:06:41]OFD Sender: No OFD packet to send [01:06:46]OFD Sender: No OFD packet to send [01:06:51]OFD Sender: No OFD packet to send [01:06:56]OFD Sender: No OFD packet to send [01:07:01]OFD Sender: No OFD packet to send [01:07:06]OFD Sender: No OFD packet to send [01:07:11]OFD Sender: No OFD packet to send [01:07:16]OFD Sender: No OFD packet to send [01:07:21]OFD Sender: No OFD packet to send [01:07:26]OFD Sender: No OFD packet to send [01:07:31]OFD Sender: No OFD packet to send [01:07:36]OFD Sender: No OFD packet to send [01:07:41]OFD Sender: No OFD packet to send [01:07:46]OFD Sender: No OFD packet to send [01:07:51]OFD Sender: No OFD packet to send [01:07:56]OFD Sender: No OFD packet to send [01:08:01]OFD Sender: No OFD packet to send [01:08:06]OFD Sender: No OFD packet to send [01:08:11]OFD Sender: No OFD packet to send [01:08:16]OFD Sender: No OFD packet to send [01:08:21]OFD Sender: No OFD packet to send [01:08:26]OFD Sender: No OFD packet to send [01:08:31]OFD Sender: No OFD packet to send [01:08:36]OFD Sender: No OFD packet to send [01:08:41]OFD Sender: No OFD packet to send [01:08:46]OFD Sender: No OFD packet to send [01:08:51]OFD Sender: No OFD packet to send [01:08:56]OFD Sender: No OFD packet to send [01:09:01]OFD Sender: No OFD packet to send [01:09:06]OFD Sender: No OFD packet to send [01:09:11]OFD Sender: No OFD packet to send [01:09:16]OFD Sender: No OFD packet to send [01:09:21]OFD Sender: No OFD packet to send [01:09:26]OFD Sender: No OFD packet to send [01:09:31]OFD Sender: No OFD packet to send [01:09:36]OFD Sender: No OFD packet to send [01:09:41]OFD Sender: No OFD packet to send [01:09:47]OFD Sender: No OFD packet to send [01:09:52]OFD Sender: No OFD packet to send [01:09:57]OFD Sender: No OFD packet to send [01:10:02]OFD Sender: No OFD packet to send [01:10:07]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:40]accept exits with 9 [01:10:40]New connection [01:10:40]New thread 3066715492 created [01:10:40]Thread 3066858852 joined [01:10:40]Waiting for new connection... [01:10:40] Sock 9.Parse request [01:10:40]Sock 9.Check first char [01:10:40]Sock 9.First char is OK [01:10:40]request: POST /json_proto HTTP/1.0 [01:10:40]Method: POST [01:10:40]URL: /json_proto [01:10:40]Method is POST - this is cgi request [01:10:40]url: /json_proto [01:10:40]query_string will be loaded in cgi processing [01:10:40]execute_cgi json_proto POST (null) [01:10:40]execute_cgi path=json_proto method=POST [01:10:40]POST find Content-Length [01:10:40]Host: 172.17.42.3:8080 [01:10:40]Content-Length: 681 [01:10:40]Content-Type: application/json [01:10:40] [01:10:40]POST finish read [01:10:40]Found Content-Length = 681 [01:10:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46429", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "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:10:40]execute_script... [01:10: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)46429", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "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:10:40]POST & json_proto [01:10:40]process_json_proto [01:10:40]json parsed OK: [01:10:40]protocol is kg_v1.0 [01:10:40]action value=close_receipt [01:10:40]process_action close_receipt [01:10:40]cmd_close_receipt [01:10:40]MH_GetDate [01:10:40]Write to MH i2c: F0 00 00 2D 14 30 [01:10:40]Write i2c OK [01:10:40]MH_I2C_Read... [01:10:40]Read from MH i2c: F0 [01:10:40]MH_I2C_Read... [01:10:40]Read from MH i2c: F0 09 00 [01:10:40]MH_I2C_Read... [01:10:40]Read from MH i2c: F0 09 00 2D 14 00 93 87 21 67 28 A1 20 67 2B [01:10:40]GetLastDocTimeStamp 1730249725 [01:10:40]current date 1730250643 [01:10:40]FM_GetShiftState [01:10:40]SAM_PROTO_GetShiftState [01:10:40]wFMCommunicate request_size=4 [01:10:40]MH_SAM_APDU [01:10:40]CAPDU: 80 13 01 00 [01:10:40]Write to MH i2c: E2 08 00 2E 14 80 13 01 00 00 00 00 00 BF [01:10:40]Write i2c OK [01:10:40]MH_I2C_Read... [01:10:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:10:40]Read from MH i2c: E2 [01:10:40]MH_I2C_Read... [01:10:40]Read from MH i2c: E2 0E 00 [01:10:40]MH_I2C_Read... [01:10:40]Read from MH i2c: E2 0E 00 2E 14 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 B5 [01:10:40]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [01:10:40]wFMCommunicate OK [01:10:40]SAM_PROTO_GetShiftState done [01:10:40]FM_GetShiftState done [01:10:40]opened in 1730247400 [01:10:40]opened+sec_in_day 1730333800 [01:10:40]quantity*price = 100015 [01:10:40]sum+1 = 100017 [01:10:40]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.16 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 6 30.10.2024 01:10 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68453 ФПД: 42266864306469 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T011043&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68453&fm=42266864306469&tin=02508201610067®Number=0000000000091759&sum=100000 [01:10:41]StoreToDocumentArchive [01:10:41]shift 549 fd 68453 [01:10:41]save to /storage/0549/doc_00068453 [01:10:41]save last doc name /storage/0549/doc_00068453 to /storage/kkm_last_doc_name [01:10:41]save OK [01:10:41]Clear old archive folders... [01:10:41]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:10:41]tlvbuf is 01E1CCF0 [01:10:41]SAM_PROTO_ClearQueue [01:10:41]wFMCommunicate request_size=4 [01:10:41]MH_SAM_APDU [01:10:41]CAPDU: 80 09 00 00 [01:10:41]Write to MH i2c: E2 08 00 3B 14 80 09 00 00 00 00 00 00 C1 [01:10:41]Write i2c OK [01:10:41]MH_I2C_Read... [01:10:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:10:42]Read from MH i2c: E2 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 03 00 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 03 00 3B 14 00 90 00 C3 [01:10:42]RAPDU: 90 00 [01:10:42]wFMCommunicate OK [01:10:42]SAM_PROTO_ClearQueue done [01:10:42]KKMCreateOFDPacket [01:10:42]OFDProtocolAddRootSTLVToBuf [01:10:42]FM_MakeSignedData [01:10:42]FM_MakeSignedData [01:10:42]SAM_PROTO_SignData [01:10:42]wFMCommunicate request_size=4 [01:10:42]MH_SAM_APDU [01:10:42]CAPDU: 80 0D 01 02 [01:10:42]Write to MH i2c: E2 08 00 3C 14 80 0D 01 02 00 00 00 00 C9 [01:10:42]Write i2c OK [01:10:42]MH_I2C_Read... [01:10:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:10:42]Read from MH i2c: E2 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 03 00 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 03 00 3C 14 00 90 00 C4 [01:10:42]RAPDU: 90 00 [01:10:42]wFMCommunicate OK [01:10:42]wFMCommunicate request_size=255 [01:10:42]MH_SAM_APDU [01:10:42]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 06 00 00 00 F4 03 04 00 93 87 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 65 0B 01 00 35 04 06 00 26 [01:10:42]Write to MH i2c: E2 02 01 3D 14 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 06 00 00 00 F4 03 04 00 93 87 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 65 0B 01 00 35 04 06 00 26 00 00 C2 [01:10:42]Write i2c OK [01:10:42]MH_I2C_Read... [01:10:42]OFD Sender: No OFD packet to send [01:10:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:10:42]Read from MH i2c: E2 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 03 00 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 03 00 3D 14 00 90 00 C5 [01:10:42]RAPDU: 90 00 [01:10:42]wFMCommunicate OK [01:10:42]wFMCommunicate request_size=10 [01:10:42]MH_SAM_APDU [01:10:42]CAPDU: 80 0D 02 02 05 71 05 6E C9 25 [01:10:42]Write to MH i2c: E2 0D 00 3E 14 80 0D 02 02 05 00 71 05 6E C9 25 00 00 A8 [01:10:42]Write i2c OK [01:10:42]MH_I2C_Read... [01:10:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:10:42]Read from MH i2c: E2 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 03 00 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 03 00 3E 14 00 90 00 C6 [01:10:42]RAPDU: 90 00 [01:10:42]wFMCommunicate OK [01:10:42]wFMCommunicate request_size=4 [01:10:42]MH_SAM_APDU [01:10:42]CAPDU: 80 0D 03 02 [01:10:42]Write to MH i2c: E2 08 00 3F 14 80 0D 03 02 00 00 00 00 CE [01:10:42]Write i2c OK [01:10:42]MH_I2C_Read... [01:10:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:10:42]Read from MH i2c: E2 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 0B 00 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 0B 00 3F 14 00 90 DC D7 7E AF EB 02 6D 90 00 99 [01:10:42]RAPDU: 90 DC D7 7E AF EB 02 6D 90 00 [01:10:42]wFMCommunicate OK [01:10:42]SAM_PROTO_SignData done [01:10:42]FM_MakeSignedData done [01:10:42]CreateOFDProtocolMessage [01:10:42]wFMCommunicate request_size=4 [01:10:42]MH_SAM_APDU [01:10:42]CAPDU: 80 11 00 00 [01:10:42]Write to MH i2c: E2 08 00 40 14 80 11 00 00 00 00 00 00 CE [01:10:42]Write i2c OK [01:10:42]MH_I2C_Read... [01:10:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:10:42]Read from MH i2c: E2 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 17 00 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: E2 17 00 40 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 25 [01:10:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:10:42]wFMCommunicate OK [01:10:42]CreateOFDProtocolMessage done [01:10:42]OFDSenderStorePacket 68453 [01:10:42]StoreOFDPacket docnum=68453 [01:10:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 F8 6A 07 01 15 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 06 00 00 00 F4 03 04 00 93 87 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 65 0B 01 00 35 04 06 00 26 71 05 6E C9 25 90 DC D7 7E AF EB 02 6D [01:10:42]CheckFolder [01:10:42]dirname=/storage/ofd_packets [01:10:42]CheckFolder done [01:10:42]ProducePacketName [01:10:42]name=ofd_packets/00068453 [01:10:42]NVStorageSaveData ofd_packets/00068453 [01:10:42]File name is /storage/ofd_packets/00068453 [01:10:42]Write 301 bytes [01:10:42]NVStorageSaveData done [01:10:42]OFDSenderStorePacket done [01:10:42]KKMCreateOFDPacket done [01:10:42]NVStorageSaveData kkm_last_timestamp [01:10:42]File name is /storage/kkm_last_timestamp [01:10:42]Write 4 bytes [01:10:42]NVStorageSaveData done [01:10:42]ExternCall_PrintAddStr [01:10:42]wPrintStart [01:10:42]Write to MH i2c: 01 00 00 41 14 55 [01:10:42]Write i2c OK [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: 01 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: 01 07 00 [01:10:42]MH_I2C_Read... [01:10:42]Read from MH i2c: 01 07 00 41 14 00 00 00 00 00 FF 0F 6A [01:10:42]RasterBufferAndPrint [01:10:42]line Счет N : (1)46429 [01:10:42]line ИНН: 02508201610067 [01:10:42]line Контрольно-Кассовый Чек [01:10:42]line ПРОДАЖА [01:10:42]line ТРК (МРК, ГНК) : 33 [01:10:42]line Товар: 2710124130 [01:10:42]line Аи-92-К-5 [01:10:42]line 14.950 * 66.90 [01:10:42]line = 1000.16 [01:10:42]line НДС 12% НСП 1% [01:10:42]line > о реализуемом товаре [01:10:42]line ОКРУГЛЕНИЕ: -0.16 [01:10:42]line ИТОГО: 1000.00 [01:10:42]line Внесено: 1000.00 [01:10:42]line СДАЧА: 0.00 [01:10:42]line НСП 1% : 8.85 [01:10:42]line НДС 12% : 106.21 [01:10:42]line Наличными: 1000.00 [01:10:42]line Безнал.: 0.00 [01:10:42]line Место: АЗС № 160 "Партнер Нефть" [01:10:42]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [01:10:42]line СНО: Общий режим [01:10:42]line Чек 6 30.10.2024 01:10 [01:10:42]line Смена: 549 ФФД: 1.0 [01:10:42]line ЗНМ: 0300000093 [01:10:42]line РНМ: 0000000000091759 [01:10:42]line Версия ККМ: 001 [01:10:42]line ФМ: 0000000000871758 [01:10:42]line ФД: 68453 [01:10:42]line ФПД: 42266864306469 [01:10:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T011043&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68453&fm=42266864306469&tin=02508201610067®Number=0000000000091759&sum=100000 [01:10:42]OFD Sender: Processing packet 68453 [packets to send 28, broken 27] [01:10:42]ProducePacketName [01:10:42]name=ofd_packets/00068453 [01:10:42]OFD Sender: To server: pG, [01:10:42]CommunicateWithHost lk.salyk.kg:30040 [01:10:42]written 0, free lines is 4095 [01:10:42]ConnectInit lk.salyk.kg [01:10:42]Connected sock=8 [01:10:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 F8 6A 07 01 15 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 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 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 06 00 00 00 F4 03 04 00 93 87 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 65 0B 01 00 35 04 06 00 26 71 05 6E C9 25 90 DC D7 7E AF EB 02 6D [01:10:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 CF 07 47 00 BE AD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 65 0B 01 00 F4 03 04 00 3A 33 21 67 B6 04 01 00 00 F7 67 F2 5C 1B 77 B1 8D [01:10:43]CommunicateWithHost err = 0 [01:10:43]CheckOFDResponse [01:10:43]1017 (14) - 77093643461234 [01:10:43]1041 (16) - 0000000000871758 [01:10:43]1040 (4) - 68453 [01:10:43]1012 (4) - 29.10.2024 19:10 [01:10:43]1206 (1) - 0 [01:10:43]OFD Sender: Remove packet 68453 [01:10:43]ProducePacketName [01:10:43]name=ofd_packets/00068453 [01:10:43]NVStorageDeleteData [01:10:43]Write to MH i2c: 01 00 00 6B 14 7F [01:10:43]Write i2c OK [01:10:43]MH_I2C_Read... [01:10:43]Read from MH i2c: 01 [01:10:43]MH_I2C_Read... [01:10:43]Read from MH i2c: 01 07 00 [01:10:43]MH_I2C_Read... [01:10:43]Read from MH i2c: 01 07 00 6B 14 00 00 00 00 00 C1 0C 53 [01:10:43]RasterBufferAndPrint [01:10:43]line [01:10:43]line [01:10:43]line [01:10:43]line [01:10:43]line [01:10:43]written 0, free lines is 3272 [01:10:43]MH_Cut [01:10:43]Write to MH i2c: D1 01 00 72 14 01 58 [01:10:43]Write i2c OK [01:10:43]MH_I2C_Read... [01:10:43]Read from MH i2c: D1 [01:10:43]MH_I2C_Read... [01:10:43]Read from MH i2c: D1 01 00 [01:10:43]MH_I2C_Read... [01:10:43]Read from MH i2c: D1 01 00 72 14 00 57 [01:10:43]Write to MH i2c: 01 00 00 73 14 87 [01:10:43]Write i2c OK [01:10:43]MH_I2C_Read... [01:10:43]OFD Sender: No OFD packet to send [01:10:44]*** Cut start [01:10:44]*** Partial cut [01:10:44]*** CUTSNS_PIN = 1 [01:10:44]*** CUTSNS_PIN = 0 [01:10:44]*** Brake cut motor [01:10:44]Read from MH i2c: 01 [01:10:44]MH_I2C_Read... [01:10:44]*** Stop cut motor [01:10:44]*** Cut end [01:10:44]Read from MH i2c: 01 07 00 [01:10:44]MH_I2C_Read... [01:10:44]Read from MH i2c: 01 07 00 73 14 00 00 00 00 00 FF 0F 9C [01:10:44]process_action close_receipt done [01:10:44]requested_data is exist [01:10:44]produce_requested_data [01:10:44]requested_item fm.sn is exist - process it [01:10:44]wFMCommunicate request_size=4 [01:10:44]MH_SAM_APDU [01:10:44]CAPDU: 80 11 00 00 [01:10:44]Write to MH i2c: E2 08 00 74 14 80 11 00 00 00 00 00 00 02 [01:10:44]Write i2c OK [01:10:44]MH_I2C_Read... [01:10:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:10:44]Read from MH i2c: E2 [01:10:44]MH_I2C_Read... [01:10:44]Read from MH i2c: E2 17 00 [01:10:44]MH_I2C_Read... [01:10:44]Read from MH i2c: E2 17 00 74 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 59 [01:10:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:10:44]wFMCommunicate OK [01:10:44]requested_item fd.num is exist - process it [01:10:44]SAM_PROTO_GetFieldsCounters [01:10:44]wFMCommunicate request_size=4 [01:10:44]MH_SAM_APDU [01:10:44]CAPDU: 80 13 00 00 [01:10:44]Write to MH i2c: E2 08 00 75 14 80 13 00 00 00 00 00 00 05 [01:10:44]Write i2c OK [01:10:44]MH_I2C_Read... [01:10:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:10:44]Read from MH i2c: E2 [01:10:44]MH_I2C_Read... [01:10:44]Read from MH i2c: E2 62 00 [01:10:44]MH_I2C_Read... [01:10:44]Read from MH i2c: E2 62 00 75 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 65 0B 01 00 0E 04 04 00 25 02 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 DA [01:10:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 65 0B 01 00 0E 04 04 00 25 02 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 [01:10:44]wFMCommunicate OK [01:10:44]SAM_PROTO_GetFieldsCounters done [01:10:44]requested_item shift.num is exist - process it [01:10:44]requested_item shift.opened is exist - process it [01:10:44]req_shift_opened [01:10:44]FM_GetShiftState [01:10:44]SAM_PROTO_GetShiftState [01:10:44]wFMCommunicate request_size=4 [01:10:44]MH_SAM_APDU [01:10:44]CAPDU: 80 13 01 00 [01:10:44]Write to MH i2c: E2 08 00 76 14 80 13 01 00 00 00 00 00 07 [01:10:44]Write i2c OK [01:10:44]MH_I2C_Read... [01:10:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:10:44]Read from MH i2c: E2 [01:10:44]MH_I2C_Read... [01:10:44]Read from MH i2c: E2 0E 00 [01:10:44]MH_I2C_Read... [01:10:44]Read from MH i2c: E2 0E 00 76 14 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 FD [01:10:44]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [01:10:44]wFMCommunicate OK [01:10:44]SAM_PROTO_GetShiftState done [01:10:44]FM_GetShiftState done [01:10:44]req_shift_opened done [01:10:44]requested_item shift.open_date is exist - process it [01:10:44]req_shift_open_date [01:10:44]req_shift_open_date done [01:10:44]produce_requested_data done [01:10:44]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68453,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [01:10:44]process_action_free close_receipt [01:10:44]json_value_free [01:10:44]json_value_free done [01:10:44]process_json_proto returns [01:10:44]Send response to host [01:10:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68453,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [01:10:44]free response buf [01:10:44]execute_script done [01:10:44]execute_script returns [01:10:44]free content buf [01:10:44]Sock 9.Close socket [01:10:44]Sock 9.Thread stoped [01:10:48]OFD Sender: No OFD packet to send [01:10:53]OFD Sender: No OFD packet to send [01:10:58]OFD Sender: No OFD packet to send [01:11:03]OFD Sender: No OFD packet to send [01:11:08]OFD Sender: No OFD packet to send [01:11:13]OFD Sender: No OFD packet to send [01:11:18]OFD Sender: No OFD packet to send [01:11:23]OFD Sender: No OFD packet to send [01:11:28]OFD Sender: No OFD packet to send [01:11:33]OFD Sender: No OFD packet to send [01:11:38]OFD Sender: No OFD packet to send [01:11:43]OFD Sender: No OFD packet to send [01:11:48]OFD Sender: No OFD packet to send [01:11:53]OFD Sender: No OFD packet to send [01:11:58]OFD Sender: No OFD packet to send [01:12:03]OFD Sender: No OFD packet to send [01:12:08]OFD Sender: No OFD packet to send [01:12:12]accept exits with 10 [01:12:12]New connection [01:12:12]New thread 3066858852 created [01:12:12]Thread 3066715492 joined [01:12:12]Waiting for new connection... [01:12:12] Sock 10.Parse request [01:12:12]Sock 10.Check first char [01:12:12]Sock 10.First char is OK [01:12:12]request: POST /json_proto HTTP/1.0 [01:12:12]Method: POST [01:12:12]URL: /json_proto [01:12:12]Method is POST - this is cgi request [01:12:12]url: /json_proto [01:12:12]query_string will be loaded in cgi processing [01:12:12]execute_cgi json_proto POST (null) [01:12:12]execute_cgi path=json_proto method=POST [01:12:12]POST find Content-Length [01:12:12]Host: 172.17.42.3:8080 [01:12:12]Content-Length: 643 [01:12:12]Content-Type: application/json [01:12:12] [01:12:12]POST finish read [01:12:12]Found Content-Length = 643 [01:12:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17266", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:12:12]execute_script... [01:12:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17266", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:12:12]POST & json_proto [01:12:12]process_json_proto [01:12:12]json parsed OK: [01:12:12]protocol is kg_v1.0 [01:12:12]action value=close_receipt [01:12:12]process_action close_receipt [01:12:12]cmd_close_receipt [01:12:12]MH_GetDate [01:12:12]Write to MH i2c: F0 00 00 77 14 7A [01:12:12]Write i2c OK [01:12:12]MH_I2C_Read... [01:12:12]Read from MH i2c: F0 [01:12:12]MH_I2C_Read... [01:12:12]Read from MH i2c: F0 09 00 [01:12:12]MH_I2C_Read... [01:12:12]Read from MH i2c: F0 09 00 77 14 00 EF 87 21 67 28 A1 20 67 D1 [01:12:12]GetLastDocTimeStamp 1730250643 [01:12:12]current date 1730250735 [01:12:12]FM_GetShiftState [01:12:12]SAM_PROTO_GetShiftState [01:12:12]wFMCommunicate request_size=4 [01:12:12]MH_SAM_APDU [01:12:12]CAPDU: 80 13 01 00 [01:12:12]Write to MH i2c: E2 08 00 78 14 80 13 01 00 00 00 00 00 09 [01:12:12]Write i2c OK [01:12:12]MH_I2C_Read... [01:12:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:12:12]Read from MH i2c: E2 [01:12:12]MH_I2C_Read... [01:12:12]Read from MH i2c: E2 0E 00 [01:12:12]MH_I2C_Read... [01:12:12]Read from MH i2c: E2 0E 00 78 14 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 FF [01:12:12]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [01:12:12]wFMCommunicate OK [01:12:12]SAM_PROTO_GetShiftState done [01:12:12]FM_GetShiftState done [01:12:12]opened in 1730247400 [01:12:12]opened+sec_in_day 1730333800 [01:12:12]quantity*price = 4900 [01:12:12]sum+1 = 4901 [01:12:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 7 30.10.2024 01:12 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68454 ФПД: 187531931997254 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T011215&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68454&fm=187531931997254&tin=02508201610067®Number=0000000000091759&sum=4900 0 [01:12:13]StoreToDocumentArchive [01:12:13]shift 549 fd 68454 [01:12:13]save to /storage/0549/doc_00068454 [01:12:13]save last doc name /storage/0549/doc_00068454 to /storage/kkm_last_doc_name [01:12:13]save OK [01:12:13]Clear old archive folders... [01:12:13]ProcessDocumentItem done err = 0, tmpTLVsize=275 [01:12:13]tlvbuf is 01E8AA40 [01:12:13]SAM_PROTO_ClearQueue [01:12:13]wFMCommunicate request_size=4 [01:12:13]MH_SAM_APDU [01:12:13]CAPDU: 80 09 00 00 [01:12:13]Write to MH i2c: E2 08 00 85 14 80 09 00 00 00 00 00 00 0B [01:12:13]Write i2c OK [01:12:13]MH_I2C_Read... [01:12:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:12:14]Read from MH i2c: E2 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 03 00 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 03 00 85 14 00 90 00 0D [01:12:14]RAPDU: 90 00 [01:12:14]wFMCommunicate OK [01:12:14]SAM_PROTO_ClearQueue done [01:12:14]KKMCreateOFDPacket [01:12:14]OFDProtocolAddRootSTLVToBuf [01:12:14]FM_MakeSignedData [01:12:14]FM_MakeSignedData [01:12:14]SAM_PROTO_SignData [01:12:14]wFMCommunicate request_size=4 [01:12:14]MH_SAM_APDU [01:12:14]CAPDU: 80 0D 01 02 [01:12:14]Write to MH i2c: E2 08 00 86 14 80 0D 01 02 00 00 00 00 13 [01:12:14]Write i2c OK [01:12:14]MH_I2C_Read... [01:12:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:12:14]Read from MH i2c: E2 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 03 00 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 03 00 86 14 00 90 00 0E [01:12:14]RAPDU: 90 00 [01:12:14]wFMCommunicate OK [01:12:14]wFMCommunicate request_size=255 [01:12:14]MH_SAM_APDU [01:12:14]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 EF 87 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 [01:12:14]Write to MH i2c: E2 02 01 87 14 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 EF 87 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 00 00 C6 [01:12:14]Write i2c OK [01:12:14]MH_I2C_Read... [01:12:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:12:14]Read from MH i2c: E2 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 03 00 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 03 00 87 14 00 90 00 0F [01:12:14]RAPDU: 90 00 [01:12:14]wFMCommunicate OK [01:12:14]wFMCommunicate request_size=34 [01:12:14]MH_SAM_APDU [01:12:14]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 66 0B 01 00 35 04 06 00 AA 8F 2E 30 D4 46 [01:12:14]Write to MH i2c: E2 25 00 88 14 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 66 0B 01 00 35 04 06 00 AA 8F 2E 30 D4 46 00 00 FE [01:12:14]Write i2c OK [01:12:14]MH_I2C_Read... [01:12:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:12:14]Read from MH i2c: E2 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 03 00 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 03 00 88 14 00 90 00 10 [01:12:14]RAPDU: 90 00 [01:12:14]wFMCommunicate OK [01:12:14]wFMCommunicate request_size=4 [01:12:14]MH_SAM_APDU [01:12:14]CAPDU: 80 0D 03 02 [01:12:14]Write to MH i2c: E2 08 00 89 14 80 0D 03 02 00 00 00 00 18 [01:12:14]Write i2c OK [01:12:14]MH_I2C_Read... [01:12:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:12:14]Read from MH i2c: E2 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 0B 00 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 0B 00 89 14 00 09 EA 9E 09 D2 24 E2 DC 90 00 67 [01:12:14]RAPDU: 09 EA 9E 09 D2 24 E2 DC 90 00 [01:12:14]wFMCommunicate OK [01:12:14]SAM_PROTO_SignData done [01:12:14]FM_MakeSignedData done [01:12:14]CreateOFDProtocolMessage [01:12:14]wFMCommunicate request_size=4 [01:12:14]MH_SAM_APDU [01:12:14]CAPDU: 80 11 00 00 [01:12:14]Write to MH i2c: E2 08 00 8A 14 80 11 00 00 00 00 00 00 18 [01:12:14]Write i2c OK [01:12:14]MH_I2C_Read... [01:12:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:12:14]Read from MH i2c: E2 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 17 00 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: E2 17 00 8A 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 6F [01:12:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:12:14]wFMCommunicate OK [01:12:14]CreateOFDProtocolMessage done [01:12:14]OFDSenderStorePacket 68454 [01:12:14]StoreOFDPacket docnum=68454 [01:12:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 27 01 00 00 15 14 1F 01 8E B8 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 EF 87 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 66 0B 01 00 35 04 06 00 AA 8F 2E 30 D4 46 09 EA 9E 09 D2 24 E2 DC [01:12:14]CheckFolder [01:12:14]dirname=/storage/ofd_packets [01:12:14]CheckFolder done [01:12:14]ProducePacketName [01:12:14]name=ofd_packets/00068454 [01:12:14]NVStorageSaveData ofd_packets/00068454 [01:12:14]File name is /storage/ofd_packets/00068454 [01:12:14]Write 325 bytes [01:12:14]NVStorageSaveData done [01:12:14]OFDSenderStorePacket done [01:12:14]KKMCreateOFDPacket done [01:12:14]NVStorageSaveData kkm_last_timestamp [01:12:14]File name is /storage/kkm_last_timestamp [01:12:14]Write 4 bytes [01:12:14]NVStorageSaveData done [01:12:14]ExternCall_PrintAddStr [01:12:14]wPrintStart [01:12:14]Write to MH i2c: 01 00 00 8B 14 9F [01:12:14]Write i2c OK [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: 01 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: 01 07 00 [01:12:14]MH_I2C_Read... [01:12:14]Read from MH i2c: 01 07 00 8B 14 00 00 00 00 00 FF 0F B4 [01:12:14]RasterBufferAndPrint [01:12:14]line Счет N : (3)17266 [01:12:14]line ИНН: 02508201610067 [01:12:14]line Контрольно-Кассовый Чек [01:12:14]line ПРОДАЖА [01:12:14]line Товар: 4700000310326 [01:12:14]line Вода Адыгене 1л б/г [01:12:14]line 1.000 * 49.00 [01:12:14]line = 49.00 [01:12:14]line НДС 12% НСП 1% [01:12:14]line > о реализуемом товаре [01:12:14]line ИТОГО: 49.00 [01:12:14]line НСП 1% : 0.43 [01:12:14]line НДС 12% : 5.20 [01:12:14]line Наличными: 49.00 [01:12:14]line Безнал.: 0.00 [01:12:14]line Место: АЗС № 160 "Партнер Нефть" [01:12:14]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [01:12:14]line СНО: Общий режим [01:12:14]line Чек 7 30.10.2024 01:12 [01:12:14]line Смена: 549 ФФД: 1.0 [01:12:14]line ЗНМ: 0300000093 [01:12:14]line РНМ: 0000000000091759 [01:12:14]line Версия ККМ: 001 [01:12:14]line ФМ: 0000000000871758 [01:12:14]line ФД: 68454 [01:12:14]line ФПД: 187531931997254 [01:12:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T011215&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68454&fm=187531931997254&tin=02508201610067®Number=0000000000091759&sum=4900 [01:12:14]OFD Sender: Processing packet 68454 [packets to send 28, broken 27] [01:12:14]ProducePacketName [01:12:14]name=ofd_packets/00068454 [01:12:14]OFD Sender: To server: pG, [01:12:14]CommunicateWithHost lk.salyk.kg:30040 [01:12:14]ConnectInit lk.salyk.kg [01:12:14]line 0 [01:12:14]written 0, free lines is 4095 [01:12:14]Connected sock=9 [01:12:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 27 01 00 00 15 14 1F 01 8E B8 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 EF 87 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 66 0B 01 00 35 04 06 00 AA 8F 2E 30 D4 46 09 EA 9E 09 D2 24 E2 DC [01:12:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 97 AC 47 00 EE F6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 66 0B 01 00 F4 03 04 00 96 33 21 67 B6 04 01 00 00 5C 65 2A 3D 39 EE 88 AC [01:12:15]CommunicateWithHost err = 0 [01:12:15]CheckOFDResponse [01:12:15]1017 (14) - 77093643461234 [01:12:15]1041 (16) - 0000000000871758 [01:12:15]1040 (4) - 68454 [01:12:15]1012 (4) - 29.10.2024 19:12 [01:12:15]1206 (1) - 0 [01:12:15]OFD Sender: Remove packet 68454 [01:12:15]ProducePacketName [01:12:15]name=ofd_packets/00068454 [01:12:15]NVStorageDeleteData [01:12:15]Write to MH i2c: 01 00 00 B2 14 C6 [01:12:15]Write i2c OK [01:12:15]MH_I2C_Read... [01:12:15]Read from MH i2c: 01 [01:12:15]MH_I2C_Read... [01:12:15]Read from MH i2c: 01 07 00 [01:12:15]MH_I2C_Read... [01:12:15]Read from MH i2c: 01 07 00 B2 14 00 00 00 00 00 D7 0C B0 [01:12:15]RasterBufferAndPrint [01:12:15]line [01:12:15]line [01:12:15]line [01:12:15]line [01:12:15]line [01:12:15]written 0, free lines is 3292 [01:12:15]MH_Cut [01:12:15]Write to MH i2c: D1 01 00 B9 14 01 9F [01:12:15]Write i2c OK [01:12:15]MH_I2C_Read... [01:12:15]Read from MH i2c: D1 [01:12:15]MH_I2C_Read... [01:12:15]Read from MH i2c: D1 01 00 [01:12:15]MH_I2C_Read... [01:12:15]Read from MH i2c: D1 01 00 B9 14 00 9E [01:12:15]Write to MH i2c: 01 00 00 BA 14 CE [01:12:15]Write i2c OK [01:12:15]MH_I2C_Read... [01:12:15]OFD Sender: No OFD packet to send [01:12:16]*** Cut start [01:12:16]*** Partial cut [01:12:16]*** CUTSNS_PIN = 1 [01:12:16]*** CUTSNS_PIN = 0 [01:12:16]*** Brake cut motor [01:12:16]Read from MH i2c: 01 [01:12:16]MH_I2C_Read... [01:12:16]*** Stop cut motor [01:12:16]*** Cut end [01:12:16]Read from MH i2c: 01 07 00 [01:12:16]MH_I2C_Read... [01:12:16]Read from MH i2c: 01 07 00 BA 14 00 00 00 00 00 FF 0F E3 [01:12:16]process_action close_receipt done [01:12:16]requested_data is exist [01:12:16]produce_requested_data [01:12:16]requested_item fm.sn is exist - process it [01:12:16]wFMCommunicate request_size=4 [01:12:16]MH_SAM_APDU [01:12:16]CAPDU: 80 11 00 00 [01:12:16]Write to MH i2c: E2 08 00 BB 14 80 11 00 00 00 00 00 00 49 [01:12:16]Write i2c OK [01:12:16]MH_I2C_Read... [01:12:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:12:16]Read from MH i2c: E2 [01:12:16]MH_I2C_Read... [01:12:16]Read from MH i2c: E2 17 00 [01:12:16]MH_I2C_Read... [01:12:16]Read from MH i2c: E2 17 00 BB 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 A0 [01:12:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:12:16]wFMCommunicate OK [01:12:16]requested_item fd.num is exist - process it [01:12:16]SAM_PROTO_GetFieldsCounters [01:12:16]wFMCommunicate request_size=4 [01:12:16]MH_SAM_APDU [01:12:16]CAPDU: 80 13 00 00 [01:12:16]Write to MH i2c: E2 08 00 BC 14 80 13 00 00 00 00 00 00 4C [01:12:16]Write i2c OK [01:12:16]MH_I2C_Read... [01:12:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:12:16]Read from MH i2c: E2 [01:12:16]MH_I2C_Read... [01:12:16]Read from MH i2c: E2 62 00 [01:12:16]MH_I2C_Read... [01:12:16]Read from MH i2c: E2 62 00 BC 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 66 0B 01 00 0E 04 04 00 25 02 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 25 [01:12:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 66 0B 01 00 0E 04 04 00 25 02 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:12:16]wFMCommunicate OK [01:12:16]SAM_PROTO_GetFieldsCounters done [01:12:16]requested_item shift.num is exist - process it [01:12:16]requested_item shift.opened is exist - process it [01:12:16]req_shift_opened [01:12:16]FM_GetShiftState [01:12:16]SAM_PROTO_GetShiftState [01:12:16]wFMCommunicate request_size=4 [01:12:16]MH_SAM_APDU [01:12:16]CAPDU: 80 13 01 00 [01:12:16]Write to MH i2c: E2 08 00 BD 14 80 13 01 00 00 00 00 00 4E [01:12:16]Write i2c OK [01:12:16]MH_I2C_Read... [01:12:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:12:16]Read from MH i2c: E2 [01:12:16]MH_I2C_Read... [01:12:16]Read from MH i2c: E2 0E 00 [01:12:16]MH_I2C_Read... [01:12:16]Read from MH i2c: E2 0E 00 BD 14 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 44 [01:12:16]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [01:12:16]wFMCommunicate OK [01:12:16]SAM_PROTO_GetShiftState done [01:12:16]FM_GetShiftState done [01:12:16]req_shift_opened done [01:12:16]requested_item shift.open_date is exist - process it [01:12:16]req_shift_open_date [01:12:16]req_shift_open_date done [01:12:16]produce_requested_data done [01:12:16]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68454,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [01:12:16]process_action_free close_receipt [01:12:16]json_value_free [01:12:16]json_value_free done [01:12:16]process_json_proto returns [01:12:16]Send response to host [01:12:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68454,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [01:12:16]free response buf [01:12:16]execute_script done [01:12:16]execute_script returns [01:12:16]free content buf [01:12:16]Sock 10.Close socket [01:12:16]Sock 10.Thread stoped [01:12:20]OFD Sender: No OFD packet to send [01:12:22]int [01:12:22]Write to MH i2c: 01 00 00 BE 14 D2 [01:12:22]*** FLAG_PRN_KEY set [01:12:22]Write i2c OK [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: 01 [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: 01 07 00 [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: 01 07 00 BE 14 00 08 00 00 00 FF 0F EF [01:12:22]state=0 [01:12:22]Key pressed [01:12:22]Feed [01:12:22]Write to MH i2c: D8 00 00 BF 14 AA [01:12:22]Write i2c OK [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: D8 [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: D8 01 00 [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: D8 01 00 BF 14 00 AB [01:12:22]int [01:12:22]Write to MH i2c: 01 00 00 C0 14 D4 [01:12:22]Write i2c OK [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: 01 [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: 01 07 00 [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: 01 07 00 C0 14 00 48 00 00 00 3C 00 5F [01:12:22]state=2 [01:12:22]Key pressed [01:12:22]int [01:12:22]Write to MH i2c: 01 00 00 C1 14 D5 [01:12:22]*** FLAG_PRN_KEY reset [01:12:22]Write i2c OK [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: 01 [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: 01 07 00 [01:12:22]MH_I2C_Read... [01:12:22]Read from MH i2c: 01 07 00 C1 14 00 00 00 00 00 F9 0F E4 [01:12:22]state=2 [01:12:22]Stop feed [01:12:25]OFD Sender: No OFD packet to send [01:12:30]OFD Sender: No OFD packet to send [01:12:34]accept exits with 8 [01:12:34]New connection [01:12:34]New thread 3066715492 created [01:12:34]Thread 3066858852 joined [01:12:34]Waiting for new connection... [01:12:34] Sock 8.Parse request [01:12:34]Sock 8.Check first char [01:12:34]Sock 8.First char is OK [01:12:34]request: POST /json_proto HTTP/1.0 [01:12:34]Method: POST [01:12:34]URL: /json_proto [01:12:34]Method is POST - this is cgi request [01:12:34]url: /json_proto [01:12:34]query_string will be loaded in cgi processing [01:12:34]execute_cgi json_proto POST (null) [01:12:34]execute_cgi path=json_proto method=POST [01:12:34]POST find Content-Length [01:12:34]Host: 172.17.42.3:8080 [01:12:34]Content-Length: 983 [01:12:34]Content-Type: application/json [01:12:34] [01:12:34]POST finish read [01:12:34]Found Content-Length = 983 [01:12:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46430", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 22.770, "sum" : 1500.54, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.77 \u0441\u043E\u043C", "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" ] } } [01:12:34]execute_script... [01:12: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)46430", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 22.770, "sum" : 1500.54, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.77 \u0441\u043E\u043C", "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" ] } } [01:12:34]POST & json_proto [01:12:34]process_json_proto [01:12:34]json parsed OK: [01:12:34]protocol is kg_v1.0 [01:12:34]action value=close_receipt [01:12:34]process_action close_receipt [01:12:34]cmd_close_receipt [01:12:34]MH_GetDate [01:12:34]Write to MH i2c: F0 00 00 C2 14 C5 [01:12:34]Write i2c OK [01:12:34]MH_I2C_Read... [01:12:34]Read from MH i2c: F0 [01:12:34]MH_I2C_Read... [01:12:34]Read from MH i2c: F0 09 00 [01:12:34]MH_I2C_Read... [01:12:34]Read from MH i2c: F0 09 00 C2 14 00 05 88 21 67 28 A1 20 67 33 [01:12:34]GetLastDocTimeStamp 1730250735 [01:12:34]current date 1730250757 [01:12:34]FM_GetShiftState [01:12:34]SAM_PROTO_GetShiftState [01:12:34]wFMCommunicate request_size=4 [01:12:34]MH_SAM_APDU [01:12:34]CAPDU: 80 13 01 00 [01:12:34]Write to MH i2c: E2 08 00 C3 14 80 13 01 00 00 00 00 00 54 [01:12:34]Write i2c OK [01:12:34]MH_I2C_Read... [01:12:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:12:34]Read from MH i2c: E2 [01:12:34]MH_I2C_Read... [01:12:34]Read from MH i2c: E2 0E 00 [01:12:34]MH_I2C_Read... [01:12:34]Read from MH i2c: E2 0E 00 C3 14 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 4A [01:12:34]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [01:12:34]wFMCommunicate OK [01:12:34]SAM_PROTO_GetShiftState done [01:12:34]FM_GetShiftState done [01:12:34]opened in 1730247400 [01:12:34]opened+sec_in_day 1730333800 [01:12:34]quantity*price = 150054 [01:12:34]sum+1 = 150055 [01:12:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.54 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.35 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 8 30.10.2024 01:12 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Дисконтная программа АИ-92 номер 160 сэкономлено 22.77 сом ФМ: 0000000000871758 ФД: 68455 ФПД: 244911847435041 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T011237&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68455&fm=244911847435041&tin=02508201610067®Number=0000000000091759&sum=150000 [01:12:35]StoreToDocumentArchive [01:12:35]shift 549 fd 68455 [01:12:35]save to /storage/0549/doc_00068455 [01:12:35]save last doc name /storage/0549/doc_00068455 to /storage/kkm_last_doc_name [01:12:35]save OK [01:12:35]Clear old archive folders... [01:12:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:12:35]tlvbuf is B6EAA0E0 [01:12:35]SAM_PROTO_ClearQueue [01:12:35]wFMCommunicate request_size=4 [01:12:35]MH_SAM_APDU [01:12:35]CAPDU: 80 09 00 00 [01:12:35]Write to MH i2c: E2 08 00 D0 14 80 09 00 00 00 00 00 00 56 [01:12:35]Write i2c OK [01:12:35]MH_I2C_Read... [01:12:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:12:35]Read from MH i2c: E2 [01:12:35]MH_I2C_Read... [01:12:35]Read from MH i2c: E2 03 00 [01:12:35]MH_I2C_Read... [01:12:35]Read from MH i2c: E2 03 00 D0 14 00 90 00 58 [01:12:35]RAPDU: 90 00 [01:12:35]wFMCommunicate OK [01:12:35]SAM_PROTO_ClearQueue done [01:12:35]KKMCreateOFDPacket [01:12:35]OFDProtocolAddRootSTLVToBuf [01:12:35]FM_MakeSignedData [01:12:35]FM_MakeSignedData [01:12:35]SAM_PROTO_SignData [01:12:35]wFMCommunicate request_size=4 [01:12:35]MH_SAM_APDU [01:12:35]CAPDU: 80 0D 01 02 [01:12:35]Write to MH i2c: E2 08 00 D1 14 80 0D 01 02 00 00 00 00 5E [01:12:35]Write i2c OK [01:12:35]MH_I2C_Read... [01:12:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:12:35]Read from MH i2c: E2 [01:12:35]MH_I2C_Read... [01:12:35]Read from MH i2c: E2 03 00 [01:12:35]MH_I2C_Read... [01:12:35]Read from MH i2c: E2 03 00 D1 14 00 90 00 59 [01:12:35]RAPDU: 90 00 [01:12:35]wFMCommunicate OK [01:12:35]wFMCommunicate request_size=255 [01:12:35]MH_SAM_APDU [01:12:35]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 08 00 00 00 F4 03 04 00 05 88 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 67 0B 01 00 35 04 06 00 DE [01:12:35]Write to MH i2c: E2 02 01 D2 14 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 08 00 00 00 F4 03 04 00 05 88 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 67 0B 01 00 35 04 06 00 DE 00 00 C2 [01:12:35]Write i2c OK [01:12:35]MH_I2C_Read... [01:12:35]OFD Sender: No OFD packet to send [01:12:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:12:35]Read from MH i2c: E2 [01:12:35]MH_I2C_Read... [01:12:35]Read from MH i2c: E2 03 00 [01:12:35]MH_I2C_Read... [01:12:35]Read from MH i2c: E2 03 00 D2 14 00 90 00 5A [01:12:35]RAPDU: 90 00 [01:12:35]wFMCommunicate OK [01:12:35]wFMCommunicate request_size=10 [01:12:35]MH_SAM_APDU [01:12:35]CAPDU: 80 0D 02 02 05 BE FB AA EB 21 [01:12:35]Write to MH i2c: E2 0D 00 D3 14 80 0D 02 02 05 00 BE FB AA EB 21 00 00 DA [01:12:35]Write i2c OK [01:12:35]MH_I2C_Read... [01:12:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:12:35]Read from MH i2c: E2 [01:12:35]MH_I2C_Read... [01:12:35]Read from MH i2c: E2 03 00 [01:12:35]MH_I2C_Read... [01:12:35]Read from MH i2c: E2 03 00 D3 14 00 90 00 5B [01:12:35]RAPDU: 90 00 [01:12:35]wFMCommunicate OK [01:12:35]wFMCommunicate request_size=4 [01:12:35]MH_SAM_APDU [01:12:35]CAPDU: 80 0D 03 02 [01:12:35]Write to MH i2c: E2 08 00 D4 14 80 0D 03 02 00 00 00 00 63 [01:12:35]Write i2c OK [01:12:35]MH_I2C_Read... [01:12:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:12:36]Read from MH i2c: E2 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: E2 0B 00 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: E2 0B 00 D4 14 00 77 A6 C6 50 AB A2 B0 FE 90 00 92 [01:12:36]RAPDU: 77 A6 C6 50 AB A2 B0 FE 90 00 [01:12:36]wFMCommunicate OK [01:12:36]SAM_PROTO_SignData done [01:12:36]FM_MakeSignedData done [01:12:36]CreateOFDProtocolMessage [01:12:36]wFMCommunicate request_size=4 [01:12:36]MH_SAM_APDU [01:12:36]CAPDU: 80 11 00 00 [01:12:36]Write to MH i2c: E2 08 00 D5 14 80 11 00 00 00 00 00 00 63 [01:12:36]Write i2c OK [01:12:36]MH_I2C_Read... [01:12:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:12:36]Read from MH i2c: E2 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: E2 17 00 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: E2 17 00 D5 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 BA [01:12:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:12:36]wFMCommunicate OK [01:12:36]CreateOFDProtocolMessage done [01:12:36]OFDSenderStorePacket 68455 [01:12:36]StoreOFDPacket docnum=68455 [01:12:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 0A 76 07 01 4D 9A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 08 00 00 00 F4 03 04 00 05 88 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 67 0B 01 00 35 04 06 00 DE BE FB AA EB 21 77 A6 C6 50 AB A2 B0 FE [01:12:36]CheckFolder [01:12:36]dirname=/storage/ofd_packets [01:12:36]CheckFolder done [01:12:36]ProducePacketName [01:12:36]name=ofd_packets/00068455 [01:12:36]NVStorageSaveData ofd_packets/00068455 [01:12:36]File name is /storage/ofd_packets/00068455 [01:12:36]Write 301 bytes [01:12:36]NVStorageSaveData done [01:12:36]OFDSenderStorePacket done [01:12:36]KKMCreateOFDPacket done [01:12:36]NVStorageSaveData kkm_last_timestamp [01:12:36]File name is /storage/kkm_last_timestamp [01:12:36]Write 4 bytes [01:12:36]NVStorageSaveData done [01:12:36]ExternCall_PrintAddStr [01:12:36]wPrintStart [01:12:36]Write to MH i2c: 01 00 00 D6 14 EA [01:12:36]Write i2c OK [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: 01 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: 01 07 00 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: 01 07 00 D6 14 00 00 00 00 00 FF 0F FF [01:12:36]RasterBufferAndPrint [01:12:36]line Счет N : (1)46430 [01:12:36]line ИНН: 02508201610067 [01:12:36]line Контрольно-Кассовый Чек [01:12:36]line ПРОДАЖА [01:12:36]line ТРК (МРК, ГНК) : 23 [01:12:36]line Товар: 2710124130 [01:12:36]line Аи-92-К-5 [01:12:36]line 22.770 * 65.90 [01:12:36]line = 1500.54 [01:12:36]line НДС 12% НСП 1% [01:12:36]line > о реализуемом товаре [01:12:36]line ОКРУГЛЕНИЕ: -0.54 [01:12:36]line ИТОГО: 1500.00 [01:12:36]line Внесено: 1500.00 [01:12:36]line СДАЧА: 0.00 [01:12:36]line НСП 1% : 13.28 [01:12:36]line НДС 12% : 159.35 [01:12:36]line Наличными: 1500.00 [01:12:36]line Безнал.: 0.00 [01:12:36]line Место: АЗС № 160 "Партнер Нефть" [01:12:36]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [01:12:36]line СНО: Общий режим [01:12:36]line Чек 8 30.10.2024 01:12 [01:12:36]line Смена: 549 ФФД: 1.0 [01:12:36]line ЗНМ: 0300000093 [01:12:36]line РНМ: 0000000000091759 [01:12:36]line Версия ККМ: 001 [01:12:36]line [01:12:36]line Дисконтная программа [01:12:36]line АИ-92 [01:12:36]line номер 160 [01:12:36]line сэкономлено 22.77 сом [01:12:36]line ФМ: 0000000000871758 [01:12:36]line ФД: 68455 [01:12:36]line ФПД: 244911847435041 [01:12:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T011237&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68455&fm=244911847435041&tin=02508201610067®Number=0000000000091759&sum=150000 [01:12:36]OFD Sender: Processing packet 68455 [packets to send 28, broken 27] [01:12:36]ProducePacketName [01:12:36]name=ofd_packets/00068455 [01:12:36]OFD Sender: To server: pG, [01:12:36]CommunicateWithHost lk.salyk.kg:30040 [01:12:36]ConnectInit lk.salyk.kg [01:12:36]written 0, free lines is 4095 [01:12:36]Connected sock=11 [01:12:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 0A 76 07 01 4D 9A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 58 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 26 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 08 00 00 00 F4 03 04 00 05 88 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 67 0B 01 00 35 04 06 00 DE BE FB AA EB 21 77 A6 C6 50 AB A2 B0 FE [01:12:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D1 D3 47 00 82 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 67 0B 01 00 F4 03 04 00 AB 33 21 67 B6 04 01 00 00 7F C6 8B A6 96 B7 F6 5E [01:12:36]CommunicateWithHost err = 0 [01:12:36]CheckOFDResponse [01:12:36]1017 (14) - 77093643461234 [01:12:36]1041 (16) - 0000000000871758 [01:12:36]1040 (4) - 68455 [01:12:36]1012 (4) - 29.10.2024 19:12 [01:12:36]1206 (1) - 0 [01:12:36]OFD Sender: Remove packet 68455 [01:12:36]ProducePacketName [01:12:36]name=ofd_packets/00068455 [01:12:36]NVStorageDeleteData [01:12:36]Write to MH i2c: 01 00 00 05 15 1A [01:12:36]Write i2c OK [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: 01 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: 01 07 00 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: 01 07 00 05 15 00 00 00 00 00 64 0C 91 [01:12:36]RasterBufferAndPrint [01:12:36]line [01:12:36]line [01:12:36]line [01:12:36]line [01:12:36]line [01:12:36]written 0, free lines is 3176 [01:12:36]MH_Cut [01:12:36]Write to MH i2c: D1 01 00 0C 15 01 F3 [01:12:36]Write i2c OK [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: D1 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: D1 01 00 [01:12:36]MH_I2C_Read... [01:12:36]Read from MH i2c: D1 01 00 0C 15 00 F2 [01:12:36]Write to MH i2c: 01 00 00 0D 15 22 [01:12:36]Write i2c OK [01:12:36]MH_I2C_Read... [01:12:37]OFD Sender: No OFD packet to send [01:12:37]*** Cut start [01:12:37]*** Partial cut [01:12:37]*** CUTSNS_PIN = 1 [01:12:37]*** CUTSNS_PIN = 0 [01:12:38]*** Brake cut motor [01:12:38]Read from MH i2c: 01 [01:12:38]MH_I2C_Read... [01:12:38]*** Stop cut motor [01:12:38]*** Cut end [01:12:38]Read from MH i2c: 01 07 00 [01:12:38]MH_I2C_Read... [01:12:38]Read from MH i2c: 01 07 00 0D 15 00 00 00 00 00 FF 0F 37 [01:12:38]process_action close_receipt done [01:12:38]requested_data is exist [01:12:38]produce_requested_data [01:12:38]requested_item fm.sn is exist - process it [01:12:38]wFMCommunicate request_size=4 [01:12:38]MH_SAM_APDU [01:12:38]CAPDU: 80 11 00 00 [01:12:38]Write to MH i2c: E2 08 00 0E 15 80 11 00 00 00 00 00 00 9D [01:12:38]Write i2c OK [01:12:38]MH_I2C_Read... [01:12:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:12:38]Read from MH i2c: E2 [01:12:38]MH_I2C_Read... [01:12:38]Read from MH i2c: E2 17 00 [01:12:38]MH_I2C_Read... [01:12:38]Read from MH i2c: E2 17 00 0E 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F4 [01:12:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:12:38]wFMCommunicate OK [01:12:38]requested_item fd.num is exist - process it [01:12:38]SAM_PROTO_GetFieldsCounters [01:12:38]wFMCommunicate request_size=4 [01:12:38]MH_SAM_APDU [01:12:38]CAPDU: 80 13 00 00 [01:12:38]Write to MH i2c: E2 08 00 0F 15 80 13 00 00 00 00 00 00 A0 [01:12:38]Write i2c OK [01:12:38]MH_I2C_Read... [01:12:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:12:38]Read from MH i2c: E2 [01:12:38]MH_I2C_Read... [01:12:38]Read from MH i2c: E2 62 00 [01:12:38]MH_I2C_Read... [01:12:38]Read from MH i2c: E2 62 00 0F 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 67 0B 01 00 0E 04 04 00 25 02 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 7D [01:12:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 67 0B 01 00 0E 04 04 00 25 02 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:12:38]wFMCommunicate OK [01:12:38]SAM_PROTO_GetFieldsCounters done [01:12:38]requested_item shift.num is exist - process it [01:12:38]requested_item shift.opened is exist - process it [01:12:38]req_shift_opened [01:12:38]FM_GetShiftState [01:12:38]SAM_PROTO_GetShiftState [01:12:38]wFMCommunicate request_size=4 [01:12:38]MH_SAM_APDU [01:12:38]CAPDU: 80 13 01 00 [01:12:38]Write to MH i2c: E2 08 00 10 15 80 13 01 00 00 00 00 00 A2 [01:12:38]Write i2c OK [01:12:38]MH_I2C_Read... [01:12:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:12:38]Read from MH i2c: E2 [01:12:38]MH_I2C_Read... [01:12:38]Read from MH i2c: E2 0E 00 [01:12:38]MH_I2C_Read... [01:12:38]Read from MH i2c: E2 0E 00 10 15 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 98 [01:12:38]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [01:12:38]wFMCommunicate OK [01:12:38]SAM_PROTO_GetShiftState done [01:12:38]FM_GetShiftState done [01:12:38]req_shift_opened done [01:12:38]requested_item shift.open_date is exist - process it [01:12:38]req_shift_open_date [01:12:38]req_shift_open_date done [01:12:38]produce_requested_data done [01:12:38]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68455,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [01:12:38]process_action_free close_receipt [01:12:38]json_value_free [01:12:38]json_value_free done [01:12:38]process_json_proto returns [01:12:38]Send response to host [01:12:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68455,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [01:12:38]free response buf [01:12:38]execute_script done [01:12:38]execute_script returns [01:12:38]free content buf [01:12:38]Sock 8.Close socket [01:12:38]Sock 8.Thread stoped [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:07]OFD Sender: No OFD packet to send [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:27]OFD Sender: No OFD packet to send [01:15:32]OFD Sender: No OFD packet to send [01:15:37]OFD Sender: No OFD packet to send [01:15:42]OFD Sender: No OFD packet to send [01:15:47]OFD Sender: No OFD packet to send [01:15:52]OFD Sender: No OFD packet to send [01:15:57]OFD Sender: No OFD packet to send [01:16:02]OFD Sender: No OFD packet to send [01:16:07]OFD Sender: No OFD packet to send [01:16:12]OFD Sender: No OFD packet to send [01:16:17]OFD Sender: No OFD packet to send [01:16:22]OFD Sender: No OFD packet to send [01:16:27]OFD Sender: No OFD packet to send [01:16:32]OFD Sender: No OFD packet to send [01:16:37]OFD Sender: No OFD packet to send [01:16:42]OFD Sender: No OFD packet to send [01:16:47]OFD Sender: No OFD packet to send [01:16:52]OFD Sender: No OFD packet to send [01:16:57]OFD Sender: No OFD packet to send [01:17:02]OFD Sender: No OFD packet to send [01:17:07]OFD Sender: No OFD packet to send [01:17:12]OFD Sender: No OFD packet to send [01:17:17]OFD Sender: No OFD packet to send [01:17:22]OFD Sender: No OFD packet to send [01:17:27]OFD Sender: No OFD packet to send [01:17:32]OFD Sender: No OFD packet to send [01:17:37]OFD Sender: No OFD packet to send [01:17:42]OFD Sender: No OFD packet to send [01:17:47]OFD Sender: No OFD packet to send [01:17:52]OFD Sender: No OFD packet to send [01:17:57]OFD Sender: No OFD packet to send [01:18:02]OFD Sender: No OFD packet to send [01:18:07]OFD Sender: No OFD packet to send [01:18:12]OFD Sender: No OFD packet to send [01:18:17]OFD Sender: No OFD packet to send [01:18:22]OFD Sender: No OFD packet to send [01:18:27]OFD Sender: No OFD packet to send [01:18:32]OFD Sender: No OFD packet to send [01:18:37]OFD Sender: No OFD packet to send [01:18:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:12]OFD Sender: No OFD packet to send [01:19:17]OFD Sender: No OFD packet to send [01:19:22]OFD Sender: No OFD packet to send [01:19:27]OFD Sender: No OFD packet to send [01:19:32]OFD Sender: No OFD packet to send [01:19:37]OFD Sender: No OFD packet to send [01:19:42]OFD Sender: No OFD packet to send [01:19:47]OFD Sender: No OFD packet to send [01:19:52]OFD Sender: No OFD packet to send [01:19:57]OFD Sender: No OFD packet to send [01:20:02]OFD Sender: No OFD packet to send [01:20:07]OFD Sender: No OFD packet to send [01:20:12]OFD Sender: No OFD packet to send [01:20:17]OFD Sender: No OFD packet to send [01:20:22]OFD Sender: No OFD packet to send [01:20:27]OFD Sender: No OFD packet to send [01:20:32]OFD Sender: No OFD packet to send [01:20:37]OFD Sender: No OFD packet to send [01:20:42]OFD Sender: No OFD packet to send [01:20:47]OFD Sender: No OFD packet to send [01:20:52]OFD Sender: No OFD packet to send [01:20:57]OFD Sender: No OFD packet to send [01:21:02]OFD Sender: No OFD packet to send [01:21:07]OFD Sender: No OFD packet to send [01:21:12]OFD Sender: No OFD packet to send [01:21:17]OFD Sender: No OFD packet to send [01:21:22]OFD Sender: No OFD packet to send [01:21:27]OFD Sender: No OFD packet to send [01:21:32]OFD Sender: No OFD packet to send [01:21:37]OFD Sender: No OFD packet to send [01:21:42]OFD Sender: No OFD packet to send [01:21:47]OFD Sender: No OFD packet to send [01:21:52]OFD Sender: No OFD packet to send [01:21:57]OFD Sender: No OFD packet to send [01:22:02]OFD Sender: No OFD packet to send [01:22:07]OFD Sender: No OFD packet to send [01:22:12]OFD Sender: No OFD packet to send [01:22:17]OFD Sender: No OFD packet to send [01:22:22]OFD Sender: No OFD packet to send [01:22:27]OFD Sender: No OFD packet to send [01:22:32]OFD Sender: No OFD packet to send [01:22:37]OFD Sender: No OFD packet to send [01:22:42]OFD Sender: No OFD packet to send [01:22:47]OFD Sender: No OFD packet to send [01:22:52]OFD Sender: No OFD packet to send [01:22:57]OFD Sender: No OFD packet to send [01:23:02]OFD Sender: No OFD packet to send [01:23:07]OFD Sender: No OFD packet to send [01:23:12]OFD Sender: No OFD packet to send [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:47]OFD Sender: No OFD packet to send [01:23:52]OFD Sender: No OFD packet to send [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]OFD Sender: No OFD packet to send [01:25:52]OFD Sender: No OFD packet to send [01:25:57]OFD Sender: No OFD packet to send [01:26:02]OFD Sender: No OFD packet to send [01:26:07]OFD Sender: No OFD packet to send [01:26:12]OFD Sender: No OFD packet to send [01:26:17]OFD Sender: No OFD packet to send [01:26:22]OFD Sender: No OFD packet to send [01:26:27]OFD Sender: No OFD packet to send [01:26:32]OFD Sender: No OFD packet to send [01:26:37]OFD Sender: No OFD packet to send [01:26:42]OFD Sender: No OFD packet to send [01:26:47]OFD Sender: No OFD packet to send [01:26:52]OFD Sender: No OFD packet to send [01:26:57]OFD Sender: No OFD packet to send [01:27:02]OFD Sender: No OFD packet to send [01:27:07]OFD Sender: No OFD packet to send [01:27:12]OFD Sender: No OFD packet to send [01:27:17]OFD Sender: No OFD packet to send [01:27:22]OFD Sender: No OFD packet to send [01:27:28]OFD Sender: No OFD packet to send [01:27:33]OFD Sender: No OFD packet to send [01:27:38]OFD Sender: No OFD packet to send [01:27:43]OFD Sender: No OFD packet to send [01:27:48]OFD Sender: No OFD packet to send [01:27:53]OFD Sender: No OFD packet to send [01:27:58]OFD Sender: No OFD packet to send [01:28:03]OFD Sender: No OFD packet to send [01:28:08]OFD Sender: No OFD packet to send [01:28:13]OFD Sender: No OFD packet to send [01:28:18]OFD Sender: No OFD packet to send [01:28:23]OFD Sender: No OFD packet to send [01:28:28]OFD Sender: No OFD packet to send [01:28:33]OFD Sender: No OFD packet to send [01:28:38]OFD Sender: No OFD packet to send [01:28:43]OFD Sender: No OFD packet to send [01:28:48]OFD Sender: No OFD packet to send [01:28:53]OFD Sender: No OFD packet to send [01:28:58]OFD Sender: No OFD packet to send [01:29:03]OFD Sender: No OFD packet to send [01:29:08]OFD Sender: No OFD packet to send [01:29:13]OFD Sender: No OFD packet to send [01:29:18]OFD Sender: No OFD packet to send [01:29:23]OFD Sender: No OFD packet to send [01:29:28]OFD Sender: No OFD packet to send [01:29:33]OFD Sender: No OFD packet to send [01:29:38]OFD Sender: No OFD packet to send [01:29:43]OFD Sender: No OFD packet to send [01:29:48]OFD Sender: No OFD packet to send [01:29:53]OFD Sender: No OFD packet to send [01:29:58]OFD Sender: No OFD packet to send [01:30:03]OFD Sender: No OFD packet to send [01:30:08]OFD Sender: No OFD packet to send [01:30:13]OFD Sender: No OFD packet to send [01:30:15]int [01:30:15]Write to MH i2c: 01 00 00 11 15 26 [01:30:15]Write i2c OK [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 07 00 [01:30:15]MH_I2C_Read... [01:30:15]*** FLAG_PRN_KEY set [01:30:15]*** FLAG_PRN_KEY reset [01:30:15]Read from MH i2c: 01 07 00 11 15 00 00 00 00 00 FF 0F 3B [01:30:15]state=0 [01:30:15]int [01:30:15]Write to MH i2c: 01 00 00 12 15 27 [01:30:15]*** FLAG_PRN_KEY set [01:30:15]Write i2c OK [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 07 00 [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 07 00 12 15 00 08 00 00 00 FF 0F 44 [01:30:15]state=0 [01:30:15]Key pressed [01:30:15]Feed [01:30:15]Write to MH i2c: D8 00 00 13 15 FF [01:30:15]Write i2c OK [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: D8 [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: D8 01 00 [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: D8 01 00 13 15 00 00 [01:30:15]int [01:30:15]Write to MH i2c: 01 00 00 14 15 29 [01:30:15]Write i2c OK [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 07 00 [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 07 00 14 15 00 48 00 00 00 3C 00 B4 [01:30:15]state=2 [01:30:15]Key pressed [01:30:15]int [01:30:15]Write to MH i2c: 01 00 00 15 15 2A [01:30:15]*** FLAG_PRN_KEY reset [01:30:15]Write i2c OK [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 07 00 [01:30:15]MH_I2C_Read... [01:30:15]Read from MH i2c: 01 07 00 15 15 00 00 00 00 00 F6 0F 36 [01:30:15]state=2 [01:30:15]Stop feed [01:30:18]OFD Sender: No OFD packet to send [01:30:23]OFD Sender: No OFD packet to send [01:30:28]OFD Sender: No OFD packet to send [01:30:33]OFD Sender: No OFD packet to send [01:30:38]OFD Sender: No OFD packet to send [01:30:43]OFD Sender: No OFD packet to send [01:30:48]OFD Sender: No OFD packet to send [01:30:53]OFD Sender: No OFD packet to send [01:30:58]OFD Sender: No OFD packet to send [01:31:03]OFD Sender: No OFD packet to send [01:31:08]OFD Sender: No OFD packet to send [01:31:13]OFD Sender: No OFD packet to send [01:31:18]OFD Sender: No OFD packet to send [01:31:23]OFD Sender: No OFD packet to send [01:31:28]OFD Sender: No OFD packet to send [01:31:33]OFD Sender: No OFD packet to send [01:31:38]OFD Sender: No OFD packet to send [01:31:43]OFD Sender: No OFD packet to send [01:31:48]OFD Sender: No OFD packet to send [01:31:52]accept exits with 9 [01:31:52]New connection [01:31:52]New thread 3066858852 created [01:31:52]Thread 3066715492 joined [01:31:52]Waiting for new connection... [01:31:52] Sock 9.Parse request [01:31:52]Sock 9.Check first char [01:31:52]Sock 9.First char is OK [01:31:52]request: POST /json_proto HTTP/1.0 [01:31:52]Method: POST [01:31:52]URL: /json_proto [01:31:52]Method is POST - this is cgi request [01:31:52]url: /json_proto [01:31:52]query_string will be loaded in cgi processing [01:31:52]execute_cgi json_proto POST (null) [01:31:52]execute_cgi path=json_proto method=POST [01:31:52]POST find Content-Length [01:31:52]Host: 172.17.42.3:8080 [01:31:52]Content-Length: 983 [01:31:52]Content-Type: application/json [01:31:52] [01:31:52]POST finish read [01:31:52]Found Content-Length = 983 [01:31:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46431", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 30.360, "sum" : 2000.72, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 30.36 \u0441\u043E\u043C", "deposit" : 3140.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:31:52]execute_script... [01:31: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)46431", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 65.90, "quantity" : 30.360, "sum" : 2000.72, "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\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 160\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 30.36 \u0441\u043E\u043C", "deposit" : 3140.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:31:52]POST & json_proto [01:31:52]process_json_proto [01:31:52]json parsed OK: [01:31:52]protocol is kg_v1.0 [01:31:52]action value=close_receipt [01:31:52]process_action close_receipt [01:31:52]cmd_close_receipt [01:31:52]MH_GetDate [01:31:52]Write to MH i2c: F0 00 00 16 15 1A [01:31:52]Write i2c OK [01:31:52]MH_I2C_Read... [01:31:52]Read from MH i2c: F0 [01:31:52]MH_I2C_Read... [01:31:52]Read from MH i2c: F0 09 00 [01:31:52]MH_I2C_Read... [01:31:52]Read from MH i2c: F0 09 00 16 15 00 8B 8C 21 67 28 A1 20 67 12 [01:31:52]GetLastDocTimeStamp 1730250757 [01:31:52]current date 1730251915 [01:31:52]FM_GetShiftState [01:31:52]SAM_PROTO_GetShiftState [01:31:52]wFMCommunicate request_size=4 [01:31:52]MH_SAM_APDU [01:31:52]CAPDU: 80 13 01 00 [01:31:52]Write to MH i2c: E2 08 00 17 15 80 13 01 00 00 00 00 00 A9 [01:31:52]Write i2c OK [01:31:52]MH_I2C_Read... [01:31:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:52]Read from MH i2c: E2 [01:31:52]MH_I2C_Read... [01:31:52]Read from MH i2c: E2 0E 00 [01:31:52]MH_I2C_Read... [01:31:52]Read from MH i2c: E2 0E 00 17 15 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 9F [01:31:52]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [01:31:52]wFMCommunicate OK [01:31:52]SAM_PROTO_GetShiftState done [01:31:52]FM_GetShiftState done [01:31:52]opened in 1730247400 [01:31:52]opened+sec_in_day 1730333800 [01:31:52]quantity*price = 200072 [01:31:52]sum+1 = 200073 [01:31:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.72 ИТОГО: 2000.00 Внесено: 3140.00 СДАЧА: 1140.00 НСП 1% : 17.70 НДС 12% : 212.47 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 9 30.10.2024 01:31 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Дисконтная программа АИ-92 номер 160 сэкономлено 30.36 сом ФМ: 0000000000871758 ФД: 68456 ФПД: 59170623511046 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T013155&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68456&fm=59170623511046&tin=02508201610067®Number=0000000000091759&sum=200000 [01:31:53]StoreToDocumentArchive [01:31:53]shift 549 fd 68456 [01:31:53]save to /storage/0549/doc_00068456 [01:31:53]save last doc name /storage/0549/doc_00068456 to /storage/kkm_last_doc_name [01:31:53]save OK [01:31:53]Clear old archive folders... [01:31:53]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:31:53]tlvbuf is B6EAA3A0 [01:31:53]SAM_PROTO_ClearQueue [01:31:53]wFMCommunicate request_size=4 [01:31:53]MH_SAM_APDU [01:31:53]CAPDU: 80 09 00 00 [01:31:53]Write to MH i2c: E2 08 00 24 15 80 09 00 00 00 00 00 00 AB [01:31:53]Write i2c OK [01:31:53]MH_I2C_Read... [01:31:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:31:54]Read from MH i2c: E2 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 03 00 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 03 00 24 15 00 90 00 AD [01:31:54]RAPDU: 90 00 [01:31:54]wFMCommunicate OK [01:31:54]SAM_PROTO_ClearQueue done [01:31:54]KKMCreateOFDPacket [01:31:54]OFDProtocolAddRootSTLVToBuf [01:31:54]FM_MakeSignedData [01:31:54]FM_MakeSignedData [01:31:54]SAM_PROTO_SignData [01:31:54]wFMCommunicate request_size=4 [01:31:54]MH_SAM_APDU [01:31:54]CAPDU: 80 0D 01 02 [01:31:54]Write to MH i2c: E2 08 00 25 15 80 0D 01 02 00 00 00 00 B3 [01:31:54]Write i2c OK [01:31:54]MH_I2C_Read... [01:31:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:31:54]Read from MH i2c: E2 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 03 00 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 03 00 25 15 00 90 00 AE [01:31:54]RAPDU: 90 00 [01:31:54]wFMCommunicate OK [01:31:54]wFMCommunicate request_size=255 [01:31:54]MH_SAM_APDU [01:31:54]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 88 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 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8B 8C 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 68 0B 01 00 35 04 06 00 35 [01:31:54]Write to MH i2c: E2 02 01 26 15 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 88 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 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8B 8C 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 68 0B 01 00 35 04 06 00 35 00 00 9D [01:31:54]Write i2c OK [01:31:54]MH_I2C_Read... [01:31:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:54]Read from MH i2c: E2 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 03 00 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 03 00 26 15 00 90 00 AF [01:31:54]RAPDU: 90 00 [01:31:54]wFMCommunicate OK [01:31:54]wFMCommunicate request_size=10 [01:31:54]MH_SAM_APDU [01:31:54]CAPDU: 80 0D 02 02 05 D0 BB FE DA 06 [01:31:54]Write to MH i2c: E2 0D 00 27 15 80 0D 02 02 05 00 D0 BB FE DA 06 00 00 29 [01:31:54]Write i2c OK [01:31:54]MH_I2C_Read... [01:31:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:54]Read from MH i2c: E2 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 03 00 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 03 00 27 15 00 90 00 B0 [01:31:54]RAPDU: 90 00 [01:31:54]wFMCommunicate OK [01:31:54]wFMCommunicate request_size=4 [01:31:54]MH_SAM_APDU [01:31:54]CAPDU: 80 0D 03 02 [01:31:54]Write to MH i2c: E2 08 00 28 15 80 0D 03 02 00 00 00 00 B8 [01:31:54]Write i2c OK [01:31:54]MH_I2C_Read... [01:31:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:31:54]Read from MH i2c: E2 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 0B 00 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 0B 00 28 15 00 9F 3B FE 2A 37 0D C7 06 90 00 CC [01:31:54]RAPDU: 9F 3B FE 2A 37 0D C7 06 90 00 [01:31:54]wFMCommunicate OK [01:31:54]SAM_PROTO_SignData done [01:31:54]FM_MakeSignedData done [01:31:54]CreateOFDProtocolMessage [01:31:54]wFMCommunicate request_size=4 [01:31:54]MH_SAM_APDU [01:31:54]CAPDU: 80 11 00 00 [01:31:54]Write to MH i2c: E2 08 00 29 15 80 11 00 00 00 00 00 00 B8 [01:31:54]Write i2c OK [01:31:54]MH_I2C_Read... [01:31:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:54]Read from MH i2c: E2 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 17 00 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: E2 17 00 29 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 0F [01:31:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:31:54]wFMCommunicate OK [01:31:54]CreateOFDProtocolMessage done [01:31:54]OFDSenderStorePacket 68456 [01:31:54]StoreOFDPacket docnum=68456 [01:31:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 42 40 07 01 99 B9 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 88 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 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8B 8C 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 68 0B 01 00 35 04 06 00 35 D0 BB FE DA 06 9F 3B FE 2A 37 0D C7 06 [01:31:54]CheckFolder [01:31:54]dirname=/storage/ofd_packets [01:31:54]CheckFolder done [01:31:54]ProducePacketName [01:31:54]name=ofd_packets/00068456 [01:31:54]NVStorageSaveData ofd_packets/00068456 [01:31:54]File name is /storage/ofd_packets/00068456 [01:31:54]Write 301 bytes [01:31:54]NVStorageSaveData done [01:31:54]OFDSenderStorePacket done [01:31:54]KKMCreateOFDPacket done [01:31:54]NVStorageSaveData kkm_last_timestamp [01:31:54]File name is /storage/kkm_last_timestamp [01:31:54]Write 4 bytes [01:31:54]NVStorageSaveData done [01:31:54]ExternCall_PrintAddStr [01:31:54]wPrintStart [01:31:54]Write to MH i2c: 01 00 00 2A 15 3F [01:31:54]Write i2c OK [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: 01 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: 01 07 00 [01:31:54]MH_I2C_Read... [01:31:54]Read from MH i2c: 01 07 00 2A 15 00 00 00 00 00 FF 0F 54 [01:31:54]RasterBufferAndPrint [01:31:54]line Счет N : (1)46431 [01:31:54]line ИНН: 02508201610067 [01:31:54]line Контрольно-Кассовый Чек [01:31:54]line ПРОДАЖА [01:31:54]line ТРК (МРК, ГНК) : 33 [01:31:54]line Товар: 2710124130 [01:31:54]line Аи-92-К-5 [01:31:54]line 30.360 * 65.90 [01:31:54]line = 2000.72 [01:31:54]line НДС 12% НСП 1% [01:31:54]line > о реализуемом товаре [01:31:54]line ОКРУГЛЕНИЕ: -0.72 [01:31:54]line ИТОГО: 2000.00 [01:31:54]line Внесено: 3140.00 [01:31:54]line СДАЧА: 1140.00 [01:31:54]line НСП 1% : 17.70 [01:31:54]line НДС 12% : 212.47 [01:31:54]line Наличными: 2000.00 [01:31:54]line Безнал.: 0.00 [01:31:54]line Место: АЗС № 160 "Партнер Нефть" [01:31:54]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [01:31:54]line СНО: Общий режим [01:31:54]line Чек 9 30.10.2024 01:31 [01:31:54]line Смена: 549 ФФД: 1.0 [01:31:54]line ЗНМ: 0300000093 [01:31:54]line РНМ: 0000000000091759 [01:31:54]line Версия ККМ: 001 [01:31:54]line [01:31:54]line Дисконтная программа [01:31:54]line АИ-92 [01:31:54]line номер 160 [01:31:54]line сэкономлено 30.36 сом [01:31:54]line ФМ: 0000000000871758 [01:31:54]line ФД: 68456 [01:31:54]line ФПД: 59170623511046 [01:31:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T013155&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68456&fm=59170623511046&tin=02508201610067®Number=0000000000091759&sum=200000 [01:31:54]OFD Sender: Processing packet 68456 [packets to send 28, broken 27] [01:31:54]ProducePacketName [01:31:54]name=ofd_packets/00068456 [01:31:54]OFD Sender: To server: pG, [01:31:54]CommunicateWithHost lk.salyk.kg:30040 [01:31:54]ConnectInit lk.salyk.kg [01:31:54]written 0, free lines is 4095 [01:31:55]Write to MH i2c: 01 00 00 59 15 6E [01:31:55]Write i2c OK [01:31:55]MH_I2C_Read... [01:31:55]Read from MH i2c: 01 [01:31:55]MH_I2C_Read... [01:31:55]Read from MH i2c: 01 07 00 [01:31:55]MH_I2C_Read... [01:31:55]Read from MH i2c: 01 07 00 59 15 00 00 00 00 00 5F 0C E0 [01:31:55]RasterBufferAndPrint [01:31:55]line [01:31:55]line [01:31:55]line [01:31:55]line [01:31:55]line [01:31:55]written 0, free lines is 3172 [01:31:55]MH_Cut [01:31:55]Write to MH i2c: D1 01 00 60 15 01 47 [01:31:55]Write i2c OK [01:31:55]MH_I2C_Read... [01:31:55]Read from MH i2c: D1 [01:31:55]MH_I2C_Read... [01:31:55]Read from MH i2c: D1 01 00 [01:31:55]MH_I2C_Read... [01:31:55]Read from MH i2c: D1 01 00 60 15 00 46 [01:31:55]Write to MH i2c: 01 00 00 61 15 76 [01:31:55]Write i2c OK [01:31:55]MH_I2C_Read... [01:31:56]*** Cut start [01:31:56]*** Partial cut [01:31:56]*** CUTSNS_PIN = 1 [01:31:56]*** CUTSNS_PIN = 0 [01:31:56]*** Brake cut motor [01:31:56]Read from MH i2c: 01 [01:31:56]MH_I2C_Read... [01:31:56]*** Stop cut motor [01:31:56]*** Cut end [01:31:56]Read from MH i2c: 01 07 00 [01:31:56]MH_I2C_Read... [01:31:56]Read from MH i2c: 01 07 00 61 15 00 00 00 00 00 FF 0F 8B [01:31:56]process_action close_receipt done [01:31:56]requested_data is exist [01:31:56]produce_requested_data [01:31:56]requested_item fm.sn is exist - process it [01:31:56]wFMCommunicate request_size=4 [01:31:56]MH_SAM_APDU [01:31:56]CAPDU: 80 11 00 00 [01:31:56]Write to MH i2c: E2 08 00 62 15 80 11 00 00 00 00 00 00 F1 [01:31:56]Write i2c OK [01:31:56]MH_I2C_Read... [01:31:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:56]Read from MH i2c: E2 [01:31:56]MH_I2C_Read... [01:31:56]Read from MH i2c: E2 17 00 [01:31:56]MH_I2C_Read... [01:31:56]Read from MH i2c: E2 17 00 62 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 48 [01:31:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:31:56]wFMCommunicate OK [01:31:56]requested_item fd.num is exist - process it [01:31:56]SAM_PROTO_GetFieldsCounters [01:31:56]wFMCommunicate request_size=4 [01:31:56]MH_SAM_APDU [01:31:56]CAPDU: 80 13 00 00 [01:31:56]Write to MH i2c: E2 08 00 63 15 80 13 00 00 00 00 00 00 F4 [01:31:56]Write i2c OK [01:31:56]MH_I2C_Read... [01:31:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:31:57]*** FLAG_PRN_KEY set [01:31:57]int [01:31:57]Read from MH i2c: E2 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 62 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 62 00 63 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 68 0B 01 00 0E 04 04 00 25 02 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 D5 [01:31:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 68 0B 01 00 0E 04 04 00 25 02 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:31:57]wFMCommunicate OK [01:31:57]SAM_PROTO_GetFieldsCounters done [01:31:57]requested_item shift.num is exist - process it [01:31:57]requested_item shift.opened is exist - process it [01:31:57]req_shift_opened [01:31:57]FM_GetShiftState [01:31:57]SAM_PROTO_GetShiftState [01:31:57]wFMCommunicate request_size=4 [01:31:57]MH_SAM_APDU [01:31:57]CAPDU: 80 13 01 00 [01:31:57]Write to MH i2c: E2 08 00 64 15 80 13 01 00 00 00 00 00 F6 [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:57]Read from MH i2c: E2 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 0E 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: E2 0E 00 64 15 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 EC [01:31:57]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [01:31:57]wFMCommunicate OK [01:31:57]SAM_PROTO_GetShiftState done [01:31:57]FM_GetShiftState done [01:31:57]req_shift_opened done [01:31:57]requested_item shift.open_date is exist - process it [01:31:57]req_shift_open_date [01:31:57]req_shift_open_date done [01:31:57]produce_requested_data done [01:31:57]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68456,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [01:31:57]process_action_free close_receipt [01:31:57]json_value_free [01:31:57]json_value_free done [01:31:57]process_json_proto returns [01:31:57]Send response to host [01:31:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68456,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [01:31:57]free response buf [01:31:57]execute_script done [01:31:57]execute_script returns [01:31:57]free content buf [01:31:57]Sock 9.Close socket [01:31:57]Sock 9.Thread stoped [01:31:57]Write to MH i2c: 01 00 00 65 15 7A [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 07 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 07 00 65 15 00 08 00 00 00 FF 0F 97 [01:31:57]state=0 [01:31:57]Key pressed [01:31:57]Feed [01:31:57]Write to MH i2c: D8 00 00 66 15 52 [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: D8 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: D8 01 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: D8 01 00 66 15 00 53 [01:31:57]int [01:31:57]Write to MH i2c: 01 00 00 67 15 7C [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 07 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 07 00 67 15 00 48 00 00 00 3C 00 07 [01:31:57]state=2 [01:31:57]Key pressed [01:31:57]int [01:31:57]Write to MH i2c: 01 00 00 68 15 7D [01:31:57]*** FLAG_PRN_KEY reset [01:31:57]Write i2c OK [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 07 00 [01:31:57]MH_I2C_Read... [01:31:57]Read from MH i2c: 01 07 00 68 15 00 00 00 00 00 FC 0F 8F [01:31:57]state=2 [01:31:57]Stop feed [01:34:04]ConnectInit Can't connect to host [01:34:04]CommunicateWithHost connect error [01:34:04]CommunicateWithHost err = -1 [01:34:04]OFD Sender: Server communicate error [01:34:09]OFD Sender: Processing packet 68456 [packets to send 28, broken 27] [01:34:09]ProducePacketName [01:34:09]name=ofd_packets/00068456 [01:34:09]OFD Sender: To server: pG, [01:34:09]CommunicateWithHost lk.salyk.kg:30040 [01:34:09]ConnectInit lk.salyk.kg [01:34:09]Connected sock=9 [01:34:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 42 40 07 01 99 B9 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 76 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 88 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 FF 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 8B 8C 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 68 0B 01 00 35 04 06 00 35 D0 BB FE DA 06 9F 3B FE 2A 37 0D C7 06 [01:34:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 C2 30 47 00 FE 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 68 0B 01 00 F4 03 04 00 B9 38 21 67 B6 04 01 00 00 D9 58 84 C2 E3 A5 41 7A [01:34:10]CommunicateWithHost err = 0 [01:34:10]CheckOFDResponse [01:34:10]1017 (14) - 77093643461234 [01:34:10]1041 (16) - 0000000000871758 [01:34:10]1040 (4) - 68456 [01:34:10]1012 (4) - 29.10.2024 19:34 [01:34:10]1206 (1) - 0 [01:34:10]OFD Sender: Remove packet 68456 [01:34:10]ProducePacketName [01:34:10]name=ofd_packets/00068456 [01:34:10]NVStorageDeleteData [01:34:10]OFD Sender: No OFD packet to send [01:34:15]OFD Sender: No OFD packet to send [01:34:20]OFD Sender: No OFD packet to send [01:34:25]OFD Sender: No OFD packet to send [01:34:30]OFD Sender: No OFD packet to send [01:34:35]OFD Sender: No OFD packet to send [01:34:40]OFD Sender: No OFD packet to send [01:34:45]OFD Sender: No OFD packet to send [01:34:50]OFD Sender: No OFD packet to send [01:34:55]OFD Sender: No OFD packet to send [01:35:00]OFD Sender: No OFD packet to send [01:35:05]OFD Sender: No OFD packet to send [01:35:10]OFD Sender: No OFD packet to send [01:35:15]OFD Sender: No OFD packet to send [01:35:20]OFD Sender: No OFD packet to send [01:35:25]OFD Sender: No OFD packet to send [01:35:30]OFD Sender: No OFD packet to send [01:35:35]OFD Sender: No OFD packet to send [01:35:40]OFD Sender: No OFD packet to send [01:35:45]OFD Sender: No OFD packet to send [01:35:50]OFD Sender: No OFD packet to send [01:35:55]OFD Sender: No OFD packet to send [01:36:00]OFD Sender: No OFD packet to send [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:35]OFD Sender: No OFD packet to send [01:39:40]OFD Sender: No OFD packet to send [01:39:45]OFD Sender: No OFD packet to send [01:39:50]OFD Sender: No OFD packet to send [01:39:55]OFD Sender: No OFD packet to send [01:40:00]OFD Sender: No OFD packet to send [01:40:05]OFD Sender: No OFD packet to send [01:40:10]OFD Sender: No OFD packet to send [01:40:15]OFD Sender: No OFD packet to send [01:40:20]OFD Sender: No OFD packet to send [01:40:25]OFD Sender: No OFD packet to send [01:40:30]OFD Sender: No OFD packet to send [01:40:35]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:41]OFD Sender: No OFD packet to send [01:41:46]OFD Sender: No OFD packet to send [01:41:51]OFD Sender: No OFD packet to send [01:41:56]OFD Sender: No OFD packet to send [01:42:01]OFD Sender: No OFD packet to send [01:42:06]OFD Sender: No OFD packet to send [01:42:11]OFD Sender: No OFD packet to send [01:42:16]OFD Sender: No OFD packet to send [01:42:21]OFD Sender: No OFD packet to send [01:42:26]OFD Sender: No OFD packet to send [01:42:31]OFD Sender: No OFD packet to send [01:42:36]OFD Sender: No OFD packet to send [01:42:41]OFD Sender: No OFD packet to send [01:42:46]OFD Sender: No OFD packet to send [01:42:51]OFD Sender: No OFD packet to send [01:42:56]OFD Sender: No OFD packet to send [01:43:01]OFD Sender: No OFD packet to send [01:43:06]OFD Sender: No OFD packet to send [01:43:11]OFD Sender: No OFD packet to send [01:43:16]OFD Sender: No OFD packet to send [01:43:21]OFD Sender: No OFD packet to send [01:43:26]OFD Sender: No OFD packet to send [01:43:31]OFD Sender: No OFD packet to send [01:43:36]OFD Sender: No OFD packet to send [01:43:41]OFD Sender: No OFD packet to send [01:43:46]OFD Sender: No OFD packet to send [01:43:51]OFD Sender: No OFD packet to send [01:43:56]OFD Sender: No OFD packet to send [01:44:01]OFD Sender: No OFD packet to send [01:44:06]OFD Sender: No OFD packet to send [01:44:11]OFD Sender: No OFD packet to send [01:44:16]OFD Sender: No OFD packet to send [01:44:21]OFD Sender: No OFD packet to send [01:44:26]OFD Sender: No OFD packet to send [01:44:31]OFD Sender: No OFD packet to send [01:44:36]OFD Sender: No OFD packet to send [01:44:41]OFD Sender: No OFD packet to send [01:44:46]OFD Sender: No OFD packet to send [01:44:51]OFD Sender: No OFD packet to send [01:44:56]OFD Sender: No OFD packet to send [01:45:01]OFD Sender: No OFD packet to send [01:45:06]OFD Sender: No OFD packet to send [01:45:11]OFD Sender: No OFD packet to send [01:45:16]OFD Sender: No OFD packet to send [01:45:21]OFD Sender: No OFD packet to send [01:45:26]OFD Sender: No OFD packet to send [01:45:31]OFD Sender: No OFD packet to send [01:45:36]OFD Sender: No OFD packet to send [01:45:41]OFD Sender: No OFD packet to send [01:45:46]OFD Sender: No OFD packet to send [01:45:51]OFD Sender: No OFD packet to send [01:45:56]OFD Sender: No OFD packet to send [01:46:01]OFD Sender: No OFD packet to send [01:46:06]OFD Sender: No OFD packet to send [01:46:11]OFD Sender: No OFD packet to send [01:46:16]OFD Sender: No OFD packet to send [01:46:21]OFD Sender: No OFD packet to send [01:46:26]OFD Sender: No OFD packet to send [01:46:31]OFD Sender: No OFD packet to send [01:46:36]OFD Sender: No OFD packet to send [01:46:41]OFD Sender: No OFD packet to send [01:46:46]OFD Sender: No OFD packet to send [01:46:51]OFD Sender: No OFD packet to send [01:46:56]OFD Sender: No OFD packet to send [01:47:01]OFD Sender: No OFD packet to send [01:47:06]OFD Sender: No OFD packet to send [01:47:11]OFD Sender: No OFD packet to send [01:47:16]OFD Sender: No OFD packet to send [01:47:21]OFD Sender: No OFD packet to send [01:47:26]OFD Sender: No OFD packet to send [01:47:31]OFD Sender: No OFD packet to send [01:47:36]OFD Sender: No OFD packet to send [01:47:41]OFD Sender: No OFD packet to send [01:47:46]OFD Sender: No OFD packet to send [01:47:51]OFD Sender: No OFD packet to send [01:47:56]OFD Sender: No OFD packet to send [01:48:01]OFD Sender: No OFD packet to send [01:48:06]OFD Sender: No OFD packet to send [01:48:11]OFD Sender: No OFD packet to send [01:48:16]OFD Sender: No OFD packet to send [01:48:21]OFD Sender: No OFD packet to send [01:48:26]OFD Sender: No OFD packet to send [01:48:31]OFD Sender: No OFD packet to send [01:48:36]OFD Sender: No OFD packet to send [01:48:41]OFD Sender: No OFD packet to send [01:48:46]OFD Sender: No OFD packet to send [01:48:51]OFD Sender: No OFD packet to send [01:48:56]OFD Sender: No OFD packet to send [01:49:01]OFD Sender: No OFD packet to send [01:49:06]OFD Sender: No OFD packet to send [01:49:11]OFD Sender: No OFD packet to send [01:49:16]OFD Sender: No OFD packet to send [01:49:21]OFD Sender: No OFD packet to send [01:49:26]OFD Sender: No OFD packet to send [01:49:31]OFD Sender: No OFD packet to send [01:49:36]OFD Sender: No OFD packet to send [01:49:41]OFD Sender: No OFD packet to send [01:49:46]OFD Sender: No OFD packet to send [01:49:51]OFD Sender: No OFD packet to send [01:49:56]OFD Sender: No OFD packet to send [01:50:01]OFD Sender: No OFD packet to send [01:50:06]OFD Sender: No OFD packet to send [01:50:11]OFD Sender: No OFD packet to send [01:50:16]OFD Sender: No OFD packet to send [01:50:21]OFD Sender: No OFD packet to send [01:50:26]OFD Sender: No OFD packet to send [01:50:31]OFD Sender: No OFD packet to send [01:50:36]OFD Sender: No OFD packet to send [01:50:41]OFD Sender: No OFD packet to send [01:50:46]OFD Sender: No OFD packet to send [01:50:51]OFD Sender: No OFD packet to send [01:50:56]OFD Sender: No OFD packet to send [01:51:01]OFD Sender: No OFD packet to send [01:51:06]OFD Sender: No OFD packet to send [01:51:11]OFD Sender: No OFD packet to send [01:51:16]OFD Sender: No OFD packet to send [01:51:21]OFD Sender: No OFD packet to send [01:51:26]OFD Sender: No OFD packet to send [01:51:31]OFD Sender: No OFD packet to send [01:51:36]OFD Sender: No OFD packet to send [01:51:41]OFD Sender: No OFD packet to send [01:51:46]OFD Sender: No OFD packet to send [01:51:51]OFD Sender: No OFD packet to send [01:51:56]OFD Sender: No OFD packet to send [01:52:01]OFD Sender: No OFD packet to send [01:52:06]OFD Sender: No OFD packet to send [01:52:11]OFD Sender: No OFD packet to send [01:52:16]OFD Sender: No OFD packet to send [01:52:21]OFD Sender: No OFD packet to send [01:52:26]OFD Sender: No OFD packet to send [01:52:31]OFD Sender: No OFD packet to send [01:52:36]OFD Sender: No OFD packet to send [01:52:41]OFD Sender: No OFD packet to send [01:52:46]OFD Sender: No OFD packet to send [01:52:51]OFD Sender: No OFD packet to send [01:52:56]OFD Sender: No OFD packet to send [01:53:01]OFD Sender: No OFD packet to send [01:53:06]OFD Sender: No OFD packet to send [01:53:11]OFD Sender: No OFD packet to send [01:53:16]OFD Sender: No OFD packet to send [01:53:21]OFD Sender: No OFD packet to send [01:53:26]OFD Sender: No OFD packet to send [01:53:31]OFD Sender: No OFD packet to send [01:53:36]OFD Sender: No OFD packet to send [01:53:41]OFD Sender: No OFD packet to send [01:53:46]OFD Sender: No OFD packet to send [01:53:51]OFD Sender: No OFD packet to send [01:53:56]OFD Sender: No OFD packet to send [01:54:01]OFD Sender: No OFD packet to send [01:54:06]OFD Sender: No OFD packet to send [01:54:11]OFD Sender: No OFD packet to send [01:54:16]OFD Sender: No OFD packet to send [01:54:21]OFD Sender: No OFD packet to send [01:54:26]OFD Sender: No OFD packet to send [01:54:31]OFD Sender: No OFD packet to send [01:54:36]OFD Sender: No OFD packet to send [01:54:41]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]OFD Sender: No OFD packet to send [01:56:51]OFD Sender: No OFD packet to send [01:56:56]OFD Sender: No OFD packet to send [01:57:01]OFD Sender: No OFD packet to send [01:57:06]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [01:57:16]OFD Sender: No OFD packet to send [01:57:21]OFD Sender: No OFD packet to send [01:57:26]OFD Sender: No OFD packet to send [01:57:31]OFD Sender: No OFD packet to send [01:57:36]OFD Sender: No OFD packet to send [01:57:41]OFD Sender: No OFD packet to send [01:57:46]OFD Sender: No OFD packet to send [01:57:51]OFD Sender: No OFD packet to send [01:57:56]OFD Sender: No OFD packet to send [01:58:01]OFD Sender: No OFD packet to send [01:58:06]OFD Sender: No OFD packet to send [01:58:11]OFD Sender: No OFD packet to send [01:58:16]OFD Sender: No OFD packet to send [01:58:21]OFD Sender: No OFD packet to send [01:58:26]OFD Sender: No OFD packet to send [01:58:31]OFD Sender: No OFD packet to send [01:58:36]OFD Sender: No OFD packet to send [01:58:41]OFD Sender: No OFD packet to send [01:58:46]OFD Sender: No OFD packet to send [01:58:51]OFD Sender: No OFD packet to send [01:58:56]OFD Sender: No OFD packet to send [01:59:01]OFD Sender: No OFD packet to send [01:59:06]OFD Sender: No OFD packet to send [01:59:11]OFD Sender: No OFD packet to send [01:59:16]OFD Sender: No OFD packet to send [01:59:21]OFD Sender: No OFD packet to send [01:59:26]OFD Sender: No OFD packet to send [01:59:31]OFD Sender: No OFD packet to send [01:59:36]OFD Sender: No OFD packet to send [01:59:41]OFD Sender: No OFD packet to send [01:59:46]OFD Sender: No OFD packet to send [01:59:51]OFD Sender: No OFD packet to send [01:59:56]OFD Sender: No OFD packet to send [02:00:01]OFD Sender: No OFD packet to send [02:00:06]OFD Sender: No OFD packet to send [02:00:11]OFD Sender: No OFD packet to send [02:00:16]OFD Sender: No OFD packet to send [02:00:21]OFD Sender: No OFD packet to send [02:00:26]OFD Sender: No OFD packet to send [02:00:31]OFD Sender: No OFD packet to send [02:00:36]OFD Sender: No OFD packet to send [02:00:41]OFD Sender: No OFD packet to send [02:00:46]OFD Sender: No OFD packet to send [02:00:51]OFD Sender: No OFD packet to send [02:00:56]OFD Sender: No OFD packet to send [02:01:01]OFD Sender: No OFD packet to send [02:01:06]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:57]OFD Sender: No OFD packet to send [02:04:02]OFD Sender: No OFD packet to send [02:04:07]OFD Sender: No OFD packet to send [02:04:12]OFD Sender: No OFD packet to send [02:04:17]OFD Sender: No OFD packet to send [02:04:17]accept exits with 8 [02:04:17]New connection [02:04:17]New thread 3066715492 created [02:04:17]Thread 3066858852 joined [02:04:17]Waiting for new connection... [02:04:17] Sock 8.Parse request [02:04:17]Sock 8.Check first char [02:04:17]Sock 8.First char is OK [02:04:17]request: POST /json_proto HTTP/1.0 [02:04:17]Method: POST [02:04:17]URL: /json_proto [02:04:17]Method is POST - this is cgi request [02:04:17]url: /json_proto [02:04:17]query_string will be loaded in cgi processing [02:04:17]execute_cgi json_proto POST (null) [02:04:17]execute_cgi path=json_proto method=POST [02:04:17]POST find Content-Length [02:04:17]Host: 172.17.42.3:8080 [02:04:17]Content-Length: 1403 [02:04:17]Content-Type: application/json [02:04:17] [02:04:17]POST finish read [02:04:17]Found Content-Length = 1403 [02:04:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17267", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400242", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 50 \u0433\u0440", "price" : 55.00, "quantity" : 1.000, "sum" : 55.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" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:04:17]execute_script... [02:04:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17267", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400242", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 50 \u0433\u0440", "price" : 55.00, "quantity" : 1.000, "sum" : 55.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" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:04:17]POST & json_proto [02:04:17]process_json_proto [02:04:17]json parsed OK: [02:04:17]protocol is kg_v1.0 [02:04:17]action value=close_receipt [02:04:17]process_action close_receipt [02:04:17]cmd_close_receipt [02:04:17]MH_GetDate [02:04:17]Write to MH i2c: F0 00 00 69 15 6D [02:04:17]Write i2c OK [02:04:17]MH_I2C_Read... [02:04:17]Read from MH i2c: F0 [02:04:17]MH_I2C_Read... [02:04:17]Read from MH i2c: F0 09 00 [02:04:17]MH_I2C_Read... [02:04:17]Read from MH i2c: F0 09 00 69 15 00 24 94 21 67 28 A1 20 67 06 [02:04:17]GetLastDocTimeStamp 1730251915 [02:04:17]current date 1730253860 [02:04:17]FM_GetShiftState [02:04:17]SAM_PROTO_GetShiftState [02:04:17]wFMCommunicate request_size=4 [02:04:17]MH_SAM_APDU [02:04:17]CAPDU: 80 13 01 00 [02:04:17]Write to MH i2c: E2 08 00 6A 15 80 13 01 00 00 00 00 00 FC [02:04:17]Write i2c OK [02:04:18]MH_I2C_Read... [02:04:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:04:18]Read from MH i2c: E2 [02:04:18]MH_I2C_Read... [02:04:18]Read from MH i2c: E2 0E 00 [02:04:18]MH_I2C_Read... [02:04:18]Read from MH i2c: E2 0E 00 6A 15 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 F2 [02:04:18]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:04:18]wFMCommunicate OK [02:04:18]SAM_PROTO_GetShiftState done [02:04:18]FM_GetShiftState done [02:04:18]opened in 1730247400 [02:04:18]opened+sec_in_day 1730333800 [02:04:18]quantity*price = 7500 [02:04:18]sum+1 = 7501 [02:04:18]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630007400242 Арахис жарен Караван орехов 50 гр 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.54 Наличными: 0.00 Безнал.: 250.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 10 30.10.2024 02:04 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68457 ФПД: 250657463662355 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T020421&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68457&fm=250657463662355&tin=02508201610067®Number=0000000000091759&sum=25000 0 [02:04:19]StoreToDocumentArchive [02:04:19]shift 549 fd 68457 [02:04:19]save to /storage/0549/doc_00068457 [02:04:19]save last doc name /storage/0549/doc_00068457 to /storage/kkm_last_doc_name [02:04:19]save OK [02:04:19]Clear old archive folders... [02:04:19]ProcessDocumentItem done err = 0, tmpTLVsize=533 [02:04:19]tlvbuf is 01DDB500 [02:04:19]SAM_PROTO_ClearQueue [02:04:19]wFMCommunicate request_size=4 [02:04:19]MH_SAM_APDU [02:04:19]CAPDU: 80 09 00 00 [02:04:19]Write to MH i2c: E2 08 00 77 15 80 09 00 00 00 00 00 00 FE [02:04:19]Write i2c OK [02:04:19]MH_I2C_Read... [02:04:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:04:19]Read from MH i2c: E2 [02:04:19]MH_I2C_Read... [02:04:19]Read from MH i2c: E2 03 00 [02:04:19]MH_I2C_Read... [02:04:19]Read from MH i2c: E2 03 00 77 15 00 90 00 00 [02:04:19]RAPDU: 90 00 [02:04:19]wFMCommunicate OK [02:04:19]SAM_PROTO_ClearQueue done [02:04:19]KKMCreateOFDPacket [02:04:19]OFDProtocolAddRootSTLVToBuf [02:04:19]FM_MakeSignedData [02:04:19]FM_MakeSignedData [02:04:19]SAM_PROTO_SignData [02:04:19]wFMCommunicate request_size=4 [02:04:19]MH_SAM_APDU [02:04:19]CAPDU: 80 0D 01 02 [02:04:19]Write to MH i2c: E2 08 00 78 15 80 0D 01 02 00 00 00 00 06 [02:04:19]Write i2c OK [02:04:19]MH_I2C_Read... [02:04:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:04:19]Read from MH i2c: E2 [02:04:19]MH_I2C_Read... [02:04:19]Read from MH i2c: E2 03 00 [02:04:19]MH_I2C_Read... [02:04:19]Read from MH i2c: E2 03 00 78 15 00 90 00 01 [02:04:19]RAPDU: 90 00 [02:04:19]wFMCommunicate OK [02:04:19]wFMCommunicate request_size=255 [02:04:19]MH_SAM_APDU [02:04:19]CAPDU: 80 0D 02 02 FA 03 00 15 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 [02:04:19]Write to MH i2c: E2 02 01 79 15 80 0D 02 02 FA 00 03 00 15 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 00 00 10 [02:04:19]Write i2c OK [02:04:19]MH_I2C_Read... [02:04:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:04:19]Read from MH i2c: E2 [02:04:19]MH_I2C_Read... [02:04:19]Read from MH i2c: E2 03 00 [02:04:19]MH_I2C_Read... [02:04:19]Read from MH i2c: E2 03 00 79 15 00 90 00 02 [02:04:19]RAPDU: 90 00 [02:04:19]wFMCommunicate OK [02:04:19]wFMCommunicate request_size=255 [02:04:19]MH_SAM_APDU [02:04:19]CAPDU: 80 0D 02 02 FA 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 25 94 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 [02:04:19]Write to MH i2c: E2 02 01 7A 15 80 0D 02 02 FA 00 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 25 94 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 00 00 08 [02:04:19]Write i2c OK [02:04:19]MH_I2C_Read... [02:04:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:04:20]Read from MH i2c: E2 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: E2 03 00 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: E2 03 00 7A 15 00 90 00 03 [02:04:20]RAPDU: 90 00 [02:04:20]wFMCommunicate OK [02:04:20]wFMCommunicate request_size=42 [02:04:20]MH_SAM_APDU [02:04:20]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 69 0B 01 00 35 04 06 00 E3 F8 BD 14 F7 13 [02:04:20]Write to MH i2c: E2 2D 00 7B 15 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 69 0B 01 00 35 04 06 00 E3 F8 BD 14 F7 13 00 00 0E [02:04:20]Write i2c OK [02:04:20]MH_I2C_Read... [02:04:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:04:20]Read from MH i2c: E2 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: E2 03 00 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: E2 03 00 7B 15 00 90 00 04 [02:04:20]RAPDU: 90 00 [02:04:20]wFMCommunicate OK [02:04:20]wFMCommunicate request_size=4 [02:04:20]MH_SAM_APDU [02:04:20]CAPDU: 80 0D 03 02 [02:04:20]Write to MH i2c: E2 08 00 7C 15 80 0D 03 02 00 00 00 00 0C [02:04:20]Write i2c OK [02:04:20]MH_I2C_Read... [02:04:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:04:20]Read from MH i2c: E2 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: E2 0B 00 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: E2 0B 00 7C 15 00 5C A4 91 26 D1 6E 1F C3 90 00 E5 [02:04:20]RAPDU: 5C A4 91 26 D1 6E 1F C3 90 00 [02:04:20]wFMCommunicate OK [02:04:20]SAM_PROTO_SignData done [02:04:20]FM_MakeSignedData done [02:04:20]CreateOFDProtocolMessage [02:04:20]wFMCommunicate request_size=4 [02:04:20]MH_SAM_APDU [02:04:20]CAPDU: 80 11 00 00 [02:04:20]Write to MH i2c: E2 08 00 7D 15 80 11 00 00 00 00 00 00 0C [02:04:20]Write i2c OK [02:04:20]MH_I2C_Read... [02:04:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:04:20]Read from MH i2c: E2 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: E2 17 00 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: E2 17 00 7D 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 63 [02:04:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:04:20]wFMCommunicate OK [02:04:20]CreateOFDProtocolMessage done [02:04:20]OFDSenderStorePacket 68457 [02:04:20]StoreOFDPacket docnum=68457 [02:04:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 29 02 00 00 3D 6D 21 02 14 E3 5A 03 01 00 03 00 15 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 25 94 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 69 0B 01 00 35 04 06 00 E3 F8 BD 14 F7 13 5C A4 91 26 D1 6E 1F C3 [02:04:20]CheckFolder [02:04:20]dirname=/storage/ofd_packets [02:04:20]CheckFolder done [02:04:20]ProducePacketName [02:04:20]name=ofd_packets/00068457 [02:04:20]NVStorageSaveData ofd_packets/00068457 [02:04:20]File name is /storage/ofd_packets/00068457 [02:04:20]Write 583 bytes [02:04:20]NVStorageSaveData done [02:04:20]OFDSenderStorePacket done [02:04:20]KKMCreateOFDPacket done [02:04:20]NVStorageSaveData kkm_last_timestamp [02:04:20]File name is /storage/kkm_last_timestamp [02:04:20]Write 4 bytes [02:04:20]NVStorageSaveData done [02:04:20]ExternCall_PrintAddStr [02:04:20]wPrintStart [02:04:20]Write to MH i2c: 01 00 00 7E 15 93 [02:04:20]Write i2c OK [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: 01 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: 01 07 00 [02:04:20]MH_I2C_Read... [02:04:20]Read from MH i2c: 01 07 00 7E 15 00 00 00 00 00 FF 0F A8 [02:04:20]RasterBufferAndPrint [02:04:20]line Счет N : (3)17267 [02:04:20]line ИНН: 02508201610067 [02:04:20]line Контрольно-Кассовый Чек [02:04:20]line ПРОДАЖА [02:04:20]line Товар: 4870112002775 [02:04:20]line Шок батончик ALBENI BITES 80гр [02:04:20]line 1.000 * 75.00 [02:04:20]line = 75.00 [02:04:20]line НДС 12% НСП 1% [02:04:20]line > о реализуемом товаре [02:04:20]line Товар: 5449000189332 [02:04:20]line Холодный чай Fuse персик 1л [02:04:20]line 1.000 * 120.00 [02:04:20]line = 120.00 [02:04:20]line НДС 12% НСП 1% [02:04:20]line > о реализуемом товаре [02:04:20]line Товар: 4630007400242 [02:04:20]line Арахис жарен Караван орехов 50 гр [02:04:20]line 1.000 * 55.00 [02:04:20]line = 55.00 [02:04:20]line НДС 12% НСП 1% [02:04:20]line > о реализуемом товаре [02:04:20]line ИТОГО: 250.00 [02:04:20]line НСП 1% : 2.21 [02:04:20]line НДС 12% : 26.54 [02:04:20]line Наличными: 0.00 [02:04:20]line Безнал.: 250.00 [02:04:20]line Место: АЗС № 160 "Партнер Нефть" [02:04:20]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [02:04:20]line СНО: Общий режим [02:04:20]line Чек 10 30.10.2024 02:04 [02:04:20]line Смена: 549 ФФД: 1.0 [02:04:20]line ЗНМ: 0300000093 [02:04:20]line РНМ: 0000000000091759 [02:04:20]line Версия ККМ: 001 [02:04:20]line Платежная система: Mbank [02:04:20]line ФМ: 0000000000871758 [02:04:20]line ФД: 68457 [02:04:20]line ФПД: 250657463662355 [02:04:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T020421&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68457&fm=250657463662355&tin=02508201610067®Number=0000000000091759&sum=25000 [02:04:20]OFD Sender: Processing packet 68457 [packets to send 28, broken 27] [02:04:20]ProducePacketName [02:04:20]name=ofd_packets/00068457 [02:04:20]OFD Sender: To server: pG, [02:04:20]CommunicateWithHost lk.salyk.kg:30040 [02:04:20]ConnectInit lk.salyk.kg [02:04:20]line 0 [02:04:20]written 0, free lines is 4095 [02:04:20]Connected sock=10 [02:04:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 29 02 00 00 3D 6D 21 02 14 E3 5A 03 01 00 03 00 15 02 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 25 94 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 69 0B 01 00 35 04 06 00 E3 F8 BD 14 F7 13 5C A4 91 26 D1 6E 1F C3 [02:04:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 13 8E 47 00 A7 A8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 69 0B 01 00 F4 03 04 00 CC 3F 21 67 B6 04 01 00 00 99 BF 36 99 4E EA 62 E3 [02:04:20]CommunicateWithHost err = 0 [02:04:20]CheckOFDResponse [02:04:20]1017 (14) - 77093643461234 [02:04:20]1041 (16) - 0000000000871758 [02:04:20]1040 (4) - 68457 [02:04:20]1012 (4) - 29.10.2024 20:04 [02:04:20]1206 (1) - 0 [02:04:20]OFD Sender: Remove packet 68457 [02:04:20]ProducePacketName [02:04:20]name=ofd_packets/00068457 [02:04:20]NVStorageDeleteData [02:04:21]Write to MH i2c: 01 00 00 B4 15 C9 [02:04:21]Write i2c OK [02:04:21]MH_I2C_Read... [02:04:21]Read from MH i2c: 01 [02:04:21]MH_I2C_Read... [02:04:21]Read from MH i2c: 01 07 00 [02:04:21]MH_I2C_Read... [02:04:21]Read from MH i2c: 01 07 00 B4 15 00 00 00 00 00 E7 0B C2 [02:04:21]RasterBufferAndPrint [02:04:21]line [02:04:21]line [02:04:21]line [02:04:21]line [02:04:21]line [02:04:21]written 0, free lines is 3054 [02:04:21]MH_Cut [02:04:21]Write to MH i2c: D1 01 00 BB 15 01 A2 [02:04:21]Write i2c OK [02:04:21]MH_I2C_Read... [02:04:21]Read from MH i2c: D1 [02:04:21]MH_I2C_Read... [02:04:21]Read from MH i2c: D1 01 00 [02:04:21]MH_I2C_Read... [02:04:21]Read from MH i2c: D1 01 00 BB 15 00 A1 [02:04:21]Write to MH i2c: 01 00 00 BC 15 D1 [02:04:21]Write i2c OK [02:04:21]MH_I2C_Read... [02:04:21]OFD Sender: No OFD packet to send [02:04:22]*** Cut start [02:04:22]*** Partial cut [02:04:22]*** CUTSNS_PIN = 1 [02:04:22]*** CUTSNS_PIN = 0 [02:04:22]*** Brake cut motor [02:04:22]Read from MH i2c: 01 [02:04:22]MH_I2C_Read... [02:04:22]*** Stop cut motor [02:04:22]*** Cut end [02:04:22]Read from MH i2c: 01 07 00 [02:04:22]MH_I2C_Read... [02:04:22]Read from MH i2c: 01 07 00 BC 15 00 00 00 00 00 FF 0F E6 [02:04:22]process_action close_receipt done [02:04:22]requested_data is exist [02:04:22]produce_requested_data [02:04:22]requested_item fm.sn is exist - process it [02:04:22]wFMCommunicate request_size=4 [02:04:22]MH_SAM_APDU [02:04:22]CAPDU: 80 11 00 00 [02:04:22]Write to MH i2c: E2 08 00 BD 15 80 11 00 00 00 00 00 00 4C [02:04:22]Write i2c OK [02:04:22]MH_I2C_Read... [02:04:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:04:22]Read from MH i2c: E2 [02:04:22]MH_I2C_Read... [02:04:22]Read from MH i2c: E2 17 00 [02:04:22]MH_I2C_Read... [02:04:22]Read from MH i2c: E2 17 00 BD 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 A3 [02:04:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:04:22]wFMCommunicate OK [02:04:22]requested_item fd.num is exist - process it [02:04:22]SAM_PROTO_GetFieldsCounters [02:04:22]wFMCommunicate request_size=4 [02:04:22]MH_SAM_APDU [02:04:22]CAPDU: 80 13 00 00 [02:04:22]Write to MH i2c: E2 08 00 BE 15 80 13 00 00 00 00 00 00 4F [02:04:22]Write i2c OK [02:04:22]MH_I2C_Read... [02:04:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:04:22]Read from MH i2c: E2 [02:04:22]MH_I2C_Read... [02:04:22]Read from MH i2c: E2 62 00 [02:04:22]MH_I2C_Read... [02:04:22]Read from MH i2c: E2 62 00 BE 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 69 0B 01 00 0E 04 04 00 25 02 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 34 [02:04:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 69 0B 01 00 0E 04 04 00 25 02 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 [02:04:22]wFMCommunicate OK [02:04:22]SAM_PROTO_GetFieldsCounters done [02:04:22]requested_item shift.num is exist - process it [02:04:22]requested_item shift.opened is exist - process it [02:04:22]req_shift_opened [02:04:22]FM_GetShiftState [02:04:22]SAM_PROTO_GetShiftState [02:04:22]wFMCommunicate request_size=4 [02:04:22]MH_SAM_APDU [02:04:22]CAPDU: 80 13 01 00 [02:04:22]Write to MH i2c: E2 08 00 BF 15 80 13 01 00 00 00 00 00 51 [02:04:23]Write i2c OK [02:04:23]MH_I2C_Read... [02:04:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:04:23]Read from MH i2c: E2 [02:04:23]MH_I2C_Read... [02:04:23]Read from MH i2c: E2 0E 00 [02:04:23]MH_I2C_Read... [02:04:23]Read from MH i2c: E2 0E 00 BF 15 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 47 [02:04:23]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:04:23]wFMCommunicate OK [02:04:23]SAM_PROTO_GetShiftState done [02:04:23]FM_GetShiftState done [02:04:23]req_shift_opened done [02:04:23]requested_item shift.open_date is exist - process it [02:04:23]req_shift_open_date [02:04:23]req_shift_open_date done [02:04:23]produce_requested_data done [02:04:23]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68457,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [02:04:23]process_action_free close_receipt [02:04:23]json_value_free [02:04:23]json_value_free done [02:04:23]process_json_proto returns [02:04:23]Send response to host [02:04:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68457,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [02:04:23]free response buf [02:04:23]execute_script done [02:04:23]execute_script returns [02:04:23]free content buf [02:04:23]Sock 8.Close socket [02:04:23]Sock 8.Thread stoped [02:04:26]OFD Sender: No OFD packet to send [02:04:31]OFD Sender: No OFD packet to send [02:04:36]OFD Sender: No OFD packet to send [02:04:41]OFD Sender: No OFD packet to send [02:04:46]OFD Sender: No OFD packet to send [02:04:51]OFD Sender: No OFD packet to send [02:04:56]OFD Sender: No OFD packet to send [02:05:01]OFD Sender: No OFD packet to send [02:05:06]OFD Sender: No OFD packet to send [02:05:11]OFD Sender: No OFD packet to send [02:05:16]OFD Sender: No OFD packet to send [02:05:21]OFD Sender: No OFD packet to send [02:05:26]OFD Sender: No OFD packet to send [02:05:31]OFD Sender: No OFD packet to send [02:05:36]OFD Sender: No OFD packet to send [02:05:41]OFD Sender: No OFD packet to send [02:05:46]OFD Sender: No OFD packet to send [02:05:51]OFD Sender: No OFD packet to send [02:05:56]OFD Sender: No OFD packet to send [02:06:01]OFD Sender: No OFD packet to send [02:06:06]OFD Sender: No OFD packet to send [02:06:11]OFD Sender: No OFD packet to send [02:06:16]OFD Sender: No OFD packet to send [02:06:21]OFD Sender: No OFD packet to send [02:06:26]OFD Sender: No OFD packet to send [02:06:31]OFD Sender: No OFD packet to send [02:06:36]OFD Sender: No OFD packet to send [02:06:41]OFD Sender: No OFD packet to send [02:06:46]OFD Sender: No OFD packet to send [02:06:51]OFD Sender: No OFD packet to send [02:06:56]OFD Sender: No OFD packet to send [02:07:01]OFD Sender: No OFD packet to send [02:07:06]OFD Sender: No OFD packet to send [02:07:11]OFD Sender: No OFD packet to send [02:07:16]OFD Sender: No OFD packet to send [02:07:21]OFD Sender: No OFD packet to send [02:07:26]OFD Sender: No OFD packet to send [02:07:31]OFD Sender: No OFD packet to send [02:07:36]OFD Sender: No OFD packet to send [02:07:41]OFD Sender: No OFD packet to send [02:07:46]OFD Sender: No OFD packet to send [02:07:47]accept exits with 9 [02:07:47]New connection [02:07:47]New thread 3066858852 created [02:07:47]Thread 3066715492 joined [02:07:47]Waiting for new connection... [02:07:47] Sock 9.Parse request [02:07:47]Sock 9.Check first char [02:07:47]Sock 9.First char is OK [02:07:47]request: POST /json_proto HTTP/1.0 [02:07:47]Method: POST [02:07:47]URL: /json_proto [02:07:47]Method is POST - this is cgi request [02:07:47]url: /json_proto [02:07:47]query_string will be loaded in cgi processing [02:07:47]execute_cgi json_proto POST (null) [02:07:47]execute_cgi path=json_proto method=POST [02:07:47]POST find Content-Length [02:07:47]Host: 172.17.42.3:8080 [02:07:47]Content-Length: 681 [02:07:47]Content-Type: application/json [02:07:47] [02:07:47]POST finish read [02:07:47]Found Content-Length = 681 [02:07:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46432", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 26.950, "sum" : 1999.69, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1999.00, "payments": [ { "type": 0, "sum" : 1999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:07:47]execute_script... [02:07:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46432", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 26.950, "sum" : 1999.69, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1999.00, "payments": [ { "type": 0, "sum" : 1999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:07:47]POST & json_proto [02:07:47]process_json_proto [02:07:47]json parsed OK: [02:07:47]protocol is kg_v1.0 [02:07:47]action value=close_receipt [02:07:47]process_action close_receipt [02:07:47]cmd_close_receipt [02:07:47]MH_GetDate [02:07:47]Write to MH i2c: F0 00 00 C0 15 C4 [02:07:47]Write i2c OK [02:07:47]MH_I2C_Read... [02:07:47]Read from MH i2c: F0 [02:07:47]MH_I2C_Read... [02:07:47]Read from MH i2c: F0 09 00 [02:07:47]MH_I2C_Read... [02:07:47]Read from MH i2c: F0 09 00 C0 15 00 F6 94 21 67 28 A1 20 67 2F [02:07:47]GetLastDocTimeStamp 1730253861 [02:07:47]current date 1730254070 [02:07:47]FM_GetShiftState [02:07:47]SAM_PROTO_GetShiftState [02:07:47]wFMCommunicate request_size=4 [02:07:47]MH_SAM_APDU [02:07:47]CAPDU: 80 13 01 00 [02:07:47]Write to MH i2c: E2 08 00 C1 15 80 13 01 00 00 00 00 00 53 [02:07:47]Write i2c OK [02:07:47]MH_I2C_Read... [02:07:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:07:47]Read from MH i2c: E2 [02:07:47]MH_I2C_Read... [02:07:47]Read from MH i2c: E2 0E 00 [02:07:47]MH_I2C_Read... [02:07:47]Read from MH i2c: E2 0E 00 C1 15 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 49 [02:07:47]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:07:47]wFMCommunicate OK [02:07:47]SAM_PROTO_GetShiftState done [02:07:47]FM_GetShiftState done [02:07:47]opened in 1730247400 [02:07:47]opened+sec_in_day 1730333800 [02:07:47]quantity*price = 199969 [02:07:47]sum+1 = 199970 [02:07:47]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.69 ИТОГО: 1999.00 Внесено: 2000.00 СДАЧА: 1.00 НСП 1% : 17.70 НДС 12% : 212.36 Наличными: 1999.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 11 30.10.2024 02:07 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68458 ФПД: 257606809561044 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T020750&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68458&fm=257606809561044&tin=02508201610067®Number=0000000000091759&sum=199900 [02:07:49]StoreToDocumentArchive [02:07:49]shift 549 fd 68458 [02:07:49]save to /storage/0549/doc_00068458 [02:07:49]save last doc name /storage/0549/doc_00068458 to /storage/kkm_last_doc_name [02:07:49]save OK [02:07:49]Clear old archive folders... [02:07:49]ProcessDocumentItem done err = 0, tmpTLVsize=251 [02:07:49]tlvbuf is B6E91200 [02:07:49]SAM_PROTO_ClearQueue [02:07:49]wFMCommunicate request_size=4 [02:07:49]MH_SAM_APDU [02:07:49]CAPDU: 80 09 00 00 [02:07:49]Write to MH i2c: E2 08 00 CE 15 80 09 00 00 00 00 00 00 55 [02:07:49]Write i2c OK [02:07:49]MH_I2C_Read... [02:07:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:07:49]Read from MH i2c: E2 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 03 00 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 03 00 CE 15 00 90 00 57 [02:07:49]RAPDU: 90 00 [02:07:49]wFMCommunicate OK [02:07:49]SAM_PROTO_ClearQueue done [02:07:49]KKMCreateOFDPacket [02:07:49]OFDProtocolAddRootSTLVToBuf [02:07:49]FM_MakeSignedData [02:07:49]FM_MakeSignedData [02:07:49]SAM_PROTO_SignData [02:07:49]wFMCommunicate request_size=4 [02:07:49]MH_SAM_APDU [02:07:49]CAPDU: 80 0D 01 02 [02:07:49]Write to MH i2c: E2 08 00 CF 15 80 0D 01 02 00 00 00 00 5D [02:07:49]Write i2c OK [02:07:49]MH_I2C_Read... [02:07:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:07:49]Read from MH i2c: E2 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 03 00 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 03 00 CF 15 00 90 00 58 [02:07:49]RAPDU: 90 00 [02:07:49]wFMCommunicate OK [02:07:49]wFMCommunicate request_size=255 [02:07:49]MH_SAM_APDU [02:07: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 33 FF 03 08 00 03 46 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 21 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 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 F4 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 F6 94 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6A 0B 01 00 35 04 06 00 EA [02:07:49]Write to MH i2c: E2 02 01 D0 15 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 46 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 21 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 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 F4 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 F6 94 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6A 0B 01 00 35 04 06 00 EA 00 00 1B [02:07:49]Write i2c OK [02:07:49]MH_I2C_Read... [02:07:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:07:49]Read from MH i2c: E2 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 03 00 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 03 00 D0 15 00 90 00 59 [02:07:49]RAPDU: 90 00 [02:07:49]wFMCommunicate OK [02:07:49]wFMCommunicate request_size=10 [02:07:49]MH_SAM_APDU [02:07:49]CAPDU: 80 0D 02 02 05 4A C2 60 27 D4 [02:07:49]Write to MH i2c: E2 0D 00 D1 15 80 0D 02 02 05 00 4A C2 60 27 D4 00 00 D1 [02:07:49]Write i2c OK [02:07:49]MH_I2C_Read... [02:07:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:07:49]Read from MH i2c: E2 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 03 00 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 03 00 D1 15 00 90 00 5A [02:07:49]RAPDU: 90 00 [02:07:49]wFMCommunicate OK [02:07:49]wFMCommunicate request_size=4 [02:07:49]MH_SAM_APDU [02:07:49]CAPDU: 80 0D 03 02 [02:07:49]Write to MH i2c: E2 08 00 D2 15 80 0D 03 02 00 00 00 00 62 [02:07:49]Write i2c OK [02:07:49]MH_I2C_Read... [02:07:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:07:49]Read from MH i2c: E2 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 0B 00 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 0B 00 D2 15 00 7A 11 DE E0 9A 69 61 C7 90 00 D7 [02:07:49]RAPDU: 7A 11 DE E0 9A 69 61 C7 90 00 [02:07:49]wFMCommunicate OK [02:07:49]SAM_PROTO_SignData done [02:07:49]FM_MakeSignedData done [02:07:49]CreateOFDProtocolMessage [02:07:49]wFMCommunicate request_size=4 [02:07:49]MH_SAM_APDU [02:07:49]CAPDU: 80 11 00 00 [02:07:49]Write to MH i2c: E2 08 00 D3 15 80 11 00 00 00 00 00 00 62 [02:07:49]Write i2c OK [02:07:49]MH_I2C_Read... [02:07:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:07:49]Read from MH i2c: E2 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 17 00 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: E2 17 00 D3 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B9 [02:07:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:07:49]wFMCommunicate OK [02:07:49]CreateOFDProtocolMessage done [02:07:49]OFDSenderStorePacket 68458 [02:07:49]StoreOFDPacket docnum=68458 [02:07:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 36 0D 07 01 8C 00 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 33 FF 03 08 00 03 46 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 21 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 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 F4 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 F6 94 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6A 0B 01 00 35 04 06 00 EA 4A C2 60 27 D4 7A 11 DE E0 9A 69 61 C7 [02:07:49]CheckFolder [02:07:49]dirname=/storage/ofd_packets [02:07:49]CheckFolder done [02:07:49]ProducePacketName [02:07:49]name=ofd_packets/00068458 [02:07:49]NVStorageSaveData ofd_packets/00068458 [02:07:49]File name is /storage/ofd_packets/00068458 [02:07:49]Write 301 bytes [02:07:49]NVStorageSaveData done [02:07:49]OFDSenderStorePacket done [02:07:49]KKMCreateOFDPacket done [02:07:49]NVStorageSaveData kkm_last_timestamp [02:07:49]File name is /storage/kkm_last_timestamp [02:07:49]Write 4 bytes [02:07:49]NVStorageSaveData done [02:07:49]ExternCall_PrintAddStr [02:07:49]wPrintStart [02:07:49]Write to MH i2c: 01 00 00 D4 15 E9 [02:07:49]Write i2c OK [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: 01 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: 01 07 00 [02:07:49]MH_I2C_Read... [02:07:49]Read from MH i2c: 01 07 00 D4 15 00 00 00 00 00 FF 0F FE [02:07:49]RasterBufferAndPrint [02:07:49]line Счет N : (1)46432 [02:07:49]line ИНН: 02508201610067 [02:07:49]line Контрольно-Кассовый Чек [02:07:49]line ПРОДАЖА [02:07:49]line ТРК (МРК, ГНК) : 34 [02:07:49]line Товар: 2710124500 [02:07:49]line Аи-95-К-3 [02:07:49]line 26.950 * 74.20 [02:07:49]line = 1999.69 [02:07:49]line НДС 12% НСП 1% [02:07:49]line > о реализуемом товаре [02:07:49]line ОКРУГЛЕНИЕ: -0.69 [02:07:49]line ИТОГО: 1999.00 [02:07:49]line Внесено: 2000.00 [02:07:49]line СДАЧА: 1.00 [02:07:49]line НСП 1% : 17.70 [02:07:49]line НДС 12% : 212.36 [02:07:49]line Наличными: 1999.00 [02:07:49]line Безнал.: 0.00 [02:07:49]line Место: АЗС № 160 "Партнер Нефть" [02:07:49]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [02:07:49]line СНО: Общий режим [02:07:49]line Чек 11 30.10.2024 02:07 [02:07:49]line Смена: 549 ФФД: 1.0 [02:07:49]line ЗНМ: 0300000093 [02:07:49]line РНМ: 0000000000091759 [02:07:49]line Версия ККМ: 001 [02:07:49]line ФМ: 0000000000871758 [02:07:49]line ФД: 68458 [02:07:49]line ФПД: 257606809561044 [02:07:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T020750&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68458&fm=257606809561044&tin=02508201610067®Number=0000000000091759&sum=199900 [02:07:49]written 0, free lines is 4095 [02:07:49]OFD Sender: Processing packet 68458 [packets to send 28, broken 27] [02:07:49]ProducePacketName [02:07:49]name=ofd_packets/00068458 [02:07:49]OFD Sender: To server: pG, [02:07:49]CommunicateWithHost lk.salyk.kg:30040 [02:07:49]ConnectInit lk.salyk.kg [02:07:49]Connected sock=10 [02:07:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 36 0D 07 01 8C 00 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 33 FF 03 08 00 03 46 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 21 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 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 F4 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 F6 94 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6A 0B 01 00 35 04 06 00 EA 4A C2 60 27 D4 7A 11 DE E0 9A 69 61 C7 [02:07:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 58 30 47 00 F9 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6A 0B 01 00 F4 03 04 00 9D 40 21 67 B6 04 01 00 00 4B B2 FD 70 20 E0 E5 C5 [02:07:49]CommunicateWithHost err = 0 [02:07:49]CheckOFDResponse [02:07:49]1017 (14) - 77093643461234 [02:07:49]1041 (16) - 0000000000871758 [02:07:49]1040 (4) - 68458 [02:07:49]1012 (4) - 29.10.2024 20:07 [02:07:49]1206 (1) - 0 [02:07:49]OFD Sender: Remove packet 68458 [02:07:49]ProducePacketName [02:07:49]name=ofd_packets/00068458 [02:07:49]NVStorageDeleteData [02:07:50]Write to MH i2c: 01 00 00 FE 15 13 [02:07:50]Write i2c OK [02:07:50]MH_I2C_Read... [02:07:50]Read from MH i2c: 01 [02:07:50]MH_I2C_Read... [02:07:50]Read from MH i2c: 01 07 00 [02:07:50]MH_I2C_Read... [02:07:50]Read from MH i2c: 01 07 00 FE 15 00 00 00 00 00 C9 0C EF [02:07:50]RasterBufferAndPrint [02:07:50]line [02:07:50]line [02:07:50]line [02:07:50]line [02:07:50]line [02:07:50]written 0, free lines is 3279 [02:07:50]MH_Cut [02:07:50]Write to MH i2c: D1 01 00 05 16 01 ED [02:07:50]Write i2c OK [02:07:50]MH_I2C_Read... [02:07:50]Read from MH i2c: D1 [02:07:50]MH_I2C_Read... [02:07:50]Read from MH i2c: D1 01 00 [02:07:50]MH_I2C_Read... [02:07:50]Read from MH i2c: D1 01 00 05 16 00 EC [02:07:50]Write to MH i2c: 01 00 00 06 16 1C [02:07:50]Write i2c OK [02:07:50]MH_I2C_Read... [02:07:50]OFD Sender: No OFD packet to send [02:07:50]*** Cut start [02:07:50]*** Partial cut [02:07:50]*** CUTSNS_PIN = 1 [02:07:50]*** CUTSNS_PIN = 0 [02:07:51]*** Brake cut motor [02:07:51]Read from MH i2c: 01 [02:07:51]MH_I2C_Read... [02:07:51]*** Stop cut motor [02:07:51]*** Cut end [02:07:51]Read from MH i2c: 01 07 00 [02:07:51]MH_I2C_Read... [02:07:51]Read from MH i2c: 01 07 00 06 16 00 00 00 00 00 FF 0F 31 [02:07:51]process_action close_receipt done [02:07:51]requested_data is exist [02:07:51]produce_requested_data [02:07:51]requested_item fm.sn is exist - process it [02:07:51]wFMCommunicate request_size=4 [02:07:51]MH_SAM_APDU [02:07:51]CAPDU: 80 11 00 00 [02:07:51]Write to MH i2c: E2 08 00 07 16 80 11 00 00 00 00 00 00 97 [02:07:51]Write i2c OK [02:07:51]MH_I2C_Read... [02:07:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:07:51]Read from MH i2c: E2 [02:07:51]MH_I2C_Read... [02:07:51]Read from MH i2c: E2 17 00 [02:07:51]MH_I2C_Read... [02:07:51]Read from MH i2c: E2 17 00 07 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 EE [02:07:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:07:51]wFMCommunicate OK [02:07:51]requested_item fd.num is exist - process it [02:07:51]SAM_PROTO_GetFieldsCounters [02:07:51]wFMCommunicate request_size=4 [02:07:51]MH_SAM_APDU [02:07:51]CAPDU: 80 13 00 00 [02:07:51]Write to MH i2c: E2 08 00 08 16 80 13 00 00 00 00 00 00 9A [02:07:51]Write i2c OK [02:07:51]MH_I2C_Read... [02:07:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:07:51]Read from MH i2c: E2 [02:07:51]MH_I2C_Read... [02:07:51]Read from MH i2c: E2 62 00 [02:07:51]MH_I2C_Read... [02:07:51]Read from MH i2c: E2 62 00 08 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 6A 0B 01 00 0E 04 04 00 25 02 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 83 [02:07:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 6A 0B 01 00 0E 04 04 00 25 02 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 [02:07:51]wFMCommunicate OK [02:07:51]SAM_PROTO_GetFieldsCounters done [02:07:51]requested_item shift.num is exist - process it [02:07:51]requested_item shift.opened is exist - process it [02:07:51]req_shift_opened [02:07:51]FM_GetShiftState [02:07:51]SAM_PROTO_GetShiftState [02:07:51]wFMCommunicate request_size=4 [02:07:51]MH_SAM_APDU [02:07:51]CAPDU: 80 13 01 00 [02:07:51]Write to MH i2c: E2 08 00 09 16 80 13 01 00 00 00 00 00 9C [02:07:51]Write i2c OK [02:07:51]MH_I2C_Read... [02:07:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:07:51]Read from MH i2c: E2 [02:07:51]MH_I2C_Read... [02:07:51]Read from MH i2c: E2 0E 00 [02:07:51]MH_I2C_Read... [02:07:51]Read from MH i2c: E2 0E 00 09 16 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 92 [02:07:51]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:07:51]wFMCommunicate OK [02:07:51]SAM_PROTO_GetShiftState done [02:07:51]FM_GetShiftState done [02:07:51]req_shift_opened done [02:07:51]requested_item shift.open_date is exist - process it [02:07:51]req_shift_open_date [02:07:51]req_shift_open_date done [02:07:51]produce_requested_data done [02:07:51]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68458,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [02:07:51]process_action_free close_receipt [02:07:51]json_value_free [02:07:51]json_value_free done [02:07:51]process_json_proto returns [02:07:51]Send response to host [02:07:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68458,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [02:07:51]free response buf [02:07:51]execute_script done [02:07:51]execute_script returns [02:07:51]free content buf [02:07:51]Sock 9.Close socket [02:07:51]Sock 9.Thread stoped [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:05]OFD Sender: No OFD packet to send [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:17:00]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:16]OFD Sender: No OFD packet to send [02:18:21]OFD Sender: No OFD packet to send [02:18:26]OFD Sender: No OFD packet to send [02:18:31]OFD Sender: No OFD packet to send [02:18:36]OFD Sender: No OFD packet to send [02:18:41]OFD Sender: No OFD packet to send [02:18:46]OFD Sender: No OFD packet to send [02:18:51]OFD Sender: No OFD packet to send [02:18:56]OFD Sender: No OFD packet to send [02:19:01]OFD Sender: No OFD packet to send [02:19:06]OFD Sender: No OFD packet to send [02:19:11]OFD Sender: No OFD packet to send [02:19:16]OFD Sender: No OFD packet to send [02:19:21]OFD Sender: No OFD packet to send [02:19:26]OFD Sender: No OFD packet to send [02:19:31]OFD Sender: No OFD packet to send [02:19:36]OFD Sender: No OFD packet to send [02:19:41]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:31]accept exits with 8 [02:22:31]New connection [02:22:31]New thread 3066715492 created [02:22:31]Thread 3066858852 joined [02:22:31]Waiting for new connection... [02:22:31] Sock 8.Parse request [02:22:31]Sock 8.Check first char [02:22:31]Sock 8.First char is OK [02:22:31]request: POST /json_proto HTTP/1.0 [02:22:31]Method: POST [02:22:31]URL: /json_proto [02:22:31]Method is POST - this is cgi request [02:22:31]url: /json_proto [02:22:31]query_string will be loaded in cgi processing [02:22:31]execute_cgi json_proto POST (null) [02:22:31]execute_cgi path=json_proto method=POST [02:22:31]POST find Content-Length [02:22:31]Host: 172.17.42.3:8080 [02:22:31]Content-Length: 656 [02:22:31]Content-Type: application/json [02:22:31] [02:22:31]POST finish read [02:22:31]Found Content-Length = 656 [02:22:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17268", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:22:31]execute_script... [02:22:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17268", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:22:31]POST & json_proto [02:22:31]process_json_proto [02:22:31]json parsed OK: [02:22:31]protocol is kg_v1.0 [02:22:31]action value=close_receipt [02:22:31]process_action close_receipt [02:22:31]cmd_close_receipt [02:22:31]MH_GetDate [02:22:31]Write to MH i2c: F0 00 00 0A 16 0F [02:22:31]Write i2c OK [02:22:31]MH_I2C_Read... [02:22:31]Read from MH i2c: F0 [02:22:31]MH_I2C_Read... [02:22:31]Read from MH i2c: F0 09 00 [02:22:31]MH_I2C_Read... [02:22:31]Read from MH i2c: F0 09 00 0A 16 00 6A 98 21 67 28 A1 20 67 F2 [02:22:31]GetLastDocTimeStamp 1730254070 [02:22:31]current date 1730254954 [02:22:31]FM_GetShiftState [02:22:31]SAM_PROTO_GetShiftState [02:22:31]wFMCommunicate request_size=4 [02:22:31]MH_SAM_APDU [02:22:31]CAPDU: 80 13 01 00 [02:22:31]Write to MH i2c: E2 08 00 0B 16 80 13 01 00 00 00 00 00 9E [02:22:31]Write i2c OK [02:22:31]MH_I2C_Read... [02:22:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:22:31]Read from MH i2c: E2 [02:22:31]MH_I2C_Read... [02:22:31]Read from MH i2c: E2 0E 00 [02:22:31]MH_I2C_Read... [02:22:31]Read from MH i2c: E2 0E 00 0B 16 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 94 [02:22:31]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:22:31]wFMCommunicate OK [02:22:31]SAM_PROTO_GetShiftState done [02:22:31]FM_GetShiftState done [02:22:31]opened in 1730247400 [02:22:31]opened+sec_in_day 1730333800 [02:22:31]quantity*price = 9500 [02:22:31]sum+1 = 9501 [02:22:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 12 30.10.2024 02:22 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68459 ФПД: 119846651561331 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T022234&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68459&fm=119846651561331&tin=02508201610067®Number=0000000000091759&sum=9500 0 [02:22:32]StoreToDocumentArchive [02:22:32]shift 549 fd 68459 [02:22:32]save to /storage/0549/doc_00068459 [02:22:32]save last doc name /storage/0549/doc_00068459 to /storage/kkm_last_doc_name [02:22:32]save OK [02:22:32]Clear old archive folders... [02:22:32]ProcessDocumentItem done err = 0, tmpTLVsize=288 [02:22:32]tlvbuf is 01E1D540 [02:22:32]SAM_PROTO_ClearQueue [02:22:32]wFMCommunicate request_size=4 [02:22:32]MH_SAM_APDU [02:22:32]CAPDU: 80 09 00 00 [02:22:32]Write to MH i2c: E2 08 00 18 16 80 09 00 00 00 00 00 00 A0 [02:22:32]Write i2c OK [02:22:32]MH_I2C_Read... [02:22:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:22:32]Read from MH i2c: E2 [02:22:32]MH_I2C_Read... [02:22:32]Read from MH i2c: E2 03 00 [02:22:32]MH_I2C_Read... [02:22:32]Read from MH i2c: E2 03 00 18 16 00 90 00 A2 [02:22:32]RAPDU: 90 00 [02:22:32]wFMCommunicate OK [02:22:32]SAM_PROTO_ClearQueue done [02:22:32]KKMCreateOFDPacket [02:22:32]OFDProtocolAddRootSTLVToBuf [02:22:32]FM_MakeSignedData [02:22:32]FM_MakeSignedData [02:22:32]SAM_PROTO_SignData [02:22:32]wFMCommunicate request_size=4 [02:22:32]MH_SAM_APDU [02:22:32]CAPDU: 80 0D 01 02 [02:22:32]Write to MH i2c: E2 08 00 19 16 80 0D 01 02 00 00 00 00 A8 [02:22:32]Write i2c OK [02:22:32]MH_I2C_Read... [02:22:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:22:32]Read from MH i2c: E2 [02:22:32]MH_I2C_Read... [02:22:32]Read from MH i2c: E2 03 00 [02:22:32]MH_I2C_Read... [02:22:32]Read from MH i2c: E2 03 00 19 16 00 90 00 A3 [02:22:32]RAPDU: 90 00 [02:22:32]wFMCommunicate OK [02:22:32]wFMCommunicate request_size=255 [02:22:32]MH_SAM_APDU [02:22:32]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 6A 98 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [02:22:32]Write to MH i2c: E2 02 01 1A 16 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 6A 98 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 50 [02:22:32]Write i2c OK [02:22:32]MH_I2C_Read... [02:22:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:22:33]Read from MH i2c: E2 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: E2 03 00 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: E2 03 00 1A 16 00 90 00 A4 [02:22:33]RAPDU: 90 00 [02:22:33]wFMCommunicate OK [02:22:33]wFMCommunicate request_size=47 [02:22:33]MH_SAM_APDU [02:22:33]CAPDU: 80 0D 02 02 2A 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6B 0B 01 00 35 04 06 00 6C FF F9 18 05 73 [02:22:33]Write to MH i2c: E2 32 00 1B 16 80 0D 02 02 2A 00 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6B 0B 01 00 35 04 06 00 6C FF F9 18 05 73 00 00 E0 [02:22:33]Write i2c OK [02:22:33]MH_I2C_Read... [02:22:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:22:33]Read from MH i2c: E2 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: E2 03 00 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: E2 03 00 1B 16 00 90 00 A5 [02:22:33]RAPDU: 90 00 [02:22:33]wFMCommunicate OK [02:22:33]wFMCommunicate request_size=4 [02:22:33]MH_SAM_APDU [02:22:33]CAPDU: 80 0D 03 02 [02:22:33]Write to MH i2c: E2 08 00 1C 16 80 0D 03 02 00 00 00 00 AD [02:22:33]Write i2c OK [02:22:33]MH_I2C_Read... [02:22:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:22:33]Read from MH i2c: E2 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: E2 0B 00 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: E2 0B 00 1C 16 00 08 22 21 AB 7E ED FB 80 90 00 8A [02:22:33]RAPDU: 08 22 21 AB 7E ED FB 80 90 00 [02:22:33]wFMCommunicate OK [02:22:33]SAM_PROTO_SignData done [02:22:33]FM_MakeSignedData done [02:22:33]CreateOFDProtocolMessage [02:22:33]wFMCommunicate request_size=4 [02:22:33]MH_SAM_APDU [02:22:33]CAPDU: 80 11 00 00 [02:22:33]Write to MH i2c: E2 08 00 1D 16 80 11 00 00 00 00 00 00 AD [02:22:33]Write i2c OK [02:22:33]MH_I2C_Read... [02:22:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:22:33]Read from MH i2c: E2 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: E2 17 00 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: E2 17 00 1D 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 04 [02:22:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:22:33]wFMCommunicate OK [02:22:33]CreateOFDProtocolMessage done [02:22:33]OFDSenderStorePacket 68459 [02:22:33]StoreOFDPacket docnum=68459 [02:22:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 34 01 00 00 95 65 2C 01 AA 3F 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 6A 98 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6B 0B 01 00 35 04 06 00 6C FF F9 18 05 73 08 22 21 AB 7E ED FB 80 [02:22:33]CheckFolder [02:22:33]dirname=/storage/ofd_packets [02:22:33]CheckFolder done [02:22:33]ProducePacketName [02:22:33]name=ofd_packets/00068459 [02:22:33]NVStorageSaveData ofd_packets/00068459 [02:22:33]File name is /storage/ofd_packets/00068459 [02:22:33]Write 338 bytes [02:22:33]NVStorageSaveData done [02:22:33]OFDSenderStorePacket done [02:22:33]KKMCreateOFDPacket done [02:22:33]NVStorageSaveData kkm_last_timestamp [02:22:33]File name is /storage/kkm_last_timestamp [02:22:33]Write 4 bytes [02:22:33]NVStorageSaveData done [02:22:33]ExternCall_PrintAddStr [02:22:33]wPrintStart [02:22:33]Write to MH i2c: 01 00 00 1E 16 34 [02:22:33]Write i2c OK [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: 01 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: 01 07 00 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: 01 07 00 1E 16 00 00 00 00 00 FF 0F 49 [02:22:33]RasterBufferAndPrint [02:22:33]line Счет N : (3)17268 [02:22:33]line ИНН: 02508201610067 [02:22:33]line Контрольно-Кассовый Чек [02:22:33]line ПРОДАЖА [02:22:33]line Товар: 4700000481453 [02:22:33]line Напиток энерг Nitro Max 0,45 ж/б [02:22:33]line 1.000 * 95.00 [02:22:33]line = 95.00 [02:22:33]line НДС 12% НСП 1% [02:22:33]line > о реализуемом товаре [02:22:33]line ИТОГО: 95.00 [02:22:33]line НСП 1% : 0.84 [02:22:33]line НДС 12% : 10.09 [02:22:33]line Наличными: 95.00 [02:22:33]line Безнал.: 0.00 [02:22:33]line Место: АЗС № 160 "Партнер Нефть" [02:22:33]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [02:22:33]line СНО: Общий режим [02:22:33]line Чек 12 30.10.2024 02:22 [02:22:33]line Смена: 549 ФФД: 1.0 [02:22:33]line ЗНМ: 0300000093 [02:22:33]line РНМ: 0000000000091759 [02:22:33]line Версия ККМ: 001 [02:22:33]line ФМ: 0000000000871758 [02:22:33]line ФД: 68459 [02:22:33]line ФПД: 119846651561331 [02:22:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T022234&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68459&fm=119846651561331&tin=02508201610067®Number=0000000000091759&sum=9500 [02:22:33]line 0 [02:22:33]OFD Sender: Processing packet 68459 [packets to send 28, broken 27] [02:22:33]ProducePacketName [02:22:33]name=ofd_packets/00068459 [02:22:33]OFD Sender: To server: pG, [02:22:33]CommunicateWithHost lk.salyk.kg:30040 [02:22:33]ConnectInit lk.salyk.kg [02:22:33]written 0, free lines is 4095 [02:22:33]Connected sock=10 [02:22:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 34 01 00 00 95 65 2C 01 AA 3F 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 6A 98 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6B 0B 01 00 35 04 06 00 6C FF F9 18 05 73 08 22 21 AB 7E ED FB 80 [02:22:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4E 2C 47 00 79 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6B 0B 01 00 F4 03 04 00 11 44 21 67 B6 04 01 00 00 83 7E B7 0B 07 A9 AD 5E [02:22:33]CommunicateWithHost err = 0 [02:22:33]CheckOFDResponse [02:22:33]1017 (14) - 77093643461234 [02:22:33]1041 (16) - 0000000000871758 [02:22:33]1040 (4) - 68459 [02:22:33]1012 (4) - 29.10.2024 20:22 [02:22:33]1206 (1) - 0 [02:22:33]OFD Sender: Remove packet 68459 [02:22:33]ProducePacketName [02:22:33]name=ofd_packets/00068459 [02:22:33]NVStorageDeleteData [02:22:33]Write to MH i2c: 01 00 00 46 16 5C [02:22:33]Write i2c OK [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: 01 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: 01 07 00 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: 01 07 00 46 16 00 00 00 00 00 CC 0C 3B [02:22:33]RasterBufferAndPrint [02:22:33]line [02:22:33]line [02:22:33]line [02:22:33]line [02:22:33]line [02:22:33]written 0, free lines is 3279 [02:22:33]MH_Cut [02:22:33]Write to MH i2c: D1 01 00 4D 16 01 35 [02:22:33]Write i2c OK [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: D1 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: D1 01 00 [02:22:33]MH_I2C_Read... [02:22:33]Read from MH i2c: D1 01 00 4D 16 00 34 [02:22:33]Write to MH i2c: 01 00 00 4E 16 64 [02:22:33]Write i2c OK [02:22:33]MH_I2C_Read... [02:22:34]OFD Sender: No OFD packet to send [02:22:34]*** Cut start [02:22:34]*** Partial cut [02:22:34]*** CUTSNS_PIN = 1 [02:22:34]*** CUTSNS_PIN = 0 [02:22:35]*** Brake cut motor [02:22:35]Read from MH i2c: 01 [02:22:35]MH_I2C_Read... [02:22:35]*** Stop cut motor [02:22:35]*** Cut end [02:22:35]Read from MH i2c: 01 07 00 [02:22:35]MH_I2C_Read... [02:22:35]Read from MH i2c: 01 07 00 4E 16 00 00 00 00 00 FF 0F 79 [02:22:35]process_action close_receipt done [02:22:35]requested_data is exist [02:22:35]produce_requested_data [02:22:35]requested_item fm.sn is exist - process it [02:22:35]wFMCommunicate request_size=4 [02:22:35]MH_SAM_APDU [02:22:35]CAPDU: 80 11 00 00 [02:22:35]Write to MH i2c: E2 08 00 4F 16 80 11 00 00 00 00 00 00 DF [02:22:35]Write i2c OK [02:22:35]MH_I2C_Read... [02:22:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:22:35]Read from MH i2c: E2 [02:22:35]MH_I2C_Read... [02:22:35]Read from MH i2c: E2 17 00 [02:22:35]MH_I2C_Read... [02:22:35]Read from MH i2c: E2 17 00 4F 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 36 [02:22:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:22:35]wFMCommunicate OK [02:22:35]requested_item fd.num is exist - process it [02:22:35]SAM_PROTO_GetFieldsCounters [02:22:35]wFMCommunicate request_size=4 [02:22:35]MH_SAM_APDU [02:22:35]CAPDU: 80 13 00 00 [02:22:35]Write to MH i2c: E2 08 00 50 16 80 13 00 00 00 00 00 00 E2 [02:22:35]Write i2c OK [02:22:35]MH_I2C_Read... [02:22:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:22:35]Read from MH i2c: E2 [02:22:35]MH_I2C_Read... [02:22:35]Read from MH i2c: E2 62 00 [02:22:35]MH_I2C_Read... [02:22:35]Read from MH i2c: E2 62 00 50 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 6B 0B 01 00 0E 04 04 00 25 02 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 CF [02:22:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 6B 0B 01 00 0E 04 04 00 25 02 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 [02:22:35]wFMCommunicate OK [02:22:35]SAM_PROTO_GetFieldsCounters done [02:22:35]requested_item shift.num is exist - process it [02:22:35]requested_item shift.opened is exist - process it [02:22:35]req_shift_opened [02:22:35]FM_GetShiftState [02:22:35]SAM_PROTO_GetShiftState [02:22:35]wFMCommunicate request_size=4 [02:22:35]MH_SAM_APDU [02:22:35]CAPDU: 80 13 01 00 [02:22:35]Write to MH i2c: E2 08 00 51 16 80 13 01 00 00 00 00 00 E4 [02:22:35]Write i2c OK [02:22:35]MH_I2C_Read... [02:22:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:22:35]Read from MH i2c: E2 [02:22:35]MH_I2C_Read... [02:22:35]Read from MH i2c: E2 0E 00 [02:22:35]MH_I2C_Read... [02:22:35]Read from MH i2c: E2 0E 00 51 16 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 DA [02:22:35]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:22:35]wFMCommunicate OK [02:22:35]SAM_PROTO_GetShiftState done [02:22:35]FM_GetShiftState done [02:22:35]req_shift_opened done [02:22:35]requested_item shift.open_date is exist - process it [02:22:35]req_shift_open_date [02:22:35]req_shift_open_date done [02:22:35]produce_requested_data done [02:22:35]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68459,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [02:22:35]process_action_free close_receipt [02:22:35]json_value_free [02:22:35]json_value_free done [02:22:35]process_json_proto returns [02:22:35]Send response to host [02:22:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68459,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [02:22:35]free response buf [02:22:35]execute_script done [02:22:35]execute_script returns [02:22:35]free content buf [02:22:35]Sock 8.Close socket [02:22:35]Sock 8.Thread stoped [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:29]OFD Sender: No OFD packet to send [02:34:34]OFD Sender: No OFD packet to send [02:34:39]OFD Sender: No OFD packet to send [02:34:44]OFD Sender: No OFD packet to send [02:34:49]OFD Sender: No OFD packet to send [02:34:54]OFD Sender: No OFD packet to send [02:34:59]OFD Sender: No OFD packet to send [02:35:04]OFD Sender: No OFD packet to send [02:35:09]OFD Sender: No OFD packet to send [02:35:14]OFD Sender: No OFD packet to send [02:35:19]OFD Sender: No OFD packet to send [02:35:24]OFD Sender: No OFD packet to send [02:35:29]OFD Sender: No OFD packet to send [02:35:34]OFD Sender: No OFD packet to send [02:35:39]OFD Sender: No OFD packet to send [02:35:44]OFD Sender: No OFD packet to send [02:35:49]OFD Sender: No OFD packet to send [02:35:54]OFD Sender: No OFD packet to send [02:35:59]OFD Sender: No OFD packet to send [02:36:04]OFD Sender: No OFD packet to send [02:36:09]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:13]int [02:46:13]Write to MH i2c: 01 00 00 52 16 68 [02:46:13]*** FLAG_PRN_KEY set [02:46:13]Write i2c OK [02:46:13]MH_I2C_Read... [02:46:13]Read from MH i2c: 01 [02:46:13]MH_I2C_Read... [02:46:13]Read from MH i2c: 01 07 00 [02:46:13]MH_I2C_Read... [02:46:13]Read from MH i2c: 01 07 00 52 16 00 08 00 00 00 FF 0F 85 [02:46:13]state=0 [02:46:13]Key pressed [02:46:13]Feed [02:46:13]Write to MH i2c: D8 00 00 53 16 40 [02:46:13]Write i2c OK [02:46:13]MH_I2C_Read... [02:46:13]Read from MH i2c: D8 [02:46:13]MH_I2C_Read... [02:46:13]Read from MH i2c: D8 01 00 [02:46:13]MH_I2C_Read... [02:46:13]Read from MH i2c: D8 01 00 53 16 00 41 [02:46:13]int [02:46:13]Write to MH i2c: 01 00 00 54 16 6A [02:46:13]Write i2c OK [02:46:13]MH_I2C_Read... [02:46:13]Read from MH i2c: 01 [02:46:13]MH_I2C_Read... [02:46:13]Read from MH i2c: 01 07 00 [02:46:13]MH_I2C_Read... [02:46:13]Read from MH i2c: 01 07 00 54 16 00 48 00 00 00 3C 00 F5 [02:46:13]state=2 [02:46:13]Key pressed [02:46:14]int [02:46:14]Write to MH i2c: 01 00 00 55 16 6B [02:46:14]*** FLAG_PRN_KEY reset [02:46:14]Write i2c OK [02:46:14]MH_I2C_Read... [02:46:14]Read from MH i2c: 01 [02:46:14]MH_I2C_Read... [02:46:14]Read from MH i2c: 01 07 00 [02:46:14]MH_I2C_Read... [02:46:14]Read from MH i2c: 01 07 00 55 16 00 00 00 00 00 F5 0F 76 [02:46:14]state=2 [02:46:14]Stop feed [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:18]accept exits with 9 [02:47:18]New connection [02:47:18]New thread 3066858852 created [02:47:18]Thread 3066715492 joined [02:47:18]Waiting for new connection... [02:47:18] Sock 9.Parse request [02:47:18]Sock 9.Check first char [02:47:18]Sock 9.First char is OK [02:47:18]request: POST /json_proto HTTP/1.0 [02:47:18]Method: POST [02:47:18]URL: /json_proto [02:47:18]Method is POST - this is cgi request [02:47:18]url: /json_proto [02:47:18]query_string will be loaded in cgi processing [02:47:18]execute_cgi json_proto POST (null) [02:47:18]execute_cgi path=json_proto method=POST [02:47:18]POST find Content-Length [02:47:18]Host: 172.17.42.3:8080 [02:47:18]Content-Length: 678 [02:47:18]Content-Type: application/json [02:47:18] [02:47:18]POST finish read [02:47:18]Found Content-Length = 678 [02:47:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46433", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.300, "sum" : 2004.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2004.00, "total" : 2004.00, "payments": [ { "type": 0, "sum" : 2004.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:47:18]execute_script... [02:47: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)46433", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.300, "sum" : 2004.06, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2004.00, "total" : 2004.00, "payments": [ { "type": 0, "sum" : 2004.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:47:18]POST & json_proto [02:47:18]process_json_proto [02:47:18]json parsed OK: [02:47:18]protocol is kg_v1.0 [02:47:18]action value=close_receipt [02:47:18]process_action close_receipt [02:47:18]cmd_close_receipt [02:47:18]MH_GetDate [02:47:18]Write to MH i2c: F0 00 00 56 16 5B [02:47:18]Write i2c OK [02:47:18]MH_I2C_Read... [02:47:18]Read from MH i2c: F0 [02:47:18]MH_I2C_Read... [02:47:18]Read from MH i2c: F0 09 00 [02:47:18]MH_I2C_Read... [02:47:18]Read from MH i2c: F0 09 00 56 16 00 39 9E 21 67 28 A1 20 67 13 [02:47:18]GetLastDocTimeStamp 1730254954 [02:47:18]current date 1730256441 [02:47:18]FM_GetShiftState [02:47:18]SAM_PROTO_GetShiftState [02:47:18]wFMCommunicate request_size=4 [02:47:18]MH_SAM_APDU [02:47:18]CAPDU: 80 13 01 00 [02:47:18]Write to MH i2c: E2 08 00 57 16 80 13 01 00 00 00 00 00 EA [02:47:18]Write i2c OK [02:47:18]MH_I2C_Read... [02:47:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:47:18]Read from MH i2c: E2 [02:47:18]MH_I2C_Read... [02:47:18]Read from MH i2c: E2 0E 00 [02:47:18]MH_I2C_Read... [02:47:18]Read from MH i2c: E2 0E 00 57 16 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 E0 [02:47:18]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:47:18]wFMCommunicate OK [02:47:18]SAM_PROTO_GetShiftState done [02:47:18]FM_GetShiftState done [02:47:18]opened in 1730247400 [02:47:18]opened+sec_in_day 1730333800 [02:47:18]quantity*price = 200406 [02:47:18]sum+1 = 200407 [02:47:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.06 ИТОГО: 2004.00 Внесено: 2004.00 СДАЧА: 0.00 НСП 1% : 17.73 НДС 12% : 212.82 Наличными: 2004.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 13 30.10.2024 02:47 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68460 ФПД: 158062545772442 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T024722&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68460&fm=158062545772442&tin=02508201610067®Number=0000000000091759&sum=200400 [02:47:20]StoreToDocumentArchive [02:47:20]shift 549 fd 68460 [02:47:20]save to /storage/0549/doc_00068460 [02:47:20]save last doc name /storage/0549/doc_00068460 to /storage/kkm_last_doc_name [02:47:20]save OK [02:47:20]Clear old archive folders... [02:47:20]ProcessDocumentItem done err = 0, tmpTLVsize=248 [02:47:20]tlvbuf is 01E5FA60 [02:47:20]SAM_PROTO_ClearQueue [02:47:20]wFMCommunicate request_size=4 [02:47:20]MH_SAM_APDU [02:47:20]CAPDU: 80 09 00 00 [02:47:20]Write to MH i2c: E2 08 00 64 16 80 09 00 00 00 00 00 00 EC [02:47:20]Write i2c OK [02:47:20]MH_I2C_Read... [02:47:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:47:20]Read from MH i2c: E2 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 03 00 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 03 00 64 16 00 90 00 EE [02:47:20]RAPDU: 90 00 [02:47:20]wFMCommunicate OK [02:47:20]SAM_PROTO_ClearQueue done [02:47:20]KKMCreateOFDPacket [02:47:20]OFDProtocolAddRootSTLVToBuf [02:47:20]FM_MakeSignedData [02:47:20]FM_MakeSignedData [02:47:20]SAM_PROTO_SignData [02:47:20]wFMCommunicate request_size=4 [02:47:20]MH_SAM_APDU [02:47:20]CAPDU: 80 0D 01 02 [02:47:20]Write to MH i2c: E2 08 00 65 16 80 0D 01 02 00 00 00 00 F4 [02:47:20]Write i2c OK [02:47:20]MH_I2C_Read... [02:47:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:47:20]Read from MH i2c: E2 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 03 00 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 03 00 65 16 00 90 00 EF [02:47:20]RAPDU: 90 00 [02:47:20]wFMCommunicate OK [02:47:20]wFMCommunicate request_size=255 [02:47:20]MH_SAM_APDU [02:47:20]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 BC 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D6 0E 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 0E 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 53 00 00 00 00 07 04 06 00 D0 0E 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 3A 9E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6C 0B 01 00 35 04 06 00 8F C1 CD E4 [02:47:20]Write to MH i2c: E2 02 01 66 16 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 BC 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D6 0E 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 0E 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 53 00 00 00 00 07 04 06 00 D0 0E 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 3A 9E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6C 0B 01 00 35 04 06 00 8F C1 CD E4 00 00 7C [02:47:20]Write i2c OK [02:47:20]MH_I2C_Read... [02:47:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:47:20]Read from MH i2c: E2 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 03 00 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 03 00 66 16 00 90 00 F0 [02:47:20]RAPDU: 90 00 [02:47:20]wFMCommunicate OK [02:47:20]wFMCommunicate request_size=7 [02:47:20]MH_SAM_APDU [02:47:20]CAPDU: 80 0D 02 02 02 9F 9A [02:47:20]Write to MH i2c: E2 0A 00 67 16 80 0D 02 02 02 00 9F 9A 00 00 34 [02:47:20]Write i2c OK [02:47:20]MH_I2C_Read... [02:47:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:47:20]Read from MH i2c: E2 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 03 00 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 03 00 67 16 00 90 00 F1 [02:47:20]RAPDU: 90 00 [02:47:20]wFMCommunicate OK [02:47:20]wFMCommunicate request_size=4 [02:47:20]MH_SAM_APDU [02:47:20]CAPDU: 80 0D 03 02 [02:47:20]Write to MH i2c: E2 08 00 68 16 80 0D 03 02 00 00 00 00 F9 [02:47:20]Write i2c OK [02:47:20]MH_I2C_Read... [02:47:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:47:20]Read from MH i2c: E2 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 0B 00 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 0B 00 68 16 00 85 FE F3 E3 05 49 F9 CD 90 00 67 [02:47:20]RAPDU: 85 FE F3 E3 05 49 F9 CD 90 00 [02:47:20]wFMCommunicate OK [02:47:20]SAM_PROTO_SignData done [02:47:20]FM_MakeSignedData done [02:47:20]CreateOFDProtocolMessage [02:47:20]wFMCommunicate request_size=4 [02:47:20]MH_SAM_APDU [02:47:20]CAPDU: 80 11 00 00 [02:47:20]Write to MH i2c: E2 08 00 69 16 80 11 00 00 00 00 00 00 F9 [02:47:20]Write i2c OK [02:47:20]MH_I2C_Read... [02:47:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:47:20]OFD Sender: No OFD packet to send [02:47:20]Read from MH i2c: E2 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 17 00 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: E2 17 00 69 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 50 [02:47:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:47:20]wFMCommunicate OK [02:47:20]CreateOFDProtocolMessage done [02:47:20]OFDSenderStorePacket 68460 [02:47:20]StoreOFDPacket docnum=68460 [02:47:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 7D 89 04 01 A4 52 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 BC 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D6 0E 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 0E 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 53 00 00 00 00 07 04 06 00 D0 0E 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 3A 9E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6C 0B 01 00 35 04 06 00 8F C1 CD E4 9F 9A 85 FE F3 E3 05 49 F9 CD [02:47:20]CheckFolder [02:47:20]dirname=/storage/ofd_packets [02:47:20]CheckFolder done [02:47:20]ProducePacketName [02:47:20]name=ofd_packets/00068460 [02:47:20]NVStorageSaveData ofd_packets/00068460 [02:47:20]File name is /storage/ofd_packets/00068460 [02:47:20]Write 298 bytes [02:47:20]NVStorageSaveData done [02:47:20]OFDSenderStorePacket done [02:47:20]KKMCreateOFDPacket done [02:47:20]NVStorageSaveData kkm_last_timestamp [02:47:20]File name is /storage/kkm_last_timestamp [02:47:20]Write 4 bytes [02:47:20]NVStorageSaveData done [02:47:20]ExternCall_PrintAddStr [02:47:20]wPrintStart [02:47:20]Write to MH i2c: 01 00 00 6A 16 80 [02:47:20]Write i2c OK [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: 01 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: 01 07 00 [02:47:20]MH_I2C_Read... [02:47:20]Read from MH i2c: 01 07 00 6A 16 00 00 00 00 00 FF 0F 95 [02:47:20]RasterBufferAndPrint [02:47:20]line Счет N : (1)46433 [02:47:20]line ИНН: 02508201610067 [02:47:20]line Контрольно-Кассовый Чек [02:47:20]line ПРОДАЖА [02:47:20]line ТРК (МРК, ГНК) : 41 [02:47:20]line Товар: 2710194210 [02:47:20]line ДТ-К-5 [02:47:20]line 26.300 * 76.20 [02:47:20]line = 2004.06 [02:47:20]line НДС 12% НСП 1% [02:47:20]line > о реализуемом товаре [02:47:20]line ОКРУГЛЕНИЕ: -0.06 [02:47:20]line ИТОГО: 2004.00 [02:47:20]line Внесено: 2004.00 [02:47:20]line СДАЧА: 0.00 [02:47:20]line НСП 1% : 17.73 [02:47:20]line НДС 12% : 212.82 [02:47:20]line Наличными: 2004.00 [02:47:20]line Безнал.: 0.00 [02:47:20]line Место: АЗС № 160 "Партнер Нефть" [02:47:20]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [02:47:20]line СНО: Общий режим [02:47:20]line Чек 13 30.10.2024 02:47 [02:47:20]line Смена: 549 ФФД: 1.0 [02:47:20]line ЗНМ: 0300000093 [02:47:20]line РНМ: 0000000000091759 [02:47:20]line Версия ККМ: 001 [02:47:20]line ФМ: 0000000000871758 [02:47:20]line ФД: 68460 [02:47:20]line ФПД: 158062545772442 [02:47:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T024722&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68460&fm=158062545772442&tin=02508201610067®Number=0000000000091759&sum=200400 [02:47:20]OFD Sender: Processing packet 68460 [packets to send 28, broken 27] [02:47:20]ProducePacketName [02:47:20]name=ofd_packets/00068460 [02:47:20]OFD Sender: To server: pG, [02:47:20]CommunicateWithHost lk.salyk.kg:30040 [02:47:20]ConnectInit lk.salyk.kg [02:47:20]written 0, free lines is 4095 [02:47:20]Connected sock=10 [02:47:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 7D 89 04 01 A4 52 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 BC 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D6 0E 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 0E 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 53 00 00 00 00 07 04 06 00 D0 0E 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 3A 9E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6C 0B 01 00 35 04 06 00 8F C1 CD E4 9F 9A 85 FE F3 E3 05 49 F9 CD [02:47:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0C 70 47 00 60 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6C 0B 01 00 F4 03 04 00 E0 49 21 67 B6 04 01 00 00 76 EB F0 FB 7A 03 C7 2D [02:47:21]CommunicateWithHost err = 0 [02:47:21]CheckOFDResponse [02:47:21]1017 (14) - 77093643461234 [02:47:21]1041 (16) - 0000000000871758 [02:47:21]1040 (4) - 68460 [02:47:21]1012 (4) - 29.10.2024 20:47 [02:47:21]1206 (1) - 0 [02:47:21]OFD Sender: Remove packet 68460 [02:47:21]ProducePacketName [02:47:21]name=ofd_packets/00068460 [02:47:21]NVStorageDeleteData [02:47:21]Write to MH i2c: 01 00 00 94 16 AA [02:47:21]Write i2c OK [02:47:21]MH_I2C_Read... [02:47:21]Read from MH i2c: 01 [02:47:21]MH_I2C_Read... [02:47:21]Read from MH i2c: 01 07 00 [02:47:21]MH_I2C_Read... [02:47:21]Read from MH i2c: 01 07 00 94 16 00 00 00 00 00 B9 0C 76 [02:47:21]RasterBufferAndPrint [02:47:21]line [02:47:21]line [02:47:21]line [02:47:21]line [02:47:21]line [02:47:21]written 0, free lines is 3263 [02:47:21]MH_Cut [02:47:21]Write to MH i2c: D1 01 00 9B 16 01 83 [02:47:21]Write i2c OK [02:47:21]MH_I2C_Read... [02:47:21]Read from MH i2c: D1 [02:47:21]MH_I2C_Read... [02:47:21]Read from MH i2c: D1 01 00 [02:47:21]MH_I2C_Read... [02:47:21]Read from MH i2c: D1 01 00 9B 16 00 82 [02:47:21]Write to MH i2c: 01 00 00 9C 16 B2 [02:47:21]Write i2c OK [02:47:21]MH_I2C_Read... [02:47:21]OFD Sender: No OFD packet to send [02:47:22]*** Cut start [02:47:22]*** Partial cut [02:47:22]*** CUTSNS_PIN = 1 [02:47:22]*** CUTSNS_PIN = 0 [02:47:22]*** Brake cut motor [02:47:22]Read from MH i2c: 01 [02:47:22]MH_I2C_Read... [02:47:22]*** Stop cut motor [02:47:22]*** Cut end [02:47:22]Read from MH i2c: 01 07 00 [02:47:22]MH_I2C_Read... [02:47:22]Read from MH i2c: 01 07 00 9C 16 00 00 00 00 00 FF 0F C7 [02:47:22]process_action close_receipt done [02:47:22]requested_data is exist [02:47:22]produce_requested_data [02:47:22]requested_item fm.sn is exist - process it [02:47:22]wFMCommunicate request_size=4 [02:47:22]MH_SAM_APDU [02:47:22]CAPDU: 80 11 00 00 [02:47:22]Write to MH i2c: E2 08 00 9D 16 80 11 00 00 00 00 00 00 2D [02:47:22]Write i2c OK [02:47:22]MH_I2C_Read... [02:47:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:47:22]Read from MH i2c: E2 [02:47:22]MH_I2C_Read... [02:47:22]Read from MH i2c: E2 17 00 [02:47:22]MH_I2C_Read... [02:47:22]Read from MH i2c: E2 17 00 9D 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 84 [02:47:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:47:22]wFMCommunicate OK [02:47:22]requested_item fd.num is exist - process it [02:47:22]SAM_PROTO_GetFieldsCounters [02:47:22]wFMCommunicate request_size=4 [02:47:22]MH_SAM_APDU [02:47:22]CAPDU: 80 13 00 00 [02:47:22]Write to MH i2c: E2 08 00 9E 16 80 13 00 00 00 00 00 00 30 [02:47:22]Write i2c OK [02:47:22]MH_I2C_Read... [02:47:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:47:22]Read from MH i2c: E2 [02:47:22]MH_I2C_Read... [02:47:22]Read from MH i2c: E2 62 00 [02:47:22]MH_I2C_Read... [02:47:23]Read from MH i2c: E2 62 00 9E 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 6C 0B 01 00 0E 04 04 00 25 02 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 21 [02:47:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 6C 0B 01 00 0E 04 04 00 25 02 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 [02:47:23]wFMCommunicate OK [02:47:23]SAM_PROTO_GetFieldsCounters done [02:47:23]requested_item shift.num is exist - process it [02:47:23]requested_item shift.opened is exist - process it [02:47:23]req_shift_opened [02:47:23]FM_GetShiftState [02:47:23]SAM_PROTO_GetShiftState [02:47:23]wFMCommunicate request_size=4 [02:47:23]MH_SAM_APDU [02:47:23]CAPDU: 80 13 01 00 [02:47:23]Write to MH i2c: E2 08 00 9F 16 80 13 01 00 00 00 00 00 32 [02:47:23]Write i2c OK [02:47:23]MH_I2C_Read... [02:47:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:47:23]Read from MH i2c: E2 [02:47:23]MH_I2C_Read... [02:47:23]Read from MH i2c: E2 0E 00 [02:47:23]MH_I2C_Read... [02:47:23]Read from MH i2c: E2 0E 00 9F 16 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 28 [02:47:23]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:47:23]wFMCommunicate OK [02:47:23]SAM_PROTO_GetShiftState done [02:47:23]FM_GetShiftState done [02:47:23]req_shift_opened done [02:47:23]requested_item shift.open_date is exist - process it [02:47:23]req_shift_open_date [02:47:23]req_shift_open_date done [02:47:23]produce_requested_data done [02:47:23]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68460,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [02:47:23]process_action_free close_receipt [02:47:23]json_value_free [02:47:23]json_value_free done [02:47:23]process_json_proto returns [02:47:23]Send response to host [02:47:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68460,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [02:47:23]free response buf [02:47:23]execute_script done [02:47:23]execute_script returns [02:47:23]free content buf [02:47:23]Sock 9.Close socket [02:47:23]Sock 9.Thread stoped [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:56]OFD Sender: No OFD packet to send [02:48:01]OFD Sender: No OFD packet to send [02:48:06]OFD Sender: No OFD packet to send [02:48:11]OFD Sender: No OFD packet to send [02:48:16]OFD Sender: No OFD packet to send [02:48:21]OFD Sender: No OFD packet to send [02:48:26]OFD Sender: No OFD packet to send [02:48:31]OFD Sender: No OFD packet to send [02:48:36]OFD Sender: No OFD packet to send [02:48:41]OFD Sender: No OFD packet to send [02:48:46]OFD Sender: No OFD packet to send [02:48:50]accept exits with 8 [02:48:50]New connection [02:48:50]New thread 3066715492 created [02:48:50]Thread 3066858852 joined [02:48:50]Waiting for new connection... [02:48:50] Sock 8.Parse request [02:48:50]Sock 8.Check first char [02:48:50]Sock 8.First char is OK [02:48:50]request: POST /json_proto HTTP/1.0 [02:48:50]Method: POST [02:48:50]URL: /json_proto [02:48:50]Method is POST - this is cgi request [02:48:50]url: /json_proto [02:48:50]query_string will be loaded in cgi processing [02:48:50]execute_cgi json_proto POST (null) [02:48:50]execute_cgi path=json_proto method=POST [02:48:50]POST find Content-Length [02:48:50]Host: 172.17.42.3:8080 [02:48:50]Content-Length: 815 [02:48:50]Content-Type: application/json [02:48:50] [02:48:50]POST finish read [02:48:50]Found Content-Length = 815 [02:48:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46434", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1500.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:48:50]execute_script... [02:48: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)46434", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1500.38 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:48:50]POST & json_proto [02:48:50]process_json_proto [02:48:50]json parsed OK: [02:48:50]protocol is kg_v1.0 [02:48:50]action value=close_receipt [02:48:50]process_action close_receipt [02:48:50]cmd_close_receipt [02:48:50]MH_GetDate [02:48:50]Write to MH i2c: F0 00 00 A0 16 A5 [02:48:50]Write i2c OK [02:48:50]MH_I2C_Read... [02:48:50]Read from MH i2c: F0 [02:48:50]MH_I2C_Read... [02:48:50]Read from MH i2c: F0 09 00 [02:48:50]MH_I2C_Read... [02:48:50]Read from MH i2c: F0 09 00 A0 16 00 95 9E 21 67 28 A1 20 67 B9 [02:48:50]GetLastDocTimeStamp 1730256442 [02:48:50]current date 1730256533 [02:48:50]FM_GetShiftState [02:48:50]SAM_PROTO_GetShiftState [02:48:50]wFMCommunicate request_size=4 [02:48:50]MH_SAM_APDU [02:48:50]CAPDU: 80 13 01 00 [02:48:50]Write to MH i2c: E2 08 00 A1 16 80 13 01 00 00 00 00 00 34 [02:48:50]Write i2c OK [02:48:50]MH_I2C_Read... [02:48:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:48:50]Read from MH i2c: E2 [02:48:50]MH_I2C_Read... [02:48:50]Read from MH i2c: E2 0E 00 [02:48:50]MH_I2C_Read... [02:48:50]Read from MH i2c: E2 0E 00 A1 16 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 2A [02:48:50]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:48:50]wFMCommunicate OK [02:48:50]SAM_PROTO_GetShiftState done [02:48:50]FM_GetShiftState done [02:48:50]opened in 1730247400 [02:48:50]opened+sec_in_day 1730333800 [02:48:50]quantity*price = 150037 [02:48:50]sum+1 = 150039 [02:48:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1500.38 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 0.00 Безнал.: 1500.38 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 14 30.10.2024 02:48 Смена: 549 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68461 ФПД: 51688174220218 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T024853&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68461&fm=51688174220218&tin=02508201610067®Number=0000000000091759&sum=150038 [02:48:51]StoreToDocumentArchive [02:48:51]shift 549 fd 68461 [02:48:51]save to /storage/0549/doc_00068461 [02:48:51]save last doc name /storage/0549/doc_00068461 to /storage/kkm_last_doc_name [02:48:51]save OK [02:48:51]Clear old archive folders... [02:48:51]ProcessDocumentItem done err = 0, tmpTLVsize=248 [02:48:51]tlvbuf is B6EAA3C0 [02:48:51]SAM_PROTO_ClearQueue [02:48:51]wFMCommunicate request_size=4 [02:48:51]MH_SAM_APDU [02:48:51]CAPDU: 80 09 00 00 [02:48:51]Write to MH i2c: E2 08 00 AE 16 80 09 00 00 00 00 00 00 36 [02:48:51]Write i2c OK [02:48:51]MH_I2C_Read... [02:48:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:48:51]Read from MH i2c: E2 [02:48:51]MH_I2C_Read... [02:48:51]Read from MH i2c: E2 03 00 [02:48:51]MH_I2C_Read... [02:48:51]Read from MH i2c: E2 03 00 AE 16 00 90 00 38 [02:48:51]RAPDU: 90 00 [02:48:51]wFMCommunicate OK [02:48:51]SAM_PROTO_ClearQueue done [02:48:51]KKMCreateOFDPacket [02:48:51]OFDProtocolAddRootSTLVToBuf [02:48:51]FM_MakeSignedData [02:48:51]FM_MakeSignedData [02:48:51]SAM_PROTO_SignData [02:48:51]wFMCommunicate request_size=4 [02:48:51]MH_SAM_APDU [02:48:51]CAPDU: 80 0D 01 02 [02:48:51]Write to MH i2c: E2 08 00 AF 16 80 0D 01 02 00 00 00 00 3E [02:48:51]Write i2c OK [02:48:51]MH_I2C_Read... [02:48:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:48:51]Read from MH i2c: E2 [02:48:51]MH_I2C_Read... [02:48:51]Read from MH i2c: E2 03 00 [02:48:51]MH_I2C_Read... [02:48:51]Read from MH i2c: E2 03 00 AF 16 00 90 00 39 [02:48:51]RAPDU: 90 00 [02:48:51]wFMCommunicate OK [02:48:51]wFMCommunicate request_size=255 [02:48:51]MH_SAM_APDU [02:48:51]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 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 16 4A 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 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 95 9E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6D 0B 01 00 35 04 06 00 2F 02 97 43 [02:48:51]Write to MH i2c: E2 02 01 B0 16 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 16 4A 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 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 95 9E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6D 0B 01 00 35 04 06 00 2F 02 97 43 00 00 06 [02:48:51]Write i2c OK [02:48:51]MH_I2C_Read... [02:48:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:48:52]Read from MH i2c: E2 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: E2 03 00 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: E2 03 00 B0 16 00 90 00 3A [02:48:52]RAPDU: 90 00 [02:48:52]wFMCommunicate OK [02:48:52]wFMCommunicate request_size=7 [02:48:52]MH_SAM_APDU [02:48:52]CAPDU: 80 0D 02 02 02 73 BA [02:48:52]Write to MH i2c: E2 0A 00 B1 16 80 0D 02 02 02 00 73 BA 00 00 72 [02:48:52]Write i2c OK [02:48:52]MH_I2C_Read... [02:48:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:48:52]Read from MH i2c: E2 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: E2 03 00 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: E2 03 00 B1 16 00 90 00 3B [02:48:52]RAPDU: 90 00 [02:48:52]wFMCommunicate OK [02:48:52]wFMCommunicate request_size=4 [02:48:52]MH_SAM_APDU [02:48:52]CAPDU: 80 0D 03 02 [02:48:52]Write to MH i2c: E2 08 00 B2 16 80 0D 03 02 00 00 00 00 43 [02:48:52]Write i2c OK [02:48:52]MH_I2C_Read... [02:48:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:48:52]Read from MH i2c: E2 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: E2 0B 00 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: E2 0B 00 B2 16 00 06 FA 99 6E 18 8D EB 22 90 00 FD [02:48:52]RAPDU: 06 FA 99 6E 18 8D EB 22 90 00 [02:48:52]wFMCommunicate OK [02:48:52]SAM_PROTO_SignData done [02:48:52]FM_MakeSignedData done [02:48:52]CreateOFDProtocolMessage [02:48:52]wFMCommunicate request_size=4 [02:48:52]MH_SAM_APDU [02:48:52]CAPDU: 80 11 00 00 [02:48:52]Write to MH i2c: E2 08 00 B3 16 80 11 00 00 00 00 00 00 43 [02:48:52]Write i2c OK [02:48:52]MH_I2C_Read... [02:48:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:48:52]Read from MH i2c: E2 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: E2 17 00 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: E2 17 00 B3 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9A [02:48:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:48:52]wFMCommunicate OK [02:48:52]CreateOFDProtocolMessage done [02:48:52]OFDSenderStorePacket 68461 [02:48:52]StoreOFDPacket docnum=68461 [02:48:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 7C CA 04 01 C0 B4 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 16 4A 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 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 95 9E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6D 0B 01 00 35 04 06 00 2F 02 97 43 73 BA 06 FA 99 6E 18 8D EB 22 [02:48:52]CheckFolder [02:48:52]dirname=/storage/ofd_packets [02:48:52]CheckFolder done [02:48:52]ProducePacketName [02:48:52]name=ofd_packets/00068461 [02:48:52]NVStorageSaveData ofd_packets/00068461 [02:48:52]File name is /storage/ofd_packets/00068461 [02:48:52]Write 298 bytes [02:48:52]NVStorageSaveData done [02:48:52]OFDSenderStorePacket done [02:48:52]KKMCreateOFDPacket done [02:48:52]NVStorageSaveData kkm_last_timestamp [02:48:52]File name is /storage/kkm_last_timestamp [02:48:52]Write 4 bytes [02:48:52]NVStorageSaveData done [02:48:52]ExternCall_PrintAddStr [02:48:52]wPrintStart [02:48:52]Write to MH i2c: 01 00 00 B4 16 CA [02:48:52]Write i2c OK [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: 01 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: 01 07 00 [02:48:52]MH_I2C_Read... [02:48:52]Read from MH i2c: 01 07 00 B4 16 00 00 00 00 00 FF 0F DF [02:48:52]RasterBufferAndPrint [02:48:52]line Счет N : (1)46434 [02:48:52]line ИНН: 02508201610067 [02:48:52]line Контрольно-Кассовый Чек [02:48:52]line ПРОДАЖА [02:48:52]line ТРК (МРК, ГНК) : 11 [02:48:52]line Товар: 2710194210 [02:48:52]line ДТ-К-5 [02:48:52]line 19.690 * 76.20 [02:48:52]line = 1500.38 [02:48:52]line НДС 12% НСП 1% [02:48:52]line > о реализуемом товаре [02:48:52]line ИТОГО: 1500.38 [02:48:52]line НСП 1% : 13.28 [02:48:52]line НДС 12% : 159.33 [02:48:52]line Наличными: 0.00 [02:48:52]line Безнал.: 1500.38 [02:48:52]line Место: АЗС № 160 "Партнер Нефть" [02:48:52]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [02:48:52]line СНО: Общий режим [02:48:52]line Чек 14 30.10.2024 02:48 [02:48:52]line Смена: 549 ФФД: 1.0 [02:48:52]line ЗНМ: 0300000093 [02:48:52]line РНМ: 0000000000091759 [02:48:52]line Версия ККМ: 001 [02:48:52]line Платежная система: Бакай Банк [02:48:52]line ФМ: 0000000000871758 [02:48:52]line ФД: 68461 [02:48:52]line ФПД: 51688174220218 [02:48:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T024853&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68461&fm=51688174220218&tin=02508201610067®Number=0000000000091759&sum=150038 [02:48:52]OFD Sender: Processing packet 68461 [packets to send 28, broken 27] [02:48:52]ProducePacketName [02:48:52]name=ofd_packets/00068461 [02:48:52]OFD Sender: To server: pG, [02:48:52]CommunicateWithHost lk.salyk.kg:30040 [02:48:52]ConnectInit lk.salyk.kg [02:48:52]written 0, free lines is 4095 [02:48:52]Connected sock=10 [02:48:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 7C CA 04 01 C0 B4 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 16 4A 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 16 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 95 9E 21 67 0E 04 04 00 25 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6D 0B 01 00 35 04 06 00 2F 02 97 43 73 BA 06 FA 99 6E 18 8D EB 22 [02:48:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 AB 56 47 00 48 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6D 0B 01 00 F4 03 04 00 3C 4A 21 67 B6 04 01 00 00 D4 7E 1A AB B2 9D C4 41 [02:48:53]CommunicateWithHost err = 0 [02:48:53]CheckOFDResponse [02:48:53]1017 (14) - 77093643461234 [02:48:53]1041 (16) - 0000000000871758 [02:48:53]1040 (4) - 68461 [02:48:53]1012 (4) - 29.10.2024 20:49 [02:48:53]1206 (1) - 0 [02:48:53]OFD Sender: Remove packet 68461 [02:48:53]ProducePacketName [02:48:53]name=ofd_packets/00068461 [02:48:53]NVStorageDeleteData [02:48:53]Write to MH i2c: 01 00 00 DD 16 F3 [02:48:53]Write i2c OK [02:48:53]MH_I2C_Read... [02:48:53]Read from MH i2c: 01 [02:48:53]MH_I2C_Read... [02:48:53]Read from MH i2c: 01 07 00 [02:48:53]MH_I2C_Read... [02:48:53]Read from MH i2c: 01 07 00 DD 16 00 00 00 00 00 C0 0C C6 [02:48:53]RasterBufferAndPrint [02:48:53]line [02:48:53]line [02:48:53]line [02:48:53]line [02:48:53]line [02:48:53]written 0, free lines is 3270 [02:48:53]MH_Cut [02:48:53]Write to MH i2c: D1 01 00 E4 16 01 CC [02:48:53]Write i2c OK [02:48:53]MH_I2C_Read... [02:48:53]Read from MH i2c: D1 [02:48:53]MH_I2C_Read... [02:48:53]Read from MH i2c: D1 01 00 [02:48:53]MH_I2C_Read... [02:48:53]Read from MH i2c: D1 01 00 E4 16 00 CB [02:48:53]Write to MH i2c: 01 00 00 E5 16 FB [02:48:53]Write i2c OK [02:48:53]MH_I2C_Read... [02:48:53]OFD Sender: No OFD packet to send [02:48:53]*** Cut start [02:48:53]*** Partial cut [02:48:53]*** CUTSNS_PIN = 1 [02:48:54]*** CUTSNS_PIN = 0 [02:48:54]*** Brake cut motor [02:48:54]Read from MH i2c: 01 [02:48:54]MH_I2C_Read... [02:48:54]*** Stop cut motor [02:48:54]*** Cut end [02:48:54]Read from MH i2c: 01 07 00 [02:48:54]MH_I2C_Read... [02:48:54]Read from MH i2c: 01 07 00 E5 16 00 00 00 00 00 FF 0F 10 [02:48:54]process_action close_receipt done [02:48:54]requested_data is exist [02:48:54]produce_requested_data [02:48:54]requested_item fm.sn is exist - process it [02:48:54]wFMCommunicate request_size=4 [02:48:54]MH_SAM_APDU [02:48:54]CAPDU: 80 11 00 00 [02:48:54]Write to MH i2c: E2 08 00 E6 16 80 11 00 00 00 00 00 00 76 [02:48:54]Write i2c OK [02:48:54]MH_I2C_Read... [02:48:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:48:54]Read from MH i2c: E2 [02:48:54]MH_I2C_Read... [02:48:54]Read from MH i2c: E2 17 00 [02:48:54]MH_I2C_Read... [02:48:54]Read from MH i2c: E2 17 00 E6 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 CD [02:48:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:48:54]wFMCommunicate OK [02:48:54]requested_item fd.num is exist - process it [02:48:54]SAM_PROTO_GetFieldsCounters [02:48:54]wFMCommunicate request_size=4 [02:48:54]MH_SAM_APDU [02:48:54]CAPDU: 80 13 00 00 [02:48:54]Write to MH i2c: E2 08 00 E7 16 80 13 00 00 00 00 00 00 79 [02:48:54]Write i2c OK [02:48:54]MH_I2C_Read... [02:48:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:48:54]Read from MH i2c: E2 [02:48:54]MH_I2C_Read... [02:48:54]Read from MH i2c: E2 62 00 [02:48:54]MH_I2C_Read... [02:48:54]Read from MH i2c: E2 62 00 E7 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 6D 0B 01 00 0E 04 04 00 25 02 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 6E [02:48:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 6D 0B 01 00 0E 04 04 00 25 02 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 [02:48:54]wFMCommunicate OK [02:48:54]SAM_PROTO_GetFieldsCounters done [02:48:54]requested_item shift.num is exist - process it [02:48:54]requested_item shift.opened is exist - process it [02:48:54]req_shift_opened [02:48:54]FM_GetShiftState [02:48:54]SAM_PROTO_GetShiftState [02:48:54]wFMCommunicate request_size=4 [02:48:54]MH_SAM_APDU [02:48:54]CAPDU: 80 13 01 00 [02:48:54]Write to MH i2c: E2 08 00 E8 16 80 13 01 00 00 00 00 00 7B [02:48:54]Write i2c OK [02:48:54]MH_I2C_Read... [02:48:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:48:54]Read from MH i2c: E2 [02:48:54]MH_I2C_Read... [02:48:54]Read from MH i2c: E2 0E 00 [02:48:54]MH_I2C_Read... [02:48:54]Read from MH i2c: E2 0E 00 E8 16 00 09 00 01 E8 7A 21 67 00 00 00 00 90 00 71 [02:48:54]RAPDU: 09 00 01 E8 7A 21 67 00 00 00 00 90 00 [02:48:54]wFMCommunicate OK [02:48:54]SAM_PROTO_GetShiftState done [02:48:54]FM_GetShiftState done [02:48:54]req_shift_opened done [02:48:54]requested_item shift.open_date is exist - process it [02:48:54]req_shift_open_date [02:48:54]req_shift_open_date done [02:48:54]produce_requested_data done [02:48:54]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68461,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400} [02:48:54]process_action_free close_receipt [02:48:54]json_value_free [02:48:54]json_value_free done [02:48:54]process_json_proto returns [02:48:54]Send response to host [02:48:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68461,"shift.num":549,"shift.opened":1,"shift.open_date":1730247400}}} [02:48:54]free response buf [02:48:54]execute_script done [02:48:54]execute_script returns [02:48:54]free content buf [02:48:54]Sock 8.Close socket [02:48:54]Sock 8.Thread stoped [02:48:58]OFD Sender: No OFD packet to send [02:49:03]OFD Sender: No OFD packet to send [02:49:08]OFD Sender: No OFD packet to send [02:49:13]OFD Sender: No OFD packet to send [02:49:18]OFD Sender: No OFD packet to send [02:49:23]OFD Sender: No OFD packet to send [02:49:28]OFD Sender: No OFD packet to send [02:49:33]OFD Sender: No OFD packet to send [02:49:38]OFD Sender: No OFD packet to send [02:49:43]OFD Sender: No OFD packet to send [02:49:48]OFD Sender: No OFD packet to send [02:49:53]OFD Sender: No OFD packet to send [02:49:58]OFD Sender: No OFD packet to send [02:50:03]OFD Sender: No OFD packet to send [02:50:08]OFD Sender: No OFD packet to send [02:50:13]OFD Sender: No OFD packet to send [02:50:18]OFD Sender: No OFD packet to send [02:50:23]OFD Sender: No OFD packet to send [02:50:28]OFD Sender: No OFD packet to send [02:50:33]OFD Sender: No OFD packet to send [02:50:38]OFD Sender: No OFD packet to send [02:50:43]OFD Sender: No OFD packet to send [02:50:48]OFD Sender: No OFD packet to send [02:50:53]OFD Sender: No OFD packet to send [02:50:58]OFD Sender: No OFD packet to send [02:51:03]OFD Sender: No OFD packet to send [02:51:08]OFD Sender: No OFD packet to send [02:51:13]OFD Sender: No OFD packet to send [02:51:18]OFD Sender: No OFD packet to send [02:51:23]OFD Sender: No OFD packet to send [02:51:28]OFD Sender: No OFD packet to send [02:51:33]OFD Sender: No OFD packet to send [02:51:38]OFD Sender: No OFD packet to send [02:51:43]OFD Sender: No OFD packet to send [02:51:48]OFD Sender: No OFD packet to send [02:51:53]OFD Sender: No OFD packet to send [02:51:58]OFD Sender: No OFD packet to send [02:52:03]OFD Sender: No OFD packet to send [02:52:08]OFD Sender: No OFD packet to send [02:52:13]OFD Sender: No OFD packet to send [02:52:18]OFD Sender: No OFD packet to send [02:52:23]OFD Sender: No OFD packet to send [02:52:28]OFD Sender: No OFD packet to send [02:52:33]OFD Sender: No OFD packet to send [02:52:38]OFD Sender: No OFD packet to send [02:52:43]OFD Sender: No OFD packet to send [02:52:48]OFD Sender: No OFD packet to send [02:52:53]OFD Sender: No OFD packet to send [02:52:58]OFD Sender: No OFD packet to send [02:53:03]OFD Sender: No OFD packet to send [02:53:08]OFD Sender: No OFD packet to send [02:53:13]OFD Sender: No OFD packet to send [02:53:18]OFD Sender: No OFD packet to send [02:53:23]OFD Sender: No OFD packet to send [02:53:28]OFD Sender: No OFD packet to send [02:53:33]OFD Sender: No OFD packet to send [02:53:38]OFD Sender: No OFD packet to send [02:53:43]OFD Sender: No OFD packet to send [02:53:48]OFD Sender: No OFD packet to send [02:53:53]OFD Sender: No OFD packet to send [02:53:58]OFD Sender: No OFD packet to send [02:54:03]OFD Sender: No OFD packet to send [02:54:08]OFD Sender: No OFD packet to send [02:54:13]OFD Sender: No OFD packet to send [02:54:18]OFD Sender: No OFD packet to send [02:54:23]OFD Sender: No OFD packet to send [02:54:28]OFD Sender: No OFD packet to send [02:54:33]OFD Sender: No OFD packet to send [02:54:38]OFD Sender: No OFD packet to send [02:54:43]OFD Sender: No OFD packet to send [02:54:48]OFD Sender: No OFD packet to send [02:54:53]OFD Sender: No OFD packet to send [02:54:58]OFD Sender: No OFD packet to send [02:55:03]OFD Sender: No OFD packet to send [02:55:08]OFD Sender: No OFD packet to send [02:55:13]OFD Sender: No OFD packet to send [02:55:18]OFD Sender: No OFD packet to send [02:55:23]OFD Sender: No OFD packet to send [02:55:28]OFD Sender: No OFD packet to send [02:55:33]OFD Sender: No OFD packet to send [02:55:38]OFD Sender: No OFD packet to send [02:55:43]OFD Sender: No OFD packet to send [02:55:48]OFD Sender: No OFD packet to send [02:55:53]OFD Sender: No OFD packet to send [02:55:58]OFD Sender: No OFD packet to send [02:56:03]OFD Sender: No OFD packet to send [02:56:08]OFD Sender: No OFD packet to send [02:56:13]OFD Sender: No OFD packet to send [02:56:18]OFD Sender: No OFD packet to send [02:56:23]OFD Sender: No OFD packet to send [02:56:28]OFD Sender: No OFD packet to send [02:56:33]OFD Sender: No OFD packet to send [02:56:38]OFD Sender: No OFD packet to send [02:56:43]OFD Sender: No OFD packet to send [02:56:48]OFD Sender: No OFD packet to send [02:56:53]OFD Sender: No OFD packet to send [02:56:58]OFD Sender: No OFD packet to send [02:57:03]OFD Sender: No OFD packet to send [02:57:08]OFD Sender: No OFD packet to send [02:57:13]OFD Sender: No OFD packet to send [02:57:18]OFD Sender: No OFD packet to send [02:57:23]OFD Sender: No OFD packet to send [02:57:28]OFD Sender: No OFD packet to send [02:57:33]OFD Sender: No OFD packet to send [02:57:38]OFD Sender: No OFD packet to send [02:57:43]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send