[03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send [03:08:25]OFD Sender: No OFD packet to send [03:08:30]OFD Sender: No OFD packet to send [03:08:35]OFD Sender: No OFD packet to send [03:08:40]OFD Sender: No OFD packet to send [03:08:45]OFD Sender: No OFD packet to send [03:08:50]OFD Sender: No OFD packet to send [03:08:55]OFD Sender: No OFD packet to send [03:09:00]OFD Sender: No OFD packet to send [03:09:05]OFD Sender: No OFD packet to send [03:09:10]OFD Sender: No OFD packet to send [03:09:15]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:10]OFD Sender: No OFD packet to send [03:11:12]accept exits with 9 [03:11:12]New connection [03:11:12]New thread 3067043172 created [03:11:12]Thread 3067186532 joined [03:11:12]Waiting for new connection... [03:11:12] Sock 9.Parse request [03:11:12]Sock 9.Check first char [03:11:12]Sock 9.First char is OK [03:11:12]request: POST /json_proto HTTP/1.0 [03:11:12]Method: POST [03:11:12]URL: /json_proto [03:11:12]Method is POST - this is cgi request [03:11:12]url: /json_proto [03:11:12]query_string will be loaded in cgi processing [03:11:12]execute_cgi json_proto POST (null) [03:11:12]execute_cgi path=json_proto method=POST [03:11:12]POST find Content-Length [03:11:12]Host: 172.17.40.196:8080 [03:11:12]Content-Length: 616 [03:11:12]Content-Type: application/json [03:11:12] [03:11:12]POST finish read [03:11:12]Found Content-Length = 616 [03:11:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35300", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 2.000, "sum" : 290.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:11:12]execute_script... [03:11: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)35300", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 2.000, "sum" : 290.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:11:12]POST & json_proto [03:11:12]process_json_proto [03:11:12]json parsed OK: [03:11:12]protocol is kg_v1.0 [03:11:12]action value=close_receipt [03:11:12]process_action close_receipt [03:11:12]cmd_close_receipt [03:11:12]MH_GetDate [03:11:12]Write to MH i2c: F0 00 00 08 04 FB [03:11:12]Write i2c OK [03:11:12]MH_I2C_Read... [03:11:12]Read from MH i2c: F0 [03:11:12]MH_I2C_Read... [03:11:12]Read from MH i2c: F0 09 00 [03:11:12]MH_I2C_Read... [03:11:12]Read from MH i2c: F0 09 00 08 04 00 52 F5 22 67 5B 68 A1 66 9E [03:11:12]GetLastDocTimeStamp 1730340795 [03:11:12]current date 1730344274 [03:11:12]FM_GetShiftState [03:11:12]SAM_PROTO_GetShiftState [03:11:12]wFMCommunicate request_size=4 [03:11:12]MH_SAM_APDU [03:11:12]CAPDU: 80 13 01 00 [03:11:12]Write to MH i2c: E2 08 00 09 04 80 13 01 00 00 00 00 00 8A [03:11:12]Write i2c OK [03:11:12]MH_I2C_Read... [03:11:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:11:12]Read from MH i2c: E2 [03:11:12]MH_I2C_Read... [03:11:12]Read from MH i2c: E2 0E 00 [03:11:12]MH_I2C_Read... [03:11:12]Read from MH i2c: E2 0E 00 09 04 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 C4 [03:11:12]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [03:11:12]wFMCommunicate OK [03:11:12]SAM_PROTO_GetShiftState done [03:11:12]FM_GetShiftState done [03:11:12]opened in 1730333148 [03:11:12]opened+sec_in_day 1730419548 [03:11:12]quantity*price = 29000 [03:11:12]sum+1 = 29001 [03:11:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 290.00 НСП 1% : 2.57 НДС 12% : 30.80 Наличными: 290.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 10 31.10.2024 03:11 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38002 ФПД: 141460737618099 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T031114&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38002&fm=141460737618099&tin=02508201610067®Number=0000000000091684&sum=29000 0 [03:11:13]StoreToDocumentArchive [03:11:13]shift 554 fd 38002 [03:11:13]save to /storage/0554/doc_00038002 [03:11:13]save last doc name /storage/0554/doc_00038002 to /storage/kkm_last_doc_name [03:11:13]save OK [03:11:13]Clear old archive folders... [03:11:13]ProcessDocumentItem done err = 0, tmpTLVsize=265 [03:11:13]tlvbuf is 01172880 [03:11:13]SAM_PROTO_ClearQueue [03:11:13]wFMCommunicate request_size=4 [03:11:13]MH_SAM_APDU [03:11:13]CAPDU: 80 09 00 00 [03:11:13]Write to MH i2c: E2 08 00 16 04 80 09 00 00 00 00 00 00 8C [03:11:13]Write i2c OK [03:11:13]MH_I2C_Read... [03:11:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:11:13]Read from MH i2c: E2 [03:11:13]MH_I2C_Read... [03:11:13]Read from MH i2c: E2 03 00 [03:11:13]MH_I2C_Read... [03:11:13]Read from MH i2c: E2 03 00 16 04 00 90 00 8E [03:11:13]RAPDU: 90 00 [03:11:13]wFMCommunicate OK [03:11:13]SAM_PROTO_ClearQueue done [03:11:13]KKMCreateOFDPacket [03:11:13]OFDProtocolAddRootSTLVToBuf [03:11:13]FM_MakeSignedData [03:11:13]FM_MakeSignedData [03:11:13]SAM_PROTO_SignData [03:11:13]wFMCommunicate request_size=4 [03:11:13]MH_SAM_APDU [03:11:13]CAPDU: 80 0D 01 02 [03:11:13]Write to MH i2c: E2 08 00 17 04 80 0D 01 02 00 00 00 00 94 [03:11:13]Write i2c OK [03:11:13]MH_I2C_Read... [03:11:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:11:13]Read from MH i2c: E2 [03:11:13]MH_I2C_Read... [03:11:13]Read from MH i2c: E2 03 00 [03:11:13]MH_I2C_Read... [03:11:13]Read from MH i2c: E2 03 00 17 04 00 90 00 8F [03:11:13]RAPDU: 90 00 [03:11:13]wFMCommunicate OK [03:11:13]wFMCommunicate request_size=255 [03:11:13]MH_SAM_APDU [03:11:13]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 52 F5 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 [03:11:13]Write to MH i2c: E2 02 01 18 04 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 52 F5 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 00 00 76 [03:11:13]Write i2c OK [03:11:13]MH_I2C_Read... [03:11:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:11:14]Read from MH i2c: E2 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: E2 03 00 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: E2 03 00 18 04 00 90 00 90 [03:11:14]RAPDU: 90 00 [03:11:14]wFMCommunicate OK [03:11:14]wFMCommunicate request_size=24 [03:11:14]MH_SAM_APDU [03:11:14]CAPDU: 80 0D 02 02 13 31 10 04 04 00 72 94 00 00 35 04 06 00 80 A8 65 03 F0 B3 [03:11:14]Write to MH i2c: E2 1B 00 19 04 80 0D 02 02 13 00 31 10 04 04 00 72 94 00 00 35 04 06 00 80 A8 65 03 F0 B3 00 00 7E [03:11:14]Write i2c OK [03:11:14]MH_I2C_Read... [03:11:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:11:14]Read from MH i2c: E2 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: E2 03 00 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: E2 03 00 19 04 00 90 00 91 [03:11:14]RAPDU: 90 00 [03:11:14]wFMCommunicate OK [03:11:14]wFMCommunicate request_size=4 [03:11:14]MH_SAM_APDU [03:11:14]CAPDU: 80 0D 03 02 [03:11:14]Write to MH i2c: E2 08 00 1A 04 80 0D 03 02 00 00 00 00 99 [03:11:14]Write i2c OK [03:11:14]MH_I2C_Read... [03:11:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:11:14]Read from MH i2c: E2 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: E2 0B 00 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: E2 0B 00 1A 04 00 9F 4F FB 3E 14 36 90 87 90 00 22 [03:11:14]RAPDU: 9F 4F FB 3E 14 36 90 87 90 00 [03:11:14]wFMCommunicate OK [03:11:14]SAM_PROTO_SignData done [03:11:14]FM_MakeSignedData done [03:11:14]CreateOFDProtocolMessage [03:11:14]wFMCommunicate request_size=4 [03:11:14]MH_SAM_APDU [03:11:14]CAPDU: 80 11 00 00 [03:11:14]Write to MH i2c: E2 08 00 1B 04 80 11 00 00 00 00 00 00 99 [03:11:14]Write i2c OK [03:11:14]MH_I2C_Read... [03:11:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:11:14]Read from MH i2c: E2 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: E2 17 00 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: E2 17 00 1B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E9 [03:11:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:11:14]wFMCommunicate OK [03:11:14]CreateOFDProtocolMessage done [03:11:14]OFDSenderStorePacket 38002 [03:11:14]StoreOFDPacket docnum=38002 [03:11:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1D 01 00 00 C5 AF 15 01 EC 32 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 52 F5 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 72 94 00 00 35 04 06 00 80 A8 65 03 F0 B3 9F 4F FB 3E 14 36 90 87 [03:11:14]CheckFolder [03:11:14]dirname=/storage/ofd_packets [03:11:14]CheckFolder done [03:11:14]ProducePacketName [03:11:14]name=ofd_packets/00038002 [03:11:14]NVStorageSaveData ofd_packets/00038002 [03:11:14]File name is /storage/ofd_packets/00038002 [03:11:14]Write 315 bytes [03:11:14]NVStorageSaveData done [03:11:14]OFDSenderStorePacket done [03:11:14]KKMCreateOFDPacket done [03:11:14]NVStorageSaveData kkm_last_timestamp [03:11:14]File name is /storage/kkm_last_timestamp [03:11:14]Write 4 bytes [03:11:14]NVStorageSaveData done [03:11:14]ExternCall_PrintAddStr [03:11:14]wPrintStart [03:11:14]Write to MH i2c: 01 00 00 1C 04 20 [03:11:14]Write i2c OK [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: 01 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: 01 07 00 [03:11:14]MH_I2C_Read... [03:11:14]Read from MH i2c: 01 07 00 1C 04 00 00 00 00 00 FF 0F 35 [03:11:14]RasterBufferAndPrint [03:11:14]line Счет N : (3)35300 [03:11:14]line ИНН: 02508201610067 [03:11:14]line Контрольно-Кассовый Чек [03:11:14]line ПРОДАЖА [03:11:14]line Товар: 4700001610012 [03:11:14]line Пиво Арпа 0,5л [03:11:14]line 2.000 * 145.00 [03:11:14]line = 290.00 [03:11:14]line НДС 12% НСП 1% [03:11:14]line > о реализуемом товаре [03:11:14]line ИТОГО: 290.00 [03:11:14]line НСП 1% : 2.57 [03:11:14]line НДС 12% : 30.80 [03:11:14]line Наличными: 290.00 [03:11:14]line Безнал.: 0.00 [03:11:14]line Место: АЗС № 126 "Партнер Нефть" [03:11:14]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [03:11:14]line СНО: Общий режим [03:11:14]line Чек 10 31.10.2024 03:11 [03:11:14]line Смена: 554 ФФД: 1.0 [03:11:14]line ЗНМ: 0300000092 [03:11:14]line РНМ: 0000000000091684 [03:11:14]line Версия ККМ: 001 [03:11:14]line ФМ: 0000000000871841 [03:11:14]line ФД: 38002 [03:11:14]line ФПД: 141460737618099 [03:11:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T031114&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38002&fm=141460737618099&tin=02508201610067®Number=0000000000091684&sum=29000 [03:11:14]OFD Sender: Processing packet 38002 [packets to send 42, broken 41] [03:11:14]ProducePacketName [03:11:14]name=ofd_packets/00038002 [03:11:14]OFD Sender: To server: pG, [03:11:14]CommunicateWithHost lk.salyk.kg:30040 [03:11:14]ConnectInit lk.salyk.kg [03:11:14]line 0 [03:11:14]written 0, free lines is 4095 [03:11:15]Connected sock=10 [03:11: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 38 34 31 1D 01 00 00 C5 AF 15 01 EC 32 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 48 71 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 52 F5 22 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 72 94 00 00 35 04 06 00 80 A8 65 03 F0 B3 9F 4F FB 3E 14 36 90 87 [03:11:15]Write to MH i2c: 01 00 00 44 04 48 [03:11:15]Write i2c OK [03:11:15]MH_I2C_Read... [03:11:15]Read from MH i2c: 01 [03:11:15]MH_I2C_Read... [03:11:15]Read from MH i2c: 01 07 00 [03:11:15]MH_I2C_Read... [03:11:15]Read from MH i2c: 01 07 00 44 04 00 00 00 00 00 D7 0C 32 [03:11:15]RasterBufferAndPrint [03:11:15]line [03:11:15]line [03:11:15]line [03:11:15]line [03:11:15]line [03:11:15]written 0, free lines is 3293 [03:11:15]MH_Cut [03:11:15]Write to MH i2c: D1 01 00 4B 04 01 21 [03:11:15]Write i2c OK [03:11:15]MH_I2C_Read... [03:11:15]Read from MH i2c: D1 [03:11:15]MH_I2C_Read... [03:11:15]Read from MH i2c: D1 01 00 [03:11:15]MH_I2C_Read... [03:11:15]Read from MH i2c: D1 01 00 4B 04 00 20 [03:11:15]Write to MH i2c: 01 00 00 4C 04 50 [03:11:15]Write i2c OK [03:11:15]MH_I2C_Read... [03:11:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 1D 4E 47 00 69 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 38 34 31 10 04 04 00 72 94 00 00 F4 03 04 00 3E A0 22 67 B6 04 01 00 00 B2 93 E0 AD AB 01 A8 95 [03:11:15]CommunicateWithHost err = 0 [03:11:15]CheckOFDResponse [03:11:15]1017 (14) - 77093643461234 [03:11:15]1041 (16) - 0000000000871841 [03:11:15]1040 (4) - 38002 [03:11:15]1012 (4) - 30.10.2024 21:08 [03:11:15]1206 (1) - 0 [03:11:15]OFD Sender: Remove packet 38002 [03:11:15]ProducePacketName [03:11:15]name=ofd_packets/00038002 [03:11:15]NVStorageDeleteData [03:11:15]*** Cut start [03:11:15]*** Partial cut [03:11:15]*** CUTSNS_PIN = 1 [03:11:15]*** CUTSNS_PIN = 0 [03:11:15]OFD Sender: No OFD packet to send [03:11:16]*** Brake cut motor [03:11:16]Read from MH i2c: 01 [03:11:16]MH_I2C_Read... [03:11:16]*** Stop cut motor [03:11:16]*** Cut end [03:11:16]Read from MH i2c: 01 07 00 [03:11:16]MH_I2C_Read... [03:11:16]Read from MH i2c: 01 07 00 4C 04 00 00 00 00 00 FF 0F 65 [03:11:16]process_action close_receipt done [03:11:16]requested_data is exist [03:11:16]produce_requested_data [03:11:16]requested_item fm.sn is exist - process it [03:11:16]wFMCommunicate request_size=4 [03:11:16]MH_SAM_APDU [03:11:16]CAPDU: 80 11 00 00 [03:11:16]Write to MH i2c: E2 08 00 4D 04 80 11 00 00 00 00 00 00 CB [03:11:16]Write i2c OK [03:11:16]MH_I2C_Read... [03:11:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:11:16]Read from MH i2c: E2 [03:11:16]MH_I2C_Read... [03:11:16]Read from MH i2c: E2 17 00 [03:11:16]MH_I2C_Read... [03:11:16]Read from MH i2c: E2 17 00 4D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1B [03:11:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:11:16]wFMCommunicate OK [03:11:16]requested_item fd.num is exist - process it [03:11:16]SAM_PROTO_GetFieldsCounters [03:11:16]wFMCommunicate request_size=4 [03:11:16]MH_SAM_APDU [03:11:16]CAPDU: 80 13 00 00 [03:11:16]Write to MH i2c: E2 08 00 4E 04 80 13 00 00 00 00 00 00 CE [03:11:16]Write i2c OK [03:11:16]MH_I2C_Read... [03:11:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:11:16]Read from MH i2c: E2 [03:11:16]MH_I2C_Read... [03:11:16]Read from MH i2c: E2 62 00 [03:11:16]MH_I2C_Read... [03:11:16]Read from MH i2c: E2 62 00 4E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 72 94 00 00 0E 04 04 00 2A 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 3F [03:11: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 72 94 00 00 0E 04 04 00 2A 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:11:16]wFMCommunicate OK [03:11:16]SAM_PROTO_GetFieldsCounters done [03:11:16]requested_item shift.num is exist - process it [03:11:16]requested_item shift.opened is exist - process it [03:11:16]req_shift_opened [03:11:16]FM_GetShiftState [03:11:16]SAM_PROTO_GetShiftState [03:11:16]wFMCommunicate request_size=4 [03:11:16]MH_SAM_APDU [03:11:16]CAPDU: 80 13 01 00 [03:11:16]Write to MH i2c: E2 08 00 4F 04 80 13 01 00 00 00 00 00 D0 [03:11:16]Write i2c OK [03:11:16]MH_I2C_Read... [03:11:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:11:16]Read from MH i2c: E2 [03:11:16]MH_I2C_Read... [03:11:16]Read from MH i2c: E2 0E 00 [03:11:16]MH_I2C_Read... [03:11:16]Read from MH i2c: E2 0E 00 4F 04 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 0A [03:11:16]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [03:11:16]wFMCommunicate OK [03:11:16]SAM_PROTO_GetShiftState done [03:11:16]FM_GetShiftState done [03:11:16]req_shift_opened done [03:11:16]requested_item shift.open_date is exist - process it [03:11:16]req_shift_open_date [03:11:16]req_shift_open_date done [03:11:16]produce_requested_data done [03:11:16]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38002,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [03:11:16]process_action_free close_receipt [03:11:16]json_value_free [03:11:16]json_value_free done [03:11:16]process_json_proto returns [03:11:16]Send response to host [03:11:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38002,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [03:11:16]free response buf [03:11:16]execute_script done [03:11:16]execute_script returns [03:11:16]free content buf [03:11:16]Sock 9.Close socket [03:11:16]Sock 9.Thread stoped [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:18]accept exits with 7 [03:19:18]New connection [03:19:18]New thread 3067186532 created [03:19:18]Thread 3067043172 joined [03:19:18]Waiting for new connection... [03:19:18] Sock 7.Parse request [03:19:18]Sock 7.Check first char [03:19:18]Sock 7.First char is OK [03:19:18]request: POST /json_proto HTTP/1.0 [03:19:18]Method: POST [03:19:18]URL: /json_proto [03:19:18]Method is POST - this is cgi request [03:19:18]url: /json_proto [03:19:18]query_string will be loaded in cgi processing [03:19:18]execute_cgi json_proto POST (null) [03:19:18]execute_cgi path=json_proto method=POST [03:19:18]POST find Content-Length [03:19:18]Host: 172.17.40.196:8080 [03:19:18]Content-Length: 215 [03:19:18]Content-Type: application/json [03:19:18] [03:19:18]POST finish read [03:19:18]Found Content-Length = 215 [03:19:18]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" ] } } [03:19:18]execute_script... [03:19:18]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" ] } } [03:19:18]POST & json_proto [03:19:18]process_json_proto [03:19:18]json parsed OK: [03:19:18]protocol is kg_v1.0 [03:19:18]action value=get_value [03:19:18]process_action get_value [03:19:18]cmd_get_value [03:19:18]process_action get_value done [03:19:18]requested_data is exist [03:19:18]produce_requested_data [03:19:18]requested_item kkm.sn is exist - process it [03:19:18]requested_item kkm.ver is exist - process it [03:19:18]requested_item fm.sn is exist - process it [03:19:18]wFMCommunicate request_size=4 [03:19:18]MH_SAM_APDU [03:19:18]CAPDU: 80 11 00 00 [03:19:18]Write to MH i2c: E2 08 00 50 04 80 11 00 00 00 00 00 00 CE [03:19:18]Write i2c OK [03:19:18]MH_I2C_Read... [03:19:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:19:18]Read from MH i2c: E2 [03:19:18]MH_I2C_Read... [03:19:18]Read from MH i2c: E2 17 00 [03:19:18]MH_I2C_Read... [03:19:18]Read from MH i2c: E2 17 00 50 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1E [03:19:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:19:18]wFMCommunicate OK [03:19:18]requested_item fd.num is exist - process it [03:19:18]SAM_PROTO_GetFieldsCounters [03:19:18]wFMCommunicate request_size=4 [03:19:18]MH_SAM_APDU [03:19:18]CAPDU: 80 13 00 00 [03:19:18]Write to MH i2c: E2 08 00 51 04 80 13 00 00 00 00 00 00 D1 [03:19:18]Write i2c OK [03:19:18]MH_I2C_Read... [03:19:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:19:18]Read from MH i2c: E2 [03:19:18]MH_I2C_Read... [03:19:18]Read from MH i2c: E2 62 00 [03:19:18]MH_I2C_Read... [03:19:18]Read from MH i2c: E2 62 00 51 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 72 94 00 00 0E 04 04 00 2A 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 42 [03:19: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 72 94 00 00 0E 04 04 00 2A 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:19:18]wFMCommunicate OK [03:19:18]SAM_PROTO_GetFieldsCounters done [03:19:18]requested_item shift.num is exist - process it [03:19:18]requested_item shift.opened is exist - process it [03:19:18]req_shift_opened [03:19:18]FM_GetShiftState [03:19:18]SAM_PROTO_GetShiftState [03:19:18]wFMCommunicate request_size=4 [03:19:18]MH_SAM_APDU [03:19:18]CAPDU: 80 13 01 00 [03:19:18]Write to MH i2c: E2 08 00 52 04 80 13 01 00 00 00 00 00 D3 [03:19:18]Write i2c OK [03:19:18]MH_I2C_Read... [03:19:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:19:18]Read from MH i2c: E2 [03:19:18]MH_I2C_Read... [03:19:18]Read from MH i2c: E2 0E 00 [03:19:18]MH_I2C_Read... [03:19:18]Read from MH i2c: E2 0E 00 52 04 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 0D [03:19:18]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [03:19:18]wFMCommunicate OK [03:19:18]SAM_PROTO_GetShiftState done [03:19:18]FM_GetShiftState done [03:19:18]req_shift_opened done [03:19:18]requested_item shift.open_date is exist - process it [03:19:18]req_shift_open_date [03:19:18]req_shift_open_date done [03:19:18]produce_requested_data done [03:19:18]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":38002,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [03:19:18]process_action_free get_value [03:19:18]json_value_free [03:19:18]json_value_free done [03:19:18]process_json_proto returns [03:19:18]Send response to host [03:19:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":38002,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [03:19:18]free response buf [03:19:18]execute_script done [03:19:18]execute_script returns [03:19:18]free content buf [03:19:18]Sock 7.Close socket [03:19:18]Sock 7.Thread stoped [03:19:18]accept exits with 9 [03:19:18]New connection [03:19:18]New thread 3067043172 created [03:19:18]Thread 3067186532 joined [03:19:18]Waiting for new connection... [03:19:18] Sock 9.Parse request [03:19:18]Sock 9.Check first char [03:19:18]Sock 9.First char is OK [03:19:18]request: POST /json_proto HTTP/1.0 [03:19:18]Method: POST [03:19:18]URL: /json_proto [03:19:18]Method is POST - this is cgi request [03:19:18]url: /json_proto [03:19:18]query_string will be loaded in cgi processing [03:19:18]execute_cgi json_proto POST (null) [03:19:18]execute_cgi path=json_proto method=POST [03:19:18]POST find Content-Length [03:19:18]Host: 172.17.40.196:8080 [03:19:18]Content-Length: 331 [03:19:18]Content-Type: application/json [03:19:18] [03:19:18]POST finish read [03:19:18]Found Content-Length = 331 [03:19:18]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" ] } } [03:19:18]execute_script... [03:19:18]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" ] } } [03:19:18]POST & json_proto [03:19:18]process_json_proto [03:19:18]json parsed OK: [03:19:18]protocol is kg_v1.0 [03:19:18]action value=get_value [03:19:18]process_action get_value [03:19:18]cmd_get_value [03:19:18]process_action get_value done [03:19:18]requested_data is exist [03:19:18]produce_requested_data [03:19:18]requested_item fm.sale.total is exist - process it [03:19:18]SAM_PROTO_GetFMData [03:19:18]wFMCommunicate request_size=4 [03:19:19]MH_SAM_APDU [03:19:19]CAPDU: 80 13 03 00 [03:19:19]Write to MH i2c: E2 08 00 53 04 80 13 03 00 00 00 00 00 D6 [03:19:19]Write i2c OK [03:19:19]MH_I2C_Read... [03:19:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [03:19:19]Read from MH i2c: E2 [03:19:19]MH_I2C_Read... [03:19:19]Read from MH i2c: E2 FD 00 [03:19:19]MH_I2C_Read... [03:19:19]Read from MH i2c: E2 FD 00 53 04 00 C0 04 85 04 BC 04 6E 04 04 00 1E 90 00 00 69 04 A0 00 6F 04 04 00 19 90 00 00 B1 04 04 00 AA CC 64 34 70 04 04 00 B0 6B 88 2E 72 04 04 00 FA 60 DC 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2A 6D 90 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9D A1 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 83 [03:19:19]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 1E 90 00 00 69 04 A0 00 6F 04 04 00 19 90 00 00 B1 04 04 00 AA CC 64 34 70 04 04 00 B0 6B 88 2E 72 04 04 00 FA 60 DC 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2A 6D 90 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9D A1 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [03:19:19]wFMCommunicate OK [03:19:19]wFMCommunicate request_size=4 [03:19:19]MH_SAM_APDU [03:19:19]CAPDU: 80 17 00 00 [03:19:19]Write to MH i2c: E2 08 00 54 04 80 17 00 00 00 00 00 00 D8 [03:19:19]Write i2c OK [03:19:19]MH_I2C_Read... [03:19:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:19:19]Read from MH i2c: E2 [03:19:19]MH_I2C_Read... [03:19:19]Read from MH i2c: E2 FD 00 [03:19:19]MH_I2C_Read... [03:19:19]Read from MH i2c: E2 FD 00 54 04 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 D3 [03:19:19]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [03:19:19]wFMCommunicate OK [03:19:19]wFMCommunicate request_size=4 [03:19:19]MH_SAM_APDU [03:19:19]CAPDU: 80 17 00 00 [03:19:19]Write to MH i2c: E2 08 00 55 04 80 17 00 00 00 00 00 00 D9 [03:19:19]Write i2c OK [03:19:19]MH_I2C_Read... [03:19:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:19:19]Read from MH i2c: E2 [03:19:19]MH_I2C_Read... [03:19:19]Read from MH i2c: E2 FD 00 [03:19:19]MH_I2C_Read... [03:19:19]Read from MH i2c: E2 FD 00 55 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 7C [03:19:19]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [03:19:19]wFMCommunicate OK [03:19:19]wFMCommunicate request_size=4 [03:19:19]MH_SAM_APDU [03:19:19]CAPDU: 80 17 00 00 [03:19:19]Write to MH i2c: E2 08 00 56 04 80 17 00 00 00 00 00 00 DA [03:19:19]Write i2c OK [03:19:19]MH_I2C_Read... [03:19:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:19:20]Read from MH i2c: E2 [03:19:20]MH_I2C_Read... [03:19:20]Read from MH i2c: E2 FD 00 [03:19:20]MH_I2C_Read... [03:19:20]Read from MH i2c: E2 FD 00 56 04 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 52 [03:19:20]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [03:19:20]wFMCommunicate OK [03:19:20]wFMCommunicate request_size=4 [03:19:20]MH_SAM_APDU [03:19:20]CAPDU: 80 17 00 00 [03:19:20]Write to MH i2c: E2 08 00 57 04 80 17 00 00 00 00 00 00 DB [03:19:20]Write i2c OK [03:19:20]MH_I2C_Read... [03:19:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [03:19:20]Read from MH i2c: E2 [03:19:20]MH_I2C_Read... [03:19:20]Read from MH i2c: E2 DD 00 [03:19:20]MH_I2C_Read... [03:19:20]Read from MH i2c: E2 DD 00 57 04 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [03:19:20]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:19:20]wFMCommunicate OK [03:19:20]SAM_PROTO_GetFMData done [03:19:20]requested_item fm.sale_refund.total is exist - process it [03:19:20]requested_item fm.buy.total is exist - process it [03:19:20]requested_item shift.sale.total is exist - process it [03:19:20]SAM_PROTO_GetShiftData [03:19:20]wFMCommunicate request_size=4 [03:19:20]MH_SAM_APDU [03:19:20]CAPDU: 80 13 02 00 [03:19:20]Write to MH i2c: E2 08 00 58 04 80 13 02 00 00 00 00 00 DA [03:19:20]Write i2c OK [03:19:20]MH_I2C_Read... [03:19:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:19:20]Read from MH i2c: E2 [03:19:20]MH_I2C_Read... [03:19:20]Read from MH i2c: E2 FD 00 [03:19:20]MH_I2C_Read... [03:19:20]Read from MH i2c: E2 FD 00 58 04 00 AC 04 AA 04 A8 04 6E 04 04 00 0A 00 00 00 69 04 99 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 E0 4E 03 70 04 03 00 0C 1E 03 72 04 02 00 D4 30 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 EE 59 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 7E 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 D6 [03:19:20]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 0A 00 00 00 69 04 99 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 E0 4E 03 70 04 03 00 0C 1E 03 72 04 02 00 D4 30 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 EE 59 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 7E 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [03:19:20]wFMCommunicate OK [03:19:20]wFMCommunicate request_size=4 [03:19:20]MH_SAM_APDU [03:19:20]CAPDU: 80 17 00 00 [03:19:20]Write to MH i2c: E2 08 00 59 04 80 17 00 00 00 00 00 00 DD [03:19:20]Write i2c OK [03:19:20]MH_I2C_Read... [03:19:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:19:21]Read from MH i2c: E2 [03:19:21]MH_I2C_Read... [03:19:21]Read from MH i2c: E2 FD 00 [03:19:21]MH_I2C_Read... [03:19:21]Read from MH i2c: E2 FD 00 59 04 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 F2 [03:19:21]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [03:19:21]wFMCommunicate OK [03:19:21]wFMCommunicate request_size=4 [03:19:21]MH_SAM_APDU [03:19:21]CAPDU: 80 17 00 00 [03:19:21]Write to MH i2c: E2 08 00 5A 04 80 17 00 00 00 00 00 00 DE [03:19:21]Write i2c OK [03:19:21]MH_I2C_Read... [03:19:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:19:21]Read from MH i2c: E2 [03:19:21]MH_I2C_Read... [03:19:21]Read from MH i2c: E2 FD 00 [03:19:21]MH_I2C_Read... [03:19:21]OFD Sender: No OFD packet to send [03:19:21]Read from MH i2c: E2 FD 00 5A 04 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 9F [03:19:21]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [03:19:21]wFMCommunicate OK [03:19:21]wFMCommunicate request_size=4 [03:19:21]MH_SAM_APDU [03:19:21]CAPDU: 80 17 00 00 [03:19:21]Write to MH i2c: E2 08 00 5B 04 80 17 00 00 00 00 00 00 DF [03:19:21]Write i2c OK [03:19:21]MH_I2C_Read... [03:19:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:19:21]Read from MH i2c: E2 [03:19:21]MH_I2C_Read... [03:19:21]Read from MH i2c: E2 FD 00 [03:19:21]MH_I2C_Read... [03:19:21]Read from MH i2c: E2 FD 00 5B 04 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 54 [03:19:21]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [03:19:21]wFMCommunicate OK [03:19:21]wFMCommunicate request_size=4 [03:19:21]MH_SAM_APDU [03:19:21]CAPDU: 80 17 00 00 [03:19:21]Write to MH i2c: E2 08 00 5C 04 80 17 00 00 00 00 00 00 E0 [03:19:21]Write i2c OK [03:19:21]MH_I2C_Read... [03:19:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [03:19:22]Read from MH i2c: E2 [03:19:22]MH_I2C_Read... [03:19:22]Read from MH i2c: E2 C9 00 [03:19:22]MH_I2C_Read... [03:19:22]Read from MH i2c: E2 C9 00 5C 04 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C4 [03:19:22]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:19:22]wFMCommunicate OK [03:19:22]SAM_PROTO_GetShiftData done [03:19:22]requested_item shift.sale.total_cash is exist - process it [03:19:22]requested_item shift.sale_refund.total is exist - process it [03:19:22]requested_item shift.sale_refund.total_cash is exist - process it [03:19:22]requested_item shift.buy.total is exist - process it [03:19:22]requested_item shift.buy.total_cash is exist - process it [03:19:22]produce_requested_data done [03:19:22]produce_requested_data return {"fm.sale.total":8790212.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":2168.00,"shift.sale.total_cash":2043.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} [03:19:22]process_action_free get_value [03:19:22]json_value_free [03:19:22]json_value_free done [03:19:22]process_json_proto returns [03:19:22]Send response to host [03:19:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8790212.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":2168.00,"shift.sale.total_cash":2043.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}}} [03:19:22]free response buf [03:19:22]execute_script done [03:19:22]execute_script returns [03:19:22]free content buf [03:19:22]Sock 9.Close socket [03:19:22]Sock 9.Thread stoped [03:19:26]OFD Sender: No OFD packet to send [03:19:31]OFD Sender: No OFD packet to send [03:19:36]OFD Sender: No OFD packet to send [03:19:41]OFD Sender: No OFD packet to send [03:19:46]OFD Sender: No OFD packet to send [03:19:51]OFD Sender: No OFD packet to send [03:19:56]OFD Sender: No OFD packet to send [03:20:01]OFD Sender: No OFD packet to send [03:20:06]OFD Sender: No OFD packet to send [03:20:11]OFD Sender: No OFD packet to send [03:20:16]OFD Sender: No OFD packet to send [03:20:21]OFD Sender: No OFD packet to send [03:20:26]OFD Sender: No OFD packet to send [03:20:31]OFD Sender: No OFD packet to send [03:20:36]OFD Sender: No OFD packet to send [03:20:41]OFD Sender: No OFD packet to send [03:20:46]OFD Sender: No OFD packet to send [03:20:51]OFD Sender: No OFD packet to send [03:20:56]OFD Sender: No OFD packet to send [03:21:01]OFD Sender: No OFD packet to send [03:21:06]OFD Sender: No OFD packet to send [03:21:11]OFD Sender: No OFD packet to send [03:21:16]OFD Sender: No OFD packet to send [03:21:21]OFD Sender: No OFD packet to send [03:21:26]OFD Sender: No OFD packet to send [03:21:31]OFD Sender: No OFD packet to send [03:21:36]OFD Sender: No OFD packet to send [03:21:41]OFD Sender: No OFD packet to send [03:21:46]OFD Sender: No OFD packet to send [03:21:51]OFD Sender: No OFD packet to send [03:21:56]OFD Sender: No OFD packet to send [03:22:01]OFD Sender: No OFD packet to send [03:22:06]OFD Sender: No OFD packet to send [03:22:11]OFD Sender: No OFD packet to send [03:22:16]OFD Sender: No OFD packet to send [03:22:21]OFD Sender: No OFD packet to send [03:22:26]OFD Sender: No OFD packet to send [03:22:31]OFD Sender: No OFD packet to send [03:22:36]OFD Sender: No OFD packet to send [03:22:41]OFD Sender: No OFD packet to send [03:22:46]OFD Sender: No OFD packet to send [03:22:51]OFD Sender: No OFD packet to send [03:42:26]ConnectInit Can't connect to host [03:42:29]OFD Sender: No OFD packet to send [03:42:34]OFD Sender: No OFD packet to send [03:42:39]OFD Sender: No OFD packet to send [03:42:44]OFD Sender: No OFD packet to send [03:42:49]OFD Sender: No OFD packet to send [03:42:54]OFD Sender: No OFD packet to send [03:42:59]OFD Sender: No OFD packet to send [03:43:04]OFD Sender: No OFD packet to send [03:43:09]OFD Sender: No OFD packet to send [03:43:14]OFD Sender: No OFD packet to send [03:43:19]OFD Sender: No OFD packet to send [03:43:24]OFD Sender: No OFD packet to send [03:43:29]OFD Sender: No OFD packet to send [03:43:34]OFD Sender: No OFD packet to send [03:43:39]OFD Sender: No OFD packet to send [03:43:44]OFD Sender: No OFD packet to send [03:43:49]OFD Sender: No OFD packet to send [03:43:54]OFD Sender: No OFD packet to send [03:43:59]OFD Sender: No OFD packet to send [03:44:04]OFD Sender: No OFD packet to send [03:44:09]OFD Sender: No OFD packet to send [03:44:14]OFD Sender: No OFD packet to send [03:44:19]OFD Sender: No OFD packet to send [03:44:24]OFD Sender: No OFD packet to send [03:44:29]OFD Sender: No OFD packet to send [03:44:34]OFD Sender: No OFD packet to send [03:44:39]OFD Sender: No OFD packet to send [03:44:44]OFD Sender: No OFD packet to send [03:44:49]OFD Sender: No OFD packet to send [03:44:54]OFD Sender: No OFD packet to send [03:44:59]OFD Sender: No OFD packet to send [03:45:04]OFD Sender: No OFD packet to send [03:45:09]OFD Sender: No OFD packet to send [03:45:14]OFD Sender: No OFD packet to send [03:45:19]OFD Sender: No OFD packet to send [03:45:24]OFD Sender: No OFD packet to send [03:45:29]OFD Sender: No OFD packet to send [03:45:34]OFD Sender: No OFD packet to send [03:45:39]OFD Sender: No OFD packet to send [03:45:44]OFD Sender: No OFD packet to send [03:45:49]OFD Sender: No OFD packet to send [03:45:54]OFD Sender: No OFD packet to send [03:45:59]OFD Sender: No OFD packet to send [03:46:04]OFD Sender: No OFD packet to send [03:46:09]OFD Sender: No OFD packet to send [03:46:14]OFD Sender: No OFD packet to send [03:46:19]OFD Sender: No OFD packet to send [03:46:24]OFD Sender: No OFD packet to send [03:46:29]OFD Sender: No OFD packet to send [03:46:34]OFD Sender: No OFD packet to send [03:46:39]OFD Sender: No OFD packet to send [03:46:44]OFD Sender: No OFD packet to send [03:46:49]OFD Sender: No OFD packet to send [03:46:54]OFD Sender: No OFD packet to send [03:46:59]OFD Sender: No OFD packet to send [03:47:04]OFD Sender: No OFD packet to send [03:47:09]OFD Sender: No OFD packet to send [03:47:14]OFD Sender: No OFD packet to send [03:47:19]OFD Sender: No OFD packet to send [03:47:24]OFD Sender: No OFD packet to send [03:47:29]OFD Sender: No OFD packet to send [03:47:34]OFD Sender: No OFD packet to send [03:47:39]OFD Sender: No OFD packet to send [03:47:44]OFD Sender: No OFD packet to send [03:47:49]OFD Sender: No OFD packet to send [03:47:54]OFD Sender: No OFD packet to send [03:47:59]OFD Sender: No OFD packet to send [03:48:04]OFD Sender: No OFD packet to send [03:48:09]OFD Sender: No OFD packet to send [03:48:14]OFD Sender: No OFD packet to send [03:48:19]OFD Sender: No OFD packet to send [03:48:24]OFD Sender: No OFD packet to send [03:48:29]OFD Sender: No OFD packet to send [03:48:34]OFD Sender: No OFD packet to send [03:48:39]OFD Sender: No OFD packet to send [03:48:44]OFD Sender: No OFD packet to send [03:48:49]OFD Sender: No OFD packet to send [03:48:54]OFD Sender: No OFD packet to send [03:48:59]OFD Sender: No OFD packet to send [03:49:04]OFD Sender: No OFD packet to send [03:49:09]OFD Sender: No OFD packet to send [03:49:14]OFD Sender: No OFD packet to send [03:49:19]OFD Sender: No OFD packet to send [03:49:24]OFD Sender: No OFD packet to send [03:49:29]OFD Sender: No OFD packet to send [03:49:34]OFD Sender: No OFD packet to send [03:49:39]OFD Sender: No OFD packet to send [03:49:44]OFD Sender: No OFD packet to send [03:49:49]OFD Sender: No OFD packet to send [03:49:54]OFD Sender: No OFD packet to send [03:49:59]OFD Sender: No OFD packet to send [03:50:04]OFD Sender: No OFD packet to send [03:50:09]OFD Sender: No OFD packet to send [03:50:14]OFD Sender: No OFD packet to send [03:50:19]OFD Sender: No OFD packet to send [03:50:24]OFD Sender: No OFD packet to send [03:50:29]OFD Sender: No OFD packet to send [03:50:34]OFD Sender: No OFD packet to send [03:50:39]OFD Sender: No OFD packet to send [03:50:44]OFD Sender: No OFD packet to send [03:50:49]OFD Sender: No OFD packet to send [03:50:54]OFD Sender: No OFD packet to send [03:50:59]OFD Sender: No OFD packet to send [03:51:04]OFD Sender: No OFD packet to send [03:51:09]OFD Sender: No OFD packet to send [03:51:14]OFD Sender: No OFD packet to send [03:51:19]OFD Sender: No OFD packet to send [03:51:24]OFD Sender: No OFD packet to send [03:51:29]OFD Sender: No OFD packet to send [03:51:34]OFD Sender: No OFD packet to send [03:51:39]OFD Sender: No OFD packet to send [03:51:44]OFD Sender: No OFD packet to send [03:51:49]OFD Sender: No OFD packet to send [03:51:54]OFD Sender: No OFD packet to send [03:51:59]OFD Sender: No OFD packet to send [03:52:04]OFD Sender: No OFD packet to send [03:52:09]OFD Sender: No OFD packet to send [03:52:14]OFD Sender: No OFD packet to send [03:52:19]OFD Sender: No OFD packet to send [03:52:24]OFD Sender: No OFD packet to send [03:52:29]OFD Sender: No OFD packet to send [03:52:34]OFD Sender: No OFD packet to send [03:52:39]OFD Sender: No OFD packet to send [03:52:44]OFD Sender: No OFD packet to send [03:52:49]OFD Sender: No OFD packet to send [03:52:54]OFD Sender: No OFD packet to send [03:52:59]OFD Sender: No OFD packet to send [03:53:04]OFD Sender: No OFD packet to send [03:53:09]OFD Sender: No OFD packet to send [03:53:14]OFD Sender: No OFD packet to send [03:53:19]OFD Sender: No OFD packet to send [03:53:24]OFD Sender: No OFD packet to send [03:53:29]OFD Sender: No OFD packet to send [03:53:34]OFD Sender: No OFD packet to send [03:53:39]OFD Sender: No OFD packet to send [03:53:44]OFD Sender: No OFD packet to send [03:53:49]OFD Sender: No OFD packet to send [03:53:54]OFD Sender: No OFD packet to send [03:53:59]OFD Sender: No OFD packet to send [03:54:04]OFD Sender: No OFD packet to send [03:54:09]OFD Sender: No OFD packet to send [03:54:14]OFD Sender: No OFD packet to send [03:54:19]OFD Sender: No OFD packet to send [03:54:24]OFD Sender: No OFD packet to send [03:54:29]OFD Sender: No OFD packet to send [03:54:35]OFD Sender: No OFD packet to send [03:54:40]OFD Sender: No OFD packet to send [03:54:45]OFD Sender: No OFD packet to send [03:54:50]OFD Sender: No OFD packet to send [03:54:55]OFD Sender: No OFD packet to send [03:55:00]OFD Sender: No OFD packet to send [03:55:05]OFD Sender: No OFD packet to send [03:55:10]OFD Sender: No OFD packet to send [03:55:15]OFD Sender: No OFD packet to send [03:55:20]OFD Sender: No OFD packet to send [03:55:25]OFD Sender: No OFD packet to send [03:55:30]OFD Sender: No OFD packet to send [03:55:35]OFD Sender: No OFD packet to send [03:55:40]OFD Sender: No OFD packet to send [03:55:45]OFD Sender: No OFD packet to send [03:55:50]OFD Sender: No OFD packet to send [03:55:55]OFD Sender: No OFD packet to send [03:56:00]OFD Sender: No OFD packet to send [03:56:05]OFD Sender: No OFD packet to send [03:56:10]OFD Sender: No OFD packet to send [03:56:15]OFD Sender: No OFD packet to send [03:56:20]OFD Sender: No OFD packet to send [03:56:25]OFD Sender: No OFD packet to send [03:56:30]OFD Sender: No OFD packet to send [03:56:35]OFD Sender: No OFD packet to send [03:56:40]OFD Sender: No OFD packet to send [03:56:45]OFD Sender: No OFD packet to send [03:56:50]OFD Sender: No OFD packet to send [03:56:55]OFD Sender: No OFD packet to send [03:57:00]OFD Sender: No OFD packet to send [03:57:05]OFD Sender: No OFD packet to send [03:57:10]OFD Sender: No OFD packet to send [03:57:15]OFD Sender: No OFD packet to send [03:57:20]OFD Sender: No OFD packet to send [03:57:25]OFD Sender: No OFD packet to send [03:57:30]OFD Sender: No OFD packet to send [03:57:35]OFD Sender: No OFD packet to send [03:57:40]OFD Sender: No OFD packet to send [03:57:45]OFD Sender: No OFD packet to send [03:57:50]OFD Sender: No OFD packet to send [03:57:55]OFD Sender: No OFD packet to send [03:58:00]OFD Sender: No OFD packet to send [03:58:05]OFD Sender: No OFD packet to send [03:58:10]OFD Sender: No OFD packet to send [03:58:15]OFD Sender: No OFD packet to send [03:58:20]OFD Sender: No OFD packet to send [03:58:25]OFD Sender: No OFD packet to send [03:58:30]OFD Sender: No OFD packet to send [03:58:35]OFD Sender: No OFD packet to send [03:58:36]accept exits with 7 [03:58:36]New connection [03:58:36]New thread 3067186532 created [03:58:36]Thread 3067043172 joined [03:58:36]Waiting for new connection... [03:58:36] Sock 7.Parse request [03:58:36]Sock 7.Check first char [03:58:36]Sock 7.First char is OK [03:58:36]request: POST /json_proto HTTP/1.0 [03:58:36]Method: POST [03:58:36]URL: /json_proto [03:58:36]Method is POST - this is cgi request [03:58:36]url: /json_proto [03:58:36]query_string will be loaded in cgi processing [03:58:36]execute_cgi json_proto POST (null) [03:58:36]execute_cgi path=json_proto method=POST [03:58:36]POST find Content-Length [03:58:36]Host: 172.17.40.196:8080 [03:58:36]Content-Length: 639 [03:58:36]Content-Type: application/json [03:58:36] [03:58:36]POST finish read [03:58:36]Found Content-Length = 639 [03:58:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35303", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 199.00, "quantity" : 1.000, "sum" : 199.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:58:36]execute_script... [03:58:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35303", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 199.00, "quantity" : 1.000, "sum" : 199.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:58:36]POST & json_proto [03:58:36]process_json_proto [03:58:36]json parsed OK: [03:58:36]protocol is kg_v1.0 [03:58:36]action value=close_receipt [03:58:36]process_action close_receipt [03:58:36]cmd_close_receipt [03:58:36]MH_GetDate [03:58:36]Write to MH i2c: F0 00 00 ED 04 E0 [03:58:36]Write i2c OK [03:58:36]MH_I2C_Read... [03:58:36]Read from MH i2c: F0 [03:58:36]MH_I2C_Read... [03:58:36]Read from MH i2c: F0 09 00 [03:58:36]MH_I2C_Read... [03:58:36]Read from MH i2c: F0 09 00 ED 04 00 6E 00 23 67 5B 68 A1 66 AB [03:58:36]GetLastDocTimeStamp 1730345757 [03:58:36]current date 1730347118 [03:58:36]FM_GetShiftState [03:58:36]SAM_PROTO_GetShiftState [03:58:36]wFMCommunicate request_size=4 [03:58:36]MH_SAM_APDU [03:58:36]CAPDU: 80 13 01 00 [03:58:36]Write to MH i2c: E2 08 00 EE 04 80 13 01 00 00 00 00 00 6F [03:58:36]Write i2c OK [03:58:36]MH_I2C_Read... [03:58:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:58:36]Read from MH i2c: E2 [03:58:36]MH_I2C_Read... [03:58:36]Read from MH i2c: E2 0E 00 [03:58:36]MH_I2C_Read... [03:58:36]Read from MH i2c: E2 0E 00 EE 04 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 A9 [03:58:36]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [03:58:36]wFMCommunicate OK [03:58:36]SAM_PROTO_GetShiftState done [03:58:36]FM_GetShiftState done [03:58:36]opened in 1730333148 [03:58:36]opened+sec_in_day 1730419548 [03:58:36]quantity*price = 19900 [03:58:36]sum+1 = 19901 [03:58:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 199.00 НСП 1% : 1.76 НДС 12% : 21.13 Наличными: 199.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 13 31.10.2024 03:58 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38005 ФПД: 236565742689694 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T035838&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38005&fm=236565742689694&tin=02508201610067®Number=0000000000091684&sum=19900 0 [03:58:37]StoreToDocumentArchive [03:58:37]shift 554 fd 38005 [03:58:37]save to /storage/0554/doc_00038005 [03:58:37]save last doc name /storage/0554/doc_00038005 to /storage/kkm_last_doc_name [03:58:37]save OK [03:58:37]Clear old archive folders... [03:58:37]ProcessDocumentItem done err = 0, tmpTLVsize=272 [03:58:37]tlvbuf is 011814B0 [03:58:37]SAM_PROTO_ClearQueue [03:58:37]wFMCommunicate request_size=4 [03:58:37]MH_SAM_APDU [03:58:37]CAPDU: 80 09 00 00 [03:58:37]Write to MH i2c: E2 08 00 FB 04 80 09 00 00 00 00 00 00 71 [03:58:37]Write i2c OK [03:58:37]MH_I2C_Read... [03:58:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:58:37]Read from MH i2c: E2 [03:58:37]MH_I2C_Read... [03:58:37]Read from MH i2c: E2 03 00 [03:58:37]MH_I2C_Read... [03:58:37]Read from MH i2c: E2 03 00 FB 04 00 90 00 73 [03:58:37]RAPDU: 90 00 [03:58:37]wFMCommunicate OK [03:58:37]SAM_PROTO_ClearQueue done [03:58:37]KKMCreateOFDPacket [03:58:37]OFDProtocolAddRootSTLVToBuf [03:58:37]FM_MakeSignedData [03:58:37]FM_MakeSignedData [03:58:37]SAM_PROTO_SignData [03:58:37]wFMCommunicate request_size=4 [03:58:37]MH_SAM_APDU [03:58:37]CAPDU: 80 0D 01 02 [03:58:37]Write to MH i2c: E2 08 00 FC 04 80 0D 01 02 00 00 00 00 79 [03:58:37]Write i2c OK [03:58:37]MH_I2C_Read... [03:58:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:58:37]Read from MH i2c: E2 [03:58:37]MH_I2C_Read... [03:58:37]Read from MH i2c: E2 03 00 [03:58:37]MH_I2C_Read... [03:58:37]Read from MH i2c: E2 03 00 FC 04 00 90 00 74 [03:58:37]RAPDU: 90 00 [03:58:37]wFMCommunicate OK [03:58:37]wFMCommunicate request_size=255 [03:58:37]MH_SAM_APDU [03:58:37]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 4D 00 00 00 00 13 04 06 00 BC 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 6E 00 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [03:58:37]Write to MH i2c: E2 02 01 FD 04 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 4D 00 00 00 00 13 04 06 00 BC 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 6E 00 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 32 [03:58:37]Write i2c OK [03:58:37]MH_I2C_Read... [03:58:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:58:38]Read from MH i2c: E2 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: E2 03 00 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: E2 03 00 FD 04 00 90 00 75 [03:58:38]RAPDU: 90 00 [03:58:38]wFMCommunicate OK [03:58:38]wFMCommunicate request_size=31 [03:58:38]MH_SAM_APDU [03:58:38]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 75 94 00 00 35 04 06 00 D7 27 C1 0F 1D 9E [03:58:38]Write to MH i2c: E2 22 00 FE 04 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 75 94 00 00 35 04 06 00 D7 27 C1 0F 1D 9E 00 00 36 [03:58:38]Write i2c OK [03:58:38]MH_I2C_Read... [03:58:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:58:38]Read from MH i2c: E2 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: E2 03 00 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: E2 03 00 FE 04 00 90 00 76 [03:58:38]RAPDU: 90 00 [03:58:38]wFMCommunicate OK [03:58:38]wFMCommunicate request_size=4 [03:58:38]MH_SAM_APDU [03:58:38]CAPDU: 80 0D 03 02 [03:58:38]Write to MH i2c: E2 08 00 FF 04 80 0D 03 02 00 00 00 00 7E [03:58:38]Write i2c OK [03:58:38]MH_I2C_Read... [03:58:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:58:38]Read from MH i2c: E2 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: E2 0B 00 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: E2 0B 00 FF 04 00 B5 9C 2C 51 50 D4 DA A8 90 00 F3 [03:58:38]RAPDU: B5 9C 2C 51 50 D4 DA A8 90 00 [03:58:38]wFMCommunicate OK [03:58:38]SAM_PROTO_SignData done [03:58:38]FM_MakeSignedData done [03:58:38]CreateOFDProtocolMessage [03:58:38]wFMCommunicate request_size=4 [03:58:38]MH_SAM_APDU [03:58:38]CAPDU: 80 11 00 00 [03:58:38]Write to MH i2c: E2 08 00 00 05 80 11 00 00 00 00 00 00 7F [03:58:38]Write i2c OK [03:58:38]MH_I2C_Read... [03:58:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:58:38]Read from MH i2c: E2 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: E2 17 00 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: E2 17 00 00 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CF [03:58:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:58:38]wFMCommunicate OK [03:58:38]CreateOFDProtocolMessage done [03:58:38]OFDSenderStorePacket 38005 [03:58:38]StoreOFDPacket docnum=38005 [03:58:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 CA AC 1C 01 81 A9 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 4D 00 00 00 00 13 04 06 00 BC 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 6E 00 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 75 94 00 00 35 04 06 00 D7 27 C1 0F 1D 9E B5 9C 2C 51 50 D4 DA A8 [03:58:38]CheckFolder [03:58:38]dirname=/storage/ofd_packets [03:58:38]CheckFolder done [03:58:38]ProducePacketName [03:58:38]name=ofd_packets/00038005 [03:58:38]NVStorageSaveData ofd_packets/00038005 [03:58:38]File name is /storage/ofd_packets/00038005 [03:58:38]Write 322 bytes [03:58:38]NVStorageSaveData done [03:58:38]OFDSenderStorePacket done [03:58:38]KKMCreateOFDPacket done [03:58:38]NVStorageSaveData kkm_last_timestamp [03:58:38]File name is /storage/kkm_last_timestamp [03:58:38]Write 4 bytes [03:58:38]NVStorageSaveData done [03:58:38]ExternCall_PrintAddStr [03:58:38]wPrintStart [03:58:38]Write to MH i2c: 01 00 00 01 05 06 [03:58:38]Write i2c OK [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: 01 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: 01 07 00 [03:58:38]MH_I2C_Read... [03:58:38]Read from MH i2c: 01 07 00 01 05 00 00 00 00 00 FF 0F 1B [03:58:38]RasterBufferAndPrint [03:58:38]line Счет N : (3)35303 [03:58:38]line ИНН: 02508201610067 [03:58:38]line Контрольно-Кассовый Чек [03:58:38]line ПРОДАЖА [03:58:38]line Товар: 4700000480517 [03:58:38]line Пиво Живое 1л ПЭТ [03:58:38]line 1.000 * 199.00 [03:58:38]line = 199.00 [03:58:38]line НДС 12% НСП 1% [03:58:38]line > о реализуемом товаре [03:58:38]line ИТОГО: 199.00 [03:58:38]line НСП 1% : 1.76 [03:58:38]line НДС 12% : 21.13 [03:58:38]line Наличными: 199.00 [03:58:38]line Безнал.: 0.00 [03:58:38]line Место: АЗС № 126 "Партнер Нефть" [03:58:38]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [03:58:38]line СНО: Общий режим [03:58:38]line Чек 13 31.10.2024 03:58 [03:58:38]line Смена: 554 ФФД: 1.0 [03:58:38]line ЗНМ: 0300000092 [03:58:38]line РНМ: 0000000000091684 [03:58:38]line Версия ККМ: 001 [03:58:38]line ФМ: 0000000000871841 [03:58:38]line ФД: 38005 [03:58:38]line ФПД: 236565742689694 [03:58:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T035838&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38005&fm=236565742689694&tin=02508201610067®Number=0000000000091684&sum=19900 [03:58:38]OFD Sender: Processing packet 38005 [packets to send 42, broken 41] [03:58:38]ProducePacketName [03:58:38]name=ofd_packets/00038005 [03:58:38]OFD Sender: To server: pG, [03:58:38]CommunicateWithHost lk.salyk.kg:30040 [03:58:38]ConnectInit lk.salyk.kg [03:58:38]line 0 [03:58:38]written 0, free lines is 4095 [03:58:39]Write to MH i2c: 01 00 00 29 05 2E [03:58:39]Write i2c OK [03:58:39]MH_I2C_Read... [03:58:39]Read from MH i2c: 01 [03:58:39]MH_I2C_Read... [03:58:39]Read from MH i2c: 01 07 00 [03:58:39]MH_I2C_Read... [03:58:39]Read from MH i2c: 01 07 00 29 05 00 00 00 00 00 CD 0C 0E [03:58:39]RasterBufferAndPrint [03:58:39]line [03:58:39]line [03:58:39]line [03:58:39]line [03:58:39]line [03:58:39]written 0, free lines is 3281 [03:58:39]MH_Cut [03:58:39]Write to MH i2c: D1 01 00 30 05 01 07 [03:58:39]Write i2c OK [03:58:39]MH_I2C_Read... [03:58:39]Read from MH i2c: D1 [03:58:39]MH_I2C_Read... [03:58:39]Read from MH i2c: D1 01 00 [03:58:39]MH_I2C_Read... [03:58:39]Read from MH i2c: D1 01 00 30 05 00 06 [03:58:39]Write to MH i2c: 01 00 00 31 05 36 [03:58:39]Write i2c OK [03:58:39]MH_I2C_Read... [03:58:39]*** Cut start [03:58:39]*** Partial cut [03:58:39]*** CUTSNS_PIN = 1 [03:58:39]*** CUTSNS_PIN = 0 [03:58:40]*** Brake cut motor [03:58:40]Connected sock=11 [03:58: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 38 34 31 24 01 00 00 CA AC 1C 01 81 A9 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 4D 00 00 00 00 13 04 06 00 BC 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 6E 00 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 75 94 00 00 35 04 06 00 D7 27 C1 0F 1D 9E B5 9C 2C 51 50 D4 DA A8 [03:58:40]Read from MH i2c: 01 [03:58:40]MH_I2C_Read... [03:58:40]*** Stop cut motor [03:58:40]*** Cut end [03:58:40]Read from MH i2c: 01 07 00 [03:58:40]MH_I2C_Read... [03:58:40]Read from MH i2c: 01 07 00 31 05 00 00 00 00 00 FF 0F 4B [03:58:40]process_action close_receipt done [03:58:40]requested_data is exist [03:58:40]produce_requested_data [03:58:40]requested_item fm.sn is exist - process it [03:58:40]wFMCommunicate request_size=4 [03:58:40]MH_SAM_APDU [03:58:40]CAPDU: 80 11 00 00 [03:58:40]Write to MH i2c: E2 08 00 32 05 80 11 00 00 00 00 00 00 B1 [03:58:40]Write i2c OK [03:58:40]MH_I2C_Read... [03:58:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:58:40]Read from MH i2c: E2 [03:58:40]MH_I2C_Read... [03:58:40]Read from MH i2c: E2 17 00 [03:58:40]MH_I2C_Read... [03:58:40]Read from MH i2c: E2 17 00 32 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 01 [03:58:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:58:40]wFMCommunicate OK [03:58:40]requested_item fd.num is exist - process it [03:58:40]SAM_PROTO_GetFieldsCounters [03:58:40]wFMCommunicate request_size=4 [03:58:40]MH_SAM_APDU [03:58:40]CAPDU: 80 13 00 00 [03:58:40]Write to MH i2c: E2 08 00 33 05 80 13 00 00 00 00 00 00 B4 [03:58:40]Write i2c OK [03:58:40]MH_I2C_Read... [03:58:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:58:40]Read from MH i2c: E2 [03:58:40]MH_I2C_Read... [03:58:40]Read from MH i2c: E2 62 00 [03:58:40]MH_I2C_Read... [03:58:40]Read from MH i2c: E2 62 00 33 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 75 94 00 00 0E 04 04 00 2A 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 31 [03:58:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 75 94 00 00 0E 04 04 00 2A 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 [03:58:40]wFMCommunicate OK [03:58:40]SAM_PROTO_GetFieldsCounters done [03:58:40]requested_item shift.num is exist - process it [03:58:40]requested_item shift.opened is exist - process it [03:58:40]req_shift_opened [03:58:40]FM_GetShiftState [03:58:40]SAM_PROTO_GetShiftState [03:58:40]wFMCommunicate request_size=4 [03:58:40]MH_SAM_APDU [03:58:40]CAPDU: 80 13 01 00 [03:58:40]Write to MH i2c: E2 08 00 34 05 80 13 01 00 00 00 00 00 B6 [03:58:40]Write i2c OK [03:58:40]MH_I2C_Read... [03:58:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:58:40]Read from MH i2c: E2 [03:58:40]MH_I2C_Read... [03:58:40]Read from MH i2c: E2 0E 00 [03:58:40]MH_I2C_Read... [03:58:40]Read from MH i2c: E2 0E 00 34 05 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 F0 [03:58:40]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [03:58:40]wFMCommunicate OK [03:58:40]SAM_PROTO_GetShiftState done [03:58:40]FM_GetShiftState done [03:58:40]req_shift_opened done [03:58:40]requested_item shift.open_date is exist - process it [03:58:40]req_shift_open_date [03:58:40]req_shift_open_date done [03:58:40]produce_requested_data done [03:58:40]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38005,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [03:58:40]process_action_free close_receipt [03:58:40]json_value_free [03:58:40]json_value_free done [03:58:40]process_json_proto returns [03:58:40]Send response to host [03:58:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38005,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [03:58:40]free response buf [03:58:40]execute_script done [03:58:40]execute_script returns [03:58:40]free content buf [03:58:40]Sock 7.Close socket [03:58:40]Sock 7.Thread stoped [03:58:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 9C D7 47 00 03 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 38 34 31 10 04 04 00 75 94 00 00 F4 03 04 00 5C AB 22 67 B6 04 01 00 00 41 71 A2 D1 3C CE 20 32 [03:58:40]CommunicateWithHost err = 0 [03:58:40]CheckOFDResponse [03:58:40]1017 (14) - 77093643461234 [03:58:40]1041 (16) - 0000000000871841 [03:58:40]1040 (4) - 38005 [03:58:40]1012 (4) - 30.10.2024 21:55 [03:58:40]1206 (1) - 0 [03:58:40]OFD Sender: Remove packet 38005 [03:58:40]ProducePacketName [03:58:40]name=ofd_packets/00038005 [03:58:40]NVStorageDeleteData [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:51]OFD Sender: No OFD packet to send [03:58:56]OFD Sender: No OFD packet to send [03:59:01]OFD Sender: No OFD packet to send [03:59:06]OFD Sender: No OFD packet to send [03:59:11]OFD Sender: No OFD packet to send [03:59:16]OFD Sender: No OFD packet to send [03:59:21]OFD Sender: No OFD packet to send [03:59:26]OFD Sender: No OFD packet to send [03:59:31]OFD Sender: No OFD packet to send [03:59:36]OFD Sender: No OFD packet to send [03:59:41]OFD Sender: No OFD packet to send [03:59:46]OFD Sender: No OFD packet to send [03:59:51]OFD Sender: No OFD packet to send [03:59:56]OFD Sender: No OFD packet to send [04:00:01]OFD Sender: No OFD packet to send [04:00:06]OFD Sender: No OFD packet to send [04:00:11]OFD Sender: No OFD packet to send [04:00:16]OFD Sender: No OFD packet to send [04:00:21]OFD Sender: No OFD packet to send [04:00:26]OFD Sender: No OFD packet to send [04:00:31]OFD Sender: No OFD packet to send [04:00:36]OFD Sender: No OFD packet to send [04:00:41]OFD Sender: No OFD packet to send [04:00:46]OFD Sender: No OFD packet to send [04:00:51]OFD Sender: No OFD packet to send [04:00:56]OFD Sender: No OFD packet to send [04:01:01]OFD Sender: No OFD packet to send [04:01:06]OFD Sender: No OFD packet to send [04:01:11]OFD Sender: No OFD packet to send [04:01:16]OFD Sender: No OFD packet to send [04:01:21]OFD Sender: No OFD packet to send [04:01:26]OFD Sender: No OFD packet to send [04:01:31]OFD Sender: No OFD packet to send [04:01:36]OFD Sender: No OFD packet to send [04:01:41]OFD Sender: No OFD packet to send [04:01:46]OFD Sender: No OFD packet to send [04:01:51]OFD Sender: No OFD packet to send [04:01:56]OFD Sender: No OFD packet to send [04:02:01]OFD Sender: No OFD packet to send [04:02:06]OFD Sender: No OFD packet to send [04:02:11]OFD Sender: No OFD packet to send [04:02:16]OFD Sender: No OFD packet to send [04:02:21]OFD Sender: No OFD packet to send [04:02:26]OFD Sender: No OFD packet to send [04:02:31]OFD Sender: No OFD packet to send [04:02:36]OFD Sender: No OFD packet to send [04:02:41]OFD Sender: No OFD packet to send [04:02:46]OFD Sender: No OFD packet to send [04:02:51]OFD Sender: No OFD packet to send [04:02:56]OFD Sender: No OFD packet to send [04:03:01]OFD Sender: No OFD packet to send [04:03:06]OFD Sender: No OFD packet to send [04:03:11]OFD Sender: No OFD packet to send [04:03:16]OFD Sender: No OFD packet to send [04:03:21]OFD Sender: No OFD packet to send [04:03:26]OFD Sender: No OFD packet to send [04:03:31]OFD Sender: No OFD packet to send [04:03:36]OFD Sender: No OFD packet to send [04:03:41]OFD Sender: No OFD packet to send [04:03:46]OFD Sender: No OFD packet to send [04:03:51]OFD Sender: No OFD packet to send [04:03:56]OFD Sender: No OFD packet to send [04:04:01]OFD Sender: No OFD packet to send [04:04:06]OFD Sender: No OFD packet to send [04:04:11]OFD Sender: No OFD packet to send [04:04:16]OFD Sender: No OFD packet to send [04:04:21]OFD Sender: No OFD packet to send [04:04:26]OFD Sender: No OFD packet to send [04:04:31]OFD Sender: No OFD packet to send [04:04:36]OFD Sender: No OFD packet to send [04:04:41]OFD Sender: No OFD packet to send [04:04:46]OFD Sender: No OFD packet to send [04:04:51]OFD Sender: No OFD packet to send [04:04:56]OFD Sender: No OFD packet to send [04:05:01]OFD Sender: No OFD packet to send [04:05:06]OFD Sender: No OFD packet to send [04:05:11]OFD Sender: No OFD packet to send [04:05:16]OFD Sender: No OFD packet to send [04:05:21]OFD Sender: No OFD packet to send [04:05:26]OFD Sender: No OFD packet to send [04:05:31]OFD Sender: No OFD packet to send [04:05:36]OFD Sender: No OFD packet to send [04:05:41]OFD Sender: No OFD packet to send [04:05:46]OFD Sender: No OFD packet to send [04:05:51]OFD Sender: No OFD packet to send [04:05:56]OFD Sender: No OFD packet to send [04:06:01]OFD Sender: No OFD packet to send [04:06:06]OFD Sender: No OFD packet to send [04:06:11]OFD Sender: No OFD packet to send [04:06:16]OFD Sender: No OFD packet to send [04:06:21]OFD Sender: No OFD packet to send [04:06:26]OFD Sender: No OFD packet to send [04:06:31]OFD Sender: No OFD packet to send [04:06:36]OFD Sender: No OFD packet to send [04:06:41]OFD Sender: No OFD packet to send [04:06:46]OFD Sender: No OFD packet to send [04:06:51]OFD Sender: No OFD packet to send [04:06:56]OFD Sender: No OFD packet to send [04:07:01]OFD Sender: No OFD packet to send [04:07:06]OFD Sender: No OFD packet to send [04:07:11]OFD Sender: No OFD packet to send [04:07:16]OFD Sender: No OFD packet to send [04:07:21]OFD Sender: No OFD packet to send [04:07:26]OFD Sender: No OFD packet to send [04:07:31]OFD Sender: No OFD packet to send [04:07:36]OFD Sender: No OFD packet to send [04:07:41]OFD Sender: No OFD packet to send [04:07:46]OFD Sender: No OFD packet to send [04:07:51]OFD Sender: No OFD packet to send [04:07:56]OFD Sender: No OFD packet to send [04:08:01]OFD Sender: No OFD packet to send [04:08:06]OFD Sender: No OFD packet to send [04:08:11]OFD Sender: No OFD packet to send [04:08:16]OFD Sender: No OFD packet to send [04:08:21]OFD Sender: No OFD packet to send [04:08:26]OFD Sender: No OFD packet to send [04:08:31]OFD Sender: No OFD packet to send [04:08:36]OFD Sender: No OFD packet to send [04:08:41]OFD Sender: No OFD packet to send [04:08:46]OFD Sender: No OFD packet to send [04:08:51]OFD Sender: No OFD packet to send [04:08:56]OFD Sender: No OFD packet to send [04:09:01]OFD Sender: No OFD packet to send [04:09:06]OFD Sender: No OFD packet to send [04:09:12]OFD Sender: No OFD packet to send [04:09:17]OFD Sender: No OFD packet to send [04:09:22]OFD Sender: No OFD packet to send [04:09:27]OFD Sender: No OFD packet to send [04:09:32]OFD Sender: No OFD packet to send [04:09:37]OFD Sender: No OFD packet to send [04:09:42]OFD Sender: No OFD packet to send [04:09:47]OFD Sender: No OFD packet to send [04:09:52]OFD Sender: No OFD packet to send [04:09:57]OFD Sender: No OFD packet to send [04:10:02]OFD Sender: No OFD packet to send [04:10:07]OFD Sender: No OFD packet to send [04:10:12]OFD Sender: No OFD packet to send [04:10:17]OFD Sender: No OFD packet to send [04:10:22]OFD Sender: No OFD packet to send [04:10:27]OFD Sender: No OFD packet to send [04:10:32]OFD Sender: No OFD packet to send [04:10:37]OFD Sender: No OFD packet to send [04:10:42]OFD Sender: No OFD packet to send [04:10:47]OFD Sender: No OFD packet to send [04:10:52]OFD Sender: No OFD packet to send [04:10:57]OFD Sender: No OFD packet to send [04:11:02]OFD Sender: No OFD packet to send [04:11:07]OFD Sender: No OFD packet to send [04:11:12]OFD Sender: No OFD packet to send [04:11:17]OFD Sender: No OFD packet to send [04:11:22]OFD Sender: No OFD packet to send [04:11:27]OFD Sender: No OFD packet to send [04:11:32]OFD Sender: No OFD packet to send [04:11:37]OFD Sender: No OFD packet to send [04:11:42]OFD Sender: No OFD packet to send [04:11:47]OFD Sender: No OFD packet to send [04:11:52]OFD Sender: No OFD packet to send [04:11:57]OFD Sender: No OFD packet to send [04:12:02]OFD Sender: No OFD packet to send [04:12:07]OFD Sender: No OFD packet to send [04:12:12]OFD Sender: No OFD packet to send [04:12:17]OFD Sender: No OFD packet to send [04:12:22]OFD Sender: No OFD packet to send [04:12:27]OFD Sender: No OFD packet to send [04:12:32]OFD Sender: No OFD packet to send [04:12:37]OFD Sender: No OFD packet to send [04:12:42]OFD Sender: No OFD packet to send [04:12:47]OFD Sender: No OFD packet to send [04:12:52]OFD Sender: No OFD packet to send [04:12:57]OFD Sender: No OFD packet to send [04:13:02]OFD Sender: No OFD packet to send [04:13:07]OFD Sender: No OFD packet to send [04:13:12]OFD Sender: No OFD packet to send [04:13:17]OFD Sender: No OFD packet to send [04:13:22]OFD Sender: No OFD packet to send [04:13:27]OFD Sender: No OFD packet to send [04:13:32]OFD Sender: No OFD packet to send [04:13:37]OFD Sender: No OFD packet to send [04:13:42]OFD Sender: No OFD packet to send [04:13:47]OFD Sender: No OFD packet to send [04:13:52]OFD Sender: No OFD packet to send [04:13:57]OFD Sender: No OFD packet to send [04:14:02]OFD Sender: No OFD packet to send [04:14:07]OFD Sender: No OFD packet to send [04:14:12]OFD Sender: No OFD packet to send [04:14:17]OFD Sender: No OFD packet to send [04:14:22]OFD Sender: No OFD packet to send [04:14:27]OFD Sender: No OFD packet to send [04:14:32]OFD Sender: No OFD packet to send [04:14:37]OFD Sender: No OFD packet to send [04:14:42]OFD Sender: No OFD packet to send [04:14:47]OFD Sender: No OFD packet to send [04:14:52]OFD Sender: No OFD packet to send [04:14:57]OFD Sender: No OFD packet to send [04:15:02]OFD Sender: No OFD packet to send [04:15:07]OFD Sender: No OFD packet to send [04:15:12]OFD Sender: No OFD packet to send [04:15:17]OFD Sender: No OFD packet to send [04:15:22]OFD Sender: No OFD packet to send [04:15:27]OFD Sender: No OFD packet to send [04:15:32]OFD Sender: No OFD packet to send [04:15:37]OFD Sender: No OFD packet to send [04:15:42]OFD Sender: No OFD packet to send [04:15:47]OFD Sender: No OFD packet to send [04:15:52]OFD Sender: No OFD packet to send [04:15:57]OFD Sender: No OFD packet to send [04:16:02]OFD Sender: No OFD packet to send [04:16:07]OFD Sender: No OFD packet to send [04:16:12]OFD Sender: No OFD packet to send [04:16:17]OFD Sender: No OFD packet to send [04:16:22]OFD Sender: No OFD packet to send [04:16:27]OFD Sender: No OFD packet to send [04:16:32]OFD Sender: No OFD packet to send [04:16:37]OFD Sender: No OFD packet to send [04:16:42]OFD Sender: No OFD packet to send [04:16:47]OFD Sender: No OFD packet to send [04:16:52]OFD Sender: No OFD packet to send [04:16:57]OFD Sender: No OFD packet to send [04:17:02]OFD Sender: No OFD packet to send [04:17:07]OFD Sender: No OFD packet to send [04:17:12]OFD Sender: No OFD packet to send [04:17:17]OFD Sender: No OFD packet to send [04:17:22]OFD Sender: No OFD packet to send [04:17:27]OFD Sender: No OFD packet to send [04:17:32]OFD Sender: No OFD packet to send [04:17:37]OFD Sender: No OFD packet to send [04:17:42]OFD Sender: No OFD packet to send [04:17:47]OFD Sender: No OFD packet to send [04:17:52]OFD Sender: No OFD packet to send [04:17:57]OFD Sender: No OFD packet to send [04:18:02]OFD Sender: No OFD packet to send [04:18:07]OFD Sender: No OFD packet to send [04:18:12]OFD Sender: No OFD packet to send [04:18:17]OFD Sender: No OFD packet to send [04:18:22]OFD Sender: No OFD packet to send [04:18:27]OFD Sender: No OFD packet to send [04:18:32]OFD Sender: No OFD packet to send [04:18:37]OFD Sender: No OFD packet to send [04:18:42]OFD Sender: No OFD packet to send [04:18:47]OFD Sender: No OFD packet to send [04:18:52]OFD Sender: No OFD packet to send [04:18:57]OFD Sender: No OFD packet to send [04:19:02]OFD Sender: No OFD packet to send [04:19:07]OFD Sender: No OFD packet to send [04:19:12]OFD Sender: No OFD packet to send [04:19:17]OFD Sender: No OFD packet to send [04:19:22]OFD Sender: No OFD packet to send [04:19:27]OFD Sender: No OFD packet to send [04:19:32]OFD Sender: No OFD packet to send [04:19:37]OFD Sender: No OFD packet to send [04:19:42]OFD Sender: No OFD packet to send [04:19:47]OFD Sender: No OFD packet to send [04:19:52]OFD Sender: No OFD packet to send [04:19:57]OFD Sender: No OFD packet to send [04:20:02]OFD Sender: No OFD packet to send [04:20:07]OFD Sender: No OFD packet to send [04:20:12]OFD Sender: No OFD packet to send [04:20:17]OFD Sender: No OFD packet to send [04:20:22]OFD Sender: No OFD packet to send [04:20:27]OFD Sender: No OFD packet to send [04:20:32]OFD Sender: No OFD packet to send [04:20:37]OFD Sender: No OFD packet to send [04:20:42]OFD Sender: No OFD packet to send [04:20:47]OFD Sender: No OFD packet to send [04:20:52]OFD Sender: No OFD packet to send [04:20:57]OFD Sender: No OFD packet to send [04:21:02]OFD Sender: No OFD packet to send [04:21:07]OFD Sender: No OFD packet to send [04:21:12]OFD Sender: No OFD packet to send [04:21:17]OFD Sender: No OFD packet to send [04:21:22]OFD Sender: No OFD packet to send [04:21:27]OFD Sender: No OFD packet to send [04:21:32]OFD Sender: No OFD packet to send [04:21:37]OFD Sender: No OFD packet to send [04:21:42]OFD Sender: No OFD packet to send [04:21:47]OFD Sender: No OFD packet to send [04:21:52]OFD Sender: No OFD packet to send [04:21:57]OFD Sender: No OFD packet to send [04:22:02]OFD Sender: No OFD packet to send [04:22:07]OFD Sender: No OFD packet to send [04:22:12]OFD Sender: No OFD packet to send [04:22:17]OFD Sender: No OFD packet to send [04:22:22]OFD Sender: No OFD packet to send [04:22:27]OFD Sender: No OFD packet to send [04:22:32]OFD Sender: No OFD packet to send [04:22:37]OFD Sender: No OFD packet to send [04:22:42]OFD Sender: No OFD packet to send [04:22:47]OFD Sender: No OFD packet to send [04:22:52]OFD Sender: No OFD packet to send [04:22:57]OFD Sender: No OFD packet to send [04:23:02]OFD Sender: No OFD packet to send [04:23:07]OFD Sender: No OFD packet to send [04:23:12]OFD Sender: No OFD packet to send [04:23:17]OFD Sender: No OFD packet to send [04:23:22]OFD Sender: No OFD packet to send [04:23:27]OFD Sender: No OFD packet to send [04:23:32]OFD Sender: No OFD packet to send [04:23:37]OFD Sender: No OFD packet to send [04:23:42]OFD Sender: No OFD packet to send [04:23:47]OFD Sender: No OFD packet to send [04:23:52]OFD Sender: No OFD packet to send [04:23:57]OFD Sender: No OFD packet to send [04:24:02]OFD Sender: No OFD packet to send [04:24:07]OFD Sender: No OFD packet to send [04:24:12]OFD Sender: No OFD packet to send [04:24:17]OFD Sender: No OFD packet to send [04:24:22]OFD Sender: No OFD packet to send [04:24:27]OFD Sender: No OFD packet to send [04:24:32]OFD Sender: No OFD packet to send [04:24:37]OFD Sender: No OFD packet to send [04:24:42]OFD Sender: No OFD packet to send [04:24:47]OFD Sender: No OFD packet to send [04:24:52]OFD Sender: No OFD packet to send [04:24:57]OFD Sender: No OFD packet to send [04:25:02]OFD Sender: No OFD packet to send [04:25:07]OFD Sender: No OFD packet to send [04:25:12]OFD Sender: No OFD packet to send [04:25:17]OFD Sender: No OFD packet to send [04:25:22]OFD Sender: No OFD packet to send [04:25:27]OFD Sender: No OFD packet to send [04:25:32]OFD Sender: No OFD packet to send [04:25:37]OFD Sender: No OFD packet to send [04:25:42]OFD Sender: No OFD packet to send [04:25:47]OFD Sender: No OFD packet to send [04:25:52]OFD Sender: No OFD packet to send [04:25:57]OFD Sender: No OFD packet to send [04:26:02]OFD Sender: No OFD packet to send [04:26:07]OFD Sender: No OFD packet to send [04:26:12]OFD Sender: No OFD packet to send [04:26:17]OFD Sender: No OFD packet to send [04:26:22]OFD Sender: No OFD packet to send [04:26:27]OFD Sender: No OFD packet to send [04:26:32]OFD Sender: No OFD packet to send [04:26:37]OFD Sender: No OFD packet to send [04:26:42]OFD Sender: No OFD packet to send [04:26:47]OFD Sender: No OFD packet to send [04:26:52]OFD Sender: No OFD packet to send [04:26:57]OFD Sender: No OFD packet to send [04:27:02]OFD Sender: No OFD packet to send [04:27:07]OFD Sender: No OFD packet to send [04:27:12]OFD Sender: No OFD packet to send [04:27:17]OFD Sender: No OFD packet to send [04:27:22]OFD Sender: No OFD packet to send [04:27:27]OFD Sender: No OFD packet to send [04:27:32]OFD Sender: No OFD packet to send [04:27:37]OFD Sender: No OFD packet to send [04:27:42]OFD Sender: No OFD packet to send [04:27:47]OFD Sender: No OFD packet to send [04:27:52]OFD Sender: No OFD packet to send [04:27:57]OFD Sender: No OFD packet to send [04:28:02]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:31:13]OFD Sender: No OFD packet to send [04:31:18]OFD Sender: No OFD packet to send [04:31:23]OFD Sender: No OFD packet to send [04:31:28]OFD Sender: No OFD packet to send [04:31:33]OFD Sender: No OFD packet to send [04:31:38]OFD Sender: No OFD packet to send [04:31:43]OFD Sender: No OFD packet to send [04:31:48]OFD Sender: No OFD packet to send [04:31:53]OFD Sender: No OFD packet to send [04:31:58]OFD Sender: No OFD packet to send [04:32:03]OFD Sender: No OFD packet to send [04:32:08]OFD Sender: No OFD packet to send [04:32:13]OFD Sender: No OFD packet to send [04:32:18]OFD Sender: No OFD packet to send [04:32:23]OFD Sender: No OFD packet to send [04:32:28]OFD Sender: No OFD packet to send [04:32:33]OFD Sender: No OFD packet to send [04:32:38]OFD Sender: No OFD packet to send [04:32:43]OFD Sender: No OFD packet to send [04:32:48]OFD Sender: No OFD packet to send [04:32:53]OFD Sender: No OFD packet to send [04:32:58]OFD Sender: No OFD packet to send [04:33:03]OFD Sender: No OFD packet to send [04:33:08]OFD Sender: No OFD packet to send [04:33:13]OFD Sender: No OFD packet to send [04:33:18]OFD Sender: No OFD packet to send [04:33:23]OFD Sender: No OFD packet to send [04:33:25]ConnectInit Can't connect to host [04:33:28]OFD Sender: No OFD packet to send [04:33:33]OFD Sender: No OFD packet to send [04:33:38]OFD Sender: No OFD packet to send [04:33:43]OFD Sender: No OFD packet to send [04:33:48]OFD Sender: No OFD packet to send [04:33:53]OFD Sender: No OFD packet to send [04:33:58]OFD Sender: No OFD packet to send [04:34:03]OFD Sender: No OFD packet to send [04:34:08]OFD Sender: No OFD packet to send [04:34:13]OFD Sender: No OFD packet to send [04:34:18]OFD Sender: No OFD packet to send [04:34:23]OFD Sender: No OFD packet to send [04:34:28]OFD Sender: No OFD packet to send [04:34:33]OFD Sender: No OFD packet to send [04:34:38]OFD Sender: No OFD packet to send [04:34:43]OFD Sender: No OFD packet to send [04:34:48]OFD Sender: No OFD packet to send [04:34:53]OFD Sender: No OFD packet to send [04:34:58]OFD Sender: No OFD packet to send [04:35:03]OFD Sender: No OFD packet to send [04:35:08]OFD Sender: No OFD packet to send [04:35:13]OFD Sender: No OFD packet to send [04:35:18]OFD Sender: No OFD packet to send [04:35:22]accept exits with 9 [04:35:22]New connection [04:35:22]New thread 3067043172 created [04:35:22]Thread 3067186532 joined [04:35:22]Waiting for new connection... [04:35:22] Sock 9.Parse request [04:35:22]Sock 9.Check first char [04:35:22]Sock 9.First char is OK [04:35:22]request: POST /json_proto HTTP/1.0 [04:35:22]Method: POST [04:35:22]URL: /json_proto [04:35:22]Method is POST - this is cgi request [04:35:22]url: /json_proto [04:35:22]query_string will be loaded in cgi processing [04:35:22]execute_cgi json_proto POST (null) [04:35:22]execute_cgi path=json_proto method=POST [04:35:22]POST find Content-Length [04:35:22]Host: 172.17.40.196:8080 [04:35:22]Content-Length: 620 [04:35:22]Content-Type: application/json [04:35:22] [04:35:22]POST finish read [04:35:22]Found Content-Length = 620 [04:35:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35304", "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" ] } } [04:35:22]execute_script... [04:35: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)35304", "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" ] } } [04:35:22]POST & json_proto [04:35:22]process_json_proto [04:35:22]json parsed OK: [04:35:22]protocol is kg_v1.0 [04:35:22]action value=close_receipt [04:35:22]process_action close_receipt [04:35:22]cmd_close_receipt [04:35:22]MH_GetDate [04:35:22]Write to MH i2c: F0 00 00 35 05 29 [04:35:22]Write i2c OK [04:35:22]MH_I2C_Read... [04:35:22]Read from MH i2c: F0 [04:35:22]MH_I2C_Read... [04:35:22]Read from MH i2c: F0 09 00 [04:35:22]MH_I2C_Read... [04:35:22]Read from MH i2c: F0 09 00 35 05 00 0C 09 23 67 5B 68 A1 66 9B [04:35:22]GetLastDocTimeStamp 1730347118 [04:35:22]current date 1730349324 [04:35:22]FM_GetShiftState [04:35:22]SAM_PROTO_GetShiftState [04:35:22]wFMCommunicate request_size=4 [04:35:22]MH_SAM_APDU [04:35:22]CAPDU: 80 13 01 00 [04:35:22]Write to MH i2c: E2 08 00 36 05 80 13 01 00 00 00 00 00 B8 [04:35:22]Write i2c OK [04:35:22]MH_I2C_Read... [04:35:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:35:22]Read from MH i2c: E2 [04:35:22]MH_I2C_Read... [04:35:22]Read from MH i2c: E2 0E 00 [04:35:22]MH_I2C_Read... [04:35:22]Read from MH i2c: E2 0E 00 36 05 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 F2 [04:35:22]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [04:35:22]wFMCommunicate OK [04:35:22]SAM_PROTO_GetShiftState done [04:35:22]FM_GetShiftState done [04:35:22]opened in 1730333148 [04:35:22]opened+sec_in_day 1730419548 [04:35:22]quantity*price = 14400 [04:35:22]sum+1 = 14401 [04:35:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 14 31.10.2024 04:35 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38006 ФПД: 169150101684622 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T043524&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38006&fm=169150101684622&tin=02508201610067®Number=0000000000091684&sum=14400 0 [04:35:23]StoreToDocumentArchive [04:35:23]shift 554 fd 38006 [04:35:23]save to /storage/0554/doc_00038006 [04:35:23]save last doc name /storage/0554/doc_00038006 to /storage/kkm_last_doc_name [04:35:23]save OK [04:35:23]Clear old archive folders... [04:35:23]ProcessDocumentItem done err = 0, tmpTLVsize=273 [04:35:23]tlvbuf is 012E2A20 [04:35:23]SAM_PROTO_ClearQueue [04:35:23]wFMCommunicate request_size=4 [04:35:23]MH_SAM_APDU [04:35:23]CAPDU: 80 09 00 00 [04:35:23]Write to MH i2c: E2 08 00 43 05 80 09 00 00 00 00 00 00 BA [04:35:23]Write i2c OK [04:35:23]MH_I2C_Read... [04:35:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:35:23]Read from MH i2c: E2 [04:35:23]MH_I2C_Read... [04:35:23]Read from MH i2c: E2 03 00 [04:35:23]MH_I2C_Read... [04:35:23]Read from MH i2c: E2 03 00 43 05 00 90 00 BC [04:35:23]RAPDU: 90 00 [04:35:23]wFMCommunicate OK [04:35:23]SAM_PROTO_ClearQueue done [04:35:23]KKMCreateOFDPacket [04:35:23]OFDProtocolAddRootSTLVToBuf [04:35:23]FM_MakeSignedData [04:35:23]FM_MakeSignedData [04:35:23]SAM_PROTO_SignData [04:35:23]wFMCommunicate request_size=4 [04:35:23]MH_SAM_APDU [04:35:23]CAPDU: 80 0D 01 02 [04:35:23]Write to MH i2c: E2 08 00 44 05 80 0D 01 02 00 00 00 00 C2 [04:35:23]Write i2c OK [04:35:23]MH_I2C_Read... [04:35:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:35:23]Read from MH i2c: E2 [04:35:23]MH_I2C_Read... [04:35:23]Read from MH i2c: E2 03 00 [04:35:23]MH_I2C_Read... [04:35:23]Read from MH i2c: E2 03 00 44 05 00 90 00 BD [04:35:23]RAPDU: 90 00 [04:35:23]wFMCommunicate OK [04:35:23]wFMCommunicate request_size=255 [04:35:23]MH_SAM_APDU [04:35:23]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 0E 00 00 00 F4 03 04 00 0C 09 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [04:35:23]Write to MH i2c: E2 02 01 45 05 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 0E 00 00 00 F4 03 04 00 0C 09 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 08 [04:35:23]Write i2c OK [04:35:23]MH_I2C_Read... [04:35:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:35:24]Read from MH i2c: E2 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: E2 03 00 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: E2 03 00 45 05 00 90 00 BE [04:35:24]RAPDU: 90 00 [04:35:24]wFMCommunicate OK [04:35:24]wFMCommunicate request_size=32 [04:35:24]MH_SAM_APDU [04:35:24]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 76 94 00 00 35 04 06 00 99 D7 53 B9 81 8E [04:35:24]Write to MH i2c: E2 23 00 46 05 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 76 94 00 00 35 04 06 00 99 D7 53 B9 81 8E 00 00 B4 [04:35:24]Write i2c OK [04:35:24]MH_I2C_Read... [04:35:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:35:24]Read from MH i2c: E2 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: E2 03 00 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: E2 03 00 46 05 00 90 00 BF [04:35:24]RAPDU: 90 00 [04:35:24]wFMCommunicate OK [04:35:24]wFMCommunicate request_size=4 [04:35:24]MH_SAM_APDU [04:35:24]CAPDU: 80 0D 03 02 [04:35:24]Write to MH i2c: E2 08 00 47 05 80 0D 03 02 00 00 00 00 C7 [04:35:24]Write i2c OK [04:35:24]MH_I2C_Read... [04:35:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:35:24]Read from MH i2c: E2 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: E2 0B 00 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: E2 0B 00 47 05 00 A4 44 84 62 65 F1 78 14 90 00 78 [04:35:24]RAPDU: A4 44 84 62 65 F1 78 14 90 00 [04:35:24]wFMCommunicate OK [04:35:24]SAM_PROTO_SignData done [04:35:24]FM_MakeSignedData done [04:35:24]CreateOFDProtocolMessage [04:35:24]wFMCommunicate request_size=4 [04:35:24]MH_SAM_APDU [04:35:24]CAPDU: 80 11 00 00 [04:35:24]Write to MH i2c: E2 08 00 48 05 80 11 00 00 00 00 00 00 C7 [04:35:24]Write i2c OK [04:35:24]MH_I2C_Read... [04:35:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:35:24]Read from MH i2c: E2 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: E2 17 00 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: E2 17 00 48 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 17 [04:35:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:35:24]wFMCommunicate OK [04:35:24]CreateOFDProtocolMessage done [04:35:24]OFDSenderStorePacket 38006 [04:35:24]StoreOFDPacket docnum=38006 [04:35:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 03 FD 1D 01 B6 C6 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 0E 00 00 00 F4 03 04 00 0C 09 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 76 94 00 00 35 04 06 00 99 D7 53 B9 81 8E A4 44 84 62 65 F1 78 14 [04:35:24]CheckFolder [04:35:24]dirname=/storage/ofd_packets [04:35:24]CheckFolder done [04:35:24]ProducePacketName [04:35:24]name=ofd_packets/00038006 [04:35:24]NVStorageSaveData ofd_packets/00038006 [04:35:24]File name is /storage/ofd_packets/00038006 [04:35:24]Write 323 bytes [04:35:24]NVStorageSaveData done [04:35:24]OFDSenderStorePacket done [04:35:24]KKMCreateOFDPacket done [04:35:24]NVStorageSaveData kkm_last_timestamp [04:35:24]File name is /storage/kkm_last_timestamp [04:35:24]Write 4 bytes [04:35:24]NVStorageSaveData done [04:35:24]ExternCall_PrintAddStr [04:35:24]wPrintStart [04:35:24]Write to MH i2c: 01 00 00 49 05 4E [04:35:24]Write i2c OK [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: 01 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: 01 07 00 [04:35:24]MH_I2C_Read... [04:35:24]Read from MH i2c: 01 07 00 49 05 00 00 00 00 00 FF 0F 63 [04:35:24]RasterBufferAndPrint [04:35:24]line Счет N : (3)35304 [04:35:24]line ИНН: 02508201610067 [04:35:24]line Контрольно-Кассовый Чек [04:35:24]line ПРОДАЖА [04:35:24]line Товар: 48743570 [04:35:24]line Сигареты Winston XStyle Blue [04:35:24]line 1.000 * 144.00 [04:35:24]line = 144.00 [04:35:24]line НДС 12% НСП 1% [04:35:24]line > о реализуемом товаре [04:35:24]line ИТОГО: 144.00 [04:35:24]line НСП 1% : 1.27 [04:35:24]line НДС 12% : 15.29 [04:35:24]line Наличными: 144.00 [04:35:24]line Безнал.: 0.00 [04:35:24]line Место: АЗС № 126 "Партнер Нефть" [04:35:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:35:24]line СНО: Общий режим [04:35:24]line Чек 14 31.10.2024 04:35 [04:35:24]line Смена: 554 ФФД: 1.0 [04:35:24]line ЗНМ: 0300000092 [04:35:24]line РНМ: 0000000000091684 [04:35:24]line Версия ККМ: 001 [04:35:24]line ФМ: 0000000000871841 [04:35:24]line ФД: 38006 [04:35:24]line ФПД: 169150101684622 [04:35:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T043524&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38006&fm=169150101684622&tin=02508201610067®Number=0000000000091684&sum=14400 [04:35:24]OFD Sender: Processing packet 38006 [packets to send 42, broken 41] [04:35:24]ProducePacketName [04:35:24]name=ofd_packets/00038006 [04:35:24]OFD Sender: To server: pG, [04:35:24]CommunicateWithHost lk.salyk.kg:30040 [04:35:24]ConnectInit lk.salyk.kg [04:35:24]line 0 [04:35:24]written 0, free lines is 4095 [04:35:24]Connected sock=11 [04:35: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 38 34 31 25 01 00 00 03 FD 1D 01 B6 C6 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 0E 00 00 00 F4 03 04 00 0C 09 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 76 94 00 00 35 04 06 00 99 D7 53 B9 81 8E A4 44 84 62 65 F1 78 14 [04:35:25]Write to MH i2c: 01 00 00 71 05 76 [04:35:25]Write i2c OK [04:35:25]MH_I2C_Read... [04:35:25]Read from MH i2c: 01 [04:35:25]MH_I2C_Read... [04:35:25]Read from MH i2c: 01 07 00 [04:35:25]MH_I2C_Read... [04:35:25]Read from MH i2c: 01 07 00 71 05 00 00 00 00 00 BC 0C 45 [04:35:25]RasterBufferAndPrint [04:35:25]line [04:35:25]line [04:35:25]line [04:35:25]line [04:35:25]line [04:35:25]written 0, free lines is 3266 [04:35:25]MH_Cut [04:35:25]Write to MH i2c: D1 01 00 78 05 01 4F [04:35:25]Write i2c OK [04:35:25]MH_I2C_Read... [04:35:25]Read from MH i2c: D1 [04:35:25]MH_I2C_Read... [04:35:25]Read from MH i2c: D1 01 00 [04:35:25]MH_I2C_Read... [04:35:25]Read from MH i2c: D1 01 00 78 05 00 4E [04:35:25]Write to MH i2c: 01 00 00 79 05 7E [04:35:25]Write i2c OK [04:35:25]MH_I2C_Read... [04:35:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 DF 86 47 00 77 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 38 34 31 10 04 04 00 76 94 00 00 F4 03 04 00 F8 B3 22 67 B6 04 01 00 00 67 76 54 F3 E2 B2 D4 84 [04:35:25]CommunicateWithHost err = 0 [04:35:25]CheckOFDResponse [04:35:25]1017 (14) - 77093643461234 [04:35:25]1041 (16) - 0000000000871841 [04:35:25]1040 (4) - 38006 [04:35:25]1012 (4) - 30.10.2024 22:32 [04:35:25]1206 (1) - 0 [04:35:25]OFD Sender: Remove packet 38006 [04:35:25]ProducePacketName [04:35:25]name=ofd_packets/00038006 [04:35:25]NVStorageDeleteData [04:35:25]*** Cut start [04:35:25]*** Partial cut [04:35:25]*** CUTSNS_PIN = 1 [04:35:25]*** CUTSNS_PIN = 0 [04:35:26]OFD Sender: No OFD packet to send [04:35:26]*** Brake cut motor [04:35:26]Read from MH i2c: 01 [04:35:26]MH_I2C_Read... [04:35:26]*** Stop cut motor [04:35:26]*** Cut end [04:35:26]Read from MH i2c: 01 07 00 [04:35:26]MH_I2C_Read... [04:35:26]Read from MH i2c: 01 07 00 79 05 00 00 00 00 00 FF 0F 93 [04:35:26]process_action close_receipt done [04:35:26]requested_data is exist [04:35:26]produce_requested_data [04:35:26]requested_item fm.sn is exist - process it [04:35:26]wFMCommunicate request_size=4 [04:35:26]MH_SAM_APDU [04:35:26]CAPDU: 80 11 00 00 [04:35:26]Write to MH i2c: E2 08 00 7A 05 80 11 00 00 00 00 00 00 F9 [04:35:26]Write i2c OK [04:35:26]MH_I2C_Read... [04:35:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:35:26]Read from MH i2c: E2 [04:35:26]MH_I2C_Read... [04:35:26]Read from MH i2c: E2 17 00 [04:35:26]MH_I2C_Read... [04:35:26]Read from MH i2c: E2 17 00 7A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 49 [04:35:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:35:26]wFMCommunicate OK [04:35:26]requested_item fd.num is exist - process it [04:35:26]SAM_PROTO_GetFieldsCounters [04:35:26]wFMCommunicate request_size=4 [04:35:26]MH_SAM_APDU [04:35:26]CAPDU: 80 13 00 00 [04:35:26]Write to MH i2c: E2 08 00 7B 05 80 13 00 00 00 00 00 00 FC [04:35:26]Write i2c OK [04:35:26]MH_I2C_Read... [04:35:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:35:26]Read from MH i2c: E2 [04:35:26]MH_I2C_Read... [04:35:26]Read from MH i2c: E2 62 00 [04:35:26]MH_I2C_Read... [04:35:26]Read from MH i2c: E2 62 00 7B 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 76 94 00 00 0E 04 04 00 2A 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 7D [04:35: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 76 94 00 00 0E 04 04 00 2A 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:35:26]wFMCommunicate OK [04:35:26]SAM_PROTO_GetFieldsCounters done [04:35:26]requested_item shift.num is exist - process it [04:35:26]requested_item shift.opened is exist - process it [04:35:26]req_shift_opened [04:35:26]FM_GetShiftState [04:35:26]SAM_PROTO_GetShiftState [04:35:26]wFMCommunicate request_size=4 [04:35:26]MH_SAM_APDU [04:35:26]CAPDU: 80 13 01 00 [04:35:26]Write to MH i2c: E2 08 00 7C 05 80 13 01 00 00 00 00 00 FE [04:35:26]Write i2c OK [04:35:26]MH_I2C_Read... [04:35:26]Read from MH i2c: E2 [04:35:26]MH_I2C_Read... [04:35:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:35:26]Read from MH i2c: E2 0E 00 [04:35:26]MH_I2C_Read... [04:35:26]Read from MH i2c: E2 0E 00 7C 05 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 38 [04:35:26]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [04:35:26]wFMCommunicate OK [04:35:26]SAM_PROTO_GetShiftState done [04:35:26]FM_GetShiftState done [04:35:26]req_shift_opened done [04:35:26]requested_item shift.open_date is exist - process it [04:35:26]req_shift_open_date [04:35:26]req_shift_open_date done [04:35:26]produce_requested_data done [04:35:26]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38006,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [04:35:26]process_action_free close_receipt [04:35:26]json_value_free [04:35:26]json_value_free done [04:35:26]process_json_proto returns [04:35:26]Send response to host [04:39:51]OFD Sender: No OFD packet to send [04:39:56]OFD Sender: No OFD packet to send [04:40:01]OFD Sender: No OFD packet to send [04:40:06]OFD Sender: No OFD packet to send [04:40:11]OFD Sender: No OFD packet to send [04:40:16]OFD Sender: No OFD packet to send [04:40:21]OFD Sender: No OFD packet to send [04:40:26]OFD Sender: No OFD packet to send [04:40:31]OFD Sender: No OFD packet to send [04:40:36]OFD Sender: No OFD packet to send [04:40:41]OFD Sender: No OFD packet to send [04:40:46]OFD Sender: No OFD packet to send [04:40:51]OFD Sender: No OFD packet to send [04:40:56]OFD Sender: No OFD packet to send [04:41:01]OFD Sender: No OFD packet to send [04:41:06]OFD Sender: No OFD packet to send [04:41:11]OFD Sender: No OFD packet to send [04:41:16]OFD Sender: No OFD packet to send [04:41:21]OFD Sender: No OFD packet to send [04:41:26]OFD Sender: No OFD packet to send [04:41:31]OFD Sender: No OFD packet to send [04:41:36]OFD Sender: No OFD packet to send [04:41:41]OFD Sender: No OFD packet to send [04:41:46]OFD Sender: No OFD packet to send [04:41:51]OFD Sender: No OFD packet to send [04:41:56]OFD Sender: No OFD packet to send [04:42:01]OFD Sender: No OFD packet to send [04:42:02]ConnectInit Can't connect to host [04:42:06]OFD Sender: No OFD packet to send [04:42:11]OFD Sender: No OFD packet to send [04:42:16]OFD Sender: No OFD packet to send [04:42:21]OFD Sender: No OFD packet to send [04:42:26]OFD Sender: No OFD packet to send [04:42:31]OFD Sender: No OFD packet to send [04:42:36]OFD Sender: No OFD packet to send [04:42:41]OFD Sender: No OFD packet to send [04:42:46]OFD Sender: No OFD packet to send [04:42:51]OFD Sender: No OFD packet to send [04:42:56]OFD Sender: No OFD packet to send [04:43:01]OFD Sender: No OFD packet to send [04:43:06]OFD Sender: No OFD packet to send [04:43:11]OFD Sender: No OFD packet to send [04:43:16]OFD Sender: No OFD packet to send [04:43:21]OFD Sender: No OFD packet to send [04:43:26]OFD Sender: No OFD packet to send [04:43:31]OFD Sender: No OFD packet to send [04:43:36]OFD Sender: No OFD packet to send [04:43:41]OFD Sender: No OFD packet to send [04:43:46]OFD Sender: No OFD packet to send [04:43:51]OFD Sender: No OFD packet to send [04:43:56]OFD Sender: No OFD packet to send [04:44:01]OFD Sender: No OFD packet to send [04:44:06]OFD Sender: No OFD packet to send [04:44:11]OFD Sender: No OFD packet to send [04:44:16]OFD Sender: No OFD packet to send [04:44:21]OFD Sender: No OFD packet to send [04:44:26]OFD Sender: No OFD packet to send [04:44:31]OFD Sender: No OFD packet to send [04:44:36]OFD Sender: No OFD packet to send [04:44:41]OFD Sender: No OFD packet to send [04:44:46]OFD Sender: No OFD packet to send [04:44:51]OFD Sender: No OFD packet to send [04:44:56]OFD Sender: No OFD packet to send [04:45:01]OFD Sender: No OFD packet to send [04:45:06]OFD Sender: No OFD packet to send [04:45:11]OFD Sender: No OFD packet to send [04:45:12]accept exits with 10 [04:45:12]New connection [04:45:12]New thread 3067186532 created [04:45:12]Thread 3067043172 joined [04:45:12]Waiting for new connection... [04:45:12] Sock 10.Parse request [04:45:12]Sock 10.Check first char [04:45:12]Sock 10.First char is OK [04:45:12]request: POST /json_proto HTTP/1.0 [04:45:12]Method: POST [04:45:12]URL: /json_proto [04:45:12]Method is POST - this is cgi request [04:45:12]url: /json_proto [04:45:12]query_string will be loaded in cgi processing [04:45:12]execute_cgi json_proto POST (null) [04:45:12]execute_cgi path=json_proto method=POST [04:45:12]POST find Content-Length [04:45:12]Host: 172.17.40.196:8080 [04:45:12]Content-Length: 941 [04:45:12]Content-Type: application/json [04:45:12] [04:45:12]POST finish read [04:45:12]Found Content-Length = 941 [04:45:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35305", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600721021566", "name": "\u041F\u0438\u0432\u043E \u0425\u0443\u0433\u0430\u0440\u0434\u0435\u043D \u0431\u0435\u043B \u043D\u0435\u0444\u0438\u043B 0,5\u043B \u0441\u0442", "price" : 213.00, "quantity" : 1.000, "sum" : 213.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 367.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:45:12]execute_script... [04:45: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)35305", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600721021566", "name": "\u041F\u0438\u0432\u043E \u0425\u0443\u0433\u0430\u0440\u0434\u0435\u043D \u0431\u0435\u043B \u043D\u0435\u0444\u0438\u043B 0,5\u043B \u0441\u0442", "price" : 213.00, "quantity" : 1.000, "sum" : 213.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 367.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:45:12]POST & json_proto [04:45:12]process_json_proto [04:45:12]json parsed OK: [04:45:12]protocol is kg_v1.0 [04:45:12]action value=close_receipt [04:45:12]process_action close_receipt [04:45:12]cmd_close_receipt [04:45:12]MH_GetDate [04:45:12]Write to MH i2c: F0 00 00 7D 05 71 [04:45:12]Write i2c OK [04:45:12]MH_I2C_Read... [04:45:12]Read from MH i2c: F0 [04:45:12]MH_I2C_Read... [04:45:12]Read from MH i2c: F0 09 00 [04:45:12]MH_I2C_Read... [04:45:12]Read from MH i2c: F0 09 00 7D 05 00 5A 0B 23 67 5B 68 A1 66 33 [04:45:12]GetLastDocTimeStamp 1730349324 [04:45:12]current date 1730349914 [04:45:12]FM_GetShiftState [04:45:12]SAM_PROTO_GetShiftState [04:45:12]wFMCommunicate request_size=4 [04:45:12]MH_SAM_APDU [04:45:12]CAPDU: 80 13 01 00 [04:45:12]Write to MH i2c: E2 08 00 7E 05 80 13 01 00 00 00 00 00 00 [04:45:12]Write i2c OK [04:45:12]MH_I2C_Read... [04:45:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:45:12]Read from MH i2c: E2 [04:45:12]MH_I2C_Read... [04:45:12]Read from MH i2c: E2 0E 00 [04:45:12]MH_I2C_Read... [04:45:12]Read from MH i2c: E2 0E 00 7E 05 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 3A [04:45:12]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [04:45:12]wFMCommunicate OK [04:45:12]SAM_PROTO_GetShiftState done [04:45:12]FM_GetShiftState done [04:45:12]opened in 1730333148 [04:45:12]opened+sec_in_day 1730419548 [04:45:12]quantity*price = 15400 [04:45:12]sum+1 = 15401 [04:45:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600721021566 Пиво Хугарден бел нефил 0,5л ст 1.000 * 213.00 = 213.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 367.00 НСП 1% : 3.24 НДС 12% : 38.97 Наличными: 367.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 15 31.10.2024 04:45 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38007 ФПД: 83901723885594 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T044514&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38007&fm=83901723885594&tin=02508201610067®Number=0000000000091684&sum=36700 0 [04:45:13]StoreToDocumentArchive [04:45:13]shift 554 fd 38007 [04:45:13]save to /storage/0554/doc_00038007 [04:45:13]save last doc name /storage/0554/doc_00038007 to /storage/kkm_last_doc_name [04:45:13]save OK [04:45:13]Clear old archive folders... [04:45:13]ProcessDocumentItem done err = 0, tmpTLVsize=400 [04:45:13]tlvbuf is 012E2340 [04:45:13]SAM_PROTO_ClearQueue [04:45:13]wFMCommunicate request_size=4 [04:45:13]MH_SAM_APDU [04:45:13]CAPDU: 80 09 00 00 [04:45:13]Write to MH i2c: E2 08 00 8B 05 80 09 00 00 00 00 00 00 02 [04:45:13]Write i2c OK [04:45:13]MH_I2C_Read... [04:45:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:45:13]Read from MH i2c: E2 [04:45:13]MH_I2C_Read... [04:45:13]Read from MH i2c: E2 03 00 [04:45:13]MH_I2C_Read... [04:45:13]Read from MH i2c: E2 03 00 8B 05 00 90 00 04 [04:45:13]RAPDU: 90 00 [04:45:13]wFMCommunicate OK [04:45:13]SAM_PROTO_ClearQueue done [04:45:13]KKMCreateOFDPacket [04:45:13]OFDProtocolAddRootSTLVToBuf [04:45:13]FM_MakeSignedData [04:45:13]FM_MakeSignedData [04:45:13]SAM_PROTO_SignData [04:45:13]wFMCommunicate request_size=4 [04:45:13]MH_SAM_APDU [04:45:13]CAPDU: 80 0D 01 02 [04:45:13]Write to MH i2c: E2 08 00 8C 05 80 0D 01 02 00 00 00 00 0A [04:45:13]Write i2c OK [04:45:13]MH_I2C_Read... [04:45:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:45:13]Read from MH i2c: E2 [04:45:13]MH_I2C_Read... [04:45:13]Read from MH i2c: E2 03 00 [04:45:13]MH_I2C_Read... [04:45:13]Read from MH i2c: E2 03 00 8C 05 00 90 00 05 [04:45:13]RAPDU: 90 00 [04:45:13]wFMCommunicate OK [04:45:13]wFMCommunicate request_size=255 [04:45:13]MH_SAM_APDU [04:45:13]CAPDU: 80 0D 02 02 FA 03 00 90 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 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 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB [04:45:13]Write to MH i2c: E2 02 01 8D 05 80 0D 02 02 FA 00 03 00 90 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 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 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 00 00 9E [04:45:13]Write i2c OK [04:45:13]MH_I2C_Read... [04:45:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:45:14]Read from MH i2c: E2 [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: E2 03 00 [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: E2 03 00 8D 05 00 90 00 06 [04:45:14]RAPDU: 90 00 [04:45:14]wFMCommunicate OK [04:45:14]wFMCommunicate request_size=159 [04:45:14]MH_SAM_APDU [04:45:14]CAPDU: 80 0D 02 02 9A 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 5A 0B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 77 94 00 00 35 04 06 00 4C 4E E4 72 C0 1A [04:45:14]Write to MH i2c: E2 A2 00 8E 05 80 0D 02 02 9A 00 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 5A 0B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 77 94 00 00 35 04 06 00 4C 4E E4 72 C0 1A 00 00 0A [04:45:14]Write i2c OK [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: E2 [04:45:14]MH_I2C_Read... [04:45:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:45:14]Read from MH i2c: E2 03 00 [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: E2 03 00 8E 05 00 90 00 07 [04:45:14]RAPDU: 90 00 [04:45:14]wFMCommunicate OK [04:45:14]wFMCommunicate request_size=4 [04:45:14]MH_SAM_APDU [04:45:14]CAPDU: 80 0D 03 02 [04:45:14]Write to MH i2c: E2 08 00 8F 05 80 0D 03 02 00 00 00 00 0F [04:45:14]Write i2c OK [04:45:14]MH_I2C_Read... [04:45:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:45:14]Read from MH i2c: E2 [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: E2 0B 00 [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: E2 0B 00 8F 05 00 8E C2 BF FF F1 46 72 96 90 00 5D [04:45:14]RAPDU: 8E C2 BF FF F1 46 72 96 90 00 [04:45:14]wFMCommunicate OK [04:45:14]SAM_PROTO_SignData done [04:45:14]FM_MakeSignedData done [04:45:14]CreateOFDProtocolMessage [04:45:14]wFMCommunicate request_size=4 [04:45:14]MH_SAM_APDU [04:45:14]CAPDU: 80 11 00 00 [04:45:14]Write to MH i2c: E2 08 00 90 05 80 11 00 00 00 00 00 00 0F [04:45:14]Write i2c OK [04:45:14]MH_I2C_Read... [04:45:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:45:14]Read from MH i2c: E2 [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: E2 17 00 [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: E2 17 00 90 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5F [04:45:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:45:14]wFMCommunicate OK [04:45:14]CreateOFDProtocolMessage done [04:45:14]OFDSenderStorePacket 38007 [04:45:14]StoreOFDPacket docnum=38007 [04:45:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A4 01 00 00 70 C9 9C 01 FE C2 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 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 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 5A 0B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 77 94 00 00 35 04 06 00 4C 4E E4 72 C0 1A 8E C2 BF FF F1 46 72 96 [04:45:14]CheckFolder [04:45:14]dirname=/storage/ofd_packets [04:45:14]CheckFolder done [04:45:14]ProducePacketName [04:45:14]name=ofd_packets/00038007 [04:45:14]NVStorageSaveData ofd_packets/00038007 [04:45:14]File name is /storage/ofd_packets/00038007 [04:45:14]Write 450 bytes [04:45:14]NVStorageSaveData done [04:45:14]OFDSenderStorePacket done [04:45:14]KKMCreateOFDPacket done [04:45:14]NVStorageSaveData kkm_last_timestamp [04:45:14]File name is /storage/kkm_last_timestamp [04:45:14]Write 4 bytes [04:45:14]NVStorageSaveData done [04:45:14]ExternCall_PrintAddStr [04:45:14]wPrintStart [04:45:14]Write to MH i2c: 01 00 00 91 05 96 [04:45:14]Write i2c OK [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: 01 [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: 01 07 00 [04:45:14]MH_I2C_Read... [04:45:14]Read from MH i2c: 01 07 00 91 05 00 00 00 00 00 FF 0F AB [04:45:14]RasterBufferAndPrint [04:45:14]line Счет N : (3)35305 [04:45:14]line ИНН: 02508201610067 [04:45:14]line Контрольно-Кассовый Чек [04:45:14]line ПРОДАЖА [04:45:14]line Товар: 46230614 [04:45:14]line Сигареты Richmond Red Edition [04:45:14]line 1.000 * 154.00 [04:45:14]line = 154.00 [04:45:14]line НДС 12% НСП 1% [04:45:14]line > о реализуемом товаре [04:45:14]line Товар: 4600721021566 [04:45:14]line Пиво Хугарден бел нефил 0,5л ст [04:45:14]line 1.000 * 213.00 [04:45:14]line = 213.00 [04:45:14]line НДС 12% НСП 1% [04:45:14]line > о реализуемом товаре [04:45:14]line ИТОГО: 367.00 [04:45:14]line НСП 1% : 3.24 [04:45:14]line НДС 12% : 38.97 [04:45:14]line Наличными: 367.00 [04:45:14]line Безнал.: 0.00 [04:45:14]line Место: АЗС № 126 "Партнер Нефть" [04:45:14]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:45:14]line СНО: Общий режим [04:45:14]line Чек 15 31.10.2024 04:45 [04:45:14]line Смена: 554 ФФД: 1.0 [04:45:14]line ЗНМ: 0300000092 [04:45:14]line РНМ: 0000000000091684 [04:45:14]line Версия ККМ: 001 [04:45:14]line ФМ: 0000000000871841 [04:45:14]line ФД: 38007 [04:45:14]line ФПД: 83901723885594 [04:45:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T044514&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38007&fm=83901723885594&tin=02508201610067®Number=0000000000091684&sum=36700 [04:45:14]line 0 [04:45:14]OFD Sender: Processing packet 38007 [packets to send 42, broken 41] [04:45:14]ProducePacketName [04:45:14]name=ofd_packets/00038007 [04:45:14]OFD Sender: To server: pG, [04:45:14]CommunicateWithHost lk.salyk.kg:30040 [04:45:14]ConnectInit lk.salyk.kg [04:45:14]written 0, free lines is 4095 [04:45:15]Connected sock=9 [04:45: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 38 34 31 A4 01 00 00 70 C9 9C 01 FE C2 5A 03 01 00 03 00 90 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 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 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 5A 0B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 77 94 00 00 35 04 06 00 4C 4E E4 72 C0 1A 8E C2 BF FF F1 46 72 96 [04:45:15]Write to MH i2c: 01 00 00 C1 05 C6 [04:45:15]Write i2c OK [04:45:15]MH_I2C_Read... [04:45:15]Read from MH i2c: 01 [04:45:15]MH_I2C_Read... [04:45:15]Read from MH i2c: 01 07 00 [04:45:15]MH_I2C_Read... [04:45:15]Read from MH i2c: 01 07 00 C1 05 00 00 00 00 00 2B 0C 04 [04:45:15]RasterBufferAndPrint [04:45:15]line [04:45:15]line [04:45:15]line [04:45:15]line [04:45:15]line [04:45:15]written 0, free lines is 3120 [04:45:15]MH_Cut [04:45:15]Write to MH i2c: D1 01 00 C8 05 01 9F [04:45:15]Write i2c OK [04:45:15]MH_I2C_Read... [04:45:15]Read from MH i2c: D1 [04:45:15]MH_I2C_Read... [04:45:15]Read from MH i2c: D1 01 00 [04:45:15]MH_I2C_Read... [04:45:15]Read from MH i2c: D1 01 00 C8 05 00 9E [04:45:15]Write to MH i2c: 01 00 00 C9 05 CE [04:45:15]Write i2c OK [04:45:15]MH_I2C_Read... [04:45:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 14 41 47 00 9E 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 38 34 31 10 04 04 00 77 94 00 00 F4 03 04 00 47 B6 22 67 B6 04 01 00 00 94 D2 22 B4 2A B1 4A 10 [04:45:15]CommunicateWithHost err = 0 [04:45:15]CheckOFDResponse [04:45:15]1017 (14) - 77093643461234 [04:45:15]1041 (16) - 0000000000871841 [04:45:15]1040 (4) - 38007 [04:45:15]1012 (4) - 30.10.2024 22:42 [04:45:15]1206 (1) - 0 [04:45:15]OFD Sender: Remove packet 38007 [04:45:15]ProducePacketName [04:45:15]name=ofd_packets/00038007 [04:45:15]NVStorageDeleteData [04:45:16]OFD Sender: No OFD packet to send [04:45:16]*** Cut start [04:45:16]*** Partial cut [04:45:16]*** CUTSNS_PIN = 1 [04:45:16]*** CUTSNS_PIN = 0 [04:45:16]*** Brake cut motor [04:45:16]Read from MH i2c: 01 [04:45:16]MH_I2C_Read... [04:45:16]*** Stop cut motor [04:45:16]*** Cut end [04:45:16]Read from MH i2c: 01 07 00 [04:45:16]MH_I2C_Read... [04:45:16]Read from MH i2c: 01 07 00 C9 05 00 00 00 00 00 FF 0F E3 [04:45:16]process_action close_receipt done [04:45:16]requested_data is exist [04:45:16]produce_requested_data [04:45:16]requested_item fm.sn is exist - process it [04:45:16]wFMCommunicate request_size=4 [04:45:16]MH_SAM_APDU [04:45:16]CAPDU: 80 11 00 00 [04:45:16]Write to MH i2c: E2 08 00 CA 05 80 11 00 00 00 00 00 00 49 [04:45:16]Write i2c OK [04:45:16]MH_I2C_Read... [04:45:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:45:16]Read from MH i2c: E2 [04:45:16]MH_I2C_Read... [04:45:16]Read from MH i2c: E2 17 00 [04:45:16]MH_I2C_Read... [04:45:16]Read from MH i2c: E2 17 00 CA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 99 [04:45:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:45:16]wFMCommunicate OK [04:45:16]requested_item fd.num is exist - process it [04:45:16]SAM_PROTO_GetFieldsCounters [04:45:16]wFMCommunicate request_size=4 [04:45:16]MH_SAM_APDU [04:45:16]CAPDU: 80 13 00 00 [04:45:16]Write to MH i2c: E2 08 00 CB 05 80 13 00 00 00 00 00 00 4C [04:45:16]Write i2c OK [04:45:16]MH_I2C_Read... [04:45:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:45:17]Read from MH i2c: E2 [04:45:17]MH_I2C_Read... [04:45:17]Read from MH i2c: E2 62 00 [04:45:17]MH_I2C_Read... [04:45:17]Read from MH i2c: E2 62 00 CB 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 77 94 00 00 0E 04 04 00 2A 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 D1 [04:45:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 77 94 00 00 0E 04 04 00 2A 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:45:17]wFMCommunicate OK [04:45:17]SAM_PROTO_GetFieldsCounters done [04:45:17]requested_item shift.num is exist - process it [04:45:17]requested_item shift.opened is exist - process it [04:45:17]req_shift_opened [04:45:17]FM_GetShiftState [04:45:17]SAM_PROTO_GetShiftState [04:45:17]wFMCommunicate request_size=4 [04:45:17]MH_SAM_APDU [04:45:17]CAPDU: 80 13 01 00 [04:45:17]Write to MH i2c: E2 08 00 CC 05 80 13 01 00 00 00 00 00 4E [04:45:17]Write i2c OK [04:45:17]MH_I2C_Read... [04:45:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:45:17]Read from MH i2c: E2 [04:45:17]MH_I2C_Read... [04:45:17]Read from MH i2c: E2 0E 00 [04:45:17]MH_I2C_Read... [04:45:17]Read from MH i2c: E2 0E 00 CC 05 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 88 [04:45:17]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [04:45:17]wFMCommunicate OK [04:45:17]SAM_PROTO_GetShiftState done [04:45:17]FM_GetShiftState done [04:45:17]req_shift_opened done [04:45:17]requested_item shift.open_date is exist - process it [04:45:17]req_shift_open_date [04:45:17]req_shift_open_date done [04:45:17]produce_requested_data done [04:45:17]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38007,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [04:45:17]process_action_free close_receipt [04:45:17]json_value_free [04:45:17]json_value_free done [04:45:17]process_json_proto returns [04:45:17]Send response to host [04:45:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38007,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [04:45:17]free response buf [04:45:17]execute_script done [04:45:17]execute_script returns [04:45:17]free content buf [04:45:17]Sock 10.Close socket [04:45:17]Sock 10.Thread stoped [04:45:21]OFD Sender: No OFD packet to send [04:45:26]OFD Sender: No OFD packet to send [04:45:31]OFD Sender: No OFD packet to send [04:45:36]OFD Sender: No OFD packet to send [04:45:41]OFD Sender: No OFD packet to send [04:45:46]OFD Sender: No OFD packet to send [04:45:51]OFD Sender: No OFD packet to send [04:45:56]OFD Sender: No OFD packet to send [04:46:01]OFD Sender: No OFD packet to send [04:46:06]OFD Sender: No OFD packet to send [04:46:11]OFD Sender: No OFD packet to send [04:46:16]OFD Sender: No OFD packet to send [04:46:21]OFD Sender: No OFD packet to send [04:46:26]OFD Sender: No OFD packet to send [04:46:31]OFD Sender: No OFD packet to send [04:46:36]OFD Sender: No OFD packet to send [04:46:37]accept exits with 7 [04:46:37]New connection [04:46:37]New thread 3067043172 created [04:46:37]Thread 3067186532 joined [04:46:37]Waiting for new connection... [04:46:37] Sock 7.Parse request [04:46:37]Sock 7.Check first char [04:46:37]Sock 7.First char is OK [04:46:37]request: POST /json_proto HTTP/1.0 [04:46:37]Method: POST [04:46:37]URL: /json_proto [04:46:37]Method is POST - this is cgi request [04:46:37]url: /json_proto [04:46:37]query_string will be loaded in cgi processing [04:46:37]execute_cgi json_proto POST (null) [04:46:37]execute_cgi path=json_proto method=POST [04:46:37]POST find Content-Length [04:46:37]Host: 172.17.40.196:8080 [04:46:37]Content-Length: 614 [04:46:37]Content-Type: application/json [04:46:37] [04:46:37]POST finish read [04:46:37]Found Content-Length = 614 [04:46:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35306", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 2.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" ] } } [04:46:37]execute_script... [04:46: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)35306", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 2.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" ] } } [04:46:37]POST & json_proto [04:46:37]process_json_proto [04:46:37]json parsed OK: [04:46:37]protocol is kg_v1.0 [04:46:37]action value=close_receipt [04:46:37]process_action close_receipt [04:46:37]cmd_close_receipt [04:46:37]MH_GetDate [04:46:37]Write to MH i2c: F0 00 00 CD 05 C1 [04:46:37]Write i2c OK [04:46:37]MH_I2C_Read... [04:46:37]Read from MH i2c: F0 [04:46:37]MH_I2C_Read... [04:46:37]Read from MH i2c: F0 09 00 [04:46:37]MH_I2C_Read... [04:46:37]Read from MH i2c: F0 09 00 CD 05 00 AF 0B 23 67 5B 68 A1 66 D8 [04:46:37]GetLastDocTimeStamp 1730349914 [04:46:37]current date 1730349999 [04:46:37]FM_GetShiftState [04:46:37]SAM_PROTO_GetShiftState [04:46:37]wFMCommunicate request_size=4 [04:46:37]MH_SAM_APDU [04:46:37]CAPDU: 80 13 01 00 [04:46:37]Write to MH i2c: E2 08 00 CE 05 80 13 01 00 00 00 00 00 50 [04:46:37]Write i2c OK [04:46:37]MH_I2C_Read... [04:46:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:46:37]Read from MH i2c: E2 [04:46:37]MH_I2C_Read... [04:46:37]Read from MH i2c: E2 0E 00 [04:46:37]MH_I2C_Read... [04:46:37]Read from MH i2c: E2 0E 00 CE 05 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 8A [04:46:37]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [04:46:37]wFMCommunicate OK [04:46:37]SAM_PROTO_GetShiftState done [04:46:37]FM_GetShiftState done [04:46:37]opened in 1730333148 [04:46:37]opened+sec_in_day 1730419548 [04:46:37]quantity*price = 16000 [04:46:37]sum+1 = 16001 [04:46:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 16 31.10.2024 04:46 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38008 ФПД: 128195329512269 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T044639&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38008&fm=128195329512269&tin=02508201610067®Number=0000000000091684&sum=16000 0 [04:46:38]StoreToDocumentArchive [04:46:38]shift 554 fd 38008 [04:46:38]save to /storage/0554/doc_00038008 [04:46:38]save last doc name /storage/0554/doc_00038008 to /storage/kkm_last_doc_name [04:46:38]save OK [04:46:38]Clear old archive folders... [04:46:38]ProcessDocumentItem done err = 0, tmpTLVsize=268 [04:46:38]tlvbuf is 012E23A0 [04:46:38]SAM_PROTO_ClearQueue [04:46:38]wFMCommunicate request_size=4 [04:46:38]MH_SAM_APDU [04:46:38]CAPDU: 80 09 00 00 [04:46:38]Write to MH i2c: E2 08 00 DB 05 80 09 00 00 00 00 00 00 52 [04:46:38]Write i2c OK [04:46:38]MH_I2C_Read... [04:46:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:46:38]Read from MH i2c: E2 [04:46:38]MH_I2C_Read... [04:46:38]Read from MH i2c: E2 03 00 [04:46:38]MH_I2C_Read... [04:46:38]Read from MH i2c: E2 03 00 DB 05 00 90 00 54 [04:46:38]RAPDU: 90 00 [04:46:38]wFMCommunicate OK [04:46:38]SAM_PROTO_ClearQueue done [04:46:38]KKMCreateOFDPacket [04:46:38]OFDProtocolAddRootSTLVToBuf [04:46:38]FM_MakeSignedData [04:46:38]FM_MakeSignedData [04:46:38]SAM_PROTO_SignData [04:46:38]wFMCommunicate request_size=4 [04:46:38]MH_SAM_APDU [04:46:38]CAPDU: 80 0D 01 02 [04:46:38]Write to MH i2c: E2 08 00 DC 05 80 0D 01 02 00 00 00 00 5A [04:46:38]Write i2c OK [04:46:38]MH_I2C_Read... [04:46:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:46:38]Read from MH i2c: E2 [04:46:38]MH_I2C_Read... [04:46:38]Read from MH i2c: E2 03 00 [04:46:38]MH_I2C_Read... [04:46:38]Read from MH i2c: E2 03 00 DC 05 00 90 00 55 [04:46:38]RAPDU: 90 00 [04:46:38]wFMCommunicate OK [04:46:38]wFMCommunicate request_size=255 [04:46:38]MH_SAM_APDU [04:46:38]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 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 10 00 00 00 F4 03 04 00 AF 0B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [04:46:38]Write to MH i2c: E2 02 01 DD 05 80 0D 02 02 FA 00 03 00 0C 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 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 10 00 00 00 F4 03 04 00 AF 0B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 94 [04:46:38]Write i2c OK [04:46:38]MH_I2C_Read... [04:46:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:46:38]Read from MH i2c: E2 [04:46:38]MH_I2C_Read... [04:46:38]Read from MH i2c: E2 03 00 [04:46:38]MH_I2C_Read... [04:46:38]Read from MH i2c: E2 03 00 DD 05 00 90 00 56 [04:46:38]RAPDU: 90 00 [04:46:38]wFMCommunicate OK [04:46:38]wFMCommunicate request_size=27 [04:46:38]MH_SAM_APDU [04:46:38]CAPDU: 80 0D 02 02 16 31 38 34 31 10 04 04 00 78 94 00 00 35 04 06 00 74 97 CD 13 D3 4D [04:46:38]Write to MH i2c: E2 1E 00 DE 05 80 0D 02 02 16 00 31 38 34 31 10 04 04 00 78 94 00 00 35 04 06 00 74 97 CD 13 D3 4D 00 00 C5 [04:46:39]Write i2c OK [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: E2 [04:46:39]MH_I2C_Read... [04:46:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:46:39]Read from MH i2c: E2 03 00 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: E2 03 00 DE 05 00 90 00 57 [04:46:39]RAPDU: 90 00 [04:46:39]wFMCommunicate OK [04:46:39]wFMCommunicate request_size=4 [04:46:39]MH_SAM_APDU [04:46:39]CAPDU: 80 0D 03 02 [04:46:39]Write to MH i2c: E2 08 00 DF 05 80 0D 03 02 00 00 00 00 5F [04:46:39]Write i2c OK [04:46:39]MH_I2C_Read... [04:46:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:46:39]Read from MH i2c: E2 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: E2 0B 00 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: E2 0B 00 DF 05 00 D1 8A 7E D7 42 1A F5 7A 90 00 DB [04:46:39]RAPDU: D1 8A 7E D7 42 1A F5 7A 90 00 [04:46:39]wFMCommunicate OK [04:46:39]SAM_PROTO_SignData done [04:46:39]FM_MakeSignedData done [04:46:39]CreateOFDProtocolMessage [04:46:39]wFMCommunicate request_size=4 [04:46:39]MH_SAM_APDU [04:46:39]CAPDU: 80 11 00 00 [04:46:39]Write to MH i2c: E2 08 00 E0 05 80 11 00 00 00 00 00 00 5F [04:46:39]Write i2c OK [04:46:39]MH_I2C_Read... [04:46:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:46:39]Read from MH i2c: E2 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: E2 17 00 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: E2 17 00 E0 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AF [04:46:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:46:39]wFMCommunicate OK [04:46:39]CreateOFDProtocolMessage done [04:46:39]OFDSenderStorePacket 38008 [04:46:39]StoreOFDPacket docnum=38008 [04:46:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 01 00 00 B4 79 18 01 99 47 5A 03 01 00 03 00 0C 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 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 10 00 00 00 F4 03 04 00 AF 0B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 78 94 00 00 35 04 06 00 74 97 CD 13 D3 4D D1 8A 7E D7 42 1A F5 7A [04:46:39]CheckFolder [04:46:39]dirname=/storage/ofd_packets [04:46:39]CheckFolder done [04:46:39]ProducePacketName [04:46:39]name=ofd_packets/00038008 [04:46:39]NVStorageSaveData ofd_packets/00038008 [04:46:39]File name is /storage/ofd_packets/00038008 [04:46:39]Write 318 bytes [04:46:39]NVStorageSaveData done [04:46:39]OFDSenderStorePacket done [04:46:39]KKMCreateOFDPacket done [04:46:39]NVStorageSaveData kkm_last_timestamp [04:46:39]File name is /storage/kkm_last_timestamp [04:46:39]Write 4 bytes [04:46:39]NVStorageSaveData done [04:46:39]ExternCall_PrintAddStr [04:46:39]wPrintStart [04:46:39]Write to MH i2c: 01 00 00 E1 05 E6 [04:46:39]Write i2c OK [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: 01 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: 01 07 00 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: 01 07 00 E1 05 00 00 00 00 00 FF 0F FB [04:46:39]RasterBufferAndPrint [04:46:39]line Счет N : (3)35306 [04:46:39]line ИНН: 02508201610067 [04:46:39]line Контрольно-Кассовый Чек [04:46:39]line ПРОДАЖА [04:46:39]line Товар: 4870001570057 [04:46:39]line Напиток Pepsi 0,5л [04:46:39]line 2.000 * 80.00 [04:46:39]line = 160.00 [04:46:39]line НДС 12% НСП 1% [04:46:39]line > о реализуемом товаре [04:46:39]line ИТОГО: 160.00 [04:46:39]line НСП 1% : 1.42 [04:46:39]line НДС 12% : 16.99 [04:46:39]line Наличными: 160.00 [04:46:39]line Безнал.: 0.00 [04:46:39]line Место: АЗС № 126 "Партнер Нефть" [04:46:39]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:46:39]line СНО: Общий режим [04:46:39]line Чек 16 31.10.2024 04:46 [04:46:39]line Смена: 554 ФФД: 1.0 [04:46:39]line ЗНМ: 0300000092 [04:46:39]line РНМ: 0000000000091684 [04:46:39]line Версия ККМ: 001 [04:46:39]line ФМ: 0000000000871841 [04:46:39]line ФД: 38008 [04:46:39]line ФПД: 128195329512269 [04:46:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T044639&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38008&fm=128195329512269&tin=02508201610067®Number=0000000000091684&sum=16000 [04:46:39]line 0 [04:46:39]written 0, free lines is 4095 [04:46:39]OFD Sender: Processing packet 38008 [packets to send 42, broken 41] [04:46:39]ProducePacketName [04:46:39]name=ofd_packets/00038008 [04:46:39]OFD Sender: To server: pG, [04:46:39]CommunicateWithHost lk.salyk.kg:30040 [04:46:39]ConnectInit lk.salyk.kg [04:46:39]Connected sock=10 [04:46: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 38 34 31 20 01 00 00 B4 79 18 01 99 47 5A 03 01 00 03 00 0C 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 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 10 00 00 00 F4 03 04 00 AF 0B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 78 94 00 00 35 04 06 00 74 97 CD 13 D3 4D D1 8A 7E D7 42 1A F5 7A [04:46:39]Write to MH i2c: 01 00 00 09 06 0F [04:46:39]Write i2c OK [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: 01 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: 01 07 00 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: 01 07 00 09 06 00 00 00 00 00 DD 0C FF [04:46:39]RasterBufferAndPrint [04:46:39]line [04:46:39]line [04:46:39]line [04:46:39]line [04:46:39]line [04:46:39]written 0, free lines is 3299 [04:46:39]MH_Cut [04:46:39]Write to MH i2c: D1 01 00 10 06 01 E8 [04:46:39]Write i2c OK [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: D1 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: D1 01 00 [04:46:39]MH_I2C_Read... [04:46:39]Read from MH i2c: D1 01 00 10 06 00 E7 [04:46:39]Write to MH i2c: 01 00 00 11 06 17 [04:46:39]Write i2c OK [04:46:39]MH_I2C_Read... [04:46:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 4B 24 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 38 34 31 10 04 04 00 78 94 00 00 F4 03 04 00 9B B6 22 67 B6 04 01 00 00 54 AE 07 70 AB A0 75 8A [04:46:39]CommunicateWithHost err = 0 [04:46:39]CheckOFDResponse [04:46:39]1017 (14) - 77093643461234 [04:46:39]1041 (16) - 0000000000871841 [04:46:39]1040 (4) - 38008 [04:46:39]1012 (4) - 30.10.2024 22:43 [04:46:39]1206 (1) - 0 [04:46:39]OFD Sender: Remove packet 38008 [04:46:39]ProducePacketName [04:46:39]name=ofd_packets/00038008 [04:46:39]NVStorageDeleteData [04:46:40]*** Cut start [04:46:40]*** Partial cut [04:46:40]*** CUTSNS_PIN = 1 [04:46:40]OFD Sender: No OFD packet to send [04:46:40]*** CUTSNS_PIN = 0 [04:46:40]*** Brake cut motor [04:46:41]Read from MH i2c: 01 [04:46:41]MH_I2C_Read... [04:46:41]*** Stop cut motor [04:46:41]*** Cut end [04:46:41]Read from MH i2c: 01 07 00 [04:46:41]MH_I2C_Read... [04:46:41]Read from MH i2c: 01 07 00 11 06 00 00 00 00 00 FF 0F 2C [04:46:41]process_action close_receipt done [04:46:41]requested_data is exist [04:46:41]produce_requested_data [04:46:41]requested_item fm.sn is exist - process it [04:46:41]wFMCommunicate request_size=4 [04:46:41]MH_SAM_APDU [04:46:41]CAPDU: 80 11 00 00 [04:46:41]Write to MH i2c: E2 08 00 12 06 80 11 00 00 00 00 00 00 92 [04:46:41]Write i2c OK [04:46:41]MH_I2C_Read... [04:46:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:46:41]Read from MH i2c: E2 [04:46:41]MH_I2C_Read... [04:46:41]Read from MH i2c: E2 17 00 [04:46:41]MH_I2C_Read... [04:46:41]Read from MH i2c: E2 17 00 12 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E2 [04:46:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:46:41]wFMCommunicate OK [04:46:41]requested_item fd.num is exist - process it [04:46:41]SAM_PROTO_GetFieldsCounters [04:46:41]wFMCommunicate request_size=4 [04:46:41]MH_SAM_APDU [04:46:41]CAPDU: 80 13 00 00 [04:46:41]Write to MH i2c: E2 08 00 13 06 80 13 00 00 00 00 00 00 95 [04:46:41]Write i2c OK [04:46:41]MH_I2C_Read... [04:46:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:46:41]Read from MH i2c: E2 [04:46:41]MH_I2C_Read... [04:46:41]Read from MH i2c: E2 62 00 [04:46:41]MH_I2C_Read... [04:46:41]Read from MH i2c: E2 62 00 13 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 78 94 00 00 0E 04 04 00 2A 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 1E [04:46: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 78 94 00 00 0E 04 04 00 2A 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:46:41]wFMCommunicate OK [04:46:41]SAM_PROTO_GetFieldsCounters done [04:46:41]requested_item shift.num is exist - process it [04:46:41]requested_item shift.opened is exist - process it [04:46:41]req_shift_opened [04:46:41]FM_GetShiftState [04:46:41]SAM_PROTO_GetShiftState [04:46:41]wFMCommunicate request_size=4 [04:46:41]MH_SAM_APDU [04:46:41]CAPDU: 80 13 01 00 [04:46:41]Write to MH i2c: E2 08 00 14 06 80 13 01 00 00 00 00 00 97 [04:46:41]Write i2c OK [04:46:41]MH_I2C_Read... [04:46:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:46:41]Read from MH i2c: E2 [04:46:41]MH_I2C_Read... [04:46:41]Read from MH i2c: E2 0E 00 [04:46:41]MH_I2C_Read... [04:46:41]Read from MH i2c: E2 0E 00 14 06 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 D1 [04:46:41]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [04:46:41]wFMCommunicate OK [04:46:41]SAM_PROTO_GetShiftState done [04:46:41]FM_GetShiftState done [04:46:41]req_shift_opened done [04:46:41]requested_item shift.open_date is exist - process it [04:46:41]req_shift_open_date [04:46:41]req_shift_open_date done [04:46:41]produce_requested_data done [04:46:41]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38008,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [04:46:41]process_action_free close_receipt [04:46:41]json_value_free [04:46:41]json_value_free done [04:46:41]process_json_proto returns [04:46:41]Send response to host [04:46:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38008,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [04:46:41]free response buf [04:46:41]execute_script done [04:46:41]execute_script returns [04:46:41]free content buf [04:46:41]Sock 7.Close socket [04:46:41]Sock 7.Thread stoped [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47:15]OFD Sender: No OFD packet to send [04:47:20]OFD Sender: No OFD packet to send [04:47:25]OFD Sender: No OFD packet to send [04:47:30]OFD Sender: No OFD packet to send [04:47:35]OFD Sender: No OFD packet to send [04:47:40]OFD Sender: No OFD packet to send [04:47:45]OFD Sender: No OFD packet to send [04:47:50]OFD Sender: No OFD packet to send [04:47:55]OFD Sender: No OFD packet to send [04:48:00]OFD Sender: No OFD packet to send [04:48:05]OFD Sender: No OFD packet to send [04:48:10]OFD Sender: No OFD packet to send [04:48:15]OFD Sender: No OFD packet to send [04:48:20]OFD Sender: No OFD packet to send [04:48:25]OFD Sender: No OFD packet to send [04:48:30]OFD Sender: No OFD packet to send [04:48:35]OFD Sender: No OFD packet to send [04:48:40]OFD Sender: No OFD packet to send [04:48:45]OFD Sender: No OFD packet to send [04:48:50]OFD Sender: No OFD packet to send [04:48:55]OFD Sender: No OFD packet to send [04:49:00]OFD Sender: No OFD packet to send [04:49:05]OFD Sender: No OFD packet to send [04:49:10]OFD Sender: No OFD packet to send [04:49:15]OFD Sender: No OFD packet to send [04:49:20]OFD Sender: No OFD packet to send [04:49:25]OFD Sender: No OFD packet to send [04:49:30]OFD Sender: No OFD packet to send [04:49:35]OFD Sender: No OFD packet to send [04:49:40]OFD Sender: No OFD packet to send [04:49:45]OFD Sender: No OFD packet to send [04:49:50]OFD Sender: No OFD packet to send [04:49:55]OFD Sender: No OFD packet to send [04:50:00]OFD Sender: No OFD packet to send [04:50:05]OFD Sender: No OFD packet to send [04:50:10]OFD Sender: No OFD packet to send [04:50:15]OFD Sender: No OFD packet to send [04:50:20]OFD Sender: No OFD packet to send [04:50:25]OFD Sender: No OFD packet to send [04:50:30]OFD Sender: No OFD packet to send [04:50:35]OFD Sender: No OFD packet to send [04:50:40]OFD Sender: No OFD packet to send [04:50:45]OFD Sender: No OFD packet to send [04:50:50]OFD Sender: No OFD packet to send [04:50:55]OFD Sender: No OFD packet to send [04:51:00]OFD Sender: No OFD packet to send [04:51:05]OFD Sender: No OFD packet to send [04:51:10]OFD Sender: No OFD packet to send [04:51:15]OFD Sender: No OFD packet to send [04:51:20]OFD Sender: No OFD packet to send [04:51:25]OFD Sender: No OFD packet to send [04:51:30]OFD Sender: No OFD packet to send [04:51:35]OFD Sender: No OFD packet to send [04:51:40]OFD Sender: No OFD packet to send [04:51:45]OFD Sender: No OFD packet to send [04:51:50]OFD Sender: No OFD packet to send [04:51:55]OFD Sender: No OFD packet to send [04:52:00]OFD Sender: No OFD packet to send [04:52:05]OFD Sender: No OFD packet to send [04:52:10]OFD Sender: No OFD packet to send [04:52:15]OFD Sender: No OFD packet to send [04:52:20]OFD Sender: No OFD packet to send [04:52:25]OFD Sender: No OFD packet to send [04:52:30]OFD Sender: No OFD packet to send [04:52:35]OFD Sender: No OFD packet to send [04:52:40]OFD Sender: No OFD packet to send [04:52:45]OFD Sender: No OFD packet to send [04:52:50]OFD Sender: No OFD packet to send [04:52:55]OFD Sender: No OFD packet to send [04:53:00]OFD Sender: No OFD packet to send [04:53:05]OFD Sender: No OFD packet to send [04:53:10]OFD Sender: No OFD packet to send [04:53:15]OFD Sender: No OFD packet to send [04:53:20]OFD Sender: No OFD packet to send [04:53:25]OFD Sender: No OFD packet to send [04:53:30]OFD Sender: No OFD packet to send [04:53:35]OFD Sender: No OFD packet to send [04:53:40]OFD Sender: No OFD packet to send [04:53:45]OFD Sender: No OFD packet to send [04:53:50]OFD Sender: No OFD packet to send [04:53:55]OFD Sender: No OFD packet to send [04:54:00]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:51]accept exits with 9 [04:58:51]New connection [04:58:51]New thread 3067186532 created [04:58:51]Thread 3067043172 joined [04:58:51]Waiting for new connection... [04:58:51] Sock 9.Parse request [04:58:51]Sock 9.Check first char [04:58:51]Sock 9.First char is OK [04:58:51]request: POST /json_proto HTTP/1.0 [04:58:51]Method: POST [04:58:51]URL: /json_proto [04:58:51]Method is POST - this is cgi request [04:58:51]url: /json_proto [04:58:51]query_string will be loaded in cgi processing [04:58:51]execute_cgi json_proto POST (null) [04:58:51]execute_cgi path=json_proto method=POST [04:58:51]POST find Content-Length [04:58:51]Host: 172.17.40.196:8080 [04:58:51]Content-Length: 894 [04:58:51]Content-Type: application/json [04:58:51] [04:58:51]POST finish read [04:58:51]Found Content-Length = 894 [04:58:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35307", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 269.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:58:51]execute_script... [04:58: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)35307", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 269.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:58:51]POST & json_proto [04:58:51]process_json_proto [04:58:51]json parsed OK: [04:58:51]protocol is kg_v1.0 [04:58:51]action value=close_receipt [04:58:51]process_action close_receipt [04:58:51]cmd_close_receipt [04:58:51]MH_GetDate [04:58:51]Write to MH i2c: F0 00 00 15 06 0A [04:58:51]Write i2c OK [04:58:51]MH_I2C_Read... [04:58:51]Read from MH i2c: F0 [04:58:51]MH_I2C_Read... [04:58:51]Read from MH i2c: F0 09 00 [04:58:51]MH_I2C_Read... [04:58:51]Read from MH i2c: F0 09 00 15 06 00 8D 0E 23 67 5B 68 A1 66 02 [04:58:51]GetLastDocTimeStamp 1730349999 [04:58:51]current date 1730350733 [04:58:51]FM_GetShiftState [04:58:51]SAM_PROTO_GetShiftState [04:58:51]wFMCommunicate request_size=4 [04:58:51]MH_SAM_APDU [04:58:51]CAPDU: 80 13 01 00 [04:58:51]Write to MH i2c: E2 08 00 16 06 80 13 01 00 00 00 00 00 99 [04:58:51]Write i2c OK [04:58:51]MH_I2C_Read... [04:58:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:58:51]Read from MH i2c: E2 [04:58:51]MH_I2C_Read... [04:58:51]Read from MH i2c: E2 0E 00 [04:58:51]MH_I2C_Read... [04:58:51]Read from MH i2c: E2 0E 00 16 06 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 D3 [04:58:51]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [04:58:51]wFMCommunicate OK [04:58:51]SAM_PROTO_GetShiftState done [04:58:51]FM_GetShiftState done [04:58:51]opened in 1730333148 [04:58:51]opened+sec_in_day 1730419548 [04:58:51]quantity*price = 14400 [04:58:51]sum+1 = 14401 [04:58:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 269.00 НСП 1% : 2.38 НДС 12% : 28.56 Наличными: 269.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 17 31.10.2024 04:58 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38009 ФПД: 47819554150308 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T045853&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38009&fm=47819554150308&tin=02508201610067®Number=0000000000091684&sum=26900 0 [04:58:52]StoreToDocumentArchive [04:58:52]shift 554 fd 38009 [04:58:52]save to /storage/0554/doc_00038009 [04:58:52]save last doc name /storage/0554/doc_00038009 to /storage/kkm_last_doc_name [04:58:52]save OK [04:58:52]Clear old archive folders... [04:58:52]ProcessDocumentItem done err = 0, tmpTLVsize=381 [04:58:52]tlvbuf is 011815C0 [04:58:52]SAM_PROTO_ClearQueue [04:58:52]wFMCommunicate request_size=4 [04:58:52]MH_SAM_APDU [04:58:52]CAPDU: 80 09 00 00 [04:58:52]Write to MH i2c: E2 08 00 23 06 80 09 00 00 00 00 00 00 9B [04:58:52]Write i2c OK [04:58:52]MH_I2C_Read... [04:58:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:58:53]Read from MH i2c: E2 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 03 00 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 03 00 23 06 00 90 00 9D [04:58:53]RAPDU: 90 00 [04:58:53]wFMCommunicate OK [04:58:53]SAM_PROTO_ClearQueue done [04:58:53]KKMCreateOFDPacket [04:58:53]OFDProtocolAddRootSTLVToBuf [04:58:53]FM_MakeSignedData [04:58:53]FM_MakeSignedData [04:58:53]SAM_PROTO_SignData [04:58:53]wFMCommunicate request_size=4 [04:58:53]MH_SAM_APDU [04:58:53]CAPDU: 80 0D 01 02 [04:58:53]Write to MH i2c: E2 08 00 24 06 80 0D 01 02 00 00 00 00 A3 [04:58:53]Write i2c OK [04:58:53]MH_I2C_Read... [04:58:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:58:53]Read from MH i2c: E2 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 03 00 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 03 00 24 06 00 90 00 9E [04:58:53]RAPDU: 90 00 [04:58:53]wFMCommunicate OK [04:58:53]wFMCommunicate request_size=255 [04:58:53]MH_SAM_APDU [04:58:53]CAPDU: 80 0D 02 02 FA 03 00 7D 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 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 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 [04:58:53]Write to MH i2c: E2 02 01 25 06 80 0D 02 02 FA 00 03 00 7D 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 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 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 3A [04:58:53]Write i2c OK [04:58:53]MH_I2C_Read... [04:58:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:58:53]Read from MH i2c: E2 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 03 00 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 03 00 25 06 00 90 00 9F [04:58:53]RAPDU: 90 00 [04:58:53]wFMCommunicate OK [04:58:53]wFMCommunicate request_size=140 [04:58:53]MH_SAM_APDU [04:58:53]CAPDU: 80 0D 02 02 87 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 8D 0E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 79 94 00 00 35 04 06 00 2B 7D DB 89 D7 A4 [04:58:53]Write to MH i2c: E2 8F 00 26 06 80 0D 02 02 87 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 8D 0E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 79 94 00 00 35 04 06 00 2B 7D DB 89 D7 A4 00 00 87 [04:58:53]Write i2c OK [04:58:53]MH_I2C_Read... [04:58:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:58:53]Read from MH i2c: E2 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 03 00 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 03 00 26 06 00 90 00 A0 [04:58:53]RAPDU: 90 00 [04:58:53]wFMCommunicate OK [04:58:53]wFMCommunicate request_size=4 [04:58:53]MH_SAM_APDU [04:58:53]CAPDU: 80 0D 03 02 [04:58:53]Write to MH i2c: E2 08 00 27 06 80 0D 03 02 00 00 00 00 A8 [04:58:53]Write i2c OK [04:58:53]MH_I2C_Read... [04:58:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:58:53]Read from MH i2c: E2 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 0B 00 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 0B 00 27 06 00 7C F2 04 2C C4 55 74 D6 90 00 AA [04:58:53]RAPDU: 7C F2 04 2C C4 55 74 D6 90 00 [04:58:53]wFMCommunicate OK [04:58:53]SAM_PROTO_SignData done [04:58:53]FM_MakeSignedData done [04:58:53]CreateOFDProtocolMessage [04:58:53]wFMCommunicate request_size=4 [04:58:53]MH_SAM_APDU [04:58:53]CAPDU: 80 11 00 00 [04:58:53]Write to MH i2c: E2 08 00 28 06 80 11 00 00 00 00 00 00 A8 [04:58:53]Write i2c OK [04:58:53]MH_I2C_Read... [04:58:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:58:53]Read from MH i2c: E2 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 17 00 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: E2 17 00 28 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F8 [04:58:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:58:53]wFMCommunicate OK [04:58:53]CreateOFDProtocolMessage done [04:58:53]OFDSenderStorePacket 38009 [04:58:53]StoreOFDPacket docnum=38009 [04:58:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 91 01 00 00 DB 4F 89 01 41 87 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 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 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 8D 0E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 79 94 00 00 35 04 06 00 2B 7D DB 89 D7 A4 7C F2 04 2C C4 55 74 D6 [04:58:53]CheckFolder [04:58:53]dirname=/storage/ofd_packets [04:58:53]CheckFolder done [04:58:53]ProducePacketName [04:58:53]name=ofd_packets/00038009 [04:58:53]NVStorageSaveData ofd_packets/00038009 [04:58:53]File name is /storage/ofd_packets/00038009 [04:58:53]Write 431 bytes [04:58:53]NVStorageSaveData done [04:58:53]OFDSenderStorePacket done [04:58:53]KKMCreateOFDPacket done [04:58:53]NVStorageSaveData kkm_last_timestamp [04:58:53]File name is /storage/kkm_last_timestamp [04:58:53]Write 4 bytes [04:58:53]NVStorageSaveData done [04:58:53]ExternCall_PrintAddStr [04:58:53]wPrintStart [04:58:53]Write to MH i2c: 01 00 00 29 06 2F [04:58:53]Write i2c OK [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: 01 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: 01 07 00 [04:58:53]MH_I2C_Read... [04:58:53]Read from MH i2c: 01 07 00 29 06 00 00 00 00 00 FF 0F 44 [04:58:53]RasterBufferAndPrint [04:58:53]line Счет N : (3)35307 [04:58:53]line ИНН: 02508201610067 [04:58:53]line Контрольно-Кассовый Чек [04:58:53]line ПРОДАЖА [04:58:53]line Товар: 48747066 [04:58:53]line Сигареты Winston True Silver [04:58:53]line 1.000 * 144.00 [04:58:53]line = 144.00 [04:58:53]line НДС 12% НСП 1% [04:58:53]line > о реализуемом товаре [04:58:53]line Товар: 5449000054227 [04:58:53]line Напиток Кока-Кола 1л [04:58:53]line 1.000 * 125.00 [04:58:53]line = 125.00 [04:58:53]line НДС 12% НСП 1% [04:58:53]line > о реализуемом товаре [04:58:53]line ИТОГО: 269.00 [04:58:53]line НСП 1% : 2.38 [04:58:53]line НДС 12% : 28.56 [04:58:53]line Наличными: 269.00 [04:58:53]line Безнал.: 0.00 [04:58:53]line Место: АЗС № 126 "Партнер Нефть" [04:58:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:58:53]line СНО: Общий режим [04:58:53]line Чек 17 31.10.2024 04:58 [04:58:53]line Смена: 554 ФФД: 1.0 [04:58:53]line ЗНМ: 0300000092 [04:58:53]line РНМ: 0000000000091684 [04:58:53]line Версия ККМ: 001 [04:58:53]line ФМ: 0000000000871841 [04:58:53]line ФД: 38009 [04:58:53]line ФПД: 47819554150308 [04:58:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T045853&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38009&fm=47819554150308&tin=02508201610067®Number=0000000000091684&sum=26900 [04:58:53]line 0 [04:58:53]OFD Sender: Processing packet 38009 [packets to send 42, broken 41] [04:58:53]ProducePacketName [04:58:53]name=ofd_packets/00038009 [04:58:53]OFD Sender: To server: pG, [04:58:53]CommunicateWithHost lk.salyk.kg:30040 [04:58:53]ConnectInit lk.salyk.kg [04:58:53]written 0, free lines is 4095 [04:58:54]Connected sock=10 [04:58: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 38 34 31 91 01 00 00 DB 4F 89 01 41 87 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 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 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 8D 0E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 79 94 00 00 35 04 06 00 2B 7D DB 89 D7 A4 7C F2 04 2C C4 55 74 D6 [04:58:54]Write to MH i2c: 01 00 00 57 06 5D [04:58:54]Write i2c OK [04:58:54]MH_I2C_Read... [04:58:54]Read from MH i2c: 01 [04:58:54]MH_I2C_Read... [04:58:54]Read from MH i2c: 01 07 00 [04:58:54]MH_I2C_Read... [04:58:54]Read from MH i2c: 01 07 00 57 06 00 00 00 00 00 6A 0C DA [04:58:54]RasterBufferAndPrint [04:58:54]line [04:58:54]line [04:58:54]line [04:58:54]line [04:58:54]line [04:58:54]written 0, free lines is 3187 [04:58:54]MH_Cut [04:58:54]Write to MH i2c: D1 01 00 5E 06 01 36 [04:58:54]Write i2c OK [04:58:54]MH_I2C_Read... [04:58:54]Read from MH i2c: D1 [04:58:54]MH_I2C_Read... [04:58:54]Read from MH i2c: D1 01 00 [04:58:54]MH_I2C_Read... [04:58:54]Read from MH i2c: D1 01 00 5E 06 00 35 [04:58:54]Write to MH i2c: 01 00 00 5F 06 65 [04:58:54]Write i2c OK [04:58:54]MH_I2C_Read... [04:58:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F8 9E 47 00 E0 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 38 34 31 10 04 04 00 79 94 00 00 F4 03 04 00 7A B9 22 67 B6 04 01 00 00 A9 AC 73 65 70 DF 0D 22 [04:58:54]CommunicateWithHost err = 0 [04:58:54]CheckOFDResponse [04:58:54]1017 (14) - 77093643461234 [04:58:54]1041 (16) - 0000000000871841 [04:58:54]1040 (4) - 38009 [04:58:54]1012 (4) - 30.10.2024 22:55 [04:58:54]1206 (1) - 0 [04:58:54]OFD Sender: Remove packet 38009 [04:58:54]ProducePacketName [04:58:54]name=ofd_packets/00038009 [04:58:54]NVStorageDeleteData [04:58:55]OFD Sender: No OFD packet to send [04:58:55]*** Cut start [04:58:55]*** Partial cut [04:58:55]*** CUTSNS_PIN = 1 [04:58:55]*** CUTSNS_PIN = 0 [04:58:55]*** Brake cut motor [04:58:55]Read from MH i2c: 01 [04:58:55]MH_I2C_Read... [04:58:55]*** Stop cut motor [04:58:55]*** Cut end [04:58:55]Read from MH i2c: 01 07 00 [04:58:55]MH_I2C_Read... [04:58:55]Read from MH i2c: 01 07 00 5F 06 00 00 00 00 00 FF 0F 7A [04:58:55]process_action close_receipt done [04:58:55]requested_data is exist [04:58:55]produce_requested_data [04:58:55]requested_item fm.sn is exist - process it [04:58:55]wFMCommunicate request_size=4 [04:58:55]MH_SAM_APDU [04:58:55]CAPDU: 80 11 00 00 [04:58:55]Write to MH i2c: E2 08 00 60 06 80 11 00 00 00 00 00 00 E0 [04:58:55]Write i2c OK [04:58:55]MH_I2C_Read... [04:58:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:58:56]Read from MH i2c: E2 [04:58:56]MH_I2C_Read... [04:58:56]Read from MH i2c: E2 17 00 [04:58:56]MH_I2C_Read... [04:58:56]Read from MH i2c: E2 17 00 60 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 30 [04:58:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:58:56]wFMCommunicate OK [04:58:56]requested_item fd.num is exist - process it [04:58:56]SAM_PROTO_GetFieldsCounters [04:58:56]wFMCommunicate request_size=4 [04:58:56]MH_SAM_APDU [04:58:56]CAPDU: 80 13 00 00 [04:58:56]Write to MH i2c: E2 08 00 61 06 80 13 00 00 00 00 00 00 E3 [04:58:56]Write i2c OK [04:58:56]MH_I2C_Read... [04:58:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:58:56]Read from MH i2c: E2 [04:58:56]MH_I2C_Read... [04:58:56]Read from MH i2c: E2 62 00 [04:58:56]MH_I2C_Read... [04:58:56]Read from MH i2c: E2 62 00 61 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 79 94 00 00 0E 04 04 00 2A 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 70 [04:58: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 79 94 00 00 0E 04 04 00 2A 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 [04:58:56]wFMCommunicate OK [04:58:56]SAM_PROTO_GetFieldsCounters done [04:58:56]requested_item shift.num is exist - process it [04:58:56]requested_item shift.opened is exist - process it [04:58:56]req_shift_opened [04:58:56]FM_GetShiftState [04:58:56]SAM_PROTO_GetShiftState [04:58:56]wFMCommunicate request_size=4 [04:58:56]MH_SAM_APDU [04:58:56]CAPDU: 80 13 01 00 [04:58:56]Write to MH i2c: E2 08 00 62 06 80 13 01 00 00 00 00 00 E5 [04:58:56]Write i2c OK [04:58:56]MH_I2C_Read... [04:58:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:58:56]Read from MH i2c: E2 [04:58:56]MH_I2C_Read... [04:58:56]Read from MH i2c: E2 0E 00 [04:58:56]MH_I2C_Read... [04:58:56]Read from MH i2c: E2 0E 00 62 06 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 1F [04:58:56]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [04:58:56]wFMCommunicate OK [04:58:56]SAM_PROTO_GetShiftState done [04:58:56]FM_GetShiftState done [04:58:56]req_shift_opened done [04:58:56]requested_item shift.open_date is exist - process it [04:58:56]req_shift_open_date [04:58:56]req_shift_open_date done [04:58:56]produce_requested_data done [04:58:56]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38009,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [04:58:56]process_action_free close_receipt [04:58:56]json_value_free [04:58:56]json_value_free done [04:58:56]process_json_proto returns [04:58:56]Send response to host [04:58:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38009,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [04:58:56]free response buf [04:58:56]execute_script done [04:58:56]execute_script returns [04:58:56]free content buf [04:58:56]Sock 9.Close socket [04:58:56]Sock 9.Thread stoped [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:03]accept exits with 7 [05:26:03]New connection [05:26:03]New thread 3067043172 created [05:26:03]Thread 3067186532 joined [05:26:03]Waiting for new connection... [05:26:03] Sock 7.Parse request [05:26:03]Sock 7.Check first char [05:26:03]Sock 7.First char is OK [05:26:03]request: POST /json_proto HTTP/1.0 [05:26:03]Method: POST [05:26:03]URL: /json_proto [05:26:03]Method is POST - this is cgi request [05:26:03]url: /json_proto [05:26:03]query_string will be loaded in cgi processing [05:26:03]execute_cgi json_proto POST (null) [05:26:03]execute_cgi path=json_proto method=POST [05:26:03]POST find Content-Length [05:26:03]Host: 172.17.40.196:8080 [05:26:03]Content-Length: 1001 [05:26:03]Content-Type: application/json [05:26:03] [05:26:03]POST finish read [05:26:03]Found Content-Length = 1001 [05:26:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 38007, "base_FM": "0000000000871841", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35305", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600721021566", "name": "\u041F\u0438\u0432\u043E \u0425\u0443\u0433\u0430\u0440\u0434\u0435\u043D \u0431\u0435\u043B \u043D\u0435\u0444\u0438\u043B 0,5\u043B \u0441\u0442", "price" : 213.00, "quantity" : 1.000, "sum" : 213.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 367.00 } ], "post_footer_text": "38007" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:26:03]execute_script... [05:26:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 38007, "base_FM": "0000000000871841", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35305", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600721021566", "name": "\u041F\u0438\u0432\u043E \u0425\u0443\u0433\u0430\u0440\u0434\u0435\u043D \u0431\u0435\u043B \u043D\u0435\u0444\u0438\u043B 0,5\u043B \u0441\u0442", "price" : 213.00, "quantity" : 1.000, "sum" : 213.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 367.00 } ], "post_footer_text": "38007" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:26:03]POST & json_proto [05:26:03]process_json_proto [05:26:03]json parsed OK: [05:26:03]protocol is kg_v1.0 [05:26:03]action value=close_receipt [05:26:03]process_action close_receipt [05:26:03]cmd_close_receipt [05:26:03]MH_GetDate [05:26:03]Write to MH i2c: F0 00 00 63 06 58 [05:26:03]Write i2c OK [05:26:03]MH_I2C_Read... [05:26:03]Read from MH i2c: F0 [05:26:03]MH_I2C_Read... [05:26:03]Read from MH i2c: F0 09 00 [05:26:03]MH_I2C_Read... [05:26:03]Read from MH i2c: F0 09 00 63 06 00 ED 14 23 67 5B 68 A1 66 B6 [05:26:03]GetLastDocTimeStamp 1730350733 [05:26:03]current date 1730352365 [05:26:03]FM_GetShiftState [05:26:03]SAM_PROTO_GetShiftState [05:26:03]wFMCommunicate request_size=4 [05:26:03]MH_SAM_APDU [05:26:03]CAPDU: 80 13 01 00 [05:26:03]Write to MH i2c: E2 08 00 64 06 80 13 01 00 00 00 00 00 E7 [05:26:03]Write i2c OK [05:26:03]MH_I2C_Read... [05:26:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:26:03]Read from MH i2c: E2 [05:26:03]MH_I2C_Read... [05:26:03]Read from MH i2c: E2 0E 00 [05:26:03]MH_I2C_Read... [05:26:03]Read from MH i2c: E2 0E 00 64 06 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 21 [05:26:03]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [05:26:03]wFMCommunicate OK [05:26:03]SAM_PROTO_GetShiftState done [05:26:03]FM_GetShiftState done [05:26:03]opened in 1730333148 [05:26:03]opened+sec_in_day 1730419548 [05:26:03]quantity*price = 15400 [05:26:03]sum+1 = 15401 [05:26:03]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600721021566 Пиво Хугарден бел нефил 0,5л ст 1.000 * 213.00 = 213.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 367.00 НСП 1% : 3.24 НДС 12% : 38.97 Наличными: 367.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 18 31.10.2024 05:26 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФД осн.: 38007 ФМ осн.: 0000000000871841 ФМ: 0000000000871841 ФД: 38010 ФПД: 236709191747867 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T052605&type=2&operation_type=1&fn_number=0000000000871841&fd_number=38010&fm=236709191747867&tin=02508201610067®Number=0000000000091684&sum=36700 38007 [05:26:05]StoreToDocumentArchive [05:26:05]shift 554 fd 38010 [05:26:05]save to /storage/0554/doc_00038010 [05:26:05]save last doc name /storage/0554/doc_00038010 to /storage/kkm_last_doc_name [05:26:05]save OK [05:26:05]Clear old archive folders... [05:26:05]ProcessDocumentItem done err = 0, tmpTLVsize=428 [05:26:05]tlvbuf is 01175AD0 [05:26:05]SAM_PROTO_ClearQueue [05:26:05]wFMCommunicate request_size=4 [05:26:05]MH_SAM_APDU [05:26:05]CAPDU: 80 09 00 00 [05:26:05]Write to MH i2c: E2 08 00 73 06 80 09 00 00 00 00 00 00 EB [05:26:05]Write i2c OK [05:26:05]MH_I2C_Read... [05:26:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:26:05]Read from MH i2c: E2 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 03 00 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 03 00 73 06 00 90 00 ED [05:26:05]RAPDU: 90 00 [05:26:05]wFMCommunicate OK [05:26:05]SAM_PROTO_ClearQueue done [05:26:05]KKMCreateOFDPacket [05:26:05]OFDProtocolAddRootSTLVToBuf [05:26:05]FM_MakeSignedData [05:26:05]FM_MakeSignedData [05:26:05]SAM_PROTO_SignData [05:26:05]wFMCommunicate request_size=4 [05:26:05]MH_SAM_APDU [05:26:05]CAPDU: 80 0D 01 02 [05:26:05]Write to MH i2c: E2 08 00 74 06 80 0D 01 02 00 00 00 00 F3 [05:26:05]Write i2c OK [05:26:05]MH_I2C_Read... [05:26:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:26:05]Read from MH i2c: E2 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 03 00 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 03 00 74 06 00 90 00 EE [05:26:05]RAPDU: 90 00 [05:26:05]wFMCommunicate OK [05:26:05]wFMCommunicate request_size=255 [05:26:05]MH_SAM_APDU [05:26:05]CAPDU: 80 0D 02 02 FA 03 00 AC 01 1E 04 01 00 02 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 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 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB [05:26:05]Write to MH i2c: E2 02 01 75 06 80 0D 02 02 FA 00 03 00 AC 01 1E 04 01 00 02 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 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 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 00 00 A4 [05:26:05]Write i2c OK [05:26:05]MH_I2C_Read... [05:26:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:26:05]Read from MH i2c: E2 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 03 00 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 03 00 75 06 00 90 00 EF [05:26:05]RAPDU: 90 00 [05:26:05]wFMCommunicate OK [05:26:05]wFMCommunicate request_size=187 [05:26:05]MH_SAM_APDU [05:26:05]CAPDU: 80 0D 02 02 B6 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 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 ED 14 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 27 04 04 00 77 94 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7A 94 00 00 35 04 06 00 D7 49 27 4A 09 1B [05:26:05]Write to MH i2c: E2 BE 00 76 06 80 0D 02 02 B6 00 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 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 ED 14 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 27 04 04 00 77 94 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7A 94 00 00 35 04 06 00 D7 49 27 4A 09 1B 00 00 4B [05:26:05]Write i2c OK [05:26:05]MH_I2C_Read... [05:26:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:26:05]Read from MH i2c: E2 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 03 00 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 03 00 76 06 00 90 00 F0 [05:26:05]RAPDU: 90 00 [05:26:05]wFMCommunicate OK [05:26:05]wFMCommunicate request_size=4 [05:26:05]MH_SAM_APDU [05:26:05]CAPDU: 80 0D 03 02 [05:26:05]Write to MH i2c: E2 08 00 77 06 80 0D 03 02 00 00 00 00 F8 [05:26:05]Write i2c OK [05:26:05]MH_I2C_Read... [05:26:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:26:05]Read from MH i2c: E2 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 0B 00 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 0B 00 77 06 00 3B 0E B1 35 DE 3F 13 86 90 00 DE [05:26:05]RAPDU: 3B 0E B1 35 DE 3F 13 86 90 00 [05:26:05]wFMCommunicate OK [05:26:05]SAM_PROTO_SignData done [05:26:05]FM_MakeSignedData done [05:26:05]CreateOFDProtocolMessage [05:26:05]wFMCommunicate request_size=4 [05:26:05]MH_SAM_APDU [05:26:05]CAPDU: 80 11 00 00 [05:26:05]Write to MH i2c: E2 08 00 78 06 80 11 00 00 00 00 00 00 F8 [05:26:05]Write i2c OK [05:26:05]MH_I2C_Read... [05:26:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:26:05]Read from MH i2c: E2 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 17 00 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: E2 17 00 78 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 48 [05:26:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:26:05]wFMCommunicate OK [05:26:05]CreateOFDProtocolMessage done [05:26:05]OFDSenderStorePacket 38010 [05:26:05]StoreOFDPacket docnum=38010 [05:26:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 C0 01 00 00 FA C6 B8 01 C8 4B 5A 03 01 00 03 00 AC 01 1E 04 01 00 02 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 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 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 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 ED 14 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 27 04 04 00 77 94 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7A 94 00 00 35 04 06 00 D7 49 27 4A 09 1B 3B 0E B1 35 DE 3F 13 86 [05:26:05]CheckFolder [05:26:05]dirname=/storage/ofd_packets [05:26:05]CheckFolder done [05:26:05]ProducePacketName [05:26:05]name=ofd_packets/00038010 [05:26:05]NVStorageSaveData ofd_packets/00038010 [05:26:05]File name is /storage/ofd_packets/00038010 [05:26:05]Write 478 bytes [05:26:05]NVStorageSaveData done [05:26:05]OFDSenderStorePacket done [05:26:05]KKMCreateOFDPacket done [05:26:05]NVStorageSaveData kkm_last_timestamp [05:26:05]File name is /storage/kkm_last_timestamp [05:26:05]Write 4 bytes [05:26:05]NVStorageSaveData done [05:26:05]ExternCall_PrintAddStr [05:26:05]wPrintStart [05:26:05]Write to MH i2c: 01 00 00 79 06 7F [05:26:05]Write i2c OK [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: 01 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: 01 07 00 [05:26:05]MH_I2C_Read... [05:26:05]Read from MH i2c: 01 07 00 79 06 00 00 00 00 00 FF 0F 94 [05:26:05]RasterBufferAndPrint [05:26:05]line Счет N : (3)35305 [05:26:05]line ИНН: 02508201610067 [05:26:06]line Контрольно-Кассовый Чек [05:26:06]line ВОЗВРАТ ПРОДАЖИ [05:26:06]line Товар: 46230614 [05:26:06]line Сигареты Richmond Red Edition [05:26:06]line 1.000 * 154.00 [05:26:06]line = 154.00 [05:26:06]line НДС 12% НСП 1% [05:26:06]line > о реализуемом товаре [05:26:06]line Товар: 4600721021566 [05:26:06]line Пиво Хугарден бел нефил 0,5л ст [05:26:06]line 1.000 * 213.00 [05:26:06]line = 213.00 [05:26:06]line НДС 12% НСП 1% [05:26:06]line > о реализуемом товаре [05:26:06]line ИТОГО: 367.00 [05:26:06]line НСП 1% : 3.24 [05:26:06]line НДС 12% : 38.97 [05:26:06]line Наличными: 367.00 [05:26:06]line Безнал.: 0.00 [05:26:06]line Место: АЗС № 126 "Партнер Нефть" [05:26:06]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:26:06]line СНО: Общий режим [05:26:06]line Чек 18 31.10.2024 05:26 [05:26:06]line Смена: 554 ФФД: 1.0 [05:26:06]line ЗНМ: 0300000092 [05:26:06]line РНМ: 0000000000091684 [05:26:06]line Версия ККМ: 001 [05:26:06]line ФД осн.: 38007 [05:26:06]line ФМ осн.: 0000000000871841 [05:26:06]line ФМ: 0000000000871841 [05:26:06]line ФД: 38010 [05:26:06]line ФПД: 236709191747867 [05:26:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T052605&type=2&operation_type=1&fn_number=0000000000871841&fd_number=38010&fm=236709191747867&tin=02508201610067®Number=0000000000091684&sum=36700 [05:26:06]line 38007 [05:26:06]OFD Sender: Processing packet 38010 [packets to send 42, broken 41] [05:26:06]ProducePacketName [05:26:06]name=ofd_packets/00038010 [05:26:06]OFD Sender: To server: pG, [05:26:06]CommunicateWithHost lk.salyk.kg:30040 [05:26:06]ConnectInit lk.salyk.kg [05:26:06]written 0, free lines is 4095 [05:26:06]Connected sock=10 [05:26: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 38 34 31 C0 01 00 00 FA C6 B8 01 C8 4B 5A 03 01 00 03 00 AC 01 1E 04 01 00 02 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 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 34 53 00 00 00 00 13 04 06 00 34 53 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 44 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 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 ED 14 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 27 04 04 00 77 94 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7A 94 00 00 35 04 06 00 D7 49 27 4A 09 1B 3B 0E B1 35 DE 3F 13 86 [05:26:06]Write to MH i2c: 01 00 00 AB 06 B1 [05:26:06]Write i2c OK [05:26:06]MH_I2C_Read... [05:26:06]Read from MH i2c: 01 [05:26:06]MH_I2C_Read... [05:26:06]Read from MH i2c: 01 07 00 [05:26:06]MH_I2C_Read... [05:26:06]Read from MH i2c: 01 07 00 AB 06 00 00 00 00 00 1A 0C DE [05:26:06]RasterBufferAndPrint [05:26:06]line [05:26:06]line [05:26:06]line [05:26:06]line [05:26:06]line [05:26:06]written 0, free lines is 3107 [05:26:06]MH_Cut [05:26:06]Write to MH i2c: D1 01 00 B2 06 01 8A [05:26:06]Write i2c OK [05:26:06]MH_I2C_Read... [05:26:06]Read from MH i2c: D1 [05:26:06]MH_I2C_Read... [05:26:06]Read from MH i2c: D1 01 00 [05:26:06]MH_I2C_Read... [05:26:06]Read from MH i2c: D1 01 00 B2 06 00 89 [05:26:06]Write to MH i2c: 01 00 00 B3 06 B9 [05:26:06]Write i2c OK [05:26:06]MH_I2C_Read... [05:26:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 3F 28 47 00 52 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 38 34 31 10 04 04 00 7A 94 00 00 F4 03 04 00 DA BF 22 67 B6 04 01 00 00 81 4B 0C 40 B9 04 C4 6A [05:26:06]CommunicateWithHost err = 0 [05:26:06]CheckOFDResponse [05:26:06]1017 (14) - 77093643461234 [05:26:06]1041 (16) - 0000000000871841 [05:26:06]1040 (4) - 38010 [05:26:06]1012 (4) - 30.10.2024 23:23 [05:26:06]1206 (1) - 0 [05:26:06]OFD Sender: Remove packet 38010 [05:26:06]ProducePacketName [05:26:06]name=ofd_packets/00038010 [05:26:06]NVStorageDeleteData [05:26:07]OFD Sender: No OFD packet to send [05:26:07]*** Cut start [05:26:07]*** Partial cut [05:26:07]*** CUTSNS_PIN = 1 [05:26:07]*** CUTSNS_PIN = 0 [05:26:07]*** Brake cut motor [05:26:08]Read from MH i2c: 01 [05:26:08]MH_I2C_Read... [05:26:08]*** Stop cut motor [05:26:08]*** Cut end [05:26:08]Read from MH i2c: 01 07 00 [05:26:08]MH_I2C_Read... [05:26:08]Read from MH i2c: 01 07 00 B3 06 00 00 00 00 00 FF 0F CE [05:26:08]process_action close_receipt done [05:26:08]requested_data is exist [05:26:08]produce_requested_data [05:26:08]requested_item fm.sn is exist - process it [05:26:08]wFMCommunicate request_size=4 [05:26:08]MH_SAM_APDU [05:26:08]CAPDU: 80 11 00 00 [05:26:08]Write to MH i2c: E2 08 00 B4 06 80 11 00 00 00 00 00 00 34 [05:26:08]Write i2c OK [05:26:08]MH_I2C_Read... [05:26:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:26:08]Read from MH i2c: E2 [05:26:08]MH_I2C_Read... [05:26:08]Read from MH i2c: E2 17 00 [05:26:08]MH_I2C_Read... [05:26:08]Read from MH i2c: E2 17 00 B4 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 84 [05:26:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:26:08]wFMCommunicate OK [05:26:08]requested_item fd.num is exist - process it [05:26:08]SAM_PROTO_GetFieldsCounters [05:26:08]wFMCommunicate request_size=4 [05:26:08]MH_SAM_APDU [05:26:08]CAPDU: 80 13 00 00 [05:26:08]Write to MH i2c: E2 08 00 B5 06 80 13 00 00 00 00 00 00 37 [05:26:08]Write i2c OK [05:26:08]MH_I2C_Read... [05:26:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:26:08]Read from MH i2c: E2 [05:26:08]MH_I2C_Read... [05:26:08]Read from MH i2c: E2 62 00 [05:26:08]MH_I2C_Read... [05:26:08]Read from MH i2c: E2 62 00 B5 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7A 94 00 00 0E 04 04 00 2A 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 C8 [05:26:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7A 94 00 00 0E 04 04 00 2A 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:26:08]wFMCommunicate OK [05:26:08]SAM_PROTO_GetFieldsCounters done [05:26:08]requested_item shift.num is exist - process it [05:26:08]requested_item shift.opened is exist - process it [05:26:08]req_shift_opened [05:26:08]FM_GetShiftState [05:26:08]SAM_PROTO_GetShiftState [05:26:08]wFMCommunicate request_size=4 [05:26:08]MH_SAM_APDU [05:26:08]CAPDU: 80 13 01 00 [05:26:08]Write to MH i2c: E2 08 00 B6 06 80 13 01 00 00 00 00 00 39 [05:26:08]Write i2c OK [05:26:08]MH_I2C_Read... [05:26:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:26:08]Read from MH i2c: E2 [05:26:08]MH_I2C_Read... [05:26:08]Read from MH i2c: E2 0E 00 [05:26:08]MH_I2C_Read... [05:26:08]Read from MH i2c: E2 0E 00 B6 06 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 73 [05:26:08]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [05:26:08]wFMCommunicate OK [05:26:08]SAM_PROTO_GetShiftState done [05:26:08]FM_GetShiftState done [05:26:08]req_shift_opened done [05:26:08]requested_item shift.open_date is exist - process it [05:26:08]req_shift_open_date [05:26:08]req_shift_open_date done [05:26:08]produce_requested_data done [05:26:08]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38010,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [05:26:08]process_action_free close_receipt [05:26:08]json_value_free [05:26:08]json_value_free done [05:26:08]process_json_proto returns [05:26:08]Send response to host [05:26:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38010,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [05:26:08]free response buf [05:26:08]execute_script done [05:26:08]execute_script returns [05:26:08]free content buf [05:26:08]Sock 7.Close socket [05:26:08]Sock 7.Thread stoped [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:07]OFD Sender: No OFD packet to send [05:27:12]OFD Sender: No OFD packet to send [05:27:17]OFD Sender: No OFD packet to send [05:27:22]OFD Sender: No OFD packet to send [05:27:27]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:22]OFD Sender: No OFD packet to send [05:33:27]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:47]OFD Sender: No OFD packet to send [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34:12]OFD Sender: No OFD packet to send [05:34:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:52]OFD Sender: No OFD packet to send [05:34:57]OFD Sender: No OFD packet to send [05:35:02]OFD Sender: No OFD packet to send [05:35:07]OFD Sender: No OFD packet to send [05:35:12]OFD Sender: No OFD packet to send [05:35:17]OFD Sender: No OFD packet to send [05:35:22]OFD Sender: No OFD packet to send [05:35:27]OFD Sender: No OFD packet to send [05:35:32]OFD Sender: No OFD packet to send [05:35:37]OFD Sender: No OFD packet to send [05:35:42]OFD Sender: No OFD packet to send [05:35:47]OFD Sender: No OFD packet to send [05:35:52]OFD Sender: No OFD packet to send [05:35:57]OFD Sender: No OFD packet to send [05:36:02]OFD Sender: No OFD packet to send [05:36:07]OFD Sender: No OFD packet to send [05:36:12]OFD Sender: No OFD packet to send [05:36:17]OFD Sender: No OFD packet to send [05:36:22]OFD Sender: No OFD packet to send [05:36:27]OFD Sender: No OFD packet to send [05:36:32]OFD Sender: No OFD packet to send [05:36:37]OFD Sender: No OFD packet to send [05:36:42]OFD Sender: No OFD packet to send [05:36:47]OFD Sender: No OFD packet to send [05:36:52]OFD Sender: No OFD packet to send [05:36:57]OFD Sender: No OFD packet to send [05:37:02]OFD Sender: No OFD packet to send [05:37:07]OFD Sender: No OFD packet to send [05:37:12]OFD Sender: No OFD packet to send [05:37:17]OFD Sender: No OFD packet to send [05:37:22]OFD Sender: No OFD packet to send [05:37:27]OFD Sender: No OFD packet to send [05:37:32]OFD Sender: No OFD packet to send [05:37:37]OFD Sender: No OFD packet to send [05:37:42]OFD Sender: No OFD packet to send [05:37:47]OFD Sender: No OFD packet to send [05:37:52]OFD Sender: No OFD packet to send [05:37:57]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:13]OFD Sender: No OFD packet to send [05:47:18]OFD Sender: No OFD packet to send [05:47:23]OFD Sender: No OFD packet to send [05:47:28]OFD Sender: No OFD packet to send [05:47:33]OFD Sender: No OFD packet to send [05:47:38]OFD Sender: No OFD packet to send [05:47:43]OFD Sender: No OFD packet to send [05:47:48]OFD Sender: No OFD packet to send [05:47:53]OFD Sender: No OFD packet to send [05:47:58]OFD Sender: No OFD packet to send [05:48:03]OFD Sender: No OFD packet to send [05:48:08]OFD Sender: No OFD packet to send [05:48:13]OFD Sender: No OFD packet to send [05:48:18]OFD Sender: No OFD packet to send [05:48:23]OFD Sender: No OFD packet to send [05:48:28]OFD Sender: No OFD packet to send [05:48:33]OFD Sender: No OFD packet to send [05:48:38]OFD Sender: No OFD packet to send [05:48:43]OFD Sender: No OFD packet to send [05:48:48]OFD Sender: No OFD packet to send [05:48:53]OFD Sender: No OFD packet to send [05:48:58]OFD Sender: No OFD packet to send [05:49:03]OFD Sender: No OFD packet to send [05:49:08]OFD Sender: No OFD packet to send [05:49:13]OFD Sender: No OFD packet to send [05:49:18]OFD Sender: No OFD packet to send [05:49:23]OFD Sender: No OFD packet to send [05:49:28]OFD Sender: No OFD packet to send [05:49:33]OFD Sender: No OFD packet to send [05:49:38]OFD Sender: No OFD packet to send [05:49:43]OFD Sender: No OFD packet to send [05:49:48]OFD Sender: No OFD packet to send [05:49:53]OFD Sender: No OFD packet to send [05:49:58]OFD Sender: No OFD packet to send [05:50:03]OFD Sender: No OFD packet to send [05:50:08]OFD Sender: No OFD packet to send [05:50:13]OFD Sender: No OFD packet to send [05:50:18]OFD Sender: No OFD packet to send [05:50:23]OFD Sender: No OFD packet to send [05:50:28]OFD Sender: No OFD packet to send [05:50:33]OFD Sender: No OFD packet to send [05:50:38]OFD Sender: No OFD packet to send [05:50:43]OFD Sender: No OFD packet to send [05:50:48]OFD Sender: No OFD packet to send [05:50:53]OFD Sender: No OFD packet to send [05:50:58]OFD Sender: No OFD packet to send [05:51:03]OFD Sender: No OFD packet to send [05:51:08]OFD Sender: No OFD packet to send [05:51:13]OFD Sender: No OFD packet to send [05:51:18]OFD Sender: No OFD packet to send [05:51:23]OFD Sender: No OFD packet to send [05:51:28]OFD Sender: No OFD packet to send [05:51:33]OFD Sender: No OFD packet to send [05:51:38]OFD Sender: No OFD packet to send [05:51:43]OFD Sender: No OFD packet to send [05:51:48]OFD Sender: No OFD packet to send [05:51:53]OFD Sender: No OFD packet to send [05:51:58]OFD Sender: No OFD packet to send [05:52:03]OFD Sender: No OFD packet to send [05:52:08]OFD Sender: No OFD packet to send [05:52:13]OFD Sender: No OFD packet to send [05:52:18]OFD Sender: No OFD packet to send [05:52:23]OFD Sender: No OFD packet to send [05:52:28]OFD Sender: No OFD packet to send [05:52:33]OFD Sender: No OFD packet to send [05:52:38]OFD Sender: No OFD packet to send [05:52:43]OFD Sender: No OFD packet to send [05:52:48]OFD Sender: No OFD packet to send [05:52:53]OFD Sender: No OFD packet to send [05:52:58]OFD Sender: No OFD packet to send [05:53:03]OFD Sender: No OFD packet to send [05:53:08]OFD Sender: No OFD packet to send [05:53:13]OFD Sender: No OFD packet to send [05:53:18]OFD Sender: No OFD packet to send [05:53:23]OFD Sender: No OFD packet to send [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:31]accept exits with 9 [05:56:31]New connection [05:56:31]New thread 3067186532 created [05:56:31]Thread 3067043172 joined [05:56:31]Waiting for new connection... [05:56:31] Sock 9.Parse request [05:56:31]Sock 9.Check first char [05:56:31]Sock 9.First char is OK [05:56:31]request: POST /json_proto HTTP/1.0 [05:56:31]Method: POST [05:56:31]URL: /json_proto [05:56:31]Method is POST - this is cgi request [05:56:31]url: /json_proto [05:56:31]query_string will be loaded in cgi processing [05:56:31]execute_cgi json_proto POST (null) [05:56:31]execute_cgi path=json_proto method=POST [05:56:31]POST find Content-Length [05:56:31]Host: 172.17.40.196:8080 [05:56:31]Content-Length: 629 [05:56:31]Content-Type: application/json [05:56:31] [05:56:31]POST finish read [05:56:31]Found Content-Length = 629 [05:56:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35308", "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" ] } } [05:56:31]execute_script... [05:56: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)35308", "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" ] } } [05:56:31]POST & json_proto [05:56:31]process_json_proto [05:56:31]json parsed OK: [05:56:31]protocol is kg_v1.0 [05:56:31]action value=close_receipt [05:56:31]process_action close_receipt [05:56:31]cmd_close_receipt [05:56:31]MH_GetDate [05:56:31]Write to MH i2c: F0 00 00 B7 06 AC [05:56:31]Write i2c OK [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: F0 [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: F0 09 00 [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: F0 09 00 B7 06 00 11 1C 23 67 5B 68 A1 66 36 [05:56:31]GetLastDocTimeStamp 1730352365 [05:56:31]current date 1730354193 [05:56:31]FM_GetShiftState [05:56:31]SAM_PROTO_GetShiftState [05:56:31]wFMCommunicate request_size=4 [05:56:31]MH_SAM_APDU [05:56:31]CAPDU: 80 13 01 00 [05:56:31]Write to MH i2c: E2 08 00 B8 06 80 13 01 00 00 00 00 00 3B [05:56:31]Write i2c OK [05:56:31]MH_I2C_Read... [05:56:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:56:31]Read from MH i2c: E2 [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: E2 0E 00 [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: E2 0E 00 B8 06 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 75 [05:56:31]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [05:56:31]wFMCommunicate OK [05:56:31]SAM_PROTO_GetShiftState done [05:56:31]FM_GetShiftState done [05:56:31]opened in 1730333148 [05:56:31]opened+sec_in_day 1730419548 [05:56:31]quantity*price = 5000 [05:56:31]sum+1 = 5001 [05:56:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 19 31.10.2024 05:56 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38011 ФПД: 196934479146078 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T055633&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38011&fm=196934479146078&tin=02508201610067®Number=0000000000091684&sum=5000 0 [05:56:32]StoreToDocumentArchive [05:56:32]shift 554 fd 38011 [05:56:32]save to /storage/0554/doc_00038011 [05:56:32]save last doc name /storage/0554/doc_00038011 to /storage/kkm_last_doc_name [05:56:32]save OK [05:56:32]Clear old archive folders... [05:56:32]ProcessDocumentItem done err = 0, tmpTLVsize=269 [05:56:32]tlvbuf is 01180D90 [05:56:32]SAM_PROTO_ClearQueue [05:56:32]wFMCommunicate request_size=4 [05:56:32]MH_SAM_APDU [05:56:32]CAPDU: 80 09 00 00 [05:56:32]Write to MH i2c: E2 08 00 C5 06 80 09 00 00 00 00 00 00 3D [05:56:32]Write i2c OK [05:56:32]MH_I2C_Read... [05:56:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:56:32]Read from MH i2c: E2 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 03 00 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 03 00 C5 06 00 90 00 3F [05:56:32]RAPDU: 90 00 [05:56:32]wFMCommunicate OK [05:56:32]SAM_PROTO_ClearQueue done [05:56:32]KKMCreateOFDPacket [05:56:32]OFDProtocolAddRootSTLVToBuf [05:56:32]FM_MakeSignedData [05:56:32]FM_MakeSignedData [05:56:32]SAM_PROTO_SignData [05:56:32]wFMCommunicate request_size=4 [05:56:32]MH_SAM_APDU [05:56:32]CAPDU: 80 0D 01 02 [05:56:32]Write to MH i2c: E2 08 00 C6 06 80 0D 01 02 00 00 00 00 45 [05:56:32]Write i2c OK [05:56:32]MH_I2C_Read... [05:56:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:56:32]Read from MH i2c: E2 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 03 00 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 03 00 C6 06 00 90 00 40 [05:56:32]RAPDU: 90 00 [05:56:32]wFMCommunicate OK [05:56:32]wFMCommunicate request_size=255 [05:56:32]MH_SAM_APDU [05:56:32]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 13 00 00 00 F4 03 04 00 11 1C 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [05:56:32]Write to MH i2c: E2 02 01 C7 06 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 13 00 00 00 F4 03 04 00 11 1C 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 55 [05:56:32]Write i2c OK [05:56:32]MH_I2C_Read... [05:56:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:56:32]Read from MH i2c: E2 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 03 00 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 03 00 C7 06 00 90 00 41 [05:56:32]RAPDU: 90 00 [05:56:32]wFMCommunicate OK [05:56:32]wFMCommunicate request_size=28 [05:56:32]MH_SAM_APDU [05:56:32]CAPDU: 80 0D 02 02 17 37 31 38 34 31 10 04 04 00 7B 94 00 00 35 04 06 00 B3 1C 61 AC 6C 5E [05:56:32]Write to MH i2c: E2 1F 00 C8 06 80 0D 02 02 17 00 37 31 38 34 31 10 04 04 00 7B 94 00 00 35 04 06 00 B3 1C 61 AC 6C 5E 00 00 87 [05:56:32]Write i2c OK [05:56:32]MH_I2C_Read... [05:56:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:56:33]Read from MH i2c: E2 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: E2 03 00 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: E2 03 00 C8 06 00 90 00 42 [05:56:33]RAPDU: 90 00 [05:56:33]wFMCommunicate OK [05:56:33]wFMCommunicate request_size=4 [05:56:33]MH_SAM_APDU [05:56:33]CAPDU: 80 0D 03 02 [05:56:33]Write to MH i2c: E2 08 00 C9 06 80 0D 03 02 00 00 00 00 4A [05:56:33]Write i2c OK [05:56:33]MH_I2C_Read... [05:56:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:56:33]Read from MH i2c: E2 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: E2 0B 00 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: E2 0B 00 C9 06 00 70 2F E7 EB D2 0A 38 42 90 00 12 [05:56:33]RAPDU: 70 2F E7 EB D2 0A 38 42 90 00 [05:56:33]wFMCommunicate OK [05:56:33]SAM_PROTO_SignData done [05:56:33]FM_MakeSignedData done [05:56:33]CreateOFDProtocolMessage [05:56:33]wFMCommunicate request_size=4 [05:56:33]MH_SAM_APDU [05:56:33]CAPDU: 80 11 00 00 [05:56:33]Write to MH i2c: E2 08 00 CA 06 80 11 00 00 00 00 00 00 4A [05:56:33]Write i2c OK [05:56:33]MH_I2C_Read... [05:56:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:56:33]Read from MH i2c: E2 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: E2 17 00 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: E2 17 00 CA 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9A [05:56:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:56:33]wFMCommunicate OK [05:56:33]CreateOFDProtocolMessage done [05:56:33]OFDSenderStorePacket 38011 [05:56:33]StoreOFDPacket docnum=38011 [05:56:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 21 01 00 00 CD B5 19 01 DD B6 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 13 00 00 00 F4 03 04 00 11 1C 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7B 94 00 00 35 04 06 00 B3 1C 61 AC 6C 5E 70 2F E7 EB D2 0A 38 42 [05:56:33]CheckFolder [05:56:33]dirname=/storage/ofd_packets [05:56:33]CheckFolder done [05:56:33]ProducePacketName [05:56:33]name=ofd_packets/00038011 [05:56:33]NVStorageSaveData ofd_packets/00038011 [05:56:33]File name is /storage/ofd_packets/00038011 [05:56:33]Write 319 bytes [05:56:33]NVStorageSaveData done [05:56:33]OFDSenderStorePacket done [05:56:33]KKMCreateOFDPacket done [05:56:33]NVStorageSaveData kkm_last_timestamp [05:56:33]File name is /storage/kkm_last_timestamp [05:56:33]Write 4 bytes [05:56:33]NVStorageSaveData done [05:56:33]ExternCall_PrintAddStr [05:56:33]wPrintStart [05:56:33]Write to MH i2c: 01 00 00 CB 06 D1 [05:56:33]Write i2c OK [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: 01 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: 01 07 00 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: 01 07 00 CB 06 00 00 00 00 00 FF 0F E6 [05:56:33]RasterBufferAndPrint [05:56:33]line Счет N : (3)35308 [05:56:33]line ИНН: 02508201610067 [05:56:33]line Контрольно-Кассовый Чек [05:56:33]line ПРОДАЖА [05:56:33]line Товар: 4700000160358 [05:56:33]line Вода Легенда 1л [05:56:33]line 1.000 * 50.00 [05:56:33]line = 50.00 [05:56:33]line НДС 12% НСП 1% [05:56:33]line > о реализуемом товаре [05:56:33]line ИТОГО: 50.00 [05:56:33]line НСП 1% : 0.44 [05:56:33]line НДС 12% : 5.31 [05:56:33]line Наличными: 50.00 [05:56:33]line Безнал.: 0.00 [05:56:33]line Место: АЗС № 126 "Партнер Нефть" [05:56:33]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:56:33]line СНО: Общий режим [05:56:33]line Чек 19 31.10.2024 05:56 [05:56:33]line Смена: 554 ФФД: 1.0 [05:56:33]line ЗНМ: 0300000092 [05:56:33]line РНМ: 0000000000091684 [05:56:33]line Версия ККМ: 001 [05:56:33]line ФМ: 0000000000871841 [05:56:33]line ФД: 38011 [05:56:33]line ФПД: 196934479146078 [05:56:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T055633&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38011&fm=196934479146078&tin=02508201610067®Number=0000000000091684&sum=5000 [05:56:33]OFD Sender: Processing packet 38011 [packets to send 42, broken 41] [05:56:33]ProducePacketName [05:56:33]name=ofd_packets/00038011 [05:56:33]OFD Sender: To server: pG, [05:56:33]CommunicateWithHost lk.salyk.kg:30040 [05:56:33]ConnectInit lk.salyk.kg [05:56:33]line 0 [05:56:33]written 0, free lines is 4095 [05:56:33]Write to MH i2c: 01 00 00 F3 06 F9 [05:56:33]Write i2c OK [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: 01 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: 01 07 00 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: 01 07 00 F3 06 00 00 00 00 00 C6 0C D2 [05:56:33]RasterBufferAndPrint [05:56:33]line [05:56:33]line [05:56:33]line [05:56:33]line [05:56:33]line [05:56:33]written 0, free lines is 3272 [05:56:33]MH_Cut [05:56:33]Write to MH i2c: D1 01 00 FA 06 01 D2 [05:56:33]Write i2c OK [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: D1 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: D1 01 00 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: D1 01 00 FA 06 00 D1 [05:56:33]Write to MH i2c: 01 00 00 FB 06 01 [05:56:33]Write i2c OK [05:56:33]MH_I2C_Read... [05:56:34]*** Cut start [05:56:34]*** Partial cut [05:56:34]*** CUTSNS_PIN = 1 [05:56:34]*** CUTSNS_PIN = 0 [05:56:34]*** Brake cut motor [05:56:35]Read from MH i2c: 01 [05:56:35]MH_I2C_Read... [05:56:35]*** Stop cut motor [05:56:35]*** Cut end [05:56:35]Read from MH i2c: 01 07 00 [05:56:35]MH_I2C_Read... [05:56:35]Read from MH i2c: 01 07 00 FB 06 00 00 00 00 00 FF 0F 16 [05:56:35]process_action close_receipt done [05:56:35]requested_data is exist [05:56:35]produce_requested_data [05:56:35]requested_item fm.sn is exist - process it [05:56:35]wFMCommunicate request_size=4 [05:56:35]MH_SAM_APDU [05:56:35]CAPDU: 80 11 00 00 [05:56:35]Write to MH i2c: E2 08 00 FC 06 80 11 00 00 00 00 00 00 7C [05:56:35]Write i2c OK [05:56:35]MH_I2C_Read... [05:56:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:56:35]Read from MH i2c: E2 [05:56:35]MH_I2C_Read... [05:56:35]Read from MH i2c: E2 17 00 [05:56:35]MH_I2C_Read... [05:56:35]Read from MH i2c: E2 17 00 FC 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CC [05:56:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:56:35]wFMCommunicate OK [05:56:35]requested_item fd.num is exist - process it [05:56:35]SAM_PROTO_GetFieldsCounters [05:56:35]wFMCommunicate request_size=4 [05:56:35]MH_SAM_APDU [05:56:35]CAPDU: 80 13 00 00 [05:56:35]Write to MH i2c: E2 08 00 FD 06 80 13 00 00 00 00 00 00 7F [05:56:35]Write i2c OK [05:56:35]MH_I2C_Read... [05:56:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:56:35]Read from MH i2c: E2 [05:56:35]MH_I2C_Read... [05:56:35]Read from MH i2c: E2 62 00 [05:56:35]MH_I2C_Read... [05:56:35]Read from MH i2c: E2 62 00 FD 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7B 94 00 00 0E 04 04 00 2A 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 14 [05:56: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7B 94 00 00 0E 04 04 00 2A 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:56:35]wFMCommunicate OK [05:56:35]SAM_PROTO_GetFieldsCounters done [05:56:35]requested_item shift.num is exist - process it [05:56:35]requested_item shift.opened is exist - process it [05:56:35]req_shift_opened [05:56:35]FM_GetShiftState [05:56:35]SAM_PROTO_GetShiftState [05:56:35]wFMCommunicate request_size=4 [05:56:35]MH_SAM_APDU [05:56:35]CAPDU: 80 13 01 00 [05:56:35]Write to MH i2c: E2 08 00 FE 06 80 13 01 00 00 00 00 00 81 [05:56:35]Write i2c OK [05:56:35]MH_I2C_Read... [05:56:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:56:35]Read from MH i2c: E2 [05:56:35]MH_I2C_Read... [05:56:35]Read from MH i2c: E2 0E 00 [05:56:35]MH_I2C_Read... [05:56:35]Read from MH i2c: E2 0E 00 FE 06 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 BB [05:56:35]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [05:56:35]wFMCommunicate OK [05:56:35]SAM_PROTO_GetShiftState done [05:56:35]FM_GetShiftState done [05:56:35]req_shift_opened done [05:56:35]requested_item shift.open_date is exist - process it [05:56:35]req_shift_open_date [05:56:35]req_shift_open_date done [05:56:35]produce_requested_data done [05:56:35]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38011,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [05:56:35]process_action_free close_receipt [05:56:35]json_value_free [05:56:35]json_value_free done [05:56:35]process_json_proto returns [05:56:35]Send response to host [05:56:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38011,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [05:56:35]free response buf [05:56:35]execute_script done [05:56:35]execute_script returns [05:56:35]free content buf [05:56:35]Sock 9.Close socket [05:56:35]Sock 9.Thread stoped [05:58:45]ConnectInit Can't connect to host [05:58:45]CommunicateWithHost connect error [05:58:45]CommunicateWithHost err = -1 [05:58:45]OFD Sender: Server communicate error [05:58:50]OFD Sender: Processing packet 38011 [packets to send 42, broken 41] [05:58:50]ProducePacketName [05:58:50]name=ofd_packets/00038011 [05:58:50]OFD Sender: To server: pG, [05:58:50]CommunicateWithHost lk.salyk.kg:30040 [05:58:50]ConnectInit lk.salyk.kg [05:58:50]Connected sock=9 [05:58: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 38 34 31 21 01 00 00 CD B5 19 01 DD B6 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 13 00 00 00 F4 03 04 00 11 1C 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7B 94 00 00 35 04 06 00 B3 1C 61 AC 6C 5E 70 2F E7 EB D2 0A 38 42 [05:58:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F1 F1 47 00 EC 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 38 34 31 10 04 04 00 7B 94 00 00 F4 03 04 00 86 C7 22 67 B6 04 01 00 00 CA 97 4A DB 2C B1 ED 3E [05:58:51]CommunicateWithHost err = 0 [05:58:51]CheckOFDResponse [05:58:51]1017 (14) - 77093643461234 [05:58:51]1041 (16) - 0000000000871841 [05:58:51]1040 (4) - 38011 [05:58:51]1012 (4) - 30.10.2024 23:55 [05:58:51]1206 (1) - 0 [05:58:51]OFD Sender: Remove packet 38011 [05:58:51]ProducePacketName [05:58:51]name=ofd_packets/00038011 [05:58:51]NVStorageDeleteData [05:58:51]OFD Sender: No OFD packet to send [05:58:56]OFD Sender: No OFD packet to send [05:59:01]OFD Sender: No OFD packet to send [05:59:06]OFD Sender: No OFD packet to send [05:59:11]OFD Sender: No OFD packet to send [05:59:16]OFD Sender: No OFD packet to send [05:59:21]OFD Sender: No OFD packet to send [05:59:26]OFD Sender: No OFD packet to send [05:59:31]OFD Sender: No OFD packet to send [05:59:36]OFD Sender: No OFD packet to send [05:59:41]OFD Sender: No OFD packet to send [05:59:46]OFD Sender: No OFD packet to send [05:59:51]OFD Sender: No OFD packet to send [05:59:56]OFD Sender: No OFD packet to send [06:00:01]OFD Sender: No OFD packet to send [06:00:06]OFD Sender: No OFD packet to send [06:00:11]OFD Sender: No OFD packet to send [06:00:16]OFD Sender: No OFD packet to send [06:00:21]OFD Sender: No OFD packet to send [06:00:26]OFD Sender: No OFD packet to send [06:00:31]OFD Sender: No OFD packet to send [06:00:36]OFD Sender: No OFD packet to send [06:00:41]OFD Sender: No OFD packet to send [06:00:46]OFD Sender: No OFD packet to send [06:00:51]OFD Sender: No OFD packet to send [06:00:56]OFD Sender: No OFD packet to send [06:01:01]OFD Sender: No OFD packet to send [06:01:06]OFD Sender: No OFD packet to send [06:01:11]OFD Sender: No OFD packet to send [06:01:16]OFD Sender: No OFD packet to send [06:01:21]OFD Sender: No OFD packet to send [06:01:26]OFD Sender: No OFD packet to send [06:01:31]OFD Sender: No OFD packet to send [06:01:36]OFD Sender: No OFD packet to send [06:01:41]OFD Sender: No OFD packet to send [06:01:46]OFD Sender: No OFD packet to send [06:01:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:06]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:37]OFD Sender: No OFD packet to send [06:03:42]OFD Sender: No OFD packet to send [06:03:47]OFD Sender: No OFD packet to send [06:03:52]OFD Sender: No OFD packet to send [06:03:57]OFD Sender: No OFD packet to send [06:04:02]OFD Sender: No OFD packet to send [06:04:07]OFD Sender: No OFD packet to send [06:04:12]OFD Sender: No OFD packet to send [06:04:17]OFD Sender: No OFD packet to send [06:04:22]OFD Sender: No OFD packet to send [06:04:27]OFD Sender: No OFD packet to send [06:04:32]OFD Sender: No OFD packet to send [06:04:37]OFD Sender: No OFD packet to send [06:04:42]OFD Sender: No OFD packet to send [06:04:47]OFD Sender: No OFD packet to send [06:04:52]OFD Sender: No OFD packet to send [06:04:57]OFD Sender: No OFD packet to send [06:05:02]OFD Sender: No OFD packet to send [06:05:07]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:17]OFD Sender: No OFD packet to send [06:05:22]OFD Sender: No OFD packet to send [06:05:27]OFD Sender: No OFD packet to send [06:05:32]OFD Sender: No OFD packet to send [06:05:37]OFD Sender: No OFD packet to send [06:05:38]accept exits with 7 [06:05:38]New connection [06:05:38]New thread 3067043172 created [06:05:38]Thread 3067186532 joined [06:05:38]Waiting for new connection... [06:05:38] Sock 7.Parse request [06:05:38]Sock 7.Check first char [06:05:38]Sock 7.First char is OK [06:05:38]request: POST /json_proto HTTP/1.0 [06:05:38]Method: POST [06:05:38]URL: /json_proto [06:05:38]Method is POST - this is cgi request [06:05:38]url: /json_proto [06:05:38]query_string will be loaded in cgi processing [06:05:38]execute_cgi json_proto POST (null) [06:05:38]execute_cgi path=json_proto method=POST [06:05:38]POST find Content-Length [06:05:38]Host: 172.17.40.196:8080 [06:05:38]Content-Length: 912 [06:05:38]Content-Type: application/json [06:05:38] [06:05:38]POST finish read [06:05:38]Found Content-Length = 912 [06:05:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35309", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 233.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:05:38]execute_script... [06: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)35309", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 233.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:05:38]POST & json_proto [06:05:38]process_json_proto [06:05:38]json parsed OK: [06:05:38]protocol is kg_v1.0 [06:05:38]action value=close_receipt [06:05:38]process_action close_receipt [06:05:38]cmd_close_receipt [06:05:38]MH_GetDate [06:05:38]Write to MH i2c: F0 00 00 FF 06 F4 [06:05:38]Write i2c OK [06:05:38]MH_I2C_Read... [06:05:38]Read from MH i2c: F0 [06:05:38]MH_I2C_Read... [06:05:38]Read from MH i2c: F0 09 00 [06:05:38]MH_I2C_Read... [06:05:38]Read from MH i2c: F0 09 00 FF 06 00 34 1E 23 67 5B 68 A1 66 A3 [06:05:38]GetLastDocTimeStamp 1730354193 [06:05:38]current date 1730354740 [06:05:38]FM_GetShiftState [06:05:38]SAM_PROTO_GetShiftState [06:05:38]wFMCommunicate request_size=4 [06:05:38]MH_SAM_APDU [06:05:38]CAPDU: 80 13 01 00 [06:05:38]Write to MH i2c: E2 08 00 00 07 80 13 01 00 00 00 00 00 84 [06:05:38]Write i2c OK [06:05:38]MH_I2C_Read... [06:05:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:05:38]Read from MH i2c: E2 [06:05:38]MH_I2C_Read... [06:05:38]Read from MH i2c: E2 0E 00 [06:05:38]MH_I2C_Read... [06:05:38]Read from MH i2c: E2 0E 00 00 07 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 BE [06:05:38]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [06:05:38]wFMCommunicate OK [06:05:38]SAM_PROTO_GetShiftState done [06:05:38]FM_GetShiftState done [06:05:38]opened in 1730333148 [06:05:38]opened+sec_in_day 1730419548 [06:05:38]quantity*price = 8900 [06:05:38]sum+1 = 8901 [06:05:38]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 233.00 НСП 1% : 2.06 НДС 12% : 24.74 Наличными: 233.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 20 31.10.2024 06:05 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38012 ФПД: 11616963565416 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T060540&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38012&fm=11616963565416&tin=02508201610067®Number=0000000000091684&sum=23300 0 [06:05:39]StoreToDocumentArchive [06:05:39]shift 554 fd 38012 [06:05:39]save to /storage/0554/doc_00038012 [06:05:39]save last doc name /storage/0554/doc_00038012 to /storage/kkm_last_doc_name [06:05:39]save OK [06:05:39]Clear old archive folders... [06:05:39]ProcessDocumentItem done err = 0, tmpTLVsize=389 [06:05:39]tlvbuf is 01179430 [06:05:39]SAM_PROTO_ClearQueue [06:05:39]wFMCommunicate request_size=4 [06:05:39]MH_SAM_APDU [06:05:39]CAPDU: 80 09 00 00 [06:05:39]Write to MH i2c: E2 08 00 0D 07 80 09 00 00 00 00 00 00 86 [06:05:39]Write i2c OK [06:05:39]MH_I2C_Read... [06:05:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:05:39]Read from MH i2c: E2 [06:05:39]MH_I2C_Read... [06:05:39]Read from MH i2c: E2 03 00 [06:05:39]MH_I2C_Read... [06:05:39]Read from MH i2c: E2 03 00 0D 07 00 90 00 88 [06:05:39]RAPDU: 90 00 [06:05:39]wFMCommunicate OK [06:05:39]SAM_PROTO_ClearQueue done [06:05:39]KKMCreateOFDPacket [06:05:39]OFDProtocolAddRootSTLVToBuf [06:05:39]FM_MakeSignedData [06:05:39]FM_MakeSignedData [06:05:39]SAM_PROTO_SignData [06:05:39]wFMCommunicate request_size=4 [06:05:39]MH_SAM_APDU [06:05:39]CAPDU: 80 0D 01 02 [06:05:39]Write to MH i2c: E2 08 00 0E 07 80 0D 01 02 00 00 00 00 8E [06:05:39]Write i2c OK [06:05:39]MH_I2C_Read... [06:05:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:05:39]Read from MH i2c: E2 [06:05:39]MH_I2C_Read... [06:05:39]Read from MH i2c: E2 03 00 [06:05:39]MH_I2C_Read... [06:05:39]Read from MH i2c: E2 03 00 0E 07 00 90 00 89 [06:05:39]RAPDU: 90 00 [06:05:39]wFMCommunicate OK [06:05:39]wFMCommunicate request_size=255 [06:05:39]MH_SAM_APDU [06:05:39]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [06:05:39]Write to MH i2c: E2 02 01 0F 07 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 8F [06:05:39]Write i2c OK [06:05:39]MH_I2C_Read... [06:05:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:05:40]Read from MH i2c: E2 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: E2 03 00 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: E2 03 00 0F 07 00 90 00 8A [06:05:40]RAPDU: 90 00 [06:05:40]wFMCommunicate OK [06:05:40]wFMCommunicate request_size=148 [06:05:40]MH_SAM_APDU [06:05:40]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 04 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 14 00 00 00 F4 03 04 00 34 1E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7C 94 00 00 35 04 06 00 0A 90 C8 FC 97 68 [06:05:40]Write to MH i2c: E2 97 00 10 07 80 0D 02 02 8F 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 04 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 14 00 00 00 F4 03 04 00 34 1E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7C 94 00 00 35 04 06 00 0A 90 C8 FC 97 68 00 00 46 [06:05:40]Write i2c OK [06:05:40]MH_I2C_Read... [06:05:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:05:40]Read from MH i2c: E2 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: E2 03 00 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: E2 03 00 10 07 00 90 00 8B [06:05:40]RAPDU: 90 00 [06:05:40]wFMCommunicate OK [06:05:40]wFMCommunicate request_size=4 [06:05:40]MH_SAM_APDU [06:05:40]CAPDU: 80 0D 03 02 [06:05:40]Write to MH i2c: E2 08 00 11 07 80 0D 03 02 00 00 00 00 93 [06:05:40]Write i2c OK [06:05:40]MH_I2C_Read... [06:05:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:05:40]Read from MH i2c: E2 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: E2 0B 00 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: E2 0B 00 11 07 00 9B E9 19 D9 9F 34 44 BF 90 00 E0 [06:05:40]RAPDU: 9B E9 19 D9 9F 34 44 BF 90 00 [06:05:40]wFMCommunicate OK [06:05:40]SAM_PROTO_SignData done [06:05:40]FM_MakeSignedData done [06:05:40]CreateOFDProtocolMessage [06:05:40]wFMCommunicate request_size=4 [06:05:40]MH_SAM_APDU [06:05:40]CAPDU: 80 11 00 00 [06:05:40]Write to MH i2c: E2 08 00 12 07 80 11 00 00 00 00 00 00 93 [06:05:40]Write i2c OK [06:05:40]MH_I2C_Read... [06:05:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:05:40]Read from MH i2c: E2 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: E2 17 00 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: E2 17 00 12 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E3 [06:05:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:05:40]wFMCommunicate OK [06:05:40]CreateOFDProtocolMessage done [06:05:40]OFDSenderStorePacket 38012 [06:05:40]StoreOFDPacket docnum=38012 [06:05:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 99 01 00 00 83 68 91 01 48 DB 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 04 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 14 00 00 00 F4 03 04 00 34 1E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7C 94 00 00 35 04 06 00 0A 90 C8 FC 97 68 9B E9 19 D9 9F 34 44 BF [06:05:40]CheckFolder [06:05:40]dirname=/storage/ofd_packets [06:05:40]CheckFolder done [06:05:40]ProducePacketName [06:05:40]name=ofd_packets/00038012 [06:05:40]NVStorageSaveData ofd_packets/00038012 [06:05:40]File name is /storage/ofd_packets/00038012 [06:05:40]Write 439 bytes [06:05:40]NVStorageSaveData done [06:05:40]OFDSenderStorePacket done [06:05:40]KKMCreateOFDPacket done [06:05:40]NVStorageSaveData kkm_last_timestamp [06:05:40]File name is /storage/kkm_last_timestamp [06:05:40]Write 4 bytes [06:05:40]NVStorageSaveData done [06:05:40]ExternCall_PrintAddStr [06:05:40]wPrintStart [06:05:40]Write to MH i2c: 01 00 00 13 07 1A [06:05:40]Write i2c OK [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: 01 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: 01 07 00 [06:05:40]MH_I2C_Read... [06:05:40]Read from MH i2c: 01 07 00 13 07 00 00 00 00 00 FF 0F 2F [06:05:40]RasterBufferAndPrint [06:05:40]line Счет N : (3)35309 [06:05:40]line ИНН: 02508201610067 [06:05:40]line Контрольно-Кассовый Чек [06:05:40]line ПРОДАЖА [06:05:40]line Товар: 4700040114120 [06:05:40]line Султан чай 1л. чер персик [06:05:40]line 1.000 * 89.00 [06:05:40]line = 89.00 [06:05:40]line НДС 12% НСП 1% [06:05:40]line > о реализуемом товаре [06:05:40]line Товар: 48743570 [06:05:40]line Сигареты Winston XStyle Blue [06:05:40]line 1.000 * 144.00 [06:05:40]line = 144.00 [06:05:40]line НДС 12% НСП 1% [06:05:40]line > о реализуемом товаре [06:05:40]line ИТОГО: 233.00 [06:05:40]line НСП 1% : 2.06 [06:05:40]line НДС 12% : 24.74 [06:05:40]line Наличными: 233.00 [06:05:40]line Безнал.: 0.00 [06:05:40]line Место: АЗС № 126 "Партнер Нефть" [06:05:40]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [06:05:40]line СНО: Общий режим [06:05:40]line Чек 20 31.10.2024 06:05 [06:05:40]line Смена: 554 ФФД: 1.0 [06:05:40]line ЗНМ: 0300000092 [06:05:40]line РНМ: 0000000000091684 [06:05:40]line Версия ККМ: 001 [06:05:40]line ФМ: 0000000000871841 [06:05:40]line ФД: 38012 [06:05:40]line ФПД: 11616963565416 [06:05:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T060540&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38012&fm=11616963565416&tin=02508201610067®Number=0000000000091684&sum=23300 [06:05:40]line 0 [06:05:40]OFD Sender: Processing packet 38012 [packets to send 42, broken 41] [06:05:40]ProducePacketName [06:05:40]name=ofd_packets/00038012 [06:05:40]OFD Sender: To server: pG, [06:05:40]CommunicateWithHost lk.salyk.kg:30040 [06:05:40]ConnectInit lk.salyk.kg [06:05:40]written 0, free lines is 4095 [06:05:41]Connected sock=11 [06:05: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 38 34 31 99 01 00 00 83 68 91 01 48 DB 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 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 04 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AA 09 00 00 00 00 07 04 06 00 04 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 14 00 00 00 F4 03 04 00 34 1E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7C 94 00 00 35 04 06 00 0A 90 C8 FC 97 68 9B E9 19 D9 9F 34 44 BF [06:05:41]Write to MH i2c: 01 00 00 41 07 48 [06:05:41]Write i2c OK [06:05:41]MH_I2C_Read... [06:05:41]Read from MH i2c: 01 [06:05:41]MH_I2C_Read... [06:05:41]Read from MH i2c: 01 07 00 [06:05:41]MH_I2C_Read... [06:05:41]Read from MH i2c: 01 07 00 41 07 00 00 00 00 00 62 0C BD [06:05:41]RasterBufferAndPrint [06:05:41]line [06:05:41]line [06:05:41]line [06:05:41]line [06:05:41]line [06:05:41]written 0, free lines is 3178 [06:05:41]MH_Cut [06:05:41]Write to MH i2c: D1 01 00 48 07 01 21 [06:05:41]Write i2c OK [06:05:41]MH_I2C_Read... [06:05:41]Read from MH i2c: D1 [06:05:41]MH_I2C_Read... [06:05:41]Read from MH i2c: D1 01 00 [06:05:41]MH_I2C_Read... [06:05:41]Read from MH i2c: D1 01 00 48 07 00 20 [06:05:41]Write to MH i2c: 01 00 00 49 07 50 [06:05:41]Write i2c OK [06:05:41]MH_I2C_Read... [06:05:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 91 79 47 00 40 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 38 34 31 10 04 04 00 7C 94 00 00 F4 03 04 00 21 C9 22 67 B6 04 01 00 00 A4 78 14 BE 2A D8 DB E7 [06:05:41]CommunicateWithHost err = 0 [06:05:41]CheckOFDResponse [06:05:41]1017 (14) - 77093643461234 [06:05:41]1041 (16) - 0000000000871841 [06:05:41]1040 (4) - 38012 [06:05:41]1012 (4) - 31.10.2024 00:02 [06:05:41]1206 (1) - 0 [06:05:41]OFD Sender: Remove packet 38012 [06:05:41]ProducePacketName [06:05:41]name=ofd_packets/00038012 [06:05:41]NVStorageDeleteData [06:05:42]OFD Sender: No OFD packet to send [06:05:42]*** Cut start [06:05:42]*** Partial cut [06:05:42]*** CUTSNS_PIN = 1 [06:05:42]*** CUTSNS_PIN = 0 [06:05:42]*** Brake cut motor [06:05:42]Read from MH i2c: 01 [06:05:42]MH_I2C_Read... [06:05:42]*** Stop cut motor [06:05:42]*** Cut end [06:05:42]Read from MH i2c: 01 07 00 [06:05:42]MH_I2C_Read... [06:05:42]Read from MH i2c: 01 07 00 49 07 00 00 00 00 00 FF 0F 65 [06:05:42]process_action close_receipt done [06:05:42]requested_data is exist [06:05:42]produce_requested_data [06:05:42]requested_item fm.sn is exist - process it [06:05:42]wFMCommunicate request_size=4 [06:05:42]MH_SAM_APDU [06:05:42]CAPDU: 80 11 00 00 [06:05:42]Write to MH i2c: E2 08 00 4A 07 80 11 00 00 00 00 00 00 CB [06:05:42]Write i2c OK [06:05:42]MH_I2C_Read... [06:05:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:05:42]Read from MH i2c: E2 [06:05:42]MH_I2C_Read... [06:05:42]Read from MH i2c: E2 17 00 [06:05:42]MH_I2C_Read... [06:05:42]Read from MH i2c: E2 17 00 4A 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1B [06:05:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:05:42]wFMCommunicate OK [06:05:42]requested_item fd.num is exist - process it [06:05:42]SAM_PROTO_GetFieldsCounters [06:05:42]wFMCommunicate request_size=4 [06:05:42]MH_SAM_APDU [06:05:42]CAPDU: 80 13 00 00 [06:05:42]Write to MH i2c: E2 08 00 4B 07 80 13 00 00 00 00 00 00 CE [06:05:42]Write i2c OK [06:05:42]MH_I2C_Read... [06:05:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:05:43]Read from MH i2c: E2 [06:05:43]MH_I2C_Read... [06:05:43]Read from MH i2c: E2 62 00 [06:05:43]MH_I2C_Read... [06:05:43]Read from MH i2c: E2 62 00 4B 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7C 94 00 00 0E 04 04 00 2A 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 67 [06:05: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7C 94 00 00 0E 04 04 00 2A 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 [06:05:43]wFMCommunicate OK [06:05:43]SAM_PROTO_GetFieldsCounters done [06:05:43]requested_item shift.num is exist - process it [06:05:43]requested_item shift.opened is exist - process it [06:05:43]req_shift_opened [06:05:43]FM_GetShiftState [06:05:43]SAM_PROTO_GetShiftState [06:05:43]wFMCommunicate request_size=4 [06:05:43]MH_SAM_APDU [06:05:43]CAPDU: 80 13 01 00 [06:05:43]Write to MH i2c: E2 08 00 4C 07 80 13 01 00 00 00 00 00 D0 [06:05:43]Write i2c OK [06:05:43]MH_I2C_Read... [06:05:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:05:43]Read from MH i2c: E2 [06:05:43]MH_I2C_Read... [06:05:43]Read from MH i2c: E2 0E 00 [06:05:43]MH_I2C_Read... [06:05:43]Read from MH i2c: E2 0E 00 4C 07 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 0A [06:05:43]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [06:05:43]wFMCommunicate OK [06:05:43]SAM_PROTO_GetShiftState done [06:05:43]FM_GetShiftState done [06:05:43]req_shift_opened done [06:05:43]requested_item shift.open_date is exist - process it [06:05:43]req_shift_open_date [06:05:43]req_shift_open_date done [06:05:43]produce_requested_data done [06:05:43]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38012,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [06:05:43]process_action_free close_receipt [06:05:43]json_value_free [06:05:43]json_value_free done [06:05:43]process_json_proto returns [06:05:43]Send response to host [06:05:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38012,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [06:05:43]free response buf [06:05:43]execute_script done [06:05:43]execute_script returns [06:05:43]free content buf [06:05:43]Sock 7.Close socket [06:05:43]Sock 7.Thread stoped [06:05:47]OFD Sender: No OFD packet to send [06:05:52]OFD Sender: No OFD packet to send [06:05:57]OFD Sender: No OFD packet to send [06:06:02]OFD Sender: No OFD packet to send [06:06:07]OFD Sender: No OFD packet to send [06:06:12]OFD Sender: No OFD packet to send [06:06:17]OFD Sender: No OFD packet to send [06:06:22]OFD Sender: No OFD packet to send [06:06:27]OFD Sender: No OFD packet to send [06:06:32]OFD Sender: No OFD packet to send [06:06:37]OFD Sender: No OFD packet to send [06:06:42]OFD Sender: No OFD packet to send [06:06:47]OFD Sender: No OFD packet to send [06:06:52]OFD Sender: No OFD packet to send [06:06:57]OFD Sender: No OFD packet to send [06:07:02]OFD Sender: No OFD packet to send [06:07:07]OFD Sender: No OFD packet to send [06:07:12]OFD Sender: No OFD packet to send [06:07:17]OFD Sender: No OFD packet to send [06:07:22]OFD Sender: No OFD packet to send [06:07:27]OFD Sender: No OFD packet to send [06:07:32]OFD Sender: No OFD packet to send [06:07:37]OFD Sender: No OFD packet to send [06:07:42]OFD Sender: No OFD packet to send [06:07:47]OFD Sender: No OFD packet to send [06:07:52]OFD Sender: No OFD packet to send [06:07:57]OFD Sender: No OFD packet to send [06:08:02]OFD Sender: No OFD packet to send [06:08:07]OFD Sender: No OFD packet to send [06:08:12]OFD Sender: No OFD packet to send [06:08:17]OFD Sender: No OFD packet to send [06:08:22]OFD Sender: No OFD packet to send [06:08:27]OFD Sender: No OFD packet to send [06:08:32]OFD Sender: No OFD packet to send [06:08:37]OFD Sender: No OFD packet to send [06:08:42]OFD Sender: No OFD packet to send [06:08:47]OFD Sender: No OFD packet to send [06:08:52]OFD Sender: No OFD packet to send [06:08:57]OFD Sender: No OFD packet to send [06:09:02]OFD Sender: No OFD packet to send [06:09:07]OFD Sender: No OFD packet to send [06:09:12]OFD Sender: No OFD packet to send [06:09:17]OFD Sender: No OFD packet to send [06:09:22]OFD Sender: No OFD packet to send [06:09:27]OFD Sender: No OFD packet to send [06:09:32]OFD Sender: No OFD packet to send [06:09:37]OFD Sender: No OFD packet to send [06:09:42]OFD Sender: No OFD packet to send [06:09:47]OFD Sender: No OFD packet to send [06:09:52]OFD Sender: No OFD packet to send [06:09:57]OFD Sender: No OFD packet to send [06:10:02]OFD Sender: No OFD packet to send [06:10:07]OFD Sender: No OFD packet to send [06:10:12]OFD Sender: No OFD packet to send [06:10:17]OFD Sender: No OFD packet to send [06:10:22]OFD Sender: No OFD packet to send [06:10:27]OFD Sender: No OFD packet to send [06:10:32]OFD Sender: No OFD packet to send [06:10:37]OFD Sender: No OFD packet to send [06:10:42]OFD Sender: No OFD packet to send [06:10:47]OFD Sender: No OFD packet to send [06:10:52]OFD Sender: No OFD packet to send [06:10:57]OFD Sender: No OFD packet to send [06:11:02]OFD Sender: No OFD packet to send [06:11:07]OFD Sender: No OFD packet to send [06:11:12]OFD Sender: No OFD packet to send [06:11:17]OFD Sender: No OFD packet to send [06:11:22]OFD Sender: No OFD packet to send [06:11:27]OFD Sender: No OFD packet to send [06:11:32]OFD Sender: No OFD packet to send [06:11:37]OFD Sender: No OFD packet to send [06:11:42]OFD Sender: No OFD packet to send [06:11:47]OFD Sender: No OFD packet to send [06:11:52]OFD Sender: No OFD packet to send [06:11:57]OFD Sender: No OFD packet to send [06:12:02]OFD Sender: No OFD packet to send [06:12:07]OFD Sender: No OFD packet to send [06:12:12]OFD Sender: No OFD packet to send [06:12:17]OFD Sender: No OFD packet to send [06:12:22]OFD Sender: No OFD packet to send [06:12:27]OFD Sender: No OFD packet to send [06:12:32]OFD Sender: No OFD packet to send [06:12:37]OFD Sender: No OFD packet to send [06:12:42]OFD Sender: No OFD packet to send [06:12:47]OFD Sender: No OFD packet to send [06:12:52]OFD Sender: No OFD packet to send [06:12:57]OFD Sender: No OFD packet to send [06:13:02]OFD Sender: No OFD packet to send [06:13:07]OFD Sender: No OFD packet to send [06:13:12]OFD Sender: No OFD packet to send [06:13:17]OFD Sender: No OFD packet to send [06:13:22]OFD Sender: No OFD packet to send [06:13:27]OFD Sender: No OFD packet to send [06:13:32]OFD Sender: No OFD packet to send [06:13:37]OFD Sender: No OFD packet to send [06:13:42]OFD Sender: No OFD packet to send [06:13:47]OFD Sender: No OFD packet to send [06:13:52]OFD Sender: No OFD packet to send [06:13:57]OFD Sender: No OFD packet to send [06:14:02]OFD Sender: No OFD packet to send [06:14:07]OFD Sender: No OFD packet to send [06:14:12]OFD Sender: No OFD packet to send [06:14:17]OFD Sender: No OFD packet to send [06:14:22]OFD Sender: No OFD packet to send [06:14:27]OFD Sender: No OFD packet to send [06:14:32]OFD Sender: No OFD packet to send [06:14:37]OFD Sender: No OFD packet to send [06:14:42]OFD Sender: No OFD packet to send [06:14:47]OFD Sender: No OFD packet to send [06:14:52]OFD Sender: No OFD packet to send [06:14:57]OFD Sender: No OFD packet to send [06:15:02]OFD Sender: No OFD packet to send [06:15:07]OFD Sender: No OFD packet to send [06:15:12]OFD Sender: No OFD packet to send [06:15:17]OFD Sender: No OFD packet to send [06:15:22]OFD Sender: No OFD packet to send [06:15:27]OFD Sender: No OFD packet to send [06:15:32]OFD Sender: No OFD packet to send [06:15:37]OFD Sender: No OFD packet to send [06:15:42]OFD Sender: No OFD packet to send [06:15:47]OFD Sender: No OFD packet to send [06:15:52]OFD Sender: No OFD packet to send [06:15:57]OFD Sender: No OFD packet to send [06:16:02]OFD Sender: No OFD packet to send [06:16:07]OFD Sender: No OFD packet to send [06:16:12]OFD Sender: No OFD packet to send [06:16:17]OFD Sender: No OFD packet to send [06:16:22]OFD Sender: No OFD packet to send [06:16:27]OFD Sender: No OFD packet to send [06:16:32]OFD Sender: No OFD packet to send [06:16:37]OFD Sender: No OFD packet to send [06:16:42]OFD Sender: No OFD packet to send [06:16:47]OFD Sender: No OFD packet to send [06:16:52]OFD Sender: No OFD packet to send [06:16:57]OFD Sender: No OFD packet to send [06:17:02]OFD Sender: No OFD packet to send [06:17:07]OFD Sender: No OFD packet to send [06:17:12]OFD Sender: No OFD packet to send [06:17:17]OFD Sender: No OFD packet to send [06:17:22]OFD Sender: No OFD packet to send [06:17:27]OFD Sender: No OFD packet to send [06:17:32]OFD Sender: No OFD packet to send [06:17:37]OFD Sender: No OFD packet to send [06:17:42]OFD Sender: No OFD packet to send [06:17:47]OFD Sender: No OFD packet to send [06:17:52]OFD Sender: No OFD packet to send [06:17:57]OFD Sender: No OFD packet to send [06:18:02]OFD Sender: No OFD packet to send [06:18:07]OFD Sender: No OFD packet to send [06:18:12]OFD Sender: No OFD packet to send [06:18:17]OFD Sender: No OFD packet to send [06:18:22]OFD Sender: No OFD packet to send [06:18:27]OFD Sender: No OFD packet to send [06:18:32]OFD Sender: No OFD packet to send [06:18:37]OFD Sender: No OFD packet to send [06:18:42]OFD Sender: No OFD packet to send [06:18:47]OFD Sender: No OFD packet to send [06:18:52]OFD Sender: No OFD packet to send [06:18:57]OFD Sender: No OFD packet to send [06:19:02]OFD Sender: No OFD packet to send [06:19:07]OFD Sender: No OFD packet to send [06:19:12]OFD Sender: No OFD packet to send [06:19:17]OFD Sender: No OFD packet to send [06:19:22]OFD Sender: No OFD packet to send [06:19:27]OFD Sender: No OFD packet to send [06:19:32]OFD Sender: No OFD packet to send [06:19:37]OFD Sender: No OFD packet to send [06:19:42]OFD Sender: No OFD packet to send [06:19:47]OFD Sender: No OFD packet to send [06:19:52]OFD Sender: No OFD packet to send [06:19:57]OFD Sender: No OFD packet to send [06:20:02]OFD Sender: No OFD packet to send [06:20:07]OFD Sender: No OFD packet to send [06:20:12]OFD Sender: No OFD packet to send [06:20:17]OFD Sender: No OFD packet to send [06:20:22]OFD Sender: No OFD packet to send [06:20:27]OFD Sender: No OFD packet to send [06:20:32]OFD Sender: No OFD packet to send [06:20:37]OFD Sender: No OFD packet to send [06:20:42]OFD Sender: No OFD packet to send [06:20:47]OFD Sender: No OFD packet to send [06:20:52]OFD Sender: No OFD packet to send [06:20:57]OFD Sender: No OFD packet to send [06:21:02]OFD Sender: No OFD packet to send [06:21:07]OFD Sender: No OFD packet to send [06:21:12]OFD Sender: No OFD packet to send [06:21:17]OFD Sender: No OFD packet to send [06:21:22]OFD Sender: No OFD packet to send [06:21:27]OFD Sender: No OFD packet to send [06:21:32]OFD Sender: No OFD packet to send [06:21:37]OFD Sender: No OFD packet to send [06:21:42]OFD Sender: No OFD packet to send [06:21:47]OFD Sender: No OFD packet to send [06:21:52]OFD Sender: No OFD packet to send [06:21:57]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:48]OFD Sender: No OFD packet to send [06:23:53]OFD Sender: No OFD packet to send [06:23:58]OFD Sender: No OFD packet to send [06:24:03]OFD Sender: No OFD packet to send [06:24:08]OFD Sender: No OFD packet to send [06:24:13]OFD Sender: No OFD packet to send [06:24:18]OFD Sender: No OFD packet to send [06:24:23]OFD Sender: No OFD packet to send [06:24:28]OFD Sender: No OFD packet to send [06:24:33]OFD Sender: No OFD packet to send [06:24:38]OFD Sender: No OFD packet to send [06:24:43]OFD Sender: No OFD packet to send [06:24:48]OFD Sender: No OFD packet to send [06:24:53]OFD Sender: No OFD packet to send [06:24:58]OFD Sender: No OFD packet to send [06:25:03]OFD Sender: No OFD packet to send [06:25:08]OFD Sender: No OFD packet to send [06:25:13]OFD Sender: No OFD packet to send [06:25:18]OFD Sender: No OFD packet to send [06:25:23]OFD Sender: No OFD packet to send [06:25:28]OFD Sender: No OFD packet to send [06:25:33]OFD Sender: No OFD packet to send [06:25:38]OFD Sender: No OFD packet to send [06:25:43]OFD Sender: No OFD packet to send [06:25:48]OFD Sender: No OFD packet to send [06:25:53]OFD Sender: No OFD packet to send [06:25:58]OFD Sender: No OFD packet to send [06:26:03]OFD Sender: No OFD packet to send [06:26:08]OFD Sender: No OFD packet to send [06:26:13]OFD Sender: No OFD packet to send [06:26:18]OFD Sender: No OFD packet to send [06:26:23]OFD Sender: No OFD packet to send [06:26:28]OFD Sender: No OFD packet to send [06:26:33]OFD Sender: No OFD packet to send [06:26:38]OFD Sender: No OFD packet to send [06:26:43]OFD Sender: No OFD packet to send [06:26:48]OFD Sender: No OFD packet to send [06:26:53]OFD Sender: No OFD packet to send [06:26:58]OFD Sender: No OFD packet to send [06:27:03]OFD Sender: No OFD packet to send [06:27:08]OFD Sender: No OFD packet to send [06:27:13]OFD Sender: No OFD packet to send [06:27:18]OFD Sender: No OFD packet to send [06:27:23]OFD Sender: No OFD packet to send [06:27:28]OFD Sender: No OFD packet to send [06:27:33]OFD Sender: No OFD packet to send [06:27:38]OFD Sender: No OFD packet to send [06:27:43]OFD Sender: No OFD packet to send [06:27:48]OFD Sender: No OFD packet to send [06:27:53]OFD Sender: No OFD packet to send [06:27:58]OFD Sender: No OFD packet to send [06:28:03]OFD Sender: No OFD packet to send [06:28:08]OFD Sender: No OFD packet to send [06:28:13]OFD Sender: No OFD packet to send [06:28:18]OFD Sender: No OFD packet to send [06:28:23]OFD Sender: No OFD packet to send [06:28:28]OFD Sender: No OFD packet to send [06:28:33]OFD Sender: No OFD packet to send [06:28:38]OFD Sender: No OFD packet to send [06:28:43]OFD Sender: No OFD packet to send [06:28:48]OFD Sender: No OFD packet to send [06:28:53]OFD Sender: No OFD packet to send [06:28:58]OFD Sender: No OFD packet to send [06:29:03]OFD Sender: No OFD packet to send [06:29:08]OFD Sender: No OFD packet to send [06:29:13]OFD Sender: No OFD packet to send [06:29:18]OFD Sender: No OFD packet to send [06:29:23]OFD Sender: No OFD packet to send [06:29:28]OFD Sender: No OFD packet to send [06:29:33]OFD Sender: No OFD packet to send [06:29:38]OFD Sender: No OFD packet to send [06:29:43]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:33]OFD Sender: No OFD packet to send [06:30:38]OFD Sender: No OFD packet to send [06:30:43]OFD Sender: No OFD packet to send [06:30:48]OFD Sender: No OFD packet to send [06:30:53]OFD Sender: No OFD packet to send [06:30:58]OFD Sender: No OFD packet to send [06:31:03]OFD Sender: No OFD packet to send [06:31:08]OFD Sender: No OFD packet to send [06:31:13]OFD Sender: No OFD packet to send [06:31:16]accept exits with 10 [06:31:16]New connection [06:31:16]New thread 3067186532 created [06:31:16]Thread 3067043172 joined [06:31:16]Waiting for new connection... [06:31:16] Sock 10.Parse request [06:31:16]Sock 10.Check first char [06:31:16]Sock 10.First char is OK [06:31:16]request: POST /json_proto HTTP/1.0 [06:31:16]Method: POST [06:31:16]URL: /json_proto [06:31:16]Method is POST - this is cgi request [06:31:16]url: /json_proto [06:31:16]query_string will be loaded in cgi processing [06:31:16]execute_cgi json_proto POST (null) [06:31:16]execute_cgi path=json_proto method=POST [06:31:16]POST find Content-Length [06:31:16]Host: 172.17.40.196:8080 [06:31:16]Content-Length: 1602 [06:31:16]Content-Type: application/json [06:31:16] [06:31:16]POST finish read [06:31:16]Found Content-Length = 1602 [06:31:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35310", "tax_sys" : 0, "items" : [ { "code": "4680021880490", "name": "\u041F\u0435\u0447.\u0441\u0434.\u0421 \u043A\u0430\u043F\u043B\u044F\u043C\u0438 200\u0433/12", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600721021566", "name": "\u041F\u0438\u0432\u043E \u0425\u0443\u0433\u0430\u0440\u0434\u0435\u043D \u0431\u0435\u043B \u043D\u0435\u0444\u0438\u043B 0,5\u043B \u0441\u0442", "price" : 213.00, "quantity" : 2.000, "sum" : 426.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" : 800.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:31:16]execute_script... [06:31:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35310", "tax_sys" : 0, "items" : [ { "code": "4680021880490", "name": "\u041F\u0435\u0447.\u0441\u0434.\u0421 \u043A\u0430\u043F\u043B\u044F\u043C\u0438 200\u0433/12", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600721021566", "name": "\u041F\u0438\u0432\u043E \u0425\u0443\u0433\u0430\u0440\u0434\u0435\u043D \u0431\u0435\u043B \u043D\u0435\u0444\u0438\u043B 0,5\u043B \u0441\u0442", "price" : 213.00, "quantity" : 2.000, "sum" : 426.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" : 800.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:31:16]POST & json_proto [06:31:16]process_json_proto [06:31:16]json parsed OK: [06:31:16]protocol is kg_v1.0 [06:31:16]action value=close_receipt [06:31:16]process_action close_receipt [06:31:16]cmd_close_receipt [06:31:16]MH_GetDate [06:31:16]Write to MH i2c: F0 00 00 4D 07 43 [06:31:17]Write i2c OK [06:31:17]MH_I2C_Read... [06:31:17]Read from MH i2c: F0 [06:31:17]MH_I2C_Read... [06:31:17]Read from MH i2c: F0 09 00 [06:31:17]MH_I2C_Read... [06:31:17]Read from MH i2c: F0 09 00 4D 07 00 37 24 23 67 5B 68 A1 66 FB [06:31:17]GetLastDocTimeStamp 1730354740 [06:31:17]current date 1730356279 [06:31:17]FM_GetShiftState [06:31:17]SAM_PROTO_GetShiftState [06:31:17]wFMCommunicate request_size=4 [06:31:17]MH_SAM_APDU [06:31:17]CAPDU: 80 13 01 00 [06:31:17]Write to MH i2c: E2 08 00 4E 07 80 13 01 00 00 00 00 00 D2 [06:31:17]Write i2c OK [06:31:17]MH_I2C_Read... [06:31:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:31:17]Read from MH i2c: E2 [06:31:17]MH_I2C_Read... [06:31:17]Read from MH i2c: E2 0E 00 [06:31:17]MH_I2C_Read... [06:31:17]Read from MH i2c: E2 0E 00 4E 07 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 0C [06:31:17]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [06:31:17]wFMCommunicate OK [06:31:17]SAM_PROTO_GetShiftState done [06:31:17]FM_GetShiftState done [06:31:17]opened in 1730333148 [06:31:17]opened+sec_in_day 1730419548 [06:31:17]quantity*price = 9500 [06:31:17]sum+1 = 9501 [06:31:17]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46230614 Сигареты Richmond Red Edition 1.000 * 154.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4600721021566 Пиво Хугарден бел нефил 0,5л ст 2.000 * 213.00 = 426.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 800.00 НСП 1% : 7.08 НДС 12% : 84.95 Наличными: 0.00 Безнал.: 800.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 21 31.10.2024 06:31 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 38013 ФПД: 181339646448588 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T063119&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38013&fm=181339646448588&tin=02508201610067®Number=0000000000091684&sum=80000 0 [06:31:18]StoreToDocumentArchive [06:31:18]shift 554 fd 38013 [06:31:18]save to /storage/0554/doc_00038013 [06:31:18]save last doc name /storage/0554/doc_00038013 to /storage/kkm_last_doc_name [06:31:18]save OK [06:31:18]Clear old archive folders... [06:31:18]ProcessDocumentItem done err = 0, tmpTLVsize=624 [06:31:18]tlvbuf is 01181770 [06:31:18]SAM_PROTO_ClearQueue [06:31:18]wFMCommunicate request_size=4 [06:31:18]MH_SAM_APDU [06:31:18]CAPDU: 80 09 00 00 [06:31:18]Write to MH i2c: E2 08 00 5B 07 80 09 00 00 00 00 00 00 D4 [06:31:18]Write i2c OK [06:31:18]MH_I2C_Read... [06:31:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:31:18]Read from MH i2c: E2 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: E2 03 00 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: E2 03 00 5B 07 00 90 00 D6 [06:31:18]RAPDU: 90 00 [06:31:18]wFMCommunicate OK [06:31:18]SAM_PROTO_ClearQueue done [06:31:18]KKMCreateOFDPacket [06:31:18]OFDProtocolAddRootSTLVToBuf [06:31:18]FM_MakeSignedData [06:31:18]FM_MakeSignedData [06:31:18]SAM_PROTO_SignData [06:31:18]wFMCommunicate request_size=4 [06:31:18]MH_SAM_APDU [06:31:18]CAPDU: 80 0D 01 02 [06:31:18]Write to MH i2c: E2 08 00 5C 07 80 0D 01 02 00 00 00 00 DC [06:31:18]Write i2c OK [06:31:18]MH_I2C_Read... [06:31:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:31:18]Read from MH i2c: E2 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: E2 03 00 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: E2 03 00 5C 07 00 90 00 D7 [06:31:18]RAPDU: 90 00 [06:31:18]wFMCommunicate OK [06:31:18]wFMCommunicate request_size=255 [06:31:18]MH_SAM_APDU [06:31:18]CAPDU: 80 0D 02 02 FA 03 00 70 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 38 30 30 32 31 38 38 30 34 39 30 06 04 26 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B4 2E D0 A1 20 D0 BA D0 B0 D0 BF D0 BB D1 8F D0 BC D0 B8 20 32 30 30 D0 B3 2F 31 32 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 [06:31:18]Write to MH i2c: E2 02 01 5D 07 80 0D 02 02 FA 00 03 00 70 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 38 30 30 32 31 38 38 30 34 39 30 06 04 26 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B4 2E D0 A1 20 D0 BA D0 B0 D0 BF D0 BB D1 8F D0 BC D0 B8 20 32 30 30 D0 B3 2F 31 32 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 00 00 3B [06:31:18]Write i2c OK [06:31:18]MH_I2C_Read... [06:31:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:31:18]Read from MH i2c: E2 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: E2 03 00 [06:31:18]MH_I2C_Read... [06:31:18]Read from MH i2c: E2 03 00 5D 07 00 90 00 D8 [06:31:18]RAPDU: 90 00 [06:31:18]wFMCommunicate OK [06:31:18]wFMCommunicate request_size=255 [06:31:18]MH_SAM_APDU [06:31:18]CAPDU: 80 0D 02 02 FA 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 53 00 00 00 00 13 04 06 00 68 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 [06:31:18]Write to MH i2c: E2 02 01 5E 07 80 0D 02 02 FA 00 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 53 00 00 00 00 13 04 06 00 68 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 00 00 24 [06:31:18]Write i2c OK [06:31:18]MH_I2C_Read... [06:31:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:31:19]Read from MH i2c: E2 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: E2 03 00 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: E2 03 00 5E 07 00 90 00 D9 [06:31:19]RAPDU: 90 00 [06:31:19]wFMCommunicate OK [06:31:19]wFMCommunicate request_size=133 [06:31:19]MH_SAM_APDU [06:31:19]CAPDU: 80 0D 02 02 80 F2 03 01 00 01 F3 03 06 00 2F 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 37 24 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7D 94 00 00 35 04 06 00 A4 ED 6D 35 D3 CC [06:31:19]Write to MH i2c: E2 88 00 5F 07 80 0D 02 02 80 00 F2 03 01 00 01 F3 03 06 00 2F 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 37 24 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7D 94 00 00 35 04 06 00 A4 ED 6D 35 D3 CC 00 00 1F [06:31:19]Write i2c OK [06:31:19]MH_I2C_Read... [06:31:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:31:19]Read from MH i2c: E2 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: E2 03 00 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: E2 03 00 5F 07 00 90 00 DA [06:31:19]RAPDU: 90 00 [06:31:19]wFMCommunicate OK [06:31:19]wFMCommunicate request_size=4 [06:31:19]MH_SAM_APDU [06:31:19]CAPDU: 80 0D 03 02 [06:31:19]Write to MH i2c: E2 08 00 60 07 80 0D 03 02 00 00 00 00 E2 [06:31:19]Write i2c OK [06:31:19]MH_I2C_Read... [06:31:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:31:19]Read from MH i2c: E2 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: E2 0B 00 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: E2 0B 00 60 07 00 B3 E9 93 01 28 DE F3 01 90 00 0D [06:31:19]RAPDU: B3 E9 93 01 28 DE F3 01 90 00 [06:31:19]wFMCommunicate OK [06:31:19]SAM_PROTO_SignData done [06:31:19]FM_MakeSignedData done [06:31:19]CreateOFDProtocolMessage [06:31:19]wFMCommunicate request_size=4 [06:31:19]MH_SAM_APDU [06:31:19]CAPDU: 80 11 00 00 [06:31:19]Write to MH i2c: E2 08 00 61 07 80 11 00 00 00 00 00 00 E2 [06:31:19]Write i2c OK [06:31:19]MH_I2C_Read... [06:31:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:31:19]Read from MH i2c: E2 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: E2 17 00 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: E2 17 00 61 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 32 [06:31:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:31:19]wFMCommunicate OK [06:31:19]CreateOFDProtocolMessage done [06:31:19]OFDSenderStorePacket 38013 [06:31:19]StoreOFDPacket docnum=38013 [06:31:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 84 02 00 00 51 15 7C 02 80 93 5A 03 01 00 03 00 70 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 38 30 30 32 31 38 38 30 34 39 30 06 04 26 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B4 2E D0 A1 20 D0 BA D0 B0 D0 BF D0 BB D1 8F D0 BC D0 B8 20 32 30 30 D0 B3 2F 31 32 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 53 00 00 00 00 13 04 06 00 68 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 37 24 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7D 94 00 00 35 04 06 00 A4 ED 6D 35 D3 CC B3 E9 93 01 28 DE F3 01 [06:31:19]CheckFolder [06:31:19]dirname=/storage/ofd_packets [06:31:19]CheckFolder done [06:31:19]ProducePacketName [06:31:19]name=ofd_packets/00038013 [06:31:19]NVStorageSaveData ofd_packets/00038013 [06:31:19]File name is /storage/ofd_packets/00038013 [06:31:19]Write 674 bytes [06:31:19]NVStorageSaveData done [06:31:19]OFDSenderStorePacket done [06:31:19]KKMCreateOFDPacket done [06:31:19]NVStorageSaveData kkm_last_timestamp [06:31:19]File name is /storage/kkm_last_timestamp [06:31:19]Write 4 bytes [06:31:19]NVStorageSaveData done [06:31:19]ExternCall_PrintAddStr [06:31:19]wPrintStart [06:31:19]Write to MH i2c: 01 00 00 62 07 69 [06:31:19]Write i2c OK [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: 01 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: 01 07 00 [06:31:19]MH_I2C_Read... [06:31:19]Read from MH i2c: 01 07 00 62 07 00 00 00 00 00 FF 0F 7E [06:31:19]RasterBufferAndPrint [06:31:19]line Счет N : (3)35310 [06:31:19]line ИНН: 02508201610067 [06:31:19]line Контрольно-Кассовый Чек [06:31:19]line ПРОДАЖА [06:31:19]line Товар: 4680021880490 [06:31:19]line Печ.сд.С каплями 200г/12 [06:31:19]line 1.000 * 95.00 [06:31:19]line = 95.00 [06:31:19]line НДС 12% НСП 1% [06:31:19]line > о реализуемом товаре [06:31:19]line Товар: 2000036190018 [06:31:19]line Кофе Американо XL(GABB TRADE) [06:31:19]line 1.000 * 125.00 [06:31:19]line = 125.00 [06:31:19]line НДС 12% НСП 1% [06:31:19]line > о реализуемом товаре [06:31:19]line Товар: 46230614 [06:31:19]line Сигареты Richmond Red Edition [06:31:19]line 1.000 * 154.00 [06:31:19]line = 154.00 [06:31:19]line НДС 12% НСП 1% [06:31:19]line > о реализуемом товаре [06:31:19]line Товар: 4600721021566 [06:31:19]line Пиво Хугарден бел нефил 0,5л ст [06:31:19]line 2.000 * 213.00 [06:31:19]line = 426.00 [06:31:19]line НДС 12% НСП 1% [06:31:19]line > о реализуемом товаре [06:31:19]line ИТОГО: 800.00 [06:31:19]line НСП 1% : 7.08 [06:31:19]line НДС 12% : 84.95 [06:31:19]line Наличными: 0.00 [06:31:19]line Безнал.: 800.00 [06:31:19]line Место: АЗС № 126 "Партнер Нефть" [06:31:19]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [06:31:19]line СНО: Общий режим [06:31:19]line Чек 21 31.10.2024 06:31 [06:31:19]line Смена: 554 ФФД: 1.0 [06:31:19]line ЗНМ: 0300000092 [06:31:19]line РНМ: 0000000000091684 [06:31:19]line Версия ККМ: 001 [06:31:19]line Платежная система: Mbank [06:31:19]line ФМ: 0000000000871841 [06:31:19]line ФД: 38013 [06:31:19]line ФПД: 181339646448588 [06:31:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T063119&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38013&fm=181339646448588&tin=02508201610067®Number=0000000000091684&sum=80000 [06:31:19]OFD Sender: Processing packet 38013 [packets to send 42, broken 41] [06:31:19]ProducePacketName [06:31:19]name=ofd_packets/00038013 [06:31:19]OFD Sender: To server: pG, [06:31:19]CommunicateWithHost lk.salyk.kg:30040 [06:31:19]ConnectInit lk.salyk.kg [06:31:19]line 0 [06:31:19]written 0, free lines is 4095 [06:31:20]Write to MH i2c: 01 00 00 A0 07 A7 [06:31:20]Write i2c OK [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: 01 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: 01 07 00 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: 01 07 00 A0 07 00 00 00 00 00 4C 0B 05 [06:31:20]RasterBufferAndPrint [06:31:20]line [06:31:20]line [06:31:20]line [06:31:20]line [06:31:20]line [06:31:20]written 0, free lines is 2898 [06:31:20]MH_Cut [06:31:20]Write to MH i2c: D1 01 00 A7 07 01 80 [06:31:20]Write i2c OK [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: D1 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: D1 01 00 [06:31:20]MH_I2C_Read... [06:31:20]Read from MH i2c: D1 01 00 A7 07 00 7F [06:31:20]Write to MH i2c: 01 00 00 A8 07 AF [06:31:20]Write i2c OK [06:31:20]MH_I2C_Read... [06:31:20]Connected sock=11 [06:31: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 38 34 31 84 02 00 00 51 15 7C 02 80 93 5A 03 01 00 03 00 70 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 38 30 30 32 31 38 38 30 34 39 30 06 04 26 00 D0 9F D0 B5 D1 87 2E D1 81 D0 B4 2E D0 A1 20 D0 BA D0 B0 D0 BF D0 BB D1 8F D0 BC D0 B8 20 32 30 30 D0 B3 2F 31 32 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 35 36 36 06 04 36 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 A5 D1 83 D0 B3 D0 B0 D1 80 D0 B4 D0 B5 D0 BD 20 D0 B1 D0 B5 D0 BB 20 D0 BD D0 B5 D1 84 D0 B8 D0 BB 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 34 53 00 00 00 00 13 04 06 00 68 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 37 24 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7D 94 00 00 35 04 06 00 A4 ED 6D 35 D3 CC B3 E9 93 01 28 DE F3 01 [06:31:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 01 01 47 00 70 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7D 94 00 00 F4 03 04 00 25 CF 22 67 B6 04 01 00 00 37 93 0B A9 12 D3 72 06 [06:31:21]CommunicateWithHost err = 0 [06:31:21]CheckOFDResponse [06:31:21]1017 (14) - 77093643461234 [06:31:21]1041 (16) - 0000000000871841 [06:31:21]1040 (4) - 38013 [06:31:21]1012 (4) - 31.10.2024 00:28 [06:31:21]1206 (1) - 0 [06:31:21]OFD Sender: Remove packet 38013 [06:31:21]ProducePacketName [06:31:21]name=ofd_packets/00038013 [06:31:21]NVStorageDeleteData [06:31:21]*** Cut start [06:31:21]*** Partial cut [06:31:21]*** CUTSNS_PIN = 1 [06:31:21]*** CUTSNS_PIN = 0 [06:31:21]*** Brake cut motor [06:31:21]OFD Sender: No OFD packet to send [06:31:22]Read from MH i2c: 01 [06:31:22]MH_I2C_Read... [06:31:22]*** Stop cut motor [06:31:22]*** Cut end [06:31:22]Read from MH i2c: 01 07 00 [06:31:22]MH_I2C_Read... [06:31:22]Read from MH i2c: 01 07 00 A8 07 00 00 00 00 00 FF 0F C4 [06:31:22]process_action close_receipt done [06:31:22]requested_data is exist [06:31:22]produce_requested_data [06:31:22]requested_item fm.sn is exist - process it [06:31:22]wFMCommunicate request_size=4 [06:31:22]MH_SAM_APDU [06:31:22]CAPDU: 80 11 00 00 [06:31:22]Write to MH i2c: E2 08 00 A9 07 80 11 00 00 00 00 00 00 2A [06:31:22]Write i2c OK [06:31:22]MH_I2C_Read... [06:31:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:31:22]Read from MH i2c: E2 [06:31:22]MH_I2C_Read... [06:31:22]Read from MH i2c: E2 17 00 [06:31:22]MH_I2C_Read... [06:31:22]Read from MH i2c: E2 17 00 A9 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7A [06:31:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:31:22]wFMCommunicate OK [06:31:22]requested_item fd.num is exist - process it [06:31:22]SAM_PROTO_GetFieldsCounters [06:31:22]wFMCommunicate request_size=4 [06:31:22]MH_SAM_APDU [06:31:22]CAPDU: 80 13 00 00 [06:31:22]Write to MH i2c: E2 08 00 AA 07 80 13 00 00 00 00 00 00 2D [06:31:22]Write i2c OK [06:31:22]MH_I2C_Read... [06:31:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:31:22]Read from MH i2c: E2 [06:31:22]MH_I2C_Read... [06:31:22]Read from MH i2c: E2 62 00 [06:31:22]MH_I2C_Read... [06:31:22]Read from MH i2c: E2 62 00 AA 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7D 94 00 00 0E 04 04 00 2A 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 CA [06:31: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7D 94 00 00 0E 04 04 00 2A 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 [06:31:22]wFMCommunicate OK [06:31:22]SAM_PROTO_GetFieldsCounters done [06:31:22]requested_item shift.num is exist - process it [06:31:22]requested_item shift.opened is exist - process it [06:31:22]req_shift_opened [06:31:22]FM_GetShiftState [06:31:22]SAM_PROTO_GetShiftState [06:31:22]wFMCommunicate request_size=4 [06:31:22]MH_SAM_APDU [06:31:22]CAPDU: 80 13 01 00 [06:31:22]Write to MH i2c: E2 08 00 AB 07 80 13 01 00 00 00 00 00 2F [06:31:22]Write i2c OK [06:31:22]MH_I2C_Read... [06:31:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:31:22]Read from MH i2c: E2 [06:31:22]MH_I2C_Read... [06:31:22]Read from MH i2c: E2 0E 00 [06:31:22]MH_I2C_Read... [06:31:22]Read from MH i2c: E2 0E 00 AB 07 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 69 [06:31:22]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [06:31:22]wFMCommunicate OK [06:31:22]SAM_PROTO_GetShiftState done [06:31:22]FM_GetShiftState done [06:31:22]req_shift_opened done [06:31:22]requested_item shift.open_date is exist - process it [06:31:22]req_shift_open_date [06:31:22]req_shift_open_date done [06:31:22]produce_requested_data done [06:31:22]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38013,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [06:31:22]process_action_free close_receipt [06:31:22]json_value_free [06:31:22]json_value_free done [06:31:22]process_json_proto returns [06:31:22]Send response to host [06:31:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38013,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [06:31:22]free response buf [06:31:22]execute_script done [06:31:22]execute_script returns [06:31:22]free content buf [06:31:22]Sock 10.Close socket [06:31:22]Sock 10.Thread stoped [06:31:26]OFD Sender: No OFD packet to send [06:31:31]OFD Sender: No OFD packet to send [06:31:36]OFD Sender: No OFD packet to send [06:31:41]OFD Sender: No OFD packet to send [06:31:46]OFD Sender: No OFD packet to send [06:31:51]OFD Sender: No OFD packet to send [06:31:56]OFD Sender: No OFD packet to send [06:32:01]OFD Sender: No OFD packet to send [06:32:06]OFD Sender: No OFD packet to send [06:32:11]OFD Sender: No OFD packet to send [06:32:16]OFD Sender: No OFD packet to send [06:32:22]OFD Sender: No OFD packet to send [06:32:27]OFD Sender: No OFD packet to send [06:32:32]OFD Sender: No OFD packet to send [06:32:37]OFD Sender: No OFD packet to send [06:32:42]OFD Sender: No OFD packet to send [06:32:47]OFD Sender: No OFD packet to send [06:32:52]OFD Sender: No OFD packet to send [06:32:57]OFD Sender: No OFD packet to send [06:33:02]OFD Sender: No OFD packet to send [06:33:07]OFD Sender: No OFD packet to send [06:33:12]OFD Sender: No OFD packet to send [06:33:17]OFD Sender: No OFD packet to send [06:33:22]OFD Sender: No OFD packet to send [06:33:27]OFD Sender: No OFD packet to send [06:33:32]OFD Sender: No OFD packet to send [06:33:37]OFD Sender: No OFD packet to send [06:33:42]OFD Sender: No OFD packet to send [06:33:47]OFD Sender: No OFD packet to send [06:33:52]OFD Sender: No OFD packet to send [06:33:57]OFD Sender: No OFD packet to send [06:34:02]OFD Sender: No OFD packet to send [06:34:07]OFD Sender: No OFD packet to send [06:34:12]OFD Sender: No OFD packet to send [06:34:17]OFD Sender: No OFD packet to send [06:34:22]OFD Sender: No OFD packet to send [06:34:27]OFD Sender: No OFD packet to send [06:34:32]OFD Sender: No OFD packet to send [06:34:37]OFD Sender: No OFD packet to send [06:34:42]OFD Sender: No OFD packet to send [06:34:47]OFD Sender: No OFD packet to send [06:34:52]OFD Sender: No OFD packet to send [06:34:57]OFD Sender: No OFD packet to send [06:35:02]OFD Sender: No OFD packet to send [06:35:07]OFD Sender: No OFD packet to send [06:35:12]OFD Sender: No OFD packet to send [06:35:17]OFD Sender: No OFD packet to send [06:35:22]OFD Sender: No OFD packet to send [06:35:27]OFD Sender: No OFD packet to send [06:35:32]OFD Sender: No OFD packet to send [06:35:37]OFD Sender: No OFD packet to send [06:35:42]OFD Sender: No OFD packet to send [06:35:47]OFD Sender: No OFD packet to send [06:35:52]OFD Sender: No OFD packet to send [06:35:57]OFD Sender: No OFD packet to send [06:36:02]OFD Sender: No OFD packet to send [06:36:07]OFD Sender: No OFD packet to send [06:36:12]OFD Sender: No OFD packet to send [06:36:17]OFD Sender: No OFD packet to send [06:36:22]OFD Sender: No OFD packet to send [06:36:27]OFD Sender: No OFD packet to send [06:36:32]OFD Sender: No OFD packet to send [06:36:37]OFD Sender: No OFD packet to send [06:36:42]OFD Sender: No OFD packet to send [06:36:47]OFD Sender: No OFD packet to send [06:36:52]OFD Sender: No OFD packet to send [06:36:57]OFD Sender: No OFD packet to send [06:37:02]OFD Sender: No OFD packet to send [06:37:07]OFD Sender: No OFD packet to send [06:37:12]OFD Sender: No OFD packet to send [06:37:17]OFD Sender: No OFD packet to send [06:37:22]OFD Sender: No OFD packet to send [06:37:27]OFD Sender: No OFD packet to send [06:37:32]OFD Sender: No OFD packet to send [06:37:37]OFD Sender: No OFD packet to send [06:37:42]OFD Sender: No OFD packet to send [06:37:47]OFD Sender: No OFD packet to send [06:37:52]OFD Sender: No OFD packet to send [06:37:57]OFD Sender: No OFD packet to send [06:38:02]OFD Sender: No OFD packet to send [06:38:07]OFD Sender: No OFD packet to send [06:38:12]OFD Sender: No OFD packet to send [06:38:17]OFD Sender: No OFD packet to send [06:38:22]OFD Sender: No OFD packet to send [06:38:27]OFD Sender: No OFD packet to send [06:38:32]OFD Sender: No OFD packet to send [06:38:37]OFD Sender: No OFD packet to send [06:38:42]OFD Sender: No OFD packet to send [06:38:47]OFD Sender: No OFD packet to send [06:38:52]OFD Sender: No OFD packet to send [06:38:57]OFD Sender: No OFD packet to send [06:39:02]OFD Sender: No OFD packet to send [06:39:07]OFD Sender: No OFD packet to send [06:39:12]OFD Sender: No OFD packet to send [06:39:17]OFD Sender: No OFD packet to send [06:39:22]OFD Sender: No OFD packet to send [06:39:27]OFD Sender: No OFD packet to send [06:39:32]OFD Sender: No OFD packet to send [06:39:37]OFD Sender: No OFD packet to send [06:39:42]OFD Sender: No OFD packet to send [06:39:47]OFD Sender: No OFD packet to send [06:39:52]OFD Sender: No OFD packet to send [06:39:57]OFD Sender: No OFD packet to send [06:40:02]OFD Sender: No OFD packet to send [06:40:07]OFD Sender: No OFD packet to send [06:40:12]OFD Sender: No OFD packet to send [06:40:17]OFD Sender: No OFD packet to send [06:40:22]OFD Sender: No OFD packet to send [06:40:27]OFD Sender: No OFD packet to send [06:40:32]OFD Sender: No OFD packet to send [06:40:37]OFD Sender: No OFD packet to send [06:40:42]OFD Sender: No OFD packet to send [06:40:47]OFD Sender: No OFD packet to send [06:40:52]OFD Sender: No OFD packet to send [06:40:57]OFD Sender: No OFD packet to send [06:41:02]OFD Sender: No OFD packet to send [06:41:07]OFD Sender: No OFD packet to send [06:41:12]OFD Sender: No OFD packet to send [06:41:17]OFD Sender: No OFD packet to send [06:41:22]OFD Sender: No OFD packet to send [06:41:27]OFD Sender: No OFD packet to send [06:41:32]OFD Sender: No OFD packet to send [06:41:37]OFD Sender: No OFD packet to send [06:41:42]OFD Sender: No OFD packet to send [06:41:47]OFD Sender: No OFD packet to send [06:41:52]OFD Sender: No OFD packet to send [06:41:57]OFD Sender: No OFD packet to send [06:42:02]OFD Sender: No OFD packet to send [06:42:07]OFD Sender: No OFD packet to send [06:42:12]OFD Sender: No OFD packet to send [06:42:17]OFD Sender: No OFD packet to send [06:42:22]OFD Sender: No OFD packet to send [06:42:27]OFD Sender: No OFD packet to send [06:42:32]OFD Sender: No OFD packet to send [06:42:37]OFD Sender: No OFD packet to send [06:42:42]OFD Sender: No OFD packet to send [06:42:47]OFD Sender: No OFD packet to send [06:42:52]OFD Sender: No OFD packet to send [06:42:57]OFD Sender: No OFD packet to send [06:43:02]OFD Sender: No OFD packet to send [06:43:07]OFD Sender: No OFD packet to send [06:43:12]OFD Sender: No OFD packet to send [06:43:17]OFD Sender: No OFD packet to send [06:43:22]OFD Sender: No OFD packet to send [06:43:27]OFD Sender: No OFD packet to send [06:43:32]OFD Sender: No OFD packet to send [06:43:37]OFD Sender: No OFD packet to send [06:43:42]OFD Sender: No OFD packet to send [06:43:47]OFD Sender: No OFD packet to send [06:43:52]OFD Sender: No OFD packet to send [06:43:57]OFD Sender: No OFD packet to send [06:44:02]OFD Sender: No OFD packet to send [06:44:07]OFD Sender: No OFD packet to send [06:44:12]OFD Sender: No OFD packet to send [06:44:17]OFD Sender: No OFD packet to send [06:44:22]OFD Sender: No OFD packet to send [06:44:27]OFD Sender: No OFD packet to send [06:44:32]OFD Sender: No OFD packet to send [06:44:37]OFD Sender: No OFD packet to send [06:44:42]OFD Sender: No OFD packet to send [06:44:47]OFD Sender: No OFD packet to send [06:44:52]OFD Sender: No OFD packet to send [06:44:57]OFD Sender: No OFD packet to send [06:45:02]OFD Sender: No OFD packet to send [06:45:07]OFD Sender: No OFD packet to send [06:45:12]OFD Sender: No OFD packet to send [06:45:17]OFD Sender: No OFD packet to send [06:45:22]OFD Sender: No OFD packet to send [06:45:27]OFD Sender: No OFD packet to send [06:45:32]OFD Sender: No OFD packet to send [06:45:37]OFD Sender: No OFD packet to send [06:45:42]OFD Sender: No OFD packet to send [06:45:47]OFD Sender: No OFD packet to send [06:45:52]OFD Sender: No OFD packet to send [06:45:57]OFD Sender: No OFD packet to send [06:46:02]OFD Sender: No OFD packet to send [06:46:07]OFD Sender: No OFD packet to send [06:46:12]OFD Sender: No OFD packet to send [06:46:17]OFD Sender: No OFD packet to send [06:46:22]OFD Sender: No OFD packet to send [06:46:27]OFD Sender: No OFD packet to send [06:46:32]OFD Sender: No OFD packet to send [06:46:37]OFD Sender: No OFD packet to send [06:46:42]OFD Sender: No OFD packet to send [06:46:47]OFD Sender: No OFD packet to send [06:46:52]OFD Sender: No OFD packet to send [06:46:57]OFD Sender: No OFD packet to send [06:47:02]OFD Sender: No OFD packet to send [06:47:07]OFD Sender: No OFD packet to send [06:47:12]OFD Sender: No OFD packet to send [06:47:17]OFD Sender: No OFD packet to send [06:47:22]OFD Sender: No OFD packet to send [06:47:27]OFD Sender: No OFD packet to send [06:47:32]OFD Sender: No OFD packet to send [06:47:37]OFD Sender: No OFD packet to send [06:47:42]OFD Sender: No OFD packet to send [06:47:47]OFD Sender: No OFD packet to send [06:47:52]OFD Sender: No OFD packet to send [06:47:57]OFD Sender: No OFD packet to send [06:48:02]OFD Sender: No OFD packet to send [06:48:07]OFD Sender: No OFD packet to send [06:48:12]OFD Sender: No OFD packet to send [06:48:17]OFD Sender: No OFD packet to send [06:48:22]OFD Sender: No OFD packet to send [06:48:27]OFD Sender: No OFD packet to send [06:48:32]OFD Sender: No OFD packet to send [06:48:37]OFD Sender: No OFD packet to send [06:48:42]OFD Sender: No OFD packet to send [06:48:47]OFD Sender: No OFD packet to send [06:48:52]OFD Sender: No OFD packet to send [06:48:57]OFD Sender: No OFD packet to send [06:49:02]OFD Sender: No OFD packet to send [06:49:07]OFD Sender: No OFD packet to send [06:49:12]OFD Sender: No OFD packet to send [06:49:17]OFD Sender: No OFD packet to send [06:49:22]OFD Sender: No OFD packet to send [06:49:27]OFD Sender: No OFD packet to send [06:49:32]OFD Sender: No OFD packet to send [06:49:37]OFD Sender: No OFD packet to send [06:49:42]OFD Sender: No OFD packet to send [06:49:47]OFD Sender: No OFD packet to send [06:49:52]OFD Sender: No OFD packet to send [06:49:57]OFD Sender: No OFD packet to send [06:50:02]OFD Sender: No OFD packet to send [06:50:07]OFD Sender: No OFD packet to send [06:50:12]OFD Sender: No OFD packet to send [06:50:17]OFD Sender: No OFD packet to send [06:50:22]OFD Sender: No OFD packet to send [06:50:27]OFD Sender: No OFD packet to send [06:50:32]OFD Sender: No OFD packet to send [06:50:37]OFD Sender: No OFD packet to send [06:50:42]OFD Sender: No OFD packet to send [06:50:47]OFD Sender: No OFD packet to send [06:50:52]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:13]OFD Sender: No OFD packet to send [06:56:18]OFD Sender: No OFD packet to send [06:56:23]OFD Sender: No OFD packet to send [06:56:28]OFD Sender: No OFD packet to send [06:56:33]OFD Sender: No OFD packet to send [06:56:38]OFD Sender: No OFD packet to send [06:56:43]OFD Sender: No OFD packet to send [06:56:48]OFD Sender: No OFD packet to send [06:56:53]OFD Sender: No OFD packet to send [06:56:58]OFD Sender: No OFD packet to send [06:57:03]OFD Sender: No OFD packet to send [06:57:08]OFD Sender: No OFD packet to send [06:57:13]OFD Sender: No OFD packet to send [06:57:18]OFD Sender: No OFD packet to send [06:57:23]OFD Sender: No OFD packet to send [06:57:28]OFD Sender: No OFD packet to send [06:57:33]OFD Sender: No OFD packet to send [06:57:38]OFD Sender: No OFD packet to send [06:57:43]OFD Sender: No OFD packet to send [06:57:48]OFD Sender: No OFD packet to send [06:57:53]OFD Sender: No OFD packet to send [06:57:58]OFD Sender: No OFD packet to send [06:58:03]OFD Sender: No OFD packet to send [06:58:08]OFD Sender: No OFD packet to send [06:58:13]OFD Sender: No OFD packet to send [06:58:18]OFD Sender: No OFD packet to send [06:58:23]OFD Sender: No OFD packet to send [06:58:28]OFD Sender: No OFD packet to send [06:58:33]OFD Sender: No OFD packet to send [06:58:38]OFD Sender: No OFD packet to send [06:58:43]OFD Sender: No OFD packet to send [06:58:48]OFD Sender: No OFD packet to send [06:58:53]OFD Sender: No OFD packet to send [06:58:58]OFD Sender: No OFD packet to send [06:59:03]OFD Sender: No OFD packet to send [06:59:08]OFD Sender: No OFD packet to send [06:59:13]OFD Sender: No OFD packet to send [06:59:18]OFD Sender: No OFD packet to send [06:59:23]OFD Sender: No OFD packet to send [06:59:28]OFD Sender: No OFD packet to send [06:59:33]OFD Sender: No OFD packet to send [06:59:38]OFD Sender: No OFD packet to send [06:59:43]OFD Sender: No OFD packet to send [06:59:48]OFD Sender: No OFD packet to send [06:59:53]OFD Sender: No OFD packet to send [06:59:58]OFD Sender: No OFD packet to send [07:00:03]OFD Sender: No OFD packet to send [07:00:08]OFD Sender: No OFD packet to send [07:00:13]OFD Sender: No OFD packet to send [07:00:18]OFD Sender: No OFD packet to send [07:00:23]OFD Sender: No OFD packet to send [07:00:28]OFD Sender: No OFD packet to send [07:00:33]OFD Sender: No OFD packet to send [07:00:38]OFD Sender: No OFD packet to send [07:00:43]OFD Sender: No OFD packet to send [07:00:48]OFD Sender: No OFD packet to send [07:00:53]OFD Sender: No OFD packet to send [07:00:58]OFD Sender: No OFD packet to send [07:01:03]OFD Sender: No OFD packet to send [07:01:08]OFD Sender: No OFD packet to send [07:01:13]OFD Sender: No OFD packet to send [07:01:18]OFD Sender: No OFD packet to send [07:01:23]OFD Sender: No OFD packet to send [07:01:28]OFD Sender: No OFD packet to send [07:01:33]OFD Sender: No OFD packet to send [07:01:38]OFD Sender: No OFD packet to send [07:01:43]OFD Sender: No OFD packet to send [07:01:48]OFD Sender: No OFD packet to send [07:01:53]OFD Sender: No OFD packet to send [07:01:58]OFD Sender: No OFD packet to send [07:02:03]OFD Sender: No OFD packet to send [07:02:08]OFD Sender: No OFD packet to send [07:02:13]OFD Sender: No OFD packet to send [07:02:18]OFD Sender: No OFD packet to send [07:02:23]OFD Sender: No OFD packet to send [07:02:28]OFD Sender: No OFD packet to send [07:02:33]OFD Sender: No OFD packet to send [07:02:38]OFD Sender: No OFD packet to send [07:02:43]OFD Sender: No OFD packet to send [07:02:48]OFD Sender: No OFD packet to send [07:02:53]OFD Sender: No OFD packet to send [07:02:58]OFD Sender: No OFD packet to send [07:03:03]OFD Sender: No OFD packet to send [07:03:08]OFD Sender: No OFD packet to send [07:03:13]OFD Sender: No OFD packet to send [07:03:18]OFD Sender: No OFD packet to send [07:03:23]OFD Sender: No OFD packet to send [07:03:28]OFD Sender: No OFD packet to send [07:03:33]OFD Sender: No OFD packet to send [07:03:38]OFD Sender: No OFD packet to send [07:03:43]OFD Sender: No OFD packet to send [07:03:48]OFD Sender: No OFD packet to send [07:03:53]OFD Sender: No OFD packet to send [07:03:58]OFD Sender: No OFD packet to send [07:04:03]OFD Sender: No OFD packet to send [07:04:08]OFD Sender: No OFD packet to send [07:04:13]OFD Sender: No OFD packet to send [07:04:18]OFD Sender: No OFD packet to send [07:04:23]OFD Sender: No OFD packet to send [07:04:28]OFD Sender: No OFD packet to send [07:04:33]OFD Sender: No OFD packet to send [07:04:38]OFD Sender: No OFD packet to send [07:04:43]OFD Sender: No OFD packet to send [07:04:48]OFD Sender: No OFD packet to send [07:04:53]OFD Sender: No OFD packet to send [07:04:58]OFD Sender: No OFD packet to send [07:05:03]OFD Sender: No OFD packet to send [07:05:08]OFD Sender: No OFD packet to send [07:05:13]OFD Sender: No OFD packet to send [07:05:18]OFD Sender: No OFD packet to send [07:05:23]OFD Sender: No OFD packet to send [07:05:28]OFD Sender: No OFD packet to send [07:05:33]OFD Sender: No OFD packet to send [07:05:38]OFD Sender: No OFD packet to send [07:05:43]OFD Sender: No OFD packet to send [07:05:48]OFD Sender: No OFD packet to send [07:05:53]OFD Sender: No OFD packet to send [07:05:58]OFD Sender: No OFD packet to send [07:06:03]OFD Sender: No OFD packet to send [07:06:08]OFD Sender: No OFD packet to send [07:06:13]OFD Sender: No OFD packet to send [07:06:18]OFD Sender: No OFD packet to send [07:06:23]OFD Sender: No OFD packet to send [07:06:28]OFD Sender: No OFD packet to send [07:06:33]OFD Sender: No OFD packet to send [07:06:38]OFD Sender: No OFD packet to send [07:06:43]OFD Sender: No OFD packet to send [07:06:48]OFD Sender: No OFD packet to send [07:06:53]OFD Sender: No OFD packet to send [07:06:58]OFD Sender: No OFD packet to send [07:07:03]OFD Sender: No OFD packet to send [07:07:08]OFD Sender: No OFD packet to send [07:07:13]OFD Sender: No OFD packet to send [07:07:18]OFD Sender: No OFD packet to send [07:07:23]OFD Sender: No OFD packet to send [07:07:28]OFD Sender: No OFD packet to send [07:07:33]OFD Sender: No OFD packet to send [07:07:38]OFD Sender: No OFD packet to send [07:07:43]OFD Sender: No OFD packet to send [07:07:48]OFD Sender: No OFD packet to send [07:07:53]OFD Sender: No OFD packet to send [07:07:58]OFD Sender: No OFD packet to send [07:08:03]OFD Sender: No OFD packet to send [07:08:08]OFD Sender: No OFD packet to send [07:08:13]OFD Sender: No OFD packet to send [07:08:18]OFD Sender: No OFD packet to send [07:08:23]OFD Sender: No OFD packet to send [07:08:28]OFD Sender: No OFD packet to send [07:08:33]OFD Sender: No OFD packet to send [07:08:38]OFD Sender: No OFD packet to send [07:08:43]OFD Sender: No OFD packet to send [07:08:48]OFD Sender: No OFD packet to send [07:08:53]OFD Sender: No OFD packet to send [07:08:58]OFD Sender: No OFD packet to send [07:09:03]OFD Sender: No OFD packet to send [07:09:08]OFD Sender: No OFD packet to send [07:09:13]OFD Sender: No OFD packet to send [07:09:18]OFD Sender: No OFD packet to send [07:09:23]OFD Sender: No OFD packet to send [07:09:28]OFD Sender: No OFD packet to send [07:09:33]OFD Sender: No OFD packet to send [07:09:38]OFD Sender: No OFD packet to send [07:09:43]OFD Sender: No OFD packet to send [07:09:48]OFD Sender: No OFD packet to send [07:09:53]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13:34]OFD Sender: No OFD packet to send [07:13:39]OFD Sender: No OFD packet to send [07:13:44]OFD Sender: No OFD packet to send [07:13:49]OFD Sender: No OFD packet to send [07:13:54]OFD Sender: No OFD packet to send [07:13:59]OFD Sender: No OFD packet to send [07:14:04]OFD Sender: No OFD packet to send [07:14:09]OFD Sender: No OFD packet to send [07:14:14]OFD Sender: No OFD packet to send [07:14:19]OFD Sender: No OFD packet to send [07:14:24]OFD Sender: No OFD packet to send [07:14:29]OFD Sender: No OFD packet to send [07:14:34]OFD Sender: No OFD packet to send [07:14:39]OFD Sender: No OFD packet to send [07:14:44]OFD Sender: No OFD packet to send [07:14:49]OFD Sender: No OFD packet to send [07:14:54]OFD Sender: No OFD packet to send [07:14:59]OFD Sender: No OFD packet to send [07:15:04]OFD Sender: No OFD packet to send [07:15:09]OFD Sender: No OFD packet to send [07:15:14]OFD Sender: No OFD packet to send [07:15:19]OFD Sender: No OFD packet to send [07:15:24]OFD Sender: No OFD packet to send [07:15:29]OFD Sender: No OFD packet to send [07:15:34]OFD Sender: No OFD packet to send [07:15:39]OFD Sender: No OFD packet to send [07:15:44]OFD Sender: No OFD packet to send [07:15:49]OFD Sender: No OFD packet to send [07:15:54]OFD Sender: No OFD packet to send [07:15:59]OFD Sender: No OFD packet to send [07:16:04]OFD Sender: No OFD packet to send [07:16:09]OFD Sender: No OFD packet to send [07:16:14]OFD Sender: No OFD packet to send [07:16:19]OFD Sender: No OFD packet to send [07:16:24]OFD Sender: No OFD packet to send [07:16:29]OFD Sender: No OFD packet to send [07:16:34]OFD Sender: No OFD packet to send [07:16:39]OFD Sender: No OFD packet to send [07:16:44]OFD Sender: No OFD packet to send [07:16:49]OFD Sender: No OFD packet to send [07:16:54]OFD Sender: No OFD packet to send [07:16:59]OFD Sender: No OFD packet to send [07:17:04]OFD Sender: No OFD packet to send [07:17:09]OFD Sender: No OFD packet to send [07:17:14]OFD Sender: No OFD packet to send [07:17:19]OFD Sender: No OFD packet to send [07:17:24]OFD Sender: No OFD packet to send [07:17:29]OFD Sender: No OFD packet to send [07:17:34]OFD Sender: No OFD packet to send [07:17:39]OFD Sender: No OFD packet to send [07:17:44]OFD Sender: No OFD packet to send [07:17:49]OFD Sender: No OFD packet to send [07:17:54]OFD Sender: No OFD packet to send [07:17:59]OFD Sender: No OFD packet to send [07:18:04]OFD Sender: No OFD packet to send [07:18:09]OFD Sender: No OFD packet to send [07:18:14]OFD Sender: No OFD packet to send [07:18:19]OFD Sender: No OFD packet to send [07:18:24]OFD Sender: No OFD packet to send [07:18:29]OFD Sender: No OFD packet to send [07:18:34]OFD Sender: No OFD packet to send [07:18:39]OFD Sender: No OFD packet to send [07:18:44]OFD Sender: No OFD packet to send [07:18:49]OFD Sender: No OFD packet to send [07:18:54]OFD Sender: No OFD packet to send [07:18:59]OFD Sender: No OFD packet to send [07:19:04]OFD Sender: No OFD packet to send [07:19:09]OFD Sender: No OFD packet to send [07:19:14]OFD Sender: No OFD packet to send [07:19:19]OFD Sender: No OFD packet to send [07:19:24]OFD Sender: No OFD packet to send [07:19:29]OFD Sender: No OFD packet to send [07:19:34]OFD Sender: No OFD packet to send [07:19:39]OFD Sender: No OFD packet to send [07:19:44]OFD Sender: No OFD packet to send [07:19:49]OFD Sender: No OFD packet to send [07:19:54]OFD Sender: No OFD packet to send [07:19:59]OFD Sender: No OFD packet to send [07:20:04]OFD Sender: No OFD packet to send [07:20:09]OFD Sender: No OFD packet to send [07:20:14]OFD Sender: No OFD packet to send [07:20:19]OFD Sender: No OFD packet to send [07:20:24]OFD Sender: No OFD packet to send [07:20:29]OFD Sender: No OFD packet to send [07:20:34]OFD Sender: No OFD packet to send [07:20:39]OFD Sender: No OFD packet to send [07:20:44]OFD Sender: No OFD packet to send [07:20:49]OFD Sender: No OFD packet to send [07:20:54]OFD Sender: No OFD packet to send [07:20:59]OFD Sender: No OFD packet to send [07:21:04]OFD Sender: No OFD packet to send [07:21:09]OFD Sender: No OFD packet to send [07:21:14]OFD Sender: No OFD packet to send [07:21:19]OFD Sender: No OFD packet to send [07:21:24]OFD Sender: No OFD packet to send [07:21:29]OFD Sender: No OFD packet to send [07:21:34]OFD Sender: No OFD packet to send [07:21:39]OFD Sender: No OFD packet to send [07:21:44]OFD Sender: No OFD packet to send [07:21:49]OFD Sender: No OFD packet to send [07:21:54]OFD Sender: No OFD packet to send [07:21:59]OFD Sender: No OFD packet to send [07:22:04]OFD Sender: No OFD packet to send [07:22:09]OFD Sender: No OFD packet to send [07:22:14]OFD Sender: No OFD packet to send [07:22:19]OFD Sender: No OFD packet to send [07:22:24]OFD Sender: No OFD packet to send [07:22:29]OFD Sender: No OFD packet to send [07:22:34]OFD Sender: No OFD packet to send [07:22:39]OFD Sender: No OFD packet to send [07:22:44]OFD Sender: No OFD packet to send [07:22:49]OFD Sender: No OFD packet to send [07:22:54]OFD Sender: No OFD packet to send [07:22:59]OFD Sender: No OFD packet to send [07:23:04]OFD Sender: No OFD packet to send [07:23:09]OFD Sender: No OFD packet to send [07:23:14]OFD Sender: No OFD packet to send [07:23:19]OFD Sender: No OFD packet to send [07:23:24]OFD Sender: No OFD packet to send [07:23:29]OFD Sender: No OFD packet to send [07:23:34]OFD Sender: No OFD packet to send [07:23:39]OFD Sender: No OFD packet to send [07:23:44]OFD Sender: No OFD packet to send [07:23:49]OFD Sender: No OFD packet to send [07:23:54]OFD Sender: No OFD packet to send [07:23:59]OFD Sender: No OFD packet to send [07:24:04]OFD Sender: No OFD packet to send [07:24:09]OFD Sender: No OFD packet to send [07:24:14]OFD Sender: No OFD packet to send [07:24:19]OFD Sender: No OFD packet to send [07:24:24]OFD Sender: No OFD packet to send [07:24:29]OFD Sender: No OFD packet to send [07:24:34]OFD Sender: No OFD packet to send [07:24:39]OFD Sender: No OFD packet to send [07:24:44]OFD Sender: No OFD packet to send [07:24:49]OFD Sender: No OFD packet to send [07:24:54]OFD Sender: No OFD packet to send [07:24:59]OFD Sender: No OFD packet to send [07:25:04]OFD Sender: No OFD packet to send [07:25:09]OFD Sender: No OFD packet to send [07:25:14]OFD Sender: No OFD packet to send [07:25:19]OFD Sender: No OFD packet to send [07:25:24]OFD Sender: No OFD packet to send [07:25:29]OFD Sender: No OFD packet to send [07:25:34]OFD Sender: No OFD packet to send [07:25:39]OFD Sender: No OFD packet to send [07:25:44]OFD Sender: No OFD packet to send [07:25:49]OFD Sender: No OFD packet to send [07:25:54]OFD Sender: No OFD packet to send [07:25:59]OFD Sender: No OFD packet to send [07:26:04]OFD Sender: No OFD packet to send [07:26:09]OFD Sender: No OFD packet to send [07:26:14]OFD Sender: No OFD packet to send [07:26:19]OFD Sender: No OFD packet to send [07:26:24]OFD Sender: No OFD packet to send [07:26:29]OFD Sender: No OFD packet to send [07:26:34]OFD Sender: No OFD packet to send [07:26:39]OFD Sender: No OFD packet to send [07:26:44]OFD Sender: No OFD packet to send [07:26:49]OFD Sender: No OFD packet to send [07:26:54]OFD Sender: No OFD packet to send [07:26:59]OFD Sender: No OFD packet to send [07:27:04]OFD Sender: No OFD packet to send [07:27:09]OFD Sender: No OFD packet to send [07:27:14]OFD Sender: No OFD packet to send [07:27:19]OFD Sender: No OFD packet to send [07:27:24]OFD Sender: No OFD packet to send [07:27:29]OFD Sender: No OFD packet to send [07:27:34]OFD Sender: No OFD packet to send [07:27:39]OFD Sender: No OFD packet to send [07:27:44]OFD Sender: No OFD packet to send [07:27:49]OFD Sender: No OFD packet to send [07:27:54]OFD Sender: No OFD packet to send [07:27:59]OFD Sender: No OFD packet to send [07:28:04]OFD Sender: No OFD packet to send [07:28:09]OFD Sender: No OFD packet to send [07:28:14]OFD Sender: No OFD packet to send [07:28:19]OFD Sender: No OFD packet to send [07:28:24]OFD Sender: No OFD packet to send [07:28:29]OFD Sender: No OFD packet to send [07:28:34]OFD Sender: No OFD packet to send [07:28:39]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:10]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:00]OFD Sender: No OFD packet to send [07:40:05]OFD Sender: No OFD packet to send [07:40:10]OFD Sender: No OFD packet to send [07:40:15]OFD Sender: No OFD packet to send [07:40:20]OFD Sender: No OFD packet to send [07:40:25]OFD Sender: No OFD packet to send [07:40:30]OFD Sender: No OFD packet to send [07:40:35]OFD Sender: No OFD packet to send [07:40:40]OFD Sender: No OFD packet to send [07:40:45]OFD Sender: No OFD packet to send [07:40:50]OFD Sender: No OFD packet to send [07:40:55]OFD Sender: No OFD packet to send [07:41:00]OFD Sender: No OFD packet to send [07:41:05]OFD Sender: No OFD packet to send [07:41:10]OFD Sender: No OFD packet to send [07:41:15]OFD Sender: No OFD packet to send [07:41:20]OFD Sender: No OFD packet to send [07:41:25]OFD Sender: No OFD packet to send [07:41:30]OFD Sender: No OFD packet to send [07:41:35]OFD Sender: No OFD packet to send [07:41:40]OFD Sender: No OFD packet to send [07:41:45]OFD Sender: No OFD packet to send [07:41:50]OFD Sender: No OFD packet to send [07:41:55]OFD Sender: No OFD packet to send [07:42:00]OFD Sender: No OFD packet to send [07:42:05]OFD Sender: No OFD packet to send [07:42:10]OFD Sender: No OFD packet to send [07:42:15]OFD Sender: No OFD packet to send [07:42:20]OFD Sender: No OFD packet to send [07:42:25]OFD Sender: No OFD packet to send [07:42:30]OFD Sender: No OFD packet to send [07:42:35]OFD Sender: No OFD packet to send [07:42:40]OFD Sender: No OFD packet to send [07:42:45]OFD Sender: No OFD packet to send [07:42:46]accept exits with 7 [07:42:46]New connection [07:42:46]New thread 3067043172 created [07:42:46]Thread 3067186532 joined [07:42:46]Waiting for new connection... [07:42:46] Sock 7.Parse request [07:42:46]Sock 7.Check first char [07:42:46]Sock 7.First char is OK [07:42:46]request: POST /json_proto HTTP/1.0 [07:42:46]Method: POST [07:42:46]URL: /json_proto [07:42:46]Method is POST - this is cgi request [07:42:46]url: /json_proto [07:42:46]query_string will be loaded in cgi processing [07:42:46]execute_cgi json_proto POST (null) [07:42:46]execute_cgi path=json_proto method=POST [07:42:46]POST find Content-Length [07:42:46]Host: 172.17.40.196:8080 [07:42:46]Content-Length: 1404 [07:42:46]Content-Type: application/json [07:42:46] [07:42:46]POST finish read [07:42:46]Found Content-Length = 1404 [07:42:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35311", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 4.000, "sum" : 520.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745024", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Purpl", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 904.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:42:46]execute_script... [07:42: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)35311", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 4.000, "sum" : 520.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745024", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Purpl", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 904.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:42:46]POST & json_proto [07:42:46]process_json_proto [07:42:46]json parsed OK: [07:42:46]protocol is kg_v1.0 [07:42:46]action value=close_receipt [07:42:46]process_action close_receipt [07:42:46]cmd_close_receipt [07:42:46]MH_GetDate [07:42:46]Write to MH i2c: F0 00 00 AC 07 A2 [07:42:46]Write i2c OK [07:42:46]MH_I2C_Read... [07:42:46]Read from MH i2c: F0 [07:42:46]MH_I2C_Read... [07:42:46]Read from MH i2c: F0 09 00 [07:42:46]MH_I2C_Read... [07:42:46]Read from MH i2c: F0 09 00 AC 07 00 F9 34 23 67 5B 68 A1 66 2C [07:42:46]GetLastDocTimeStamp 1730356279 [07:42:46]current date 1730360569 [07:42:46]FM_GetShiftState [07:42:46]SAM_PROTO_GetShiftState [07:42:46]wFMCommunicate request_size=4 [07:42:46]MH_SAM_APDU [07:42:46]CAPDU: 80 13 01 00 [07:42:46]Write to MH i2c: E2 08 00 AD 07 80 13 01 00 00 00 00 00 31 [07:42:47]Write i2c OK [07:42:47]MH_I2C_Read... [07:42:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:42:47]Read from MH i2c: E2 [07:42:47]MH_I2C_Read... [07:42:47]Read from MH i2c: E2 0E 00 [07:42:47]MH_I2C_Read... [07:42:47]Read from MH i2c: E2 0E 00 AD 07 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 6B [07:42:47]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [07:42:47]wFMCommunicate OK [07:42:47]SAM_PROTO_GetShiftState done [07:42:47]FM_GetShiftState done [07:42:47]opened in 1730333148 [07:42:47]opened+sec_in_day 1730419548 [07:42:47]quantity*price = 12500 [07:42:47]sum+1 = 12501 [07:42:47]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 4.000 * 130.00 = 520.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48745024 Сигареты Winston Superslims Expand Purpl 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 904.00 НСП 1% : 8.00 НДС 12% : 95.99 Наличными: 904.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 22 31.10.2024 07:42 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38014 ФПД: 75629156448859 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T074249&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38014&fm=75629156448859&tin=02508201610067®Number=0000000000091684&sum=90400 0 [07:42:48]StoreToDocumentArchive [07:42:48]shift 554 fd 38014 [07:42:48]save to /storage/0554/doc_00038014 [07:42:48]save last doc name /storage/0554/doc_00038014 to /storage/kkm_last_doc_name [07:42:48]save OK [07:42:48]Clear old archive folders... [07:42:48]ProcessDocumentItem done err = 0, tmpTLVsize=615 [07:42:48]tlvbuf is 012E6920 [07:42:48]SAM_PROTO_ClearQueue [07:42:48]wFMCommunicate request_size=4 [07:42:48]MH_SAM_APDU [07:42:48]CAPDU: 80 09 00 00 [07:42:48]Write to MH i2c: E2 08 00 BA 07 80 09 00 00 00 00 00 00 33 [07:42:48]Write i2c OK [07:42:48]MH_I2C_Read... [07:42:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:42:48]Read from MH i2c: E2 [07:42:48]MH_I2C_Read... [07:42:48]Read from MH i2c: E2 03 00 [07:42:48]MH_I2C_Read... [07:42:48]Read from MH i2c: E2 03 00 BA 07 00 90 00 35 [07:42:48]RAPDU: 90 00 [07:42:48]wFMCommunicate OK [07:42:48]SAM_PROTO_ClearQueue done [07:42:48]KKMCreateOFDPacket [07:42:48]OFDProtocolAddRootSTLVToBuf [07:42:48]FM_MakeSignedData [07:42:48]FM_MakeSignedData [07:42:48]SAM_PROTO_SignData [07:42:48]wFMCommunicate request_size=4 [07:42:48]MH_SAM_APDU [07:42:48]CAPDU: 80 0D 01 02 [07:42:48]Write to MH i2c: E2 08 00 BB 07 80 0D 01 02 00 00 00 00 3B [07:42:48]Write i2c OK [07:42:48]MH_I2C_Read... [07:42:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:42:48]Read from MH i2c: E2 [07:42:48]MH_I2C_Read... [07:42:48]Read from MH i2c: E2 03 00 [07:42:48]MH_I2C_Read... [07:42:48]Read from MH i2c: E2 03 00 BB 07 00 90 00 36 [07:42:48]RAPDU: 90 00 [07:42:48]wFMCommunicate OK [07:42:48]wFMCommunicate request_size=255 [07:42:48]MH_SAM_APDU [07:42:48]CAPDU: 80 0D 02 02 FA 03 00 67 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 [07:42:48]Write to MH i2c: E2 02 01 BC 07 80 0D 02 02 FA 00 03 00 67 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 00 00 59 [07:42:48]Write i2c OK [07:42:48]MH_I2C_Read... [07:42:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:42:48]Read from MH i2c: E2 [07:42:48]MH_I2C_Read... [07:42:48]Read from MH i2c: E2 03 00 [07:42:48]MH_I2C_Read... [07:42:48]Read from MH i2c: E2 03 00 BC 07 00 90 00 37 [07:42:48]RAPDU: 90 00 [07:42:48]wFMCommunicate OK [07:42:48]wFMCommunicate request_size=255 [07:42:48]MH_SAM_APDU [07:42:48]CAPDU: 80 0D 02 02 FA 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 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 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C 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 20 61 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 [07:42:48]Write to MH i2c: E2 02 01 BD 07 80 0D 02 02 FA 00 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 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 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C 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 20 61 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 1F [07:42:48]Write i2c OK [07:42:48]MH_I2C_Read... [07:42:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:42:48]Read from MH i2c: E2 [07:42:48]MH_I2C_Read... [07:42:48]Read from MH i2c: E2 03 00 [07:42:48]MH_I2C_Read... [07:42:48]Read from MH i2c: E2 03 00 BD 07 00 90 00 38 [07:42:48]RAPDU: 90 00 [07:42:48]wFMCommunicate OK [07:42:48]wFMCommunicate request_size=124 [07:42:48]MH_SAM_APDU [07:42:48]CAPDU: 80 0D 02 02 77 7F 25 00 00 00 00 07 04 06 00 20 61 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 F9 34 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7E 94 00 00 35 04 06 00 44 C8 C9 01 3A 5B [07:42:48]Write to MH i2c: E2 7F 00 BE 07 80 0D 02 02 77 00 7F 25 00 00 00 00 07 04 06 00 20 61 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 F9 34 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7E 94 00 00 35 04 06 00 44 C8 C9 01 3A 5B 00 00 03 [07:42:48]Write i2c OK [07:42:48]MH_I2C_Read... [07:42:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:42:49]Read from MH i2c: E2 [07:42:49]MH_I2C_Read... [07:42:49]Read from MH i2c: E2 03 00 [07:42:49]MH_I2C_Read... [07:42:49]Read from MH i2c: E2 03 00 BE 07 00 90 00 39 [07:42:49]RAPDU: 90 00 [07:42:49]wFMCommunicate OK [07:42:49]wFMCommunicate request_size=4 [07:42:49]MH_SAM_APDU [07:42:49]CAPDU: 80 0D 03 02 [07:42:49]Write to MH i2c: E2 08 00 BF 07 80 0D 03 02 00 00 00 00 41 [07:42:49]Write i2c OK [07:42:49]MH_I2C_Read... [07:42:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:42:49]Read from MH i2c: E2 [07:42:49]MH_I2C_Read... [07:42:49]Read from MH i2c: E2 0B 00 [07:42:49]MH_I2C_Read... [07:42:49]Read from MH i2c: E2 0B 00 BF 07 00 51 44 B1 7E 01 19 CC 3D 90 00 29 [07:42:49]RAPDU: 51 44 B1 7E 01 19 CC 3D 90 00 [07:42:49]wFMCommunicate OK [07:42:49]SAM_PROTO_SignData done [07:42:49]FM_MakeSignedData done [07:42:49]CreateOFDProtocolMessage [07:42:49]wFMCommunicate request_size=4 [07:42:49]MH_SAM_APDU [07:42:49]CAPDU: 80 11 00 00 [07:42:49]Write to MH i2c: E2 08 00 C0 07 80 11 00 00 00 00 00 00 41 [07:42:49]Write i2c OK [07:42:49]MH_I2C_Read... [07:42:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:42:49]Read from MH i2c: E2 [07:42:49]MH_I2C_Read... [07:42:49]Read from MH i2c: E2 17 00 [07:42:49]MH_I2C_Read... [07:42:49]Read from MH i2c: E2 17 00 C0 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 91 [07:42:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:42:49]wFMCommunicate OK [07:42:49]CreateOFDProtocolMessage done [07:42:49]OFDSenderStorePacket 38014 [07:42:49]StoreOFDPacket docnum=38014 [07:42:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 7B 02 00 00 A7 16 73 02 8B 5D 5A 03 01 00 03 00 67 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 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 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C 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 20 61 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 25 00 00 00 00 07 04 06 00 20 61 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 F9 34 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7E 94 00 00 35 04 06 00 44 C8 C9 01 3A 5B 51 44 B1 7E 01 19 CC 3D [07:42:49]CheckFolder [07:42:49]dirname=/storage/ofd_packets [07:42:49]CheckFolder done [07:42:49]ProducePacketName [07:42:49]name=ofd_packets/00038014 [07:42:49]NVStorageSaveData ofd_packets/00038014 [07:42:49]File name is /storage/ofd_packets/00038014 [07:42:49]Write 665 bytes [07:42:49]NVStorageSaveData done [07:42:49]OFDSenderStorePacket done [07:42:49]KKMCreateOFDPacket done [07:42:49]NVStorageSaveData kkm_last_timestamp [07:42:49]File name is /storage/kkm_last_timestamp [07:42:49]Write 4 bytes [07:42:49]NVStorageSaveData done [07:42:49]ExternCall_PrintAddStr [07:42:49]wPrintStart [07:42:49]Write to MH i2c: 01 00 00 C1 07 C8 [07:42:49]Write i2c OK [07:42:49]MH_I2C_Read... [07:42:49]Read from MH i2c: 01 [07:42:49]MH_I2C_Read... [07:42:49]Read from MH i2c: 01 07 00 [07:42:49]MH_I2C_Read... [07:42:49]Read from MH i2c: 01 07 00 C1 07 00 00 00 00 00 FF 0F DD [07:42:49]RasterBufferAndPrint [07:42:49]line Счет N : (3)35311 [07:42:49]line ИНН: 02508201610067 [07:42:49]line Контрольно-Кассовый Чек [07:42:49]line ПРОДАЖА [07:42:49]line Товар: 2000036190018 [07:42:49]line Кофе Американо XL(GABB TRADE) [07:42:49]line 1.000 * 125.00 [07:42:49]line = 125.00 [07:42:49]line НДС 12% НСП 1% [07:42:49]line > о реализуемом товаре [07:42:49]line Товар: 2000036220012 [07:42:49]line Кофе Капучино XL(GABB TRADE) [07:42:49]line 4.000 * 130.00 [07:42:49]line = 520.00 [07:42:49]line НДС 12% НСП 1% [07:42:49]line > о реализуемом товаре [07:42:49]line Товар: 2000036240010 [07:42:49]line Кофе Латте (GABB TRADE) [07:42:49]line 1.000 * 115.00 [07:42:49]line = 115.00 [07:42:49]line НДС 12% НСП 1% [07:42:49]line > о реализуемом товаре [07:42:49]line Товар: 48745024 [07:42:49]line Сигареты Winston Superslims Expand Purpl [07:42:49]line 1.000 * 144.00 [07:42:49]line = 144.00 [07:42:49]line НДС 12% НСП 1% [07:42:49]line > о реализуемом товаре [07:42:49]line ИТОГО: 904.00 [07:42:49]line НСП 1% : 8.00 [07:42:49]line НДС 12% : 95.99 [07:42:49]line Наличными: 904.00 [07:42:49]line Безнал.: 0.00 [07:42:49]line Место: АЗС № 126 "Партнер Нефть" [07:42:49]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [07:42:49]line СНО: Общий режим [07:42:49]line Чек 22 31.10.2024 07:42 [07:42:49]line Смена: 554 ФФД: 1.0 [07:42:49]line ЗНМ: 0300000092 [07:42:49]line РНМ: 0000000000091684 [07:42:49]line Версия ККМ: 001 [07:42:49]line ФМ: 0000000000871841 [07:42:49]line ФД: 38014 [07:42:49]line ФПД: 75629156448859 [07:42:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T074249&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38014&fm=75629156448859&tin=02508201610067®Number=0000000000091684&sum=90400 [07:42:49]line 0 [07:42:49]OFD Sender: Processing packet 38014 [packets to send 42, broken 41] [07:42:49]ProducePacketName [07:42:49]name=ofd_packets/00038014 [07:42:49]OFD Sender: To server: pG, [07:42:49]CommunicateWithHost lk.salyk.kg:30040 [07:42:49]ConnectInit lk.salyk.kg [07:42:49]written 0, free lines is 4095 [07:42:50]Write to MH i2c: 01 00 00 FE 07 05 [07:42:50]Write i2c OK [07:42:50]MH_I2C_Read... [07:42:50]Read from MH i2c: 01 [07:42:50]MH_I2C_Read... [07:42:50]Read from MH i2c: 01 07 00 [07:42:50]MH_I2C_Read... [07:42:50]Read from MH i2c: 01 07 00 FE 07 00 00 00 00 00 6A 0B 81 [07:42:50]RasterBufferAndPrint [07:42:50]line [07:42:50]line [07:42:50]line [07:42:50]line [07:42:50]line [07:42:50]written 0, free lines is 2927 [07:42:50]MH_Cut [07:42:50]Write to MH i2c: D1 01 00 05 08 01 DF [07:42:50]Write i2c OK [07:42:50]MH_I2C_Read... [07:42:50]Read from MH i2c: D1 [07:42:50]MH_I2C_Read... [07:42:50]Read from MH i2c: D1 01 00 [07:42:50]MH_I2C_Read... [07:42:50]Read from MH i2c: D1 01 00 05 08 00 DE [07:42:50]Write to MH i2c: 01 00 00 06 08 0E [07:42:50]Write i2c OK [07:42:50]MH_I2C_Read... [07:42:51]*** Cut start [07:42:51]*** Partial cut [07:42:51]*** CUTSNS_PIN = 1 [07:42:51]*** CUTSNS_PIN = 0 [07:42:51]Connected sock=11 [07:42: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 38 34 31 7B 02 00 00 A7 16 73 02 8B 5D 5A 03 01 00 03 00 67 02 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 20 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 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 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C 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 20 61 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 25 00 00 00 00 07 04 06 00 20 61 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 F9 34 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7E 94 00 00 35 04 06 00 44 C8 C9 01 3A 5B 51 44 B1 7E 01 19 CC 3D [07:42:51]*** Brake cut motor [07:42:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C8 15 47 00 5B DE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 38 34 31 10 04 04 00 7E 94 00 00 F4 03 04 00 E7 DF 22 67 B6 04 01 00 00 0B 02 D1 32 64 A0 46 F2 [07:42:51]CommunicateWithHost err = 0 [07:42:51]CheckOFDResponse [07:42:51]1017 (14) - 77093643461234 [07:42:51]1041 (16) - 0000000000871841 [07:42:51]1040 (4) - 38014 [07:42:51]1012 (4) - 31.10.2024 01:39 [07:42:51]1206 (1) - 0 [07:42:51]OFD Sender: Remove packet 38014 [07:42:51]ProducePacketName [07:42:51]name=ofd_packets/00038014 [07:42:51]NVStorageDeleteData [07:42:51]Read from MH i2c: 01 [07:42:51]MH_I2C_Read... [07:42:51]*** Stop cut motor [07:42:51]*** Cut end [07:42:51]Read from MH i2c: 01 07 00 [07:42:51]MH_I2C_Read... [07:42:51]Read from MH i2c: 01 07 00 06 08 00 00 00 00 00 FF 0F 23 [07:42:51]process_action close_receipt done [07:42:51]requested_data is exist [07:42:51]produce_requested_data [07:42:51]requested_item fm.sn is exist - process it [07:42:51]wFMCommunicate request_size=4 [07:42:51]MH_SAM_APDU [07:42:51]CAPDU: 80 11 00 00 [07:42:51]Write to MH i2c: E2 08 00 07 08 80 11 00 00 00 00 00 00 89 [07:42:51]Write i2c OK [07:42:51]MH_I2C_Read... [07:42:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:42:51]Read from MH i2c: E2 [07:42:51]MH_I2C_Read... [07:42:51]Read from MH i2c: E2 17 00 [07:42:51]MH_I2C_Read... [07:42:51]Read from MH i2c: E2 17 00 07 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D9 [07:42:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:42:51]wFMCommunicate OK [07:42:51]requested_item fd.num is exist - process it [07:42:51]SAM_PROTO_GetFieldsCounters [07:42:51]wFMCommunicate request_size=4 [07:42:51]MH_SAM_APDU [07:42:51]CAPDU: 80 13 00 00 [07:42:51]Write to MH i2c: E2 08 00 08 08 80 13 00 00 00 00 00 00 8C [07:42:51]Write i2c OK [07:42:51]MH_I2C_Read... [07:42:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:42:52]Read from MH i2c: E2 [07:42:52]MH_I2C_Read... [07:42:52]Read from MH i2c: E2 62 00 [07:42:52]MH_I2C_Read... [07:42:52]Read from MH i2c: E2 62 00 08 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7E 94 00 00 0E 04 04 00 2A 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 2D [07:42:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7E 94 00 00 0E 04 04 00 2A 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 [07:42:52]wFMCommunicate OK [07:42:52]SAM_PROTO_GetFieldsCounters done [07:42:52]requested_item shift.num is exist - process it [07:42:52]requested_item shift.opened is exist - process it [07:42:52]req_shift_opened [07:42:52]FM_GetShiftState [07:42:52]SAM_PROTO_GetShiftState [07:42:52]wFMCommunicate request_size=4 [07:42:52]MH_SAM_APDU [07:42:52]CAPDU: 80 13 01 00 [07:42:52]Write to MH i2c: E2 08 00 09 08 80 13 01 00 00 00 00 00 8E [07:42:52]Write i2c OK [07:42:52]MH_I2C_Read... [07:42:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:42:52]Read from MH i2c: E2 [07:42:52]MH_I2C_Read... [07:42:52]Read from MH i2c: E2 0E 00 [07:42:52]MH_I2C_Read... [07:42:52]Read from MH i2c: E2 0E 00 09 08 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 C8 [07:42:52]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [07:42:52]wFMCommunicate OK [07:42:52]SAM_PROTO_GetShiftState done [07:42:52]FM_GetShiftState done [07:42:52]req_shift_opened done [07:42:52]requested_item shift.open_date is exist - process it [07:42:52]req_shift_open_date [07:42:52]req_shift_open_date done [07:42:52]produce_requested_data done [07:42:52]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38014,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [07:42:52]process_action_free close_receipt [07:42:52]json_value_free [07:42:52]json_value_free done [07:42:52]process_json_proto returns [07:42:52]Send response to host [07:42:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38014,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [07:42:52]free response buf [07:42:52]execute_script done [07:42:52]execute_script returns [07:42:52]free content buf [07:42:52]Sock 7.Close socket [07:42:52]Sock 7.Thread stoped [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]accept exits with 9 [07:44:17]New connection [07:44:17]New thread 3067186532 created [07:44:17]Thread 3067043172 joined [07:44:17]Waiting for new connection... [07:44:17] Sock 9.Parse request [07:44:17]Sock 9.Check first char [07:44:17]Sock 9.First char is OK [07:44:17]request: POST /json_proto HTTP/1.0 [07:44:17]Method: POST [07:44:17]URL: /json_proto [07:44:17]Method is POST - this is cgi request [07:44:17]url: /json_proto [07:44:17]query_string will be loaded in cgi processing [07:44:17]execute_cgi json_proto POST (null) [07:44:17]execute_cgi path=json_proto method=POST [07:44:17]POST find Content-Length [07:44:17]Host: 172.17.40.196:8080 [07:44:17]Content-Length: 644 [07:44:17]Content-Type: application/json [07:44:17] [07:44:17]POST finish read [07:44:17]Found Content-Length = 644 [07:44:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35312", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:44:17]execute_script... [07:44: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)35312", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:44:17]POST & json_proto [07:44:17]process_json_proto [07:44:17]json parsed OK: [07:44:17]protocol is kg_v1.0 [07:44:17]action value=close_receipt [07:44:17]process_action close_receipt [07:44:17]cmd_close_receipt [07:44:17]MH_GetDate [07:44:17]Write to MH i2c: F0 00 00 0A 08 01 [07:44:17]Write i2c OK [07:44:17]MH_I2C_Read... [07:44:17]Read from MH i2c: F0 [07:44:17]MH_I2C_Read... [07:44:17]Read from MH i2c: F0 09 00 [07:44:17]MH_I2C_Read... [07:44:17]Read from MH i2c: F0 09 00 0A 08 00 53 35 23 67 5B 68 A1 66 E6 [07:44:17]GetLastDocTimeStamp 1730360569 [07:44:17]current date 1730360659 [07:44:17]FM_GetShiftState [07:44:17]SAM_PROTO_GetShiftState [07:44:17]wFMCommunicate request_size=4 [07:44:17]MH_SAM_APDU [07:44:17]CAPDU: 80 13 01 00 [07:44:17]Write to MH i2c: E2 08 00 0B 08 80 13 01 00 00 00 00 00 90 [07:44:17]Write i2c OK [07:44:17]MH_I2C_Read... [07:44:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:44:17]Read from MH i2c: E2 [07:44:17]MH_I2C_Read... [07:44:17]Read from MH i2c: E2 0E 00 [07:44:17]MH_I2C_Read... [07:44:17]Read from MH i2c: E2 0E 00 0B 08 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 CA [07:44:17]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [07:44:17]wFMCommunicate OK [07:44:17]SAM_PROTO_GetShiftState done [07:44:17]FM_GetShiftState done [07:44:17]opened in 1730333148 [07:44:17]opened+sec_in_day 1730419548 [07:44:17]quantity*price = 6500 [07:44:17]sum+1 = 6501 [07:44:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 23 31.10.2024 07:44 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38015 ФПД: 33494958774427 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T074419&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38015&fm=33494958774427&tin=02508201610067®Number=0000000000091684&sum=6500 0 [07:44:18]StoreToDocumentArchive [07:44:18]shift 554 fd 38015 [07:44:18]save to /storage/0554/doc_00038015 [07:44:18]save last doc name /storage/0554/doc_00038015 to /storage/kkm_last_doc_name [07:44:18]save OK [07:44:18]Clear old archive folders... [07:44:18]ProcessDocumentItem done err = 0, tmpTLVsize=272 [07:44:18]tlvbuf is 012F6820 [07:44:18]SAM_PROTO_ClearQueue [07:44:18]wFMCommunicate request_size=4 [07:44:18]MH_SAM_APDU [07:44:18]CAPDU: 80 09 00 00 [07:44:18]Write to MH i2c: E2 08 00 18 08 80 09 00 00 00 00 00 00 92 [07:44:18]Write i2c OK [07:44:18]MH_I2C_Read... [07:44:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:44:18]Read from MH i2c: E2 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 03 00 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 03 00 18 08 00 90 00 94 [07:44:18]RAPDU: 90 00 [07:44:18]wFMCommunicate OK [07:44:18]SAM_PROTO_ClearQueue done [07:44:18]KKMCreateOFDPacket [07:44:18]OFDProtocolAddRootSTLVToBuf [07:44:18]FM_MakeSignedData [07:44:18]FM_MakeSignedData [07:44:18]SAM_PROTO_SignData [07:44:18]wFMCommunicate request_size=4 [07:44:18]MH_SAM_APDU [07:44:18]CAPDU: 80 0D 01 02 [07:44:18]Write to MH i2c: E2 08 00 19 08 80 0D 01 02 00 00 00 00 9A [07:44:18]Write i2c OK [07:44:18]MH_I2C_Read... [07:44:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:44:18]Read from MH i2c: E2 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 03 00 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 03 00 19 08 00 90 00 95 [07:44:18]RAPDU: 90 00 [07:44:18]wFMCommunicate OK [07:44:18]wFMCommunicate request_size=255 [07:44:18]MH_SAM_APDU [07:44:18]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 53 35 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [07:44:18]Write to MH i2c: E2 02 01 1A 08 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 53 35 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 3E [07:44:18]Write i2c OK [07:44:18]MH_I2C_Read... [07:44:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:44:18]Read from MH i2c: E2 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 03 00 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 03 00 1A 08 00 90 00 96 [07:44:18]RAPDU: 90 00 [07:44:18]wFMCommunicate OK [07:44:18]wFMCommunicate request_size=31 [07:44:18]MH_SAM_APDU [07:44:18]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 7F 94 00 00 35 04 06 00 1E 76 A7 1E 98 9B [07:44:18]Write to MH i2c: E2 22 00 1B 08 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 7F 94 00 00 35 04 06 00 1E 76 A7 1E 98 9B 00 00 64 [07:44:18]Write i2c OK [07:44:18]MH_I2C_Read... [07:44:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:44:18]Read from MH i2c: E2 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 03 00 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 03 00 1B 08 00 90 00 97 [07:44:18]RAPDU: 90 00 [07:44:18]wFMCommunicate OK [07:44:18]wFMCommunicate request_size=4 [07:44:18]MH_SAM_APDU [07:44:18]CAPDU: 80 0D 03 02 [07:44:18]Write to MH i2c: E2 08 00 1C 08 80 0D 03 02 00 00 00 00 9F [07:44:18]Write i2c OK [07:44:18]MH_I2C_Read... [07:44:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:44:18]Read from MH i2c: E2 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 0B 00 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 0B 00 1C 08 00 6C 2D 43 F1 2F 42 90 D1 90 00 3F [07:44:18]RAPDU: 6C 2D 43 F1 2F 42 90 D1 90 00 [07:44:18]wFMCommunicate OK [07:44:18]SAM_PROTO_SignData done [07:44:18]FM_MakeSignedData done [07:44:18]CreateOFDProtocolMessage [07:44:18]wFMCommunicate request_size=4 [07:44:18]MH_SAM_APDU [07:44:18]CAPDU: 80 11 00 00 [07:44:18]Write to MH i2c: E2 08 00 1D 08 80 11 00 00 00 00 00 00 9F [07:44:18]Write i2c OK [07:44:18]MH_I2C_Read... [07:44:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:44:18]Read from MH i2c: E2 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 17 00 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: E2 17 00 1D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EF [07:44:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:44:18]wFMCommunicate OK [07:44:18]CreateOFDProtocolMessage done [07:44:18]OFDSenderStorePacket 38015 [07:44:18]StoreOFDPacket docnum=38015 [07:44:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 C6 27 1C 01 5D 40 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 53 35 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7F 94 00 00 35 04 06 00 1E 76 A7 1E 98 9B 6C 2D 43 F1 2F 42 90 D1 [07:44:18]CheckFolder [07:44:18]dirname=/storage/ofd_packets [07:44:18]CheckFolder done [07:44:18]ProducePacketName [07:44:18]name=ofd_packets/00038015 [07:44:18]NVStorageSaveData ofd_packets/00038015 [07:44:18]File name is /storage/ofd_packets/00038015 [07:44:18]Write 322 bytes [07:44:18]NVStorageSaveData done [07:44:18]OFDSenderStorePacket done [07:44:18]KKMCreateOFDPacket done [07:44:18]NVStorageSaveData kkm_last_timestamp [07:44:18]File name is /storage/kkm_last_timestamp [07:44:18]Write 4 bytes [07:44:18]NVStorageSaveData done [07:44:18]ExternCall_PrintAddStr [07:44:18]wPrintStart [07:44:18]Write to MH i2c: 01 00 00 1E 08 26 [07:44:18]Write i2c OK [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: 01 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: 01 07 00 [07:44:18]MH_I2C_Read... [07:44:18]Read from MH i2c: 01 07 00 1E 08 00 00 00 00 00 FF 0F 3B [07:44:18]RasterBufferAndPrint [07:44:18]line Счет N : (3)35312 [07:44:18]line ИНН: 02508201610067 [07:44:18]line Контрольно-Кассовый Чек [07:44:18]line ПРОДАЖА [07:44:18]line Товар: 47011656 [07:44:18]line Водка Пшеничная 0,1л [07:44:18]line 1.000 * 65.00 [07:44:18]line = 65.00 [07:44:18]line НДС 12% НСП 1% [07:44:18]line > о реализуемом товаре [07:44:18]line ИТОГО: 65.00 [07:44:18]line НСП 1% : 0.57 [07:44:18]line НДС 12% : 6.90 [07:44:18]line Наличными: 65.00 [07:44:18]line Безнал.: 0.00 [07:44:18]line Место: АЗС № 126 "Партнер Нефть" [07:44:18]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [07:44:18]line СНО: Общий режим [07:44:18]line Чек 23 31.10.2024 07:44 [07:44:18]line Смена: 554 ФФД: 1.0 [07:44:18]line ЗНМ: 0300000092 [07:44:18]line РНМ: 0000000000091684 [07:44:18]line Версия ККМ: 001 [07:44:18]line ФМ: 0000000000871841 [07:44:18]line ФД: 38015 [07:44:18]line ФПД: 33494958774427 [07:44:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T074419&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38015&fm=33494958774427&tin=02508201610067®Number=0000000000091684&sum=6500 [07:44:19]OFD Sender: Processing packet 38015 [packets to send 42, broken 41] [07:44:19]ProducePacketName [07:44:19]name=ofd_packets/00038015 [07:44:19]OFD Sender: To server: pG, [07:44:19]CommunicateWithHost lk.salyk.kg:30040 [07:44:19]ConnectInit lk.salyk.kg [07:44:19]line 0 [07:44:19]written 0, free lines is 4095 [07:44:19]Connected sock=10 [07:44: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 38 34 31 24 01 00 00 C6 27 1C 01 5D 40 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 53 35 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7F 94 00 00 35 04 06 00 1E 76 A7 1E 98 9B 6C 2D 43 F1 2F 42 90 D1 [07:44:19]Write to MH i2c: 01 00 00 46 08 4E [07:44:19]Write i2c OK [07:44:19]MH_I2C_Read... [07:44:19]Read from MH i2c: 01 [07:44:19]MH_I2C_Read... [07:44:19]Read from MH i2c: 01 07 00 [07:44:19]MH_I2C_Read... [07:44:19]Read from MH i2c: 01 07 00 46 08 00 00 00 00 00 C8 0C 29 [07:44:19]RasterBufferAndPrint [07:44:19]line [07:44:19]line [07:44:19]line [07:44:19]line [07:44:19]line [07:44:19]written 0, free lines is 3277 [07:44:19]MH_Cut [07:44:19]Write to MH i2c: D1 01 00 4D 08 01 27 [07:44:19]Write i2c OK [07:44:19]MH_I2C_Read... [07:44:19]Read from MH i2c: D1 [07:44:19]MH_I2C_Read... [07:44:19]Read from MH i2c: D1 01 00 [07:44:19]MH_I2C_Read... [07:44:19]Read from MH i2c: D1 01 00 4D 08 00 26 [07:44:19]Write to MH i2c: 01 00 00 4E 08 56 [07:44:19]Write i2c OK [07:44:19]MH_I2C_Read... [07:44:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 65 44 47 00 88 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7F 94 00 00 F4 03 04 00 3F E0 22 67 B6 04 01 00 00 6B 9F DC EE 99 B5 67 DB [07:44:19]CommunicateWithHost err = 0 [07:44:19]CheckOFDResponse [07:44:19]1017 (14) - 77093643461234 [07:44:19]1041 (16) - 0000000000871841 [07:44:19]1040 (4) - 38015 [07:44:19]1012 (4) - 31.10.2024 01:41 [07:44:19]1206 (1) - 0 [07:44:19]OFD Sender: Remove packet 38015 [07:44:19]ProducePacketName [07:44:19]name=ofd_packets/00038015 [07:44:19]NVStorageDeleteData [07:44:20]*** Cut start [07:44:20]*** Partial cut [07:44:20]*** CUTSNS_PIN = 1 [07:44:20]OFD Sender: No OFD packet to send [07:44:20]*** CUTSNS_PIN = 0 [07:44:20]*** Brake cut motor [07:44:21]Read from MH i2c: 01 [07:44:21]MH_I2C_Read... [07:44:21]*** Stop cut motor [07:44:21]*** Cut end [07:44:21]Read from MH i2c: 01 07 00 [07:44:21]MH_I2C_Read... [07:44:21]Read from MH i2c: 01 07 00 4E 08 00 00 00 00 00 FF 0F 6B [07:44:21]process_action close_receipt done [07:44:21]requested_data is exist [07:44:21]produce_requested_data [07:44:21]requested_item fm.sn is exist - process it [07:44:21]wFMCommunicate request_size=4 [07:44:21]MH_SAM_APDU [07:44:21]CAPDU: 80 11 00 00 [07:44:21]Write to MH i2c: E2 08 00 4F 08 80 11 00 00 00 00 00 00 D1 [07:44:21]Write i2c OK [07:44:21]MH_I2C_Read... [07:44:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:44:21]Read from MH i2c: E2 [07:44:21]MH_I2C_Read... [07:44:21]Read from MH i2c: E2 17 00 [07:44:21]MH_I2C_Read... [07:44:21]Read from MH i2c: E2 17 00 4F 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 21 [07:44:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:44:21]wFMCommunicate OK [07:44:21]requested_item fd.num is exist - process it [07:44:21]SAM_PROTO_GetFieldsCounters [07:44:21]wFMCommunicate request_size=4 [07:44:21]MH_SAM_APDU [07:44:21]CAPDU: 80 13 00 00 [07:44:21]Write to MH i2c: E2 08 00 50 08 80 13 00 00 00 00 00 00 D4 [07:44:21]Write i2c OK [07:44:21]MH_I2C_Read... [07:44:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:44:21]Read from MH i2c: E2 [07:44:21]MH_I2C_Read... [07:44:21]Read from MH i2c: E2 62 00 [07:44:21]MH_I2C_Read... [07:44:21]Read from MH i2c: E2 62 00 50 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7F 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 79 [07:44:21]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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 7F 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:44:21]wFMCommunicate OK [07:44:21]SAM_PROTO_GetFieldsCounters done [07:44:21]requested_item shift.num is exist - process it [07:44:21]requested_item shift.opened is exist - process it [07:44:21]req_shift_opened [07:44:21]FM_GetShiftState [07:44:21]SAM_PROTO_GetShiftState [07:44:21]wFMCommunicate request_size=4 [07:44:21]MH_SAM_APDU [07:44:21]CAPDU: 80 13 01 00 [07:44:21]Write to MH i2c: E2 08 00 51 08 80 13 01 00 00 00 00 00 D6 [07:44:21]Write i2c OK [07:44:21]MH_I2C_Read... [07:44:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:44:21]Read from MH i2c: E2 [07:44:21]MH_I2C_Read... [07:44:21]Read from MH i2c: E2 0E 00 [07:44:21]MH_I2C_Read... [07:44:21]Read from MH i2c: E2 0E 00 51 08 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 10 [07:44:21]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [07:44:21]wFMCommunicate OK [07:44:21]SAM_PROTO_GetShiftState done [07:44:21]FM_GetShiftState done [07:44:21]req_shift_opened done [07:44:21]requested_item shift.open_date is exist - process it [07:44:21]req_shift_open_date [07:44:21]req_shift_open_date done [07:44:21]produce_requested_data done [07:44:21]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38015,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [07:44:21]process_action_free close_receipt [07:44:21]json_value_free [07:44:21]json_value_free done [07:44:21]process_json_proto returns [07:44:21]Send response to host [07:44:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38015,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [07:44:21]free response buf [07:44:21]execute_script done [07:44:21]execute_script returns [07:44:21]free content buf [07:44:21]Sock 9.Close socket [07:44:21]Sock 9.Thread stoped [07:44:25]OFD Sender: No OFD packet to send [07:44:30]OFD Sender: No OFD packet to send [07:44:35]OFD Sender: No OFD packet to send [07:44:40]OFD Sender: No OFD packet to send [07:44:45]OFD Sender: No OFD packet to send [07:44:50]OFD Sender: No OFD packet to send [07:44:55]OFD Sender: No OFD packet to send [07:45:00]OFD Sender: No OFD packet to send [07:45:05]OFD Sender: No OFD packet to send [07:45:10]OFD Sender: No OFD packet to send [07:45:15]OFD Sender: No OFD packet to send [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:30]OFD Sender: No OFD packet to send [07:45:35]OFD Sender: No OFD packet to send [07:45:40]OFD Sender: No OFD packet to send [07:45:45]OFD Sender: No OFD packet to send [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:45]OFD Sender: No OFD packet to send [07:46:50]OFD Sender: No OFD packet to send [07:46:55]OFD Sender: No OFD packet to send [07:47:00]OFD Sender: No OFD packet to send [07:47:05]OFD Sender: No OFD packet to send [07:47:10]OFD Sender: No OFD packet to send [07:47:15]OFD Sender: No OFD packet to send [07:47:20]OFD Sender: No OFD packet to send [07:47:25]OFD Sender: No OFD packet to send [07:47:30]OFD Sender: No OFD packet to send [07:47:35]OFD Sender: No OFD packet to send [07:47:40]OFD Sender: No OFD packet to send [07:47:45]OFD Sender: No OFD packet to send [07:47:50]OFD Sender: No OFD packet to send [07:47:55]OFD Sender: No OFD packet to send [07:48:00]OFD Sender: No OFD packet to send [07:48:05]OFD Sender: No OFD packet to send [07:48:10]OFD Sender: No OFD packet to send [07:48:15]OFD Sender: No OFD packet to send [07:48:20]OFD Sender: No OFD packet to send [07:48:25]OFD Sender: No OFD packet to send [07:48:30]OFD Sender: No OFD packet to send [07:48:35]OFD Sender: No OFD packet to send [07:48:40]OFD Sender: No OFD packet to send [07:48:45]OFD Sender: No OFD packet to send [07:48:50]OFD Sender: No OFD packet to send [07:48:55]OFD Sender: No OFD packet to send [07:49:00]OFD Sender: No OFD packet to send [07:49:05]OFD Sender: No OFD packet to send [07:49:10]OFD Sender: No OFD packet to send [07:49:15]OFD Sender: No OFD packet to send [07:49:20]OFD Sender: No OFD packet to send [07:49:25]OFD Sender: No OFD packet to send [07:49:30]OFD Sender: No OFD packet to send [07:49:35]OFD Sender: No OFD packet to send [07:49:40]OFD Sender: No OFD packet to send [07:49:45]OFD Sender: No OFD packet to send [07:49:50]OFD Sender: No OFD packet to send [07:49:55]OFD Sender: No OFD packet to send [07:50:00]OFD Sender: No OFD packet to send [07:50:05]OFD Sender: No OFD packet to send [07:50:10]OFD Sender: No OFD packet to send [07:50:15]OFD Sender: No OFD packet to send [07:50:20]OFD Sender: No OFD packet to send [07:50:25]OFD Sender: No OFD packet to send [07:50:30]OFD Sender: No OFD packet to send [07:50:35]OFD Sender: No OFD packet to send [07:50:40]OFD Sender: No OFD packet to send [07:50:45]OFD Sender: No OFD packet to send [07:50:50]OFD Sender: No OFD packet to send [07:50:55]OFD Sender: No OFD packet to send [07:51:00]OFD Sender: No OFD packet to send [07:51:05]OFD Sender: No OFD packet to send [07:51:10]OFD Sender: No OFD packet to send [07:51:15]OFD Sender: No OFD packet to send [07:51:20]OFD Sender: No OFD packet to send [07:51:25]OFD Sender: No OFD packet to send [07:51:30]OFD Sender: No OFD packet to send [07:51:35]OFD Sender: No OFD packet to send [07:51:40]OFD Sender: No OFD packet to send [07:51:45]OFD Sender: No OFD packet to send [07:51:50]OFD Sender: No OFD packet to send [07:51:55]OFD Sender: No OFD packet to send [07:52:00]OFD Sender: No OFD packet to send [07:52:05]OFD Sender: No OFD packet to send [07:52:10]OFD Sender: No OFD packet to send [07:52:15]OFD Sender: No OFD packet to send [07:52:20]OFD Sender: No OFD packet to send [07:52:25]OFD Sender: No OFD packet to send [07:52:30]OFD Sender: No OFD packet to send [07:52:35]OFD Sender: No OFD packet to send [07:52:40]OFD Sender: No OFD packet to send [07:52:45]OFD Sender: No OFD packet to send [07:52:50]OFD Sender: No OFD packet to send [07:52:55]OFD Sender: No OFD packet to send [07:53:00]OFD Sender: No OFD packet to send [07:53:05]OFD Sender: No OFD packet to send [07:53:10]OFD Sender: No OFD packet to send [07:53:15]OFD Sender: No OFD packet to send [07:53:20]OFD Sender: No OFD packet to send [07:53:25]OFD Sender: No OFD packet to send [07:53:30]OFD Sender: No OFD packet to send [07:53:35]OFD Sender: No OFD packet to send [07:53:40]OFD Sender: No OFD packet to send [07:53:45]OFD Sender: No OFD packet to send [07:53:50]OFD Sender: No OFD packet to send [07:53:55]OFD Sender: No OFD packet to send [07:54:00]OFD Sender: No OFD packet to send [07:54:05]OFD Sender: No OFD packet to send [07:54:10]OFD Sender: No OFD packet to send [07:54:15]OFD Sender: No OFD packet to send [07:54:20]OFD Sender: No OFD packet to send [07:54:25]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:51]OFD Sender: No OFD packet to send [08:05:56]OFD Sender: No OFD packet to send [08:06:01]OFD Sender: No OFD packet to send [08:06:06]OFD Sender: No OFD packet to send [08:06:11]OFD Sender: No OFD packet to send [08:06:16]OFD Sender: No OFD packet to send [08:06:21]OFD Sender: No OFD packet to send [08:06:26]OFD Sender: No OFD packet to send [08:06:31]OFD Sender: No OFD packet to send [08:06:36]OFD Sender: No OFD packet to send [08:06:41]OFD Sender: No OFD packet to send [08:06:46]OFD Sender: No OFD packet to send [08:06:51]OFD Sender: No OFD packet to send [08:06:56]OFD Sender: No OFD packet to send [08:07:01]OFD Sender: No OFD packet to send [08:07:06]OFD Sender: No OFD packet to send [08:07:11]OFD Sender: No OFD packet to send [08:07:16]OFD Sender: No OFD packet to send [08:07:21]OFD Sender: No OFD packet to send [08:07:26]OFD Sender: No OFD packet to send [08:07:31]OFD Sender: No OFD packet to send [08:07:36]OFD Sender: No OFD packet to send [08:07:41]OFD Sender: No OFD packet to send [08:07:46]OFD Sender: No OFD packet to send [08:07:51]OFD Sender: No OFD packet to send [08:07:56]OFD Sender: No OFD packet to send [08:08:01]OFD Sender: No OFD packet to send [08:08:06]OFD Sender: No OFD packet to send [08:08:11]OFD Sender: No OFD packet to send [08:08:16]OFD Sender: No OFD packet to send [08:08:21]OFD Sender: No OFD packet to send [08:08:26]OFD Sender: No OFD packet to send [08:08:31]OFD Sender: No OFD packet to send [08:08:36]OFD Sender: No OFD packet to send [08:08:41]OFD Sender: No OFD packet to send [08:08:46]OFD Sender: No OFD packet to send [08:08:51]OFD Sender: No OFD packet to send [08:08:56]OFD Sender: No OFD packet to send [08:09:01]OFD Sender: No OFD packet to send [08:09:06]OFD Sender: No OFD packet to send [08:09:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:51]OFD Sender: No OFD packet to send [08:09:56]OFD Sender: No OFD packet to send [08:10:01]OFD Sender: No OFD packet to send [08:10:06]OFD Sender: No OFD packet to send [08:10:11]OFD Sender: No OFD packet to send [08:10:16]OFD Sender: No OFD packet to send [08:10:21]OFD Sender: No OFD packet to send [08:10:26]OFD Sender: No OFD packet to send [08:10:31]OFD Sender: No OFD packet to send [08:10:36]OFD Sender: No OFD packet to send [08:10:41]OFD Sender: No OFD packet to send [08:10:46]OFD Sender: No OFD packet to send [08:10:51]OFD Sender: No OFD packet to send [08:10:56]OFD Sender: No OFD packet to send [08:11:01]OFD Sender: No OFD packet to send [08:11:06]OFD Sender: No OFD packet to send [08:11:11]OFD Sender: No OFD packet to send [08:11:16]OFD Sender: No OFD packet to send [08:11:21]OFD Sender: No OFD packet to send [08:11:26]OFD Sender: No OFD packet to send [08:11:31]OFD Sender: No OFD packet to send [08:11:36]OFD Sender: No OFD packet to send [08:11:41]OFD Sender: No OFD packet to send [08:11:46]OFD Sender: No OFD packet to send [08:11:51]OFD Sender: No OFD packet to send [08:11:56]OFD Sender: No OFD packet to send [08:12:01]OFD Sender: No OFD packet to send [08:12:06]OFD Sender: No OFD packet to send [08:12:11]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:22]OFD Sender: No OFD packet to send [08:13:27]OFD Sender: No OFD packet to send [08:13:32]OFD Sender: No OFD packet to send [08:13:37]OFD Sender: No OFD packet to send [08:13:42]OFD Sender: No OFD packet to send [08:13:47]OFD Sender: No OFD packet to send [08:13:52]OFD Sender: No OFD packet to send [08:13:57]OFD Sender: No OFD packet to send [08:14:02]OFD Sender: No OFD packet to send [08:14:07]OFD Sender: No OFD packet to send [08:14:12]OFD Sender: No OFD packet to send [08:14:17]OFD Sender: No OFD packet to send [08:14:22]OFD Sender: No OFD packet to send [08:14:27]OFD Sender: No OFD packet to send [08:14:32]OFD Sender: No OFD packet to send [08:14:37]OFD Sender: No OFD packet to send [08:14:42]OFD Sender: No OFD packet to send [08:14:47]OFD Sender: No OFD packet to send [08:14:52]OFD Sender: No OFD packet to send [08:14:57]OFD Sender: No OFD packet to send [08:15:02]OFD Sender: No OFD packet to send [08:15:07]OFD Sender: No OFD packet to send [08:15:12]OFD Sender: No OFD packet to send [08:15:17]OFD Sender: No OFD packet to send [08:15:22]OFD Sender: No OFD packet to send [08:15:27]OFD Sender: No OFD packet to send [08:15:32]OFD Sender: No OFD packet to send [08:15:37]OFD Sender: No OFD packet to send [08:15:42]OFD Sender: No OFD packet to send [08:15:47]OFD Sender: No OFD packet to send [08:15:52]OFD Sender: No OFD packet to send [08:15:57]OFD Sender: No OFD packet to send [08:16:02]OFD Sender: No OFD packet to send [08:16:07]OFD Sender: No OFD packet to send [08:16:12]OFD Sender: No OFD packet to send [08:16:17]OFD Sender: No OFD packet to send [08:16:22]OFD Sender: No OFD packet to send [08:16:27]OFD Sender: No OFD packet to send [08:16:32]OFD Sender: No OFD packet to send [08:16:37]OFD Sender: No OFD packet to send [08:16:42]OFD Sender: No OFD packet to send [08:16:47]OFD Sender: No OFD packet to send [08:16:52]OFD Sender: No OFD packet to send [08:16:57]OFD Sender: No OFD packet to send [08:17:02]OFD Sender: No OFD packet to send [08:17:07]OFD Sender: No OFD packet to send [08:17:12]OFD Sender: No OFD packet to send [08:17:17]OFD Sender: No OFD packet to send [08:17:22]OFD Sender: No OFD packet to send [08:17:27]OFD Sender: No OFD packet to send [08:17:32]OFD Sender: No OFD packet to send [08:17:37]OFD Sender: No OFD packet to send [08:17:42]OFD Sender: No OFD packet to send [08:17:47]OFD Sender: No OFD packet to send [08:17:52]OFD Sender: No OFD packet to send [08:17:57]OFD Sender: No OFD packet to send [08:18:02]OFD Sender: No OFD packet to send [08:18:07]OFD Sender: No OFD packet to send [08:18:12]OFD Sender: No OFD packet to send [08:18:17]OFD Sender: No OFD packet to send [08:18:22]OFD Sender: No OFD packet to send [08:18:27]OFD Sender: No OFD packet to send [08:18:32]OFD Sender: No OFD packet to send [08:18:37]OFD Sender: No OFD packet to send [08:18:42]OFD Sender: No OFD packet to send [08:18:47]OFD Sender: No OFD packet to send [08:18:52]OFD Sender: No OFD packet to send [08:18:57]OFD Sender: No OFD packet to send [08:19:02]OFD Sender: No OFD packet to send [08:19:07]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:02]OFD Sender: No OFD packet to send [08:20:07]OFD Sender: No OFD packet to send [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:47]OFD Sender: No OFD packet to send [08:20:52]OFD Sender: No OFD packet to send [08:20:57]OFD Sender: No OFD packet to send [08:21:02]OFD Sender: No OFD packet to send [08:21:07]OFD Sender: No OFD packet to send [08:21:12]OFD Sender: No OFD packet to send [08:21:17]OFD Sender: No OFD packet to send [08:21:22]OFD Sender: No OFD packet to send [08:21:27]OFD Sender: No OFD packet to send [08:21:32]OFD Sender: No OFD packet to send [08:21:37]OFD Sender: No OFD packet to send [08:21:42]OFD Sender: No OFD packet to send [08:21:47]OFD Sender: No OFD packet to send [08:21:52]OFD Sender: No OFD packet to send [08:21:57]OFD Sender: No OFD packet to send [08:22:02]OFD Sender: No OFD packet to send [08:22:07]OFD Sender: No OFD packet to send [08:22:12]OFD Sender: No OFD packet to send [08:22:17]OFD Sender: No OFD packet to send [08:22:22]OFD Sender: No OFD packet to send [08:22:27]OFD Sender: No OFD packet to send [08:22:32]OFD Sender: No OFD packet to send [08:22:37]OFD Sender: No OFD packet to send [08:22:42]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:17]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:22]OFD Sender: No OFD packet to send [08:24:27]OFD Sender: No OFD packet to send [08:24:32]OFD Sender: No OFD packet to send [08:24:37]OFD Sender: No OFD packet to send [08:24:42]OFD Sender: No OFD packet to send [08:24:47]OFD Sender: No OFD packet to send [08:24:52]OFD Sender: No OFD packet to send [08:24:57]OFD Sender: No OFD packet to send [08:25:02]OFD Sender: No OFD packet to send [08:25:07]OFD Sender: No OFD packet to send [08:25:12]OFD Sender: No OFD packet to send [08:25:17]OFD Sender: No OFD packet to send [08:25:22]OFD Sender: No OFD packet to send [08:25:27]OFD Sender: No OFD packet to send [08:25:32]OFD Sender: No OFD packet to send [08:25:37]OFD Sender: No OFD packet to send [08:25:42]OFD Sender: No OFD packet to send [08:25:47]OFD Sender: No OFD packet to send [08:25:52]OFD Sender: No OFD packet to send [08:25:57]OFD Sender: No OFD packet to send [08:26:02]OFD Sender: No OFD packet to send [08:26:07]OFD Sender: No OFD packet to send [08:26:12]OFD Sender: No OFD packet to send [08:26:17]OFD Sender: No OFD packet to send [08:26:22]OFD Sender: No OFD packet to send [08:26:27]OFD Sender: No OFD packet to send [08:26:32]OFD Sender: No OFD packet to send [08:26:37]OFD Sender: No OFD packet to send [08:26:42]OFD Sender: No OFD packet to send [08:26:47]OFD Sender: No OFD packet to send [08:26:52]OFD Sender: No OFD packet to send [08:26:57]OFD Sender: No OFD packet to send [08:27:02]OFD Sender: No OFD packet to send [08:27:07]OFD Sender: No OFD packet to send [08:27:12]OFD Sender: No OFD packet to send [08:27:17]OFD Sender: No OFD packet to send [08:27:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:57]OFD Sender: No OFD packet to send [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:22]OFD Sender: No OFD packet to send [08:30:27]OFD Sender: No OFD packet to send [08:30:32]OFD Sender: No OFD packet to send [08:30:37]OFD Sender: No OFD packet to send [08:30:42]OFD Sender: No OFD packet to send [08:30:47]OFD Sender: No OFD packet to send [08:30:52]OFD Sender: No OFD packet to send [08:30:57]OFD Sender: No OFD packet to send [08:31:02]OFD Sender: No OFD packet to send [08:31:07]OFD Sender: No OFD packet to send [08:31:12]OFD Sender: No OFD packet to send [08:31:17]OFD Sender: No OFD packet to send [08:31:22]OFD Sender: No OFD packet to send [08:31:27]OFD Sender: No OFD packet to send [08:31:32]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:32:02]OFD Sender: No OFD packet to send [08:32:07]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:13]OFD Sender: No OFD packet to send [08:33:18]OFD Sender: No OFD packet to send [08:33:23]OFD Sender: No OFD packet to send [08:33:28]OFD Sender: No OFD packet to send [08:33:33]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:08]OFD Sender: No OFD packet to send [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:23]OFD Sender: No OFD packet to send [08:35:28]OFD Sender: No OFD packet to send [08:35:33]OFD Sender: No OFD packet to send [08:35:38]OFD Sender: No OFD packet to send [08:35:43]OFD Sender: No OFD packet to send [08:35:48]OFD Sender: No OFD packet to send [08:35:53]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39:33]OFD Sender: No OFD packet to send [08:39:38]OFD Sender: No OFD packet to send [08:39:43]OFD Sender: No OFD packet to send [08:39:48]OFD Sender: No OFD packet to send [08:39:53]OFD Sender: No OFD packet to send [08:39:58]OFD Sender: No OFD packet to send [08:40:03]OFD Sender: No OFD packet to send [08:40:08]OFD Sender: No OFD packet to send [08:40:13]OFD Sender: No OFD packet to send [08:40:18]OFD Sender: No OFD packet to send [08:40:23]OFD Sender: No OFD packet to send [08:40:28]OFD Sender: No OFD packet to send [08:40:33]OFD Sender: No OFD packet to send [08:40:38]OFD Sender: No OFD packet to send [08:40:43]OFD Sender: No OFD packet to send [08:40:48]OFD Sender: No OFD packet to send [08:40:53]OFD Sender: No OFD packet to send [08:40:58]OFD Sender: No OFD packet to send [08:41:03]OFD Sender: No OFD packet to send [08:41:08]OFD Sender: No OFD packet to send [08:41:13]OFD Sender: No OFD packet to send [08:41:18]OFD Sender: No OFD packet to send [08:41:23]OFD Sender: No OFD packet to send [08:41:28]OFD Sender: No OFD packet to send [08:41:33]OFD Sender: No OFD packet to send [08:41:38]OFD Sender: No OFD packet to send [08:41:43]OFD Sender: No OFD packet to send [08:41:48]OFD Sender: No OFD packet to send [08:41:53]OFD Sender: No OFD packet to send [08:41:58]OFD Sender: No OFD packet to send [08:42:03]OFD Sender: No OFD packet to send [08:42:08]OFD Sender: No OFD packet to send [08:42:13]OFD Sender: No OFD packet to send [08:42:18]OFD Sender: No OFD packet to send [08:42:23]OFD Sender: No OFD packet to send [08:42:28]OFD Sender: No OFD packet to send [08:42:33]OFD Sender: No OFD packet to send [08:42:38]OFD Sender: No OFD packet to send [08:42:43]OFD Sender: No OFD packet to send [08:42:48]OFD Sender: No OFD packet to send [08:42:53]OFD Sender: No OFD packet to send [08:42:58]OFD Sender: No OFD packet to send [08:43:03]OFD Sender: No OFD packet to send [08:43:08]OFD Sender: No OFD packet to send [08:43:13]OFD Sender: No OFD packet to send [08:43:18]OFD Sender: No OFD packet to send [08:43:23]OFD Sender: No OFD packet to send [08:43:28]OFD Sender: No OFD packet to send [08:43:33]OFD Sender: No OFD packet to send [08:43:38]OFD Sender: No OFD packet to send [08:43:43]OFD Sender: No OFD packet to send [08:43:48]OFD Sender: No OFD packet to send [08:43:53]OFD Sender: No OFD packet to send [08:43:58]OFD Sender: No OFD packet to send [08:44:03]OFD Sender: No OFD packet to send [08:44:08]OFD Sender: No OFD packet to send [08:44:13]OFD Sender: No OFD packet to send [08:44:18]OFD Sender: No OFD packet to send [08:44:23]OFD Sender: No OFD packet to send [08:44:28]OFD Sender: No OFD packet to send [08:44:33]OFD Sender: No OFD packet to send [08:44:38]OFD Sender: No OFD packet to send [08:44:43]OFD Sender: No OFD packet to send [08:44:48]OFD Sender: No OFD packet to send [08:44:53]OFD Sender: No OFD packet to send [08:44:58]OFD Sender: No OFD packet to send [08:45:03]OFD Sender: No OFD packet to send [08:45:08]OFD Sender: No OFD packet to send [08:45:13]OFD Sender: No OFD packet to send [08:45:18]OFD Sender: No OFD packet to send [08:45:23]OFD Sender: No OFD packet to send [08:45:28]OFD Sender: No OFD packet to send [08:45:33]OFD Sender: No OFD packet to send [08:45:38]OFD Sender: No OFD packet to send [08:45:43]OFD Sender: No OFD packet to send [08:45:48]OFD Sender: No OFD packet to send [08:45:53]OFD Sender: No OFD packet to send [08:45:58]OFD Sender: No OFD packet to send [08:46:03]OFD Sender: No OFD packet to send [08:46:08]OFD Sender: No OFD packet to send [08:46:13]OFD Sender: No OFD packet to send [08:46:18]OFD Sender: No OFD packet to send [08:46:23]OFD Sender: No OFD packet to send [08:46:28]OFD Sender: No OFD packet to send [08:46:33]OFD Sender: No OFD packet to send [08:46:38]OFD Sender: No OFD packet to send [08:46:43]OFD Sender: No OFD packet to send [08:46:48]OFD Sender: No OFD packet to send [08:46:53]OFD Sender: No OFD packet to send [08:46:58]OFD Sender: No OFD packet to send [08:47:03]OFD Sender: No OFD packet to send [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47:33]OFD Sender: No OFD packet to send [08:47:38]OFD Sender: No OFD packet to send [08:47:43]OFD Sender: No OFD packet to send [08:47:48]OFD Sender: No OFD packet to send [08:47:53]OFD Sender: No OFD packet to send [08:47:58]OFD Sender: No OFD packet to send [08:48:03]OFD Sender: No OFD packet to send [08:48:08]OFD Sender: No OFD packet to send [08:48:13]OFD Sender: No OFD packet to send [08:48:18]OFD Sender: No OFD packet to send [08:48:23]OFD Sender: No OFD packet to send [08:48:28]OFD Sender: No OFD packet to send [08:48:33]OFD Sender: No OFD packet to send [08:48:38]OFD Sender: No OFD packet to send [08:48:43]OFD Sender: No OFD packet to send [08:48:48]OFD Sender: No OFD packet to send [08:48:53]OFD Sender: No OFD packet to send [08:48:58]OFD Sender: No OFD packet to send [08:49:03]OFD Sender: No OFD packet to send [08:49:08]OFD Sender: No OFD packet to send [08:49:13]OFD Sender: No OFD packet to send [08:49:18]OFD Sender: No OFD packet to send [08:49:23]OFD Sender: No OFD packet to send [08:49:28]OFD Sender: No OFD packet to send [08:49:33]OFD Sender: No OFD packet to send [08:49:38]OFD Sender: No OFD packet to send [08:49:43]OFD Sender: No OFD packet to send [08:49:48]OFD Sender: No OFD packet to send [08:49:53]OFD Sender: No OFD packet to send [08:49:58]OFD Sender: No OFD packet to send [08:50:03]OFD Sender: No OFD packet to send [08:50:08]OFD Sender: No OFD packet to send [08:50:13]OFD Sender: No OFD packet to send [08:50:18]OFD Sender: No OFD packet to send [08:50:23]OFD Sender: No OFD packet to send [08:50:28]OFD Sender: No OFD packet to send [08:50:33]OFD Sender: No OFD packet to send [08:50:38]OFD Sender: No OFD packet to send [08:50:43]OFD Sender: No OFD packet to send [08:50:48]OFD Sender: No OFD packet to send [08:50:53]OFD Sender: No OFD packet to send [08:50:58]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:32]accept exits with 7 [08:55:32]New connection [08:55:32]New thread 3067043172 created [08:55:32]Thread 3067186532 joined [08:55:32]Waiting for new connection... [08:55:32] Sock 7.Parse request [08:55:32]Sock 7.Check first char [08:55:32]Sock 7.First char is OK [08:55:32]request: POST /json_proto HTTP/1.0 [08:55:32]Method: POST [08:55:32]URL: /json_proto [08:55:32]Method is POST - this is cgi request [08:55:32]url: /json_proto [08:55:32]query_string will be loaded in cgi processing [08:55:32]execute_cgi json_proto POST (null) [08:55:32]execute_cgi path=json_proto method=POST [08:55:32]POST find Content-Length [08:55:32]Host: 172.17.40.196:8080 [08:55:32]Content-Length: 695 [08:55:32]Content-Type: application/json [08:55:32] [08:55:32]POST finish read [08:55:32]Found Content-Length = 695 [08:55:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35313", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:55:32]execute_script... [08:55:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35313", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:55:32]POST & json_proto [08:55:32]process_json_proto [08:55:32]json parsed OK: [08:55:32]protocol is kg_v1.0 [08:55:32]action value=close_receipt [08:55:32]process_action close_receipt [08:55:32]cmd_close_receipt [08:55:32]MH_GetDate [08:55:32]Write to MH i2c: F0 00 00 52 08 49 [08:55:32]Write i2c OK [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: F0 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: F0 09 00 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: F0 09 00 52 08 00 06 46 23 67 5B 68 A1 66 F2 [08:55:32]GetLastDocTimeStamp 1730360659 [08:55:32]current date 1730364934 [08:55:32]FM_GetShiftState [08:55:32]SAM_PROTO_GetShiftState [08:55:32]wFMCommunicate request_size=4 [08:55:32]MH_SAM_APDU [08:55:32]CAPDU: 80 13 01 00 [08:55:32]Write to MH i2c: E2 08 00 53 08 80 13 01 00 00 00 00 00 D8 [08:55:32]Write i2c OK [08:55:32]MH_I2C_Read... [08:55:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:55:32]Read from MH i2c: E2 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: E2 0E 00 [08:55:32]MH_I2C_Read... [08:55:32]Read from MH i2c: E2 0E 00 53 08 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 12 [08:55:32]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [08:55:32]wFMCommunicate OK [08:55:32]SAM_PROTO_GetShiftState done [08:55:32]FM_GetShiftState done [08:55:32]opened in 1730333148 [08:55:32]opened+sec_in_day 1730419548 [08:55:32]quantity*price = 9500 [08:55:32]sum+1 = 9501 [08:55:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 24 31.10.2024 08:55 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38016 ФПД: 236076728565888 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T085534&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38016&fm=236076728565888&tin=02508201610067®Number=0000000000091684&sum=9500 0 [08:55:33]StoreToDocumentArchive [08:55:33]shift 554 fd 38016 [08:55:33]save to /storage/0554/doc_00038016 [08:55:33]save last doc name /storage/0554/doc_00038016 to /storage/kkm_last_doc_name [08:55:33]save OK [08:55:33]Clear old archive folders... [08:55:33]ProcessDocumentItem done err = 0, tmpTLVsize=299 [08:55:33]tlvbuf is B6F8E840 [08:55:33]SAM_PROTO_ClearQueue [08:55:33]wFMCommunicate request_size=4 [08:55:33]MH_SAM_APDU [08:55:33]CAPDU: 80 09 00 00 [08:55:33]Write to MH i2c: E2 08 00 60 08 80 09 00 00 00 00 00 00 DA [08:55:33]Write i2c OK [08:55:33]MH_I2C_Read... [08:55:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:55:33]Read from MH i2c: E2 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 03 00 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 03 00 60 08 00 90 00 DC [08:55:33]RAPDU: 90 00 [08:55:33]wFMCommunicate OK [08:55:33]SAM_PROTO_ClearQueue done [08:55:33]KKMCreateOFDPacket [08:55:33]OFDProtocolAddRootSTLVToBuf [08:55:33]FM_MakeSignedData [08:55:33]FM_MakeSignedData [08:55:33]SAM_PROTO_SignData [08:55:33]wFMCommunicate request_size=4 [08:55:33]MH_SAM_APDU [08:55:33]CAPDU: 80 0D 01 02 [08:55:33]Write to MH i2c: E2 08 00 61 08 80 0D 01 02 00 00 00 00 E2 [08:55:33]Write i2c OK [08:55:33]MH_I2C_Read... [08:55:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:55:33]Read from MH i2c: E2 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 03 00 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 03 00 61 08 00 90 00 DD [08:55:33]RAPDU: 90 00 [08:55:33]wFMCommunicate OK [08:55:33]wFMCommunicate request_size=255 [08:55:33]MH_SAM_APDU [08:55:33]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 18 00 00 00 F4 03 04 00 06 46 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 [08:55:33]Write to MH i2c: E2 02 01 62 08 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 18 00 00 00 F4 03 04 00 06 46 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 2D [08:55:33]Write i2c OK [08:55:33]MH_I2C_Read... [08:55:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:33]Read from MH i2c: E2 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 03 00 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 03 00 62 08 00 90 00 DE [08:55:33]RAPDU: 90 00 [08:55:33]wFMCommunicate OK [08:55:33]wFMCommunicate request_size=58 [08:55:33]MH_SAM_APDU [08:55:33]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 80 94 00 00 35 04 06 00 D6 B5 E5 8B C0 80 [08:55:33]Write to MH i2c: E2 3D 00 63 08 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 80 94 00 00 35 04 06 00 D6 B5 E5 8B C0 80 00 00 23 [08:55:33]Write i2c OK [08:55:33]MH_I2C_Read... [08:55:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:33]Read from MH i2c: E2 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 03 00 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 03 00 63 08 00 90 00 DF [08:55:33]RAPDU: 90 00 [08:55:33]wFMCommunicate OK [08:55:33]wFMCommunicate request_size=4 [08:55:33]MH_SAM_APDU [08:55:33]CAPDU: 80 0D 03 02 [08:55:33]Write to MH i2c: E2 08 00 64 08 80 0D 03 02 00 00 00 00 E7 [08:55:33]Write i2c OK [08:55:33]MH_I2C_Read... [08:55:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:55:33]Read from MH i2c: E2 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 0B 00 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 0B 00 64 08 00 2F 11 6E 0A 39 23 0D 43 90 00 4C [08:55:33]RAPDU: 2F 11 6E 0A 39 23 0D 43 90 00 [08:55:33]wFMCommunicate OK [08:55:33]SAM_PROTO_SignData done [08:55:33]FM_MakeSignedData done [08:55:33]CreateOFDProtocolMessage [08:55:33]wFMCommunicate request_size=4 [08:55:33]MH_SAM_APDU [08:55:33]CAPDU: 80 11 00 00 [08:55:33]Write to MH i2c: E2 08 00 65 08 80 11 00 00 00 00 00 00 E7 [08:55:33]Write i2c OK [08:55:33]MH_I2C_Read... [08:55:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:33]Read from MH i2c: E2 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 17 00 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: E2 17 00 65 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 37 [08:55:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:55:33]wFMCommunicate OK [08:55:33]CreateOFDProtocolMessage done [08:55:33]OFDSenderStorePacket 38016 [08:55:33]StoreOFDPacket docnum=38016 [08:55:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3F 01 00 00 E6 CD 37 01 78 07 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 18 00 00 00 F4 03 04 00 06 46 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 80 94 00 00 35 04 06 00 D6 B5 E5 8B C0 80 2F 11 6E 0A 39 23 0D 43 [08:55:33]CheckFolder [08:55:33]dirname=/storage/ofd_packets [08:55:33]CheckFolder done [08:55:33]ProducePacketName [08:55:33]name=ofd_packets/00038016 [08:55:33]NVStorageSaveData ofd_packets/00038016 [08:55:33]File name is /storage/ofd_packets/00038016 [08:55:33]Write 349 bytes [08:55:33]NVStorageSaveData done [08:55:33]OFDSenderStorePacket done [08:55:33]KKMCreateOFDPacket done [08:55:33]NVStorageSaveData kkm_last_timestamp [08:55:33]File name is /storage/kkm_last_timestamp [08:55:33]Write 4 bytes [08:55:33]NVStorageSaveData done [08:55:33]ExternCall_PrintAddStr [08:55:33]wPrintStart [08:55:33]Write to MH i2c: 01 00 00 66 08 6E [08:55:33]Write i2c OK [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: 01 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: 01 07 00 [08:55:33]MH_I2C_Read... [08:55:33]Read from MH i2c: 01 07 00 66 08 00 00 00 00 00 FF 0F 83 [08:55:33]RasterBufferAndPrint [08:55:33]line Счет N : (3)35313 [08:55:33]line ИНН: 02508201610067 [08:55:33]line Контрольно-Кассовый Чек [08:55:33]line ПРОДАЖА [08:55:33]line Товар: 4700000480364 [08:55:33]line Напиток энерг Nitro экзотик 0.45 ж/б [08:55:33]line 1.000 * 95.00 [08:55:33]line = 95.00 [08:55:33]line НДС 12% НСП 1% [08:55:33]line > о реализуемом товаре [08:55:33]line ИТОГО: 95.00 [08:55:33]line НСП 1% : 0.84 [08:55:33]line НДС 12% : 10.09 [08:55:33]line Наличными: 95.00 [08:55:33]line Безнал.: 0.00 [08:55:33]line Место: АЗС № 126 "Партнер Нефть" [08:55:33]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:55:33]line СНО: Общий режим [08:55:33]line Чек 24 31.10.2024 08:55 [08:55:33]line Смена: 554 ФФД: 1.0 [08:55:33]line ЗНМ: 0300000092 [08:55:33]line РНМ: 0000000000091684 [08:55:33]line Версия ККМ: 001 [08:55:33]line ФМ: 0000000000871841 [08:55:33]line ФД: 38016 [08:55:33]line ФПД: 236076728565888 [08:55:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T085534&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38016&fm=236076728565888&tin=02508201610067®Number=0000000000091684&sum=9500 [08:55:34]line 0 [08:55:34]OFD Sender: Processing packet 38016 [packets to send 42, broken 41] [08:55:34]ProducePacketName [08:55:34]name=ofd_packets/00038016 [08:55:34]OFD Sender: To server: pG, [08:55:34]CommunicateWithHost lk.salyk.kg:30040 [08:55:34]ConnectInit lk.salyk.kg [08:55:34]written 0, free lines is 4095 [08:55:34]Write to MH i2c: 01 00 00 8F 08 97 [08:55:34]Write i2c OK [08:55:34]MH_I2C_Read... [08:55:34]Read from MH i2c: 01 [08:55:34]MH_I2C_Read... [08:55:34]Read from MH i2c: 01 07 00 [08:55:34]MH_I2C_Read... [08:55:34]Read from MH i2c: 01 07 00 8F 08 00 00 00 00 00 B0 0C 5A [08:55:34]RasterBufferAndPrint [08:55:34]line [08:55:34]line [08:55:34]line [08:55:34]line [08:55:34]line [08:55:34]written 0, free lines is 3251 [08:55:34]MH_Cut [08:55:34]Write to MH i2c: D1 01 00 96 08 01 70 [08:55:34]Write i2c OK [08:55:34]MH_I2C_Read... [08:55:34]Read from MH i2c: D1 [08:55:34]MH_I2C_Read... [08:55:34]Read from MH i2c: D1 01 00 [08:55:34]MH_I2C_Read... [08:55:34]Read from MH i2c: D1 01 00 96 08 00 6F [08:55:34]Write to MH i2c: 01 00 00 97 08 9F [08:55:34]Write i2c OK [08:55:34]MH_I2C_Read... [08:55:35]*** Cut start [08:55:35]*** Partial cut [08:55:35]*** CUTSNS_PIN = 1 [08:55:35]*** CUTSNS_PIN = 0 [08:55:35]*** Brake cut motor [08:55:35]Connected sock=11 [08:55: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 38 34 31 3F 01 00 00 E6 CD 37 01 78 07 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 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 18 00 00 00 F4 03 04 00 06 46 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 80 94 00 00 35 04 06 00 D6 B5 E5 8B C0 80 2F 11 6E 0A 39 23 0D 43 [08:55:36]Read from MH i2c: 01 [08:55:36]MH_I2C_Read... [08:55:36]*** Stop cut motor [08:55:36]*** Cut end [08:55:36]Read from MH i2c: 01 07 00 [08:55:36]MH_I2C_Read... [08:55:36]Read from MH i2c: 01 07 00 97 08 00 00 00 00 00 FF 0F B4 [08:55:36]process_action close_receipt done [08:55:36]requested_data is exist [08:55:36]produce_requested_data [08:55:36]requested_item fm.sn is exist - process it [08:55:36]wFMCommunicate request_size=4 [08:55:36]MH_SAM_APDU [08:55:36]CAPDU: 80 11 00 00 [08:55:36]Write to MH i2c: E2 08 00 98 08 80 11 00 00 00 00 00 00 1A [08:55:36]Write i2c OK [08:55:36]MH_I2C_Read... [08:55:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:36]Read from MH i2c: E2 [08:55:36]MH_I2C_Read... [08:55:36]Read from MH i2c: E2 17 00 [08:55:36]MH_I2C_Read... [08:55:36]Read from MH i2c: E2 17 00 98 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6A [08:55:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:55:36]wFMCommunicate OK [08:55:36]requested_item fd.num is exist - process it [08:55:36]SAM_PROTO_GetFieldsCounters [08:55:36]wFMCommunicate request_size=4 [08:55:36]MH_SAM_APDU [08:55:36]CAPDU: 80 13 00 00 [08:55:36]Write to MH i2c: E2 08 00 99 08 80 13 00 00 00 00 00 00 1D [08:55:36]Write i2c OK [08:55:36]MH_I2C_Read... [08:55:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 7B 56 47 00 CF 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 38 34 31 10 04 04 00 80 94 00 00 F4 03 04 00 F4 F0 22 67 B6 04 01 00 00 D3 E1 91 9C 14 75 50 89 [08:55:36]CommunicateWithHost err = 0 [08:55:36]CheckOFDResponse [08:55:36]1017 (14) - 77093643461234 [08:55:36]1041 (16) - 0000000000871841 [08:55:36]1040 (4) - 38016 [08:55:36]1012 (4) - 31.10.2024 02:52 [08:55:36]1206 (1) - 0 [08:55:36]OFD Sender: Remove packet 38016 [08:55:36]ProducePacketName [08:55:36]name=ofd_packets/00038016 [08:55:36]NVStorageDeleteData [08:55:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:55:36]Read from MH i2c: E2 [08:55:36]MH_I2C_Read... [08:55:36]Read from MH i2c: E2 62 00 [08:55:36]MH_I2C_Read... [08:55:36]Read from MH i2c: E2 62 00 99 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 80 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 C6 [08:55: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 80 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:55:36]wFMCommunicate OK [08:55:36]SAM_PROTO_GetFieldsCounters done [08:55:36]requested_item shift.num is exist - process it [08:55:36]requested_item shift.opened is exist - process it [08:55:36]req_shift_opened [08:55:36]FM_GetShiftState [08:55:36]SAM_PROTO_GetShiftState [08:55:36]wFMCommunicate request_size=4 [08:55:36]MH_SAM_APDU [08:55:36]CAPDU: 80 13 01 00 [08:55:36]Write to MH i2c: E2 08 00 9A 08 80 13 01 00 00 00 00 00 1F [08:55:36]Write i2c OK [08:55:36]MH_I2C_Read... [08:55:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:55:36]Read from MH i2c: E2 [08:55:36]MH_I2C_Read... [08:55:36]Read from MH i2c: E2 0E 00 [08:55:36]MH_I2C_Read... [08:55:36]Read from MH i2c: E2 0E 00 9A 08 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 59 [08:55:36]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [08:55:36]wFMCommunicate OK [08:55:36]SAM_PROTO_GetShiftState done [08:55:36]FM_GetShiftState done [08:55:36]req_shift_opened done [08:55:36]requested_item shift.open_date is exist - process it [08:55:36]req_shift_open_date [08:55:36]req_shift_open_date done [08:55:36]produce_requested_data done [08:55:36]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38016,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [08:55:36]process_action_free close_receipt [08:55:36]json_value_free [08:55:36]json_value_free done [08:55:36]process_json_proto returns [08:55:36]Send response to host [08:55:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38016,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [08:55:36]free response buf [08:55:36]execute_script done [08:55:36]execute_script returns [08:55:36]free content buf [08:55:36]Sock 7.Close socket [08:55:36]Sock 7.Thread stoped [08:55:36]OFD Sender: No OFD packet to send [08:55:41]OFD Sender: No OFD packet to send [08:55:46]OFD Sender: No OFD packet to send [08:55:51]OFD Sender: No OFD packet to send [08:55:56]OFD Sender: No OFD packet to send [08:56:01]OFD Sender: No OFD packet to send [08:56:06]OFD Sender: No OFD packet to send [08:56:11]OFD Sender: No OFD packet to send [08:56:16]OFD Sender: No OFD packet to send [08:56:21]OFD Sender: No OFD packet to send [08:56:26]OFD Sender: No OFD packet to send [08:56:31]OFD Sender: No OFD packet to send [08:56:36]OFD Sender: No OFD packet to send [08:56:41]OFD Sender: No OFD packet to send [08:56:46]OFD Sender: No OFD packet to send [08:56:51]OFD Sender: No OFD packet to send [08:56:56]OFD Sender: No OFD packet to send [08:57:01]OFD Sender: No OFD packet to send [08:57:06]OFD Sender: No OFD packet to send [08:57:11]OFD Sender: No OFD packet to send [08:57:16]OFD Sender: No OFD packet to send [08:57:21]OFD Sender: No OFD packet to send [08:57:26]OFD Sender: No OFD packet to send [08:57:31]OFD Sender: No OFD packet to send [08:57:36]OFD Sender: No OFD packet to send [08:57:41]OFD Sender: No OFD packet to send [08:57:46]OFD Sender: No OFD packet to send [08:57:51]OFD Sender: No OFD packet to send [08:57:56]OFD Sender: No OFD packet to send [08:58:01]OFD Sender: No OFD packet to send [08:58:06]OFD Sender: No OFD packet to send [08:58:11]OFD Sender: No OFD packet to send [08:58:16]OFD Sender: No OFD packet to send [08:58:21]OFD Sender: No OFD packet to send [08:58:26]OFD Sender: No OFD packet to send [08:58:31]OFD Sender: No OFD packet to send [08:58:36]OFD Sender: No OFD packet to send [08:58:41]OFD Sender: No OFD packet to send [08:58:46]OFD Sender: No OFD packet to send [08:58:51]OFD Sender: No OFD packet to send [08:58:56]OFD Sender: No OFD packet to send [08:59:01]OFD Sender: No OFD packet to send [08:59:06]OFD Sender: No OFD packet to send [08:59:11]OFD Sender: No OFD packet to send [08:59:16]OFD Sender: No OFD packet to send [08:59:21]OFD Sender: No OFD packet to send [08:59:26]OFD Sender: No OFD packet to send [08:59:31]OFD Sender: No OFD packet to send [08:59:36]OFD Sender: No OFD packet to send [08:59:41]OFD Sender: No OFD packet to send [08:59:46]OFD Sender: No OFD packet to send [08:59:51]OFD Sender: No OFD packet to send [08:59:56]OFD Sender: No OFD packet to send [09:00:01]OFD Sender: No OFD packet to send [09:00:06]OFD Sender: No OFD packet to send [09:00:11]OFD Sender: No OFD packet to send [09:00:16]OFD Sender: No OFD packet to send [09:00:21]OFD Sender: No OFD packet to send [09:00:26]OFD Sender: No OFD packet to send [09:00:31]OFD Sender: No OFD packet to send [09:00:36]OFD Sender: No OFD packet to send [09:00:41]OFD Sender: No OFD packet to send [09:00:46]OFD Sender: No OFD packet to send [09:00:51]OFD Sender: No OFD packet to send [09:00:56]OFD Sender: No OFD packet to send [09:01:01]OFD Sender: No OFD packet to send [09:01:06]OFD Sender: No OFD packet to send [09:01:12]OFD Sender: No OFD packet to send [09:01:17]OFD Sender: No OFD packet to send [09:01:22]OFD Sender: No OFD packet to send [09:01:27]OFD Sender: No OFD packet to send [09:01:32]OFD Sender: No OFD packet to send [09:01:37]OFD Sender: No OFD packet to send [09:01:42]OFD Sender: No OFD packet to send [09:01:47]OFD Sender: No OFD packet to send [09:01:52]OFD Sender: No OFD packet to send [09:01:57]OFD Sender: No OFD packet to send [09:02:02]OFD Sender: No OFD packet to send [09:02:07]OFD Sender: No OFD packet to send [09:02:12]OFD Sender: No OFD packet to send [09:02:13]accept exits with 9 [09:02:13]New connection [09:02:13]New thread 3067186532 created [09:02:13]Thread 3067043172 joined [09:02:13]Waiting for new connection... [09:02:13] Sock 9.Parse request [09:02:13]Sock 9.Check first char [09:02:13]Sock 9.First char is OK [09:02:13]request: POST /json_proto HTTP/1.0 [09:02:13]Method: POST [09:02:13]URL: /json_proto [09:02:13]Method is POST - this is cgi request [09:02:13]url: /json_proto [09:02:13]query_string will be loaded in cgi processing [09:02:13]execute_cgi json_proto POST (null) [09:02:13]execute_cgi path=json_proto method=POST [09:02:13]POST find Content-Length [09:02:13]Host: 172.17.40.196:8080 [09:02:13]Content-Length: 1453 [09:02:13]Content-Type: application/json [09:02:13] [09:02:13]POST finish read [09:02:13]Found Content-Length = 1453 [09:02:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35314", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 469.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:13]execute_script... [09:02:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35314", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420084", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST ANTIBACTERIAL 100 \u0448\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 469.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:13]POST & json_proto [09:02:13]process_json_proto [09:02:13]json parsed OK: [09:02:13]protocol is kg_v1.0 [09:02:13]action value=close_receipt [09:02:13]process_action close_receipt [09:02:13]cmd_close_receipt [09:02:13]MH_GetDate [09:02:13]Write to MH i2c: F0 00 00 9B 08 92 [09:02:13]Write i2c OK [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: F0 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: F0 09 00 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: F0 09 00 9B 08 00 98 47 23 67 5B 68 A1 66 CE [09:02:13]GetLastDocTimeStamp 1730364934 [09:02:13]current date 1730365336 [09:02:13]FM_GetShiftState [09:02:13]SAM_PROTO_GetShiftState [09:02:13]wFMCommunicate request_size=4 [09:02:13]MH_SAM_APDU [09:02:13]CAPDU: 80 13 01 00 [09:02:13]Write to MH i2c: E2 08 00 9C 08 80 13 01 00 00 00 00 00 21 [09:02:13]Write i2c OK [09:02:13]MH_I2C_Read... [09:02:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:13]Read from MH i2c: E2 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 0E 00 [09:02:13]MH_I2C_Read... [09:02:13]Read from MH i2c: E2 0E 00 9C 08 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 5B [09:02:13]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:02:13]wFMCommunicate OK [09:02:13]SAM_PROTO_GetShiftState done [09:02:13]FM_GetShiftState done [09:02:13]opened in 1730333148 [09:02:13]opened+sec_in_day 1730419548 [09:02:13]quantity*price = 26000 [09:02:13]sum+1 = 26001 [09:02:13]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700041420084 Салфетки влажн BEST ANTIBACTERIAL 100 шт 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 2.000 * 15.00 = 30.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42113164 Жев Orbit White Spearmint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 469.00 НСП 1% : 4.15 НДС 12% : 49.81 Наличными: 469.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 25 31.10.2024 09:02 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38017 ФПД: 45758424374223 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T090216&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38017&fm=45758424374223&tin=02508201610067®Number=0000000000091684&sum=46900 0 [09:02:15]StoreToDocumentArchive [09:02:15]shift 554 fd 38017 [09:02:15]save to /storage/0554/doc_00038017 [09:02:15]save last doc name /storage/0554/doc_00038017 to /storage/kkm_last_doc_name [09:02:15]save OK [09:02:15]Clear old archive folders... [09:02:15]ProcessDocumentItem done err = 0, tmpTLVsize=624 [09:02:15]tlvbuf is B6DE1820 [09:02:15]SAM_PROTO_ClearQueue [09:02:15]wFMCommunicate request_size=4 [09:02:15]MH_SAM_APDU [09:02:15]CAPDU: 80 09 00 00 [09:02:15]Write to MH i2c: E2 08 00 A9 08 80 09 00 00 00 00 00 00 23 [09:02:15]Write i2c OK [09:02:15]MH_I2C_Read... [09:02:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:02:15]Read from MH i2c: E2 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 A9 08 00 90 00 25 [09:02:15]RAPDU: 90 00 [09:02:15]wFMCommunicate OK [09:02:15]SAM_PROTO_ClearQueue done [09:02:15]KKMCreateOFDPacket [09:02:15]OFDProtocolAddRootSTLVToBuf [09:02:15]FM_MakeSignedData [09:02:15]FM_MakeSignedData [09:02:15]SAM_PROTO_SignData [09:02:15]wFMCommunicate request_size=4 [09:02:15]MH_SAM_APDU [09:02:15]CAPDU: 80 0D 01 02 [09:02:15]Write to MH i2c: E2 08 00 AA 08 80 0D 01 02 00 00 00 00 2B [09:02:15]Write i2c OK [09:02:15]MH_I2C_Read... [09:02:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:02:15]Read from MH i2c: E2 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 AA 08 00 90 00 26 [09:02:15]RAPDU: 90 00 [09:02:15]wFMCommunicate OK [09:02:15]wFMCommunicate request_size=255 [09:02:15]MH_SAM_APDU [09:02:15]CAPDU: 80 0D 02 02 FA 03 00 70 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 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 [09:02:15]Write to MH i2c: E2 02 01 AB 08 80 0D 02 02 FA 00 03 00 70 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 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 00 00 5F [09:02:15]Write i2c OK [09:02:15]MH_I2C_Read... [09:02:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:15]Read from MH i2c: E2 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 AB 08 00 90 00 27 [09:02:15]RAPDU: 90 00 [09:02:15]wFMCommunicate OK [09:02:15]wFMCommunicate request_size=255 [09:02:15]MH_SAM_APDU [09:02:15]CAPDU: 80 0D 02 02 FA 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 B7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 01 00 00 00 00 EE 03 0F 00 [09:02:15]Write to MH i2c: E2 02 01 AC 08 80 0D 02 02 FA 00 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 B7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 01 00 00 00 00 EE 03 0F 00 00 00 B5 [09:02:15]Write i2c OK [09:02:15]MH_I2C_Read... [09:02:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:15]Read from MH i2c: E2 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 AC 08 00 90 00 28 [09:02:15]RAPDU: 90 00 [09:02:15]wFMCommunicate OK [09:02:15]wFMCommunicate request_size=133 [09:02:15]MH_SAM_APDU [09:02:15]CAPDU: 80 0D 02 02 80 F2 03 01 00 01 F3 03 06 00 75 13 00 00 00 00 07 04 06 00 34 B7 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 98 47 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 81 94 00 00 35 04 06 00 29 9D F6 A1 5B CF [09:02:15]Write to MH i2c: E2 88 00 AD 08 80 0D 02 02 80 00 F2 03 01 00 01 F3 03 06 00 75 13 00 00 00 00 07 04 06 00 34 B7 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 98 47 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 81 94 00 00 35 04 06 00 29 9D F6 A1 5B CF 00 00 19 [09:02:15]Write i2c OK [09:02:15]MH_I2C_Read... [09:02:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:15]Read from MH i2c: E2 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 03 00 AD 08 00 90 00 29 [09:02:15]RAPDU: 90 00 [09:02:15]wFMCommunicate OK [09:02:15]wFMCommunicate request_size=4 [09:02:15]MH_SAM_APDU [09:02:15]CAPDU: 80 0D 03 02 [09:02:15]Write to MH i2c: E2 08 00 AE 08 80 0D 03 02 00 00 00 00 31 [09:02:15]Write i2c OK [09:02:15]MH_I2C_Read... [09:02:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:02:15]Read from MH i2c: E2 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 0B 00 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 0B 00 AE 08 00 E5 BF 96 41 39 2F C6 64 90 00 3F [09:02:15]RAPDU: E5 BF 96 41 39 2F C6 64 90 00 [09:02:15]wFMCommunicate OK [09:02:15]SAM_PROTO_SignData done [09:02:15]FM_MakeSignedData done [09:02:15]CreateOFDProtocolMessage [09:02:15]wFMCommunicate request_size=4 [09:02:15]MH_SAM_APDU [09:02:15]CAPDU: 80 11 00 00 [09:02:15]Write to MH i2c: E2 08 00 AF 08 80 11 00 00 00 00 00 00 31 [09:02:15]Write i2c OK [09:02:15]MH_I2C_Read... [09:02:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:15]Read from MH i2c: E2 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 17 00 [09:02:15]MH_I2C_Read... [09:02:15]Read from MH i2c: E2 17 00 AF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 81 [09:02:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:02:16]wFMCommunicate OK [09:02:16]CreateOFDProtocolMessage done [09:02:16]OFDSenderStorePacket 38017 [09:02:16]StoreOFDPacket docnum=38017 [09:02:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 84 02 00 00 5F F0 7C 02 32 AE 5A 03 01 00 03 00 70 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 B7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 13 00 00 00 00 07 04 06 00 34 B7 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 98 47 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 81 94 00 00 35 04 06 00 29 9D F6 A1 5B CF E5 BF 96 41 39 2F C6 64 [09:02:16]CheckFolder [09:02:16]dirname=/storage/ofd_packets [09:02:16]CheckFolder done [09:02:16]ProducePacketName [09:02:16]name=ofd_packets/00038017 [09:02:16]NVStorageSaveData ofd_packets/00038017 [09:02:16]File name is /storage/ofd_packets/00038017 [09:02:16]Write 674 bytes [09:02:16]NVStorageSaveData done [09:02:16]OFDSenderStorePacket done [09:02:16]KKMCreateOFDPacket done [09:02:16]NVStorageSaveData kkm_last_timestamp [09:02:16]File name is /storage/kkm_last_timestamp [09:02:16]Write 4 bytes [09:02:16]NVStorageSaveData done [09:02:16]ExternCall_PrintAddStr [09:02:16]wPrintStart [09:02:16]Write to MH i2c: 01 00 00 B0 08 B8 [09:02:16]Write i2c OK [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: 01 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: 01 07 00 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: 01 07 00 B0 08 00 00 00 00 00 FF 0F CD [09:02:16]RasterBufferAndPrint [09:02:16]line Счет N : (3)35314 [09:02:16]line ИНН: 02508201610067 [09:02:16]line Контрольно-Кассовый Чек [09:02:16]line ПРОДАЖА [09:02:16]line Товар: 2000036220012 [09:02:16]line Кофе Капучино XL(GABB TRADE) [09:02:16]line 2.000 * 130.00 [09:02:16]line = 260.00 [09:02:16]line НДС 12% НСП 1% [09:02:16]line > о реализуемом товаре [09:02:16]line Товар: 4700041420084 [09:02:16]line Салфетки влажн BEST ANTIBACTERIAL 100 шт [09:02:16]line 1.000 * 134.00 [09:02:16]line = 134.00 [09:02:16]line НДС 12% НСП 1% [09:02:16]line > о реализуемом товаре [09:02:16]line Товар: 4700000160013 [09:02:16]line Снек Курут индивидуальный [09:02:16]line 2.000 * 15.00 [09:02:16]line = 30.00 [09:02:16]line НДС 12% НСП 1% [09:02:16]line > о реализуемом товаре [09:02:16]line Товар: 42113164 [09:02:16]line Жев Orbit White Spearmint [09:02:16]line 1.000 * 45.00 [09:02:16]line = 45.00 [09:02:16]line НДС 12% НСП 1% [09:02:16]line > о реализуемом товаре [09:02:16]line ИТОГО: 469.00 [09:02:16]line НСП 1% : 4.15 [09:02:16]line НДС 12% : 49.81 [09:02:16]line Наличными: 469.00 [09:02:16]line Безнал.: 0.00 [09:02:16]line Место: АЗС № 126 "Партнер Нефть" [09:02:16]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:02:16]line СНО: Общий режим [09:02:16]line Чек 25 31.10.2024 09:02 [09:02:16]line Смена: 554 ФФД: 1.0 [09:02:16]line ЗНМ: 0300000092 [09:02:16]line РНМ: 0000000000091684 [09:02:16]line Версия ККМ: 001 [09:02:16]line ФМ: 0000000000871841 [09:02:16]line ФД: 38017 [09:02:16]line ФПД: 45758424374223 [09:02:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T090216&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38017&fm=45758424374223&tin=02508201610067®Number=0000000000091684&sum=46900 [09:02:16]line 0 [09:02:16]OFD Sender: Processing packet 38017 [packets to send 42, broken 41] [09:02:16]ProducePacketName [09:02:16]name=ofd_packets/00038017 [09:02:16]OFD Sender: To server: pG, [09:02:16]CommunicateWithHost lk.salyk.kg:30040 [09:02:16]ConnectInit lk.salyk.kg [09:02:16]written 0, free lines is 4095 [09:02:16]Connected sock=10 [09:02: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 38 34 31 84 02 00 00 5F F0 7C 02 32 AE 5A 03 01 00 03 00 70 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 30 38 34 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 41 4E 54 49 42 41 43 54 45 52 49 41 4C 20 31 30 30 20 D1 88 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 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 B7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 13 00 00 00 00 07 04 06 00 34 B7 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 98 47 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 81 94 00 00 35 04 06 00 29 9D F6 A1 5B CF E5 BF 96 41 39 2F C6 64 [09:02:16]Write to MH i2c: 01 00 00 EC 08 F4 [09:02:16]Write i2c OK [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: 01 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: 01 07 00 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: 01 07 00 EC 08 00 00 00 00 00 7D 0B 83 [09:02:16]RasterBufferAndPrint [09:02:16]line [09:02:16]line [09:02:16]line [09:02:16]line [09:02:16]line [09:02:16]written 0, free lines is 2946 [09:02:16]MH_Cut [09:02:16]Write to MH i2c: D1 01 00 F3 08 01 CD [09:02:16]Write i2c OK [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: D1 [09:02:16]MH_I2C_Read... [09:02:16]Read from MH i2c: D1 01 00 [09:02:16]MH_I2C_Read... [09:02:17]Read from MH i2c: D1 01 00 F3 08 00 CC [09:02:17]Write to MH i2c: 01 00 00 F4 08 FC [09:02:17]Write i2c OK [09:02:17]MH_I2C_Read... [09:02:18]*** Cut start [09:02:18]*** Partial cut [09:02:18]*** CUTSNS_PIN = 1 [09:02:18]*** CUTSNS_PIN = 0 [09:02:18]*** Brake cut motor [09:02:18]Read from MH i2c: 01 [09:02:18]MH_I2C_Read... [09:02:18]*** Stop cut motor [09:02:18]*** Cut end [09:02:18]Read from MH i2c: 01 07 00 [09:02:18]MH_I2C_Read... [09:02:18]Read from MH i2c: 01 07 00 F4 08 00 00 00 00 00 FF 0F 11 [09:02:18]process_action close_receipt done [09:02:18]requested_data is exist [09:02:18]produce_requested_data [09:02:18]requested_item fm.sn is exist - process it [09:02:18]wFMCommunicate request_size=4 [09:02:18]MH_SAM_APDU [09:02:18]CAPDU: 80 11 00 00 [09:02:18]Write to MH i2c: E2 08 00 F5 08 80 11 00 00 00 00 00 00 77 [09:02:18]Write i2c OK [09:02:18]MH_I2C_Read... [09:02:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:18]Read from MH i2c: E2 [09:02:18]MH_I2C_Read... [09:02:18]Read from MH i2c: E2 17 00 [09:02:18]MH_I2C_Read... [09:02:18]Read from MH i2c: E2 17 00 F5 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C7 [09:02:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:02:18]wFMCommunicate OK [09:02:18]requested_item fd.num is exist - process it [09:02:18]SAM_PROTO_GetFieldsCounters [09:02:18]wFMCommunicate request_size=4 [09:02:18]MH_SAM_APDU [09:02:18]CAPDU: 80 13 00 00 [09:02:18]Write to MH i2c: E2 08 00 F6 08 80 13 00 00 00 00 00 00 7A [09:02:18]Write i2c OK [09:02:18]MH_I2C_Read... [09:02:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 6A 88 47 00 50 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 38 34 31 10 04 04 00 81 94 00 00 F4 03 04 00 85 F2 22 67 B6 04 01 00 00 49 68 C4 1A 92 33 37 C7 [09:02:18]CommunicateWithHost err = 0 [09:02:18]CheckOFDResponse [09:02:18]1017 (14) - 77093643461234 [09:02:18]1041 (16) - 0000000000871841 [09:02:18]1040 (4) - 38017 [09:02:18]1012 (4) - 31.10.2024 02:59 [09:02:18]1206 (1) - 0 [09:02:18]OFD Sender: Remove packet 38017 [09:02:18]ProducePacketName [09:02:18]name=ofd_packets/00038017 [09:02:18]NVStorageDeleteData [09:02:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:02:18]Read from MH i2c: E2 [09:02:18]MH_I2C_Read... [09:02:18]Read from MH i2c: E2 62 00 [09:02:18]MH_I2C_Read... [09:02:18]Read from MH i2c: E2 62 00 F6 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 81 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 27 [09:02: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 81 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:02:18]wFMCommunicate OK [09:02:18]SAM_PROTO_GetFieldsCounters done [09:02:18]requested_item shift.num is exist - process it [09:02:18]requested_item shift.opened is exist - process it [09:02:18]req_shift_opened [09:02:18]FM_GetShiftState [09:02:18]SAM_PROTO_GetShiftState [09:02:18]wFMCommunicate request_size=4 [09:02:18]MH_SAM_APDU [09:02:18]CAPDU: 80 13 01 00 [09:02:18]Write to MH i2c: E2 08 00 F7 08 80 13 01 00 00 00 00 00 7C [09:02:18]Write i2c OK [09:02:18]MH_I2C_Read... [09:02:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:18]Read from MH i2c: E2 [09:02:18]MH_I2C_Read... [09:02:18]Read from MH i2c: E2 0E 00 [09:02:18]MH_I2C_Read... [09:02:18]Read from MH i2c: E2 0E 00 F7 08 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 B6 [09:02:18]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:02:18]wFMCommunicate OK [09:02:18]SAM_PROTO_GetShiftState done [09:02:18]FM_GetShiftState done [09:02:18]req_shift_opened done [09:02:18]requested_item shift.open_date is exist - process it [09:02:18]req_shift_open_date [09:02:18]req_shift_open_date done [09:02:18]produce_requested_data done [09:02:18]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38017,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [09:02:18]process_action_free close_receipt [09:02:18]json_value_free [09:02:18]json_value_free done [09:02:19]process_json_proto returns [09:02:19]Send response to host [09:02:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38017,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [09:02:19]free response buf [09:02:19]execute_script done [09:02:19]execute_script returns [09:02:19]free content buf [09:02:19]Sock 9.Close socket [09:02:19]Sock 9.Thread stoped [09:02:19]OFD Sender: No OFD packet to send [09:02:24]OFD Sender: No OFD packet to send [09:02:29]OFD Sender: No OFD packet to send [09:02:34]OFD Sender: No OFD packet to send [09:02:39]OFD Sender: No OFD packet to send [09:02:44]OFD Sender: No OFD packet to send [09:02:49]OFD Sender: No OFD packet to send [09:02:54]OFD Sender: No OFD packet to send [09:02:59]OFD Sender: No OFD packet to send [09:03:04]OFD Sender: No OFD packet to send [09:03:09]OFD Sender: No OFD packet to send [09:03:14]OFD Sender: No OFD packet to send [09:03:19]OFD Sender: No OFD packet to send [09:03:24]OFD Sender: No OFD packet to send [09:03:29]OFD Sender: No OFD packet to send [09:03:34]OFD Sender: No OFD packet to send [09:03:39]OFD Sender: No OFD packet to send [09:03:44]OFD Sender: No OFD packet to send [09:03:49]OFD Sender: No OFD packet to send [09:03:54]OFD Sender: No OFD packet to send [09:03:59]OFD Sender: No OFD packet to send [09:04:04]OFD Sender: No OFD packet to send [09:04:09]OFD Sender: No OFD packet to send [09:04:14]OFD Sender: No OFD packet to send [09:04:19]OFD Sender: No OFD packet to send [09:04:24]OFD Sender: No OFD packet to send [09:04:29]OFD Sender: No OFD packet to send [09:04:34]OFD Sender: No OFD packet to send [09:04:39]OFD Sender: No OFD packet to send [09:04:44]OFD Sender: No OFD packet to send [09:04:49]OFD Sender: No OFD packet to send [09:04:54]OFD Sender: No OFD packet to send [09:04:59]OFD Sender: No OFD packet to send [09:05:04]OFD Sender: No OFD packet to send [09:05:09]OFD Sender: No OFD packet to send [09:05:14]OFD Sender: No OFD packet to send [09:05:19]OFD Sender: No OFD packet to send [09:05:24]OFD Sender: No OFD packet to send [09:05:29]OFD Sender: No OFD packet to send [09:05:34]OFD Sender: No OFD packet to send [09:05:39]OFD Sender: No OFD packet to send [09:05:44]OFD Sender: No OFD packet to send [09:05:49]OFD Sender: No OFD packet to send [09:05:54]OFD Sender: No OFD packet to send [09:05:59]OFD Sender: No OFD packet to send [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:44]OFD Sender: No OFD packet to send [09:06:49]OFD Sender: No OFD packet to send [09:06:54]OFD Sender: No OFD packet to send [09:06:59]OFD Sender: No OFD packet to send [09:07:04]OFD Sender: No OFD packet to send [09:07:09]OFD Sender: No OFD packet to send [09:07:14]OFD Sender: No OFD packet to send [09:07:19]OFD Sender: No OFD packet to send [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]OFD Sender: No OFD packet to send [09:07:59]OFD Sender: No OFD packet to send [09:08:04]OFD Sender: No OFD packet to send [09:08:09]OFD Sender: No OFD packet to send [09:08:14]OFD Sender: No OFD packet to send [09:08:19]OFD Sender: No OFD packet to send [09:08:24]OFD Sender: No OFD packet to send [09:08:29]OFD Sender: No OFD packet to send [09:08:34]OFD Sender: No OFD packet to send [09:08:39]OFD Sender: No OFD packet to send [09:08:44]OFD Sender: No OFD packet to send [09:08:49]OFD Sender: No OFD packet to send [09:08:54]OFD Sender: No OFD packet to send [09:08:59]OFD Sender: No OFD packet to send [09:09:04]OFD Sender: No OFD packet to send [09:09:09]OFD Sender: No OFD packet to send [09:09:14]OFD Sender: No OFD packet to send [09:09:19]OFD Sender: No OFD packet to send [09:09:24]OFD Sender: No OFD packet to send [09:09:29]OFD Sender: No OFD packet to send [09:09:34]OFD Sender: No OFD packet to send [09:09:39]OFD Sender: No OFD packet to send [09:09:44]OFD Sender: No OFD packet to send [09:09:49]OFD Sender: No OFD packet to send [09:09:54]OFD Sender: No OFD packet to send [09:09:59]OFD Sender: No OFD packet to send [09:10:04]OFD Sender: No OFD packet to send [09:10:09]OFD Sender: No OFD packet to send [09:10:14]OFD Sender: No OFD packet to send [09:10:19]OFD Sender: No OFD packet to send [09:10:24]OFD Sender: No OFD packet to send [09:10:29]OFD Sender: No OFD packet to send [09:10:34]OFD Sender: No OFD packet to send [09:10:39]OFD Sender: No OFD packet to send [09:10:44]OFD Sender: No OFD packet to send [09:10:49]OFD Sender: No OFD packet to send [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:24]OFD Sender: No OFD packet to send [09:11:29]OFD Sender: No OFD packet to send [09:11:34]OFD Sender: No OFD packet to send [09:11:39]OFD Sender: No OFD packet to send [09:11:44]OFD Sender: No OFD packet to send [09:11:49]OFD Sender: No OFD packet to send [09:11:54]OFD Sender: No OFD packet to send [09:11:59]OFD Sender: No OFD packet to send [09:12:04]OFD Sender: No OFD packet to send [09:12:09]OFD Sender: No OFD packet to send [09:12:14]OFD Sender: No OFD packet to send [09:12:19]OFD Sender: No OFD packet to send [09:12:24]OFD Sender: No OFD packet to send [09:12:29]OFD Sender: No OFD packet to send [09:12:34]OFD Sender: No OFD packet to send [09:12:39]OFD Sender: No OFD packet to send [09:12:44]OFD Sender: No OFD packet to send [09:12:49]OFD Sender: No OFD packet to send [09:12:54]OFD Sender: No OFD packet to send [09:12:59]OFD Sender: No OFD packet to send [09:13:04]OFD Sender: No OFD packet to send [09:13:09]OFD Sender: No OFD packet to send [09:13:14]OFD Sender: No OFD packet to send [09:13:19]OFD Sender: No OFD packet to send [09:13:24]OFD Sender: No OFD packet to send [09:13:30]OFD Sender: No OFD packet to send [09:13:35]OFD Sender: No OFD packet to send [09:13:40]OFD Sender: No OFD packet to send [09:13:45]OFD Sender: No OFD packet to send [09:13:50]OFD Sender: No OFD packet to send [09:13:55]OFD Sender: No OFD packet to send [09:14:00]OFD Sender: No OFD packet to send [09:14:05]OFD Sender: No OFD packet to send [09:14:10]OFD Sender: No OFD packet to send [09:14:15]OFD Sender: No OFD packet to send [09:14:20]OFD Sender: No OFD packet to send [09:14:25]OFD Sender: No OFD packet to send [09:14:30]OFD Sender: No OFD packet to send [09:14:35]OFD Sender: No OFD packet to send [09:14:40]OFD Sender: No OFD packet to send [09:14:45]OFD Sender: No OFD packet to send [09:14:50]OFD Sender: No OFD packet to send [09:14:55]OFD Sender: No OFD packet to send [09:15:00]OFD Sender: No OFD packet to send [09:15:05]OFD Sender: No OFD packet to send [09:15:10]OFD Sender: No OFD packet to send [09:15:15]OFD Sender: No OFD packet to send [09:15:20]OFD Sender: No OFD packet to send [09:15:25]OFD Sender: No OFD packet to send [09:15:30]OFD Sender: No OFD packet to send [09:15:35]OFD Sender: No OFD packet to send [09:15:40]OFD Sender: No OFD packet to send [09:15:45]OFD Sender: No OFD packet to send [09:15:50]OFD Sender: No OFD packet to send [09:15:55]OFD Sender: No OFD packet to send [09:16:00]OFD Sender: No OFD packet to send [09:16:05]OFD Sender: No OFD packet to send [09:16:10]OFD Sender: No OFD packet to send [09:16:15]OFD Sender: No OFD packet to send [09:16:20]OFD Sender: No OFD packet to send [09:16:25]OFD Sender: No OFD packet to send [09:16:30]OFD Sender: No OFD packet to send [09:16:35]OFD Sender: No OFD packet to send [09:16:40]OFD Sender: No OFD packet to send [09:16:45]OFD Sender: No OFD packet to send [09:16:50]OFD Sender: No OFD packet to send [09:16:55]OFD Sender: No OFD packet to send [09:17:00]OFD Sender: No OFD packet to send [09:17:05]OFD Sender: No OFD packet to send [09:17:10]OFD Sender: No OFD packet to send [09:17:15]OFD Sender: No OFD packet to send [09:17:20]OFD Sender: No OFD packet to send [09:17:25]OFD Sender: No OFD packet to send [09:17:30]OFD Sender: No OFD packet to send [09:17:35]OFD Sender: No OFD packet to send [09:17:40]OFD Sender: No OFD packet to send [09:17:45]OFD Sender: No OFD packet to send [09:17:50]OFD Sender: No OFD packet to send [09:17:55]OFD Sender: No OFD packet to send [09:18:00]OFD Sender: No OFD packet to send [09:18:05]OFD Sender: No OFD packet to send [09:18:10]OFD Sender: No OFD packet to send [09:18:15]OFD Sender: No OFD packet to send [09:18:20]OFD Sender: No OFD packet to send [09:18:25]OFD Sender: No OFD packet to send [09:18:30]OFD Sender: No OFD packet to send [09:18:35]OFD Sender: No OFD packet to send [09:18:40]OFD Sender: No OFD packet to send [09:18:45]OFD Sender: No OFD packet to send [09:18:50]OFD Sender: No OFD packet to send [09:18:55]OFD Sender: No OFD packet to send [09:19:00]OFD Sender: No OFD packet to send [09:19:05]OFD Sender: No OFD packet to send [09:19:10]OFD Sender: No OFD packet to send [09:19:15]OFD Sender: No OFD packet to send [09:19:20]OFD Sender: No OFD packet to send [09:19:25]OFD Sender: No OFD packet to send [09:19:30]OFD Sender: No OFD packet to send [09:19:35]OFD Sender: No OFD packet to send [09:19:40]OFD Sender: No OFD packet to send [09:19:45]OFD Sender: No OFD packet to send [09:19:50]OFD Sender: No OFD packet to send [09:19:55]OFD Sender: No OFD packet to send [09:20:00]OFD Sender: No OFD packet to send [09:20:05]OFD Sender: No OFD packet to send [09:20:10]OFD Sender: No OFD packet to send [09:20:15]OFD Sender: No OFD packet to send [09:20:20]OFD Sender: No OFD packet to send [09:20:25]OFD Sender: No OFD packet to send [09:20:30]OFD Sender: No OFD packet to send [09:20:35]OFD Sender: No OFD packet to send [09:20:40]OFD Sender: No OFD packet to send [09:20:45]OFD Sender: No OFD packet to send [09:20:50]OFD Sender: No OFD packet to send [09:20:55]OFD Sender: No OFD packet to send [09:21:00]OFD Sender: No OFD packet to send [09:21:05]OFD Sender: No OFD packet to send [09:21:10]OFD Sender: No OFD packet to send [09:21:15]OFD Sender: No OFD packet to send [09:21:20]OFD Sender: No OFD packet to send [09:21:25]OFD Sender: No OFD packet to send [09:21:30]OFD Sender: No OFD packet to send [09:21:35]OFD Sender: No OFD packet to send [09:21:40]OFD Sender: No OFD packet to send [09:21:45]OFD Sender: No OFD packet to send [09:21:50]OFD Sender: No OFD packet to send [09:21:55]OFD Sender: No OFD packet to send [09:22:00]OFD Sender: No OFD packet to send [09:22:05]OFD Sender: No OFD packet to send [09:22:10]OFD Sender: No OFD packet to send [09:22:15]OFD Sender: No OFD packet to send [09:22:20]OFD Sender: No OFD packet to send [09:22:25]OFD Sender: No OFD packet to send [09:22:30]OFD Sender: No OFD packet to send [09:22:35]OFD Sender: No OFD packet to send [09:22:40]OFD Sender: No OFD packet to send [09:22:45]OFD Sender: No OFD packet to send [09:22:50]OFD Sender: No OFD packet to send [09:22:55]OFD Sender: No OFD packet to send [09:23:00]OFD Sender: No OFD packet to send [09:23:05]OFD Sender: No OFD packet to send [09:23:10]OFD Sender: No OFD packet to send [09:23:15]OFD Sender: No OFD packet to send [09:23:20]OFD Sender: No OFD packet to send [09:23:25]OFD Sender: No OFD packet to send [09:23:30]OFD Sender: No OFD packet to send [09:23:35]OFD Sender: No OFD packet to send [09:23:40]OFD Sender: No OFD packet to send [09:23:45]OFD Sender: No OFD packet to send [09:23:50]OFD Sender: No OFD packet to send [09:23:55]OFD Sender: No OFD packet to send [09:24:00]OFD Sender: No OFD packet to send [09:24:05]OFD Sender: No OFD packet to send [09:24:10]OFD Sender: No OFD packet to send [09:24:15]OFD Sender: No OFD packet to send [09:24:20]OFD Sender: No OFD packet to send [09:24:25]OFD Sender: No OFD packet to send [09:24:30]OFD Sender: No OFD packet to send [09:24:35]OFD Sender: No OFD packet to send [09:24:40]OFD Sender: No OFD packet to send [09:24:45]OFD Sender: No OFD packet to send [09:24:50]OFD Sender: No OFD packet to send [09:24:55]OFD Sender: No OFD packet to send [09:25:00]OFD Sender: No OFD packet to send [09:25:05]OFD Sender: No OFD packet to send [09:25:10]OFD Sender: No OFD packet to send [09:25:15]OFD Sender: No OFD packet to send [09:25:20]OFD Sender: No OFD packet to send [09:25:25]OFD Sender: No OFD packet to send [09:25:30]OFD Sender: No OFD packet to send [09:25:35]OFD Sender: No OFD packet to send [09:25:40]OFD Sender: No OFD packet to send [09:25:45]OFD Sender: No OFD packet to send [09:25:50]OFD Sender: No OFD packet to send [09:25:55]OFD Sender: No OFD packet to send [09:26:00]OFD Sender: No OFD packet to send [09:26:05]OFD Sender: No OFD packet to send [09:26:10]OFD Sender: No OFD packet to send [09:26:15]OFD Sender: No OFD packet to send [09:26:20]OFD Sender: No OFD packet to send [09:26:25]OFD Sender: No OFD packet to send [09:26:30]OFD Sender: No OFD packet to send [09:26:35]OFD Sender: No OFD packet to send [09:26:40]OFD Sender: No OFD packet to send [09:26:45]OFD Sender: No OFD packet to send [09:26:50]OFD Sender: No OFD packet to send [09:26:55]OFD Sender: No OFD packet to send [09:27:00]OFD Sender: No OFD packet to send [09:27:05]OFD Sender: No OFD packet to send [09:27:10]OFD Sender: No OFD packet to send [09:27:15]OFD Sender: No OFD packet to send [09:27:20]OFD Sender: No OFD packet to send [09:27:25]OFD Sender: No OFD packet to send [09:27:30]OFD Sender: No OFD packet to send [09:27:35]OFD Sender: No OFD packet to send [09:27:40]OFD Sender: No OFD packet to send [09:27:45]OFD Sender: No OFD packet to send [09:27:50]OFD Sender: No OFD packet to send [09:27:55]OFD Sender: No OFD packet to send [09:28:00]OFD Sender: No OFD packet to send [09:28:05]OFD Sender: No OFD packet to send [09:28:10]OFD Sender: No OFD packet to send [09:28:15]OFD Sender: No OFD packet to send [09:28:20]OFD Sender: No OFD packet to send [09:28:25]OFD Sender: No OFD packet to send [09:28:30]OFD Sender: No OFD packet to send [09:28:35]OFD Sender: No OFD packet to send [09:28:40]OFD Sender: No OFD packet to send [09:28:45]OFD Sender: No OFD packet to send [09:28:50]OFD Sender: No OFD packet to send [09:28:55]OFD Sender: No OFD packet to send [09:29:00]OFD Sender: No OFD packet to send [09:29:05]OFD Sender: No OFD packet to send [09:29:10]OFD Sender: No OFD packet to send [09:29:15]OFD Sender: No OFD packet to send [09:29:20]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:00]OFD Sender: No OFD packet to send [09:30:05]OFD Sender: No OFD packet to send [09:30:10]OFD Sender: No OFD packet to send [09:30:15]OFD Sender: No OFD packet to send [09:30:20]OFD Sender: No OFD packet to send [09:30:25]OFD Sender: No OFD packet to send [09:30:30]OFD Sender: No OFD packet to send [09:30:35]accept exits with 7 [09:30:35]New connection [09:30:35]New thread 3067043172 created [09:30:35]Thread 3067186532 joined [09:30:35]Waiting for new connection... [09:30:35] Sock 7.Parse request [09:30:35]Sock 7.Check first char [09:30:35]Sock 7.First char is OK [09:30:35]request: POST /json_proto HTTP/1.0 [09:30:35]Method: POST [09:30:35]URL: /json_proto [09:30:35]Method is POST - this is cgi request [09:30:35]url: /json_proto [09:30:35]query_string will be loaded in cgi processing [09:30:35]execute_cgi json_proto POST (null) [09:30:35]execute_cgi path=json_proto method=POST [09:30:35]POST find Content-Length [09:30:35]Host: 172.17.40.196:8080 [09:30:35]Content-Length: 773 [09:30:35]Content-Type: application/json [09:30:35] [09:30:35]POST finish read [09:30:35]Found Content-Length = 773 [09:30:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35315", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:30:35]execute_script... [09:30: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)35315", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:30:35]POST & json_proto [09:30:35]process_json_proto [09:30:35]json parsed OK: [09:30:35]protocol is kg_v1.0 [09:30:35]action value=close_receipt [09:30:35]process_action close_receipt [09:30:35]cmd_close_receipt [09:30:35]MH_GetDate [09:30:35]Write to MH i2c: F0 00 00 F8 08 EF [09:30:35]Write i2c OK [09:30:35]MH_I2C_Read... [09:30:35]Read from MH i2c: F0 [09:30:35]MH_I2C_Read... [09:30:35]Read from MH i2c: F0 09 00 [09:30:35]MH_I2C_Read... [09:30:35]Read from MH i2c: F0 09 00 F8 08 00 3D 4E 23 67 5B 68 A1 66 D7 [09:30:35]GetLastDocTimeStamp 1730365336 [09:30:35]current date 1730367037 [09:30:35]FM_GetShiftState [09:30:35]SAM_PROTO_GetShiftState [09:30:35]wFMCommunicate request_size=4 [09:30:35]MH_SAM_APDU [09:30:35]CAPDU: 80 13 01 00 [09:30:35]Write to MH i2c: E2 08 00 F9 08 80 13 01 00 00 00 00 00 7E [09:30:35]Write i2c OK [09:30:35]MH_I2C_Read... [09:30:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:30:35]Read from MH i2c: E2 [09:30:35]MH_I2C_Read... [09:30:35]Read from MH i2c: E2 0E 00 [09:30:35]MH_I2C_Read... [09:30:35]Read from MH i2c: E2 0E 00 F9 08 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 B8 [09:30:35]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:30:35]wFMCommunicate OK [09:30:35]SAM_PROTO_GetShiftState done [09:30:35]FM_GetShiftState done [09:30:35]opened in 1730333148 [09:30:35]opened+sec_in_day 1730419548 [09:30:35]quantity*price = 13000 [09:30:35]sum+1 = 13001 [09:30:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 26 31.10.2024 09:30 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 38018 ФПД: 10776069798698 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T093037&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38018&fm=10776069798698&tin=02508201610067®Number=0000000000091684&sum=13000 0 [09:30:36]StoreToDocumentArchive [09:30:36]shift 554 fd 38018 [09:30:36]save to /storage/0554/doc_00038018 [09:30:36]save last doc name /storage/0554/doc_00038018 to /storage/kkm_last_doc_name [09:30:36]save OK [09:30:36]Clear old archive folders... [09:30:36]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:30:36]tlvbuf is 01187D30 [09:30:36]SAM_PROTO_ClearQueue [09:30:36]wFMCommunicate request_size=4 [09:30:36]MH_SAM_APDU [09:30:36]CAPDU: 80 09 00 00 [09:30:36]Write to MH i2c: E2 08 00 06 09 80 09 00 00 00 00 00 00 81 [09:30:36]Write i2c OK [09:30:36]MH_I2C_Read... [09:30:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:30:36]Read from MH i2c: E2 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 03 00 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 03 00 06 09 00 90 00 83 [09:30:36]RAPDU: 90 00 [09:30:36]wFMCommunicate OK [09:30:36]SAM_PROTO_ClearQueue done [09:30:36]KKMCreateOFDPacket [09:30:36]OFDProtocolAddRootSTLVToBuf [09:30:36]FM_MakeSignedData [09:30:36]FM_MakeSignedData [09:30:36]SAM_PROTO_SignData [09:30:36]wFMCommunicate request_size=4 [09:30:36]MH_SAM_APDU [09:30:36]CAPDU: 80 0D 01 02 [09:30:36]Write to MH i2c: E2 08 00 07 09 80 0D 01 02 00 00 00 00 89 [09:30:36]Write i2c OK [09:30:36]MH_I2C_Read... [09:30:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:30:36]Read from MH i2c: E2 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 03 00 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 03 00 07 09 00 90 00 84 [09:30:36]RAPDU: 90 00 [09:30:36]wFMCommunicate OK [09:30:36]wFMCommunicate request_size=255 [09:30:36]MH_SAM_APDU [09:30:36]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 3D 4E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [09:30:36]Write to MH i2c: E2 02 01 08 09 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 3D 4E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 85 [09:30:36]Write i2c OK [09:30:36]MH_I2C_Read... [09:30:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:30:36]Read from MH i2c: E2 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 03 00 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 03 00 08 09 00 90 00 85 [09:30:36]RAPDU: 90 00 [09:30:36]wFMCommunicate OK [09:30:36]wFMCommunicate request_size=31 [09:30:36]MH_SAM_APDU [09:30:36]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 82 94 00 00 35 04 06 00 09 CC FF CF FB 2A [09:30:36]Write to MH i2c: E2 22 00 09 09 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 82 94 00 00 35 04 06 00 09 CC FF CF FB 2A 00 00 92 [09:30:36]Write i2c OK [09:30:36]MH_I2C_Read... [09:30:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:30:36]Read from MH i2c: E2 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 03 00 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 03 00 09 09 00 90 00 86 [09:30:36]RAPDU: 90 00 [09:30:36]wFMCommunicate OK [09:30:36]wFMCommunicate request_size=4 [09:30:36]MH_SAM_APDU [09:30:36]CAPDU: 80 0D 03 02 [09:30:36]Write to MH i2c: E2 08 00 0A 09 80 0D 03 02 00 00 00 00 8E [09:30:36]Write i2c OK [09:30:36]MH_I2C_Read... [09:30:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:30:36]Read from MH i2c: E2 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 0B 00 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 0B 00 0A 09 00 12 1F 74 95 36 2B 37 AC 90 00 0D [09:30:36]RAPDU: 12 1F 74 95 36 2B 37 AC 90 00 [09:30:36]wFMCommunicate OK [09:30:36]SAM_PROTO_SignData done [09:30:36]FM_MakeSignedData done [09:30:36]CreateOFDProtocolMessage [09:30:36]wFMCommunicate request_size=4 [09:30:36]MH_SAM_APDU [09:30:36]CAPDU: 80 11 00 00 [09:30:36]Write to MH i2c: E2 08 00 0B 09 80 11 00 00 00 00 00 00 8E [09:30:36]Write i2c OK [09:30:36]MH_I2C_Read... [09:30:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:30:36]Read from MH i2c: E2 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 17 00 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: E2 17 00 0B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DE [09:30:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:30:36]wFMCommunicate OK [09:30:36]CreateOFDProtocolMessage done [09:30:36]OFDSenderStorePacket 38018 [09:30:36]StoreOFDPacket docnum=38018 [09:30:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 9E 19 1C 01 B1 0E 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 3D 4E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 82 94 00 00 35 04 06 00 09 CC FF CF FB 2A 12 1F 74 95 36 2B 37 AC [09:30:36]CheckFolder [09:30:36]dirname=/storage/ofd_packets [09:30:36]CheckFolder done [09:30:36]ProducePacketName [09:30:36]name=ofd_packets/00038018 [09:30:36]NVStorageSaveData ofd_packets/00038018 [09:30:36]File name is /storage/ofd_packets/00038018 [09:30:36]Write 322 bytes [09:30:36]NVStorageSaveData done [09:30:36]OFDSenderStorePacket done [09:30:36]KKMCreateOFDPacket done [09:30:36]NVStorageSaveData kkm_last_timestamp [09:30:36]File name is /storage/kkm_last_timestamp [09:30:36]Write 4 bytes [09:30:36]NVStorageSaveData done [09:30:36]ExternCall_PrintAddStr [09:30:36]wPrintStart [09:30:36]Write to MH i2c: 01 00 00 0C 09 15 [09:30:36]Write i2c OK [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: 01 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: 01 07 00 [09:30:36]MH_I2C_Read... [09:30:36]Read from MH i2c: 01 07 00 0C 09 00 00 00 00 00 FF 0F 2A [09:30:36]RasterBufferAndPrint [09:30:36]line Счет N : (3)35315 [09:30:36]line ИНН: 02508201610067 [09:30:36]line Контрольно-Кассовый Чек [09:30:36]line ПРОДАЖА [09:30:36]line Товар: 47011656 [09:30:36]line Водка Пшеничная 0,1л [09:30:36]line 2.000 * 65.00 [09:30:36]line = 130.00 [09:30:36]line НДС 12% НСП 1% [09:30:36]line > о реализуемом товаре [09:30:36]line ИТОГО: 130.00 [09:30:36]line НСП 1% : 1.15 [09:30:36]line НДС 12% : 13.80 [09:30:36]line Наличными: 0.00 [09:30:36]line Безнал.: 130.00 [09:30:36]line Место: АЗС № 126 "Партнер Нефть" [09:30:36]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:30:36]line СНО: Общий режим [09:30:36]line Чек 26 31.10.2024 09:30 [09:30:36]line Смена: 554 ФФД: 1.0 [09:30:36]line ЗНМ: 0300000092 [09:30:36]line РНМ: 0000000000091684 [09:30:36]line Версия ККМ: 001 [09:30:36]line Платежная система: Mbank [09:30:36]line ФМ: 0000000000871841 [09:30:36]line ФД: 38018 [09:30:36]line ФПД: 10776069798698 [09:30:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T093037&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38018&fm=10776069798698&tin=02508201610067®Number=0000000000091684&sum=13000 [09:30:37]line 0 [09:30:37]OFD Sender: Processing packet 38018 [packets to send 42, broken 41] [09:30:37]ProducePacketName [09:30:37]name=ofd_packets/00038018 [09:30:37]OFD Sender: To server: pG, [09:30:37]CommunicateWithHost lk.salyk.kg:30040 [09:30:37]ConnectInit lk.salyk.kg [09:30:37]written 0, free lines is 4095 [09:30:37]Connected sock=10 [09:30: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 38 34 31 24 01 00 00 9E 19 1C 01 B1 0E 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 3D 4E 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 82 94 00 00 35 04 06 00 09 CC FF CF FB 2A 12 1F 74 95 36 2B 37 AC [09:30:37]Write to MH i2c: 01 00 00 35 09 3E [09:30:37]Write i2c OK [09:30:37]MH_I2C_Read... [09:30:37]Read from MH i2c: 01 [09:30:37]MH_I2C_Read... [09:30:37]Read from MH i2c: 01 07 00 [09:30:37]MH_I2C_Read... [09:30:37]Read from MH i2c: 01 07 00 35 09 00 00 00 00 00 BD 0C 0E [09:30:37]RasterBufferAndPrint [09:30:37]line [09:30:37]line [09:30:37]line [09:30:37]line [09:30:37]line [09:30:37]written 0, free lines is 3267 [09:30:37]MH_Cut [09:30:37]Write to MH i2c: D1 01 00 3C 09 01 17 [09:30:37]Write i2c OK [09:30:37]MH_I2C_Read... [09:30:37]Read from MH i2c: D1 [09:30:37]MH_I2C_Read... [09:30:37]Read from MH i2c: D1 01 00 [09:30:37]MH_I2C_Read... [09:30:37]Read from MH i2c: D1 01 00 3C 09 00 16 [09:30:37]Write to MH i2c: 01 00 00 3D 09 46 [09:30:37]Write i2c OK [09:30:37]MH_I2C_Read... [09:30:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 6D 80 47 00 0C C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 38 34 31 10 04 04 00 82 94 00 00 F4 03 04 00 29 F9 22 67 B6 04 01 00 00 C1 9B 64 D4 47 51 FB F3 [09:30:37]CommunicateWithHost err = 0 [09:30:37]CheckOFDResponse [09:30:37]1017 (14) - 77093643461234 [09:30:37]1041 (16) - 0000000000871841 [09:30:37]1040 (4) - 38018 [09:30:37]1012 (4) - 31.10.2024 03:27 [09:30:37]1206 (1) - 0 [09:30:37]OFD Sender: Remove packet 38018 [09:30:37]ProducePacketName [09:30:37]name=ofd_packets/00038018 [09:30:37]NVStorageDeleteData [09:30:38]*** Cut start [09:30:38]*** Partial cut [09:30:38]*** CUTSNS_PIN = 1 [09:30:38]OFD Sender: No OFD packet to send [09:30:38]*** CUTSNS_PIN = 0 [09:30:38]*** Brake cut motor [09:30:39]Read from MH i2c: 01 [09:30:39]MH_I2C_Read... [09:30:39]*** Stop cut motor [09:30:39]*** Cut end [09:30:39]Read from MH i2c: 01 07 00 [09:30:39]MH_I2C_Read... [09:30:39]Read from MH i2c: 01 07 00 3D 09 00 00 00 00 00 FF 0F 5B [09:30:39]process_action close_receipt done [09:30:39]requested_data is exist [09:30:39]produce_requested_data [09:30:39]requested_item fm.sn is exist - process it [09:30:39]wFMCommunicate request_size=4 [09:30:39]MH_SAM_APDU [09:30:39]CAPDU: 80 11 00 00 [09:30:39]Write to MH i2c: E2 08 00 3E 09 80 11 00 00 00 00 00 00 C1 [09:30:39]Write i2c OK [09:30:39]MH_I2C_Read... [09:30:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:30:39]Read from MH i2c: E2 [09:30:39]MH_I2C_Read... [09:30:39]Read from MH i2c: E2 17 00 [09:30:39]MH_I2C_Read... [09:30:39]Read from MH i2c: E2 17 00 3E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 11 [09:30:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:30:39]wFMCommunicate OK [09:30:39]requested_item fd.num is exist - process it [09:30:39]SAM_PROTO_GetFieldsCounters [09:30:39]wFMCommunicate request_size=4 [09:30:39]MH_SAM_APDU [09:30:39]CAPDU: 80 13 00 00 [09:30:39]Write to MH i2c: E2 08 00 3F 09 80 13 00 00 00 00 00 00 C4 [09:30:39]Write i2c OK [09:30:39]MH_I2C_Read... [09:30:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:30:39]Read from MH i2c: E2 [09:30:39]MH_I2C_Read... [09:30:39]Read from MH i2c: E2 62 00 [09:30:39]MH_I2C_Read... [09:30:39]Read from MH i2c: E2 62 00 3F 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 82 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [09:30: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 82 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:30:39]wFMCommunicate OK [09:30:39]SAM_PROTO_GetFieldsCounters done [09:30:39]requested_item shift.num is exist - process it [09:30:39]requested_item shift.opened is exist - process it [09:30:39]req_shift_opened [09:30:39]FM_GetShiftState [09:30:39]SAM_PROTO_GetShiftState [09:30:39]wFMCommunicate request_size=4 [09:30:39]MH_SAM_APDU [09:30:39]CAPDU: 80 13 01 00 [09:30:39]Write to MH i2c: E2 08 00 40 09 80 13 01 00 00 00 00 00 C6 [09:30:39]Write i2c OK [09:30:39]MH_I2C_Read... [09:30:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:30:39]Read from MH i2c: E2 [09:30:39]MH_I2C_Read... [09:30:39]Read from MH i2c: E2 0E 00 [09:30:39]MH_I2C_Read... [09:30:39]Read from MH i2c: E2 0E 00 40 09 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 00 [09:30:39]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:30:39]wFMCommunicate OK [09:30:39]SAM_PROTO_GetShiftState done [09:30:39]FM_GetShiftState done [09:30:39]req_shift_opened done [09:30:39]requested_item shift.open_date is exist - process it [09:30:39]req_shift_open_date [09:30:39]req_shift_open_date done [09:30:39]produce_requested_data done [09:30:39]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38018,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [09:30:39]process_action_free close_receipt [09:30:39]json_value_free [09:30:39]json_value_free done [09:30:39]process_json_proto returns [09:30:39]Send response to host [09:30:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38018,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [09:30:39]free response buf [09:30:39]execute_script done [09:30:39]execute_script returns [09:30:39]free content buf [09:30:39]Sock 7.Close socket [09:30:39]Sock 7.Thread stoped [09:30:43]OFD Sender: No OFD packet to send [09:30:48]OFD Sender: No OFD packet to send [09:30:53]OFD Sender: No OFD packet to send [09:30:58]OFD Sender: No OFD packet to send [09:31:03]OFD Sender: No OFD packet to send [09:31:08]OFD Sender: No OFD packet to send [09:31:13]OFD Sender: No OFD packet to send [09:31:18]OFD Sender: No OFD packet to send [09:31:23]OFD Sender: No OFD packet to send [09:31:28]OFD Sender: No OFD packet to send [09:31:33]OFD Sender: No OFD packet to send [09:31:38]OFD Sender: No OFD packet to send [09:31:43]OFD Sender: No OFD packet to send [09:31:48]OFD Sender: No OFD packet to send [09:31:53]OFD Sender: No OFD packet to send [09:31:58]OFD Sender: No OFD packet to send [09:32:03]OFD Sender: No OFD packet to send [09:32:08]OFD Sender: No OFD packet to send [09:32:13]OFD Sender: No OFD packet to send [09:32:18]OFD Sender: No OFD packet to send [09:32:23]OFD Sender: No OFD packet to send [09:32:28]OFD Sender: No OFD packet to send [09:32:33]OFD Sender: No OFD packet to send [09:32:38]OFD Sender: No OFD packet to send [09:32:43]OFD Sender: No OFD packet to send [09:32:48]OFD Sender: No OFD packet to send [09:32:53]OFD Sender: No OFD packet to send [09:32:58]OFD Sender: No OFD packet to send [09:33:03]OFD Sender: No OFD packet to send [09:33:08]OFD Sender: No OFD packet to send [09:33:13]OFD Sender: No OFD packet to send [09:33:18]OFD Sender: No OFD packet to send [09:33:23]OFD Sender: No OFD packet to send [09:33:28]OFD Sender: No OFD packet to send [09:33:33]OFD Sender: No OFD packet to send [09:33:38]OFD Sender: No OFD packet to send [09:33:43]OFD Sender: No OFD packet to send [09:33:48]OFD Sender: No OFD packet to send [09:33:53]OFD Sender: No OFD packet to send [09:33:58]OFD Sender: No OFD packet to send [09:34:03]OFD Sender: No OFD packet to send [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:58]OFD Sender: No OFD packet to send [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:28]OFD Sender: No OFD packet to send [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:33]OFD Sender: No OFD packet to send [09:36:38]OFD Sender: No OFD packet to send [09:36:43]OFD Sender: No OFD packet to send [09:36:48]OFD Sender: No OFD packet to send [09:36:53]OFD Sender: No OFD packet to send [09:36:58]OFD Sender: No OFD packet to send [09:37:03]OFD Sender: No OFD packet to send [09:37:08]OFD Sender: No OFD packet to send [09:37:13]OFD Sender: No OFD packet to send [09:37:18]OFD Sender: No OFD packet to send [09:37:23]OFD Sender: No OFD packet to send [09:37:28]OFD Sender: No OFD packet to send [09:37:33]OFD Sender: No OFD packet to send [09:37:38]OFD Sender: No OFD packet to send [09:37:43]OFD Sender: No OFD packet to send [09:37:48]OFD Sender: No OFD packet to send [09:37:53]OFD Sender: No OFD packet to send [09:37:58]OFD Sender: No OFD packet to send [09:38:03]OFD Sender: No OFD packet to send [09:38:08]OFD Sender: No OFD packet to send [09:38:13]OFD Sender: No OFD packet to send [09:38:18]OFD Sender: No OFD packet to send [09:38:23]OFD Sender: No OFD packet to send [09:38:28]OFD Sender: No OFD packet to send [09:38:33]OFD Sender: No OFD packet to send [09:38:38]OFD Sender: No OFD packet to send [09:38:43]OFD Sender: No OFD packet to send [09:38:48]OFD Sender: No OFD packet to send [09:38:53]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:13]OFD Sender: No OFD packet to send [09:39:23]OFD Sender: No OFD packet to send [09:39:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]ConnectInit Can't connect to host [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:54]OFD Sender: No OFD packet to send [09:41:59]OFD Sender: No OFD packet to send [09:42:04]OFD Sender: No OFD packet to send [09:42:09]OFD Sender: No OFD packet to send [09:42:14]OFD Sender: No OFD packet to send [09:42:19]OFD Sender: No OFD packet to send [09:42:24]OFD Sender: No OFD packet to send [09:42:29]OFD Sender: No OFD packet to send [09:42:34]OFD Sender: No OFD packet to send [09:42:39]OFD Sender: No OFD packet to send [09:42:44]OFD Sender: No OFD packet to send [09:42:49]OFD Sender: No OFD packet to send [09:42:54]OFD Sender: No OFD packet to send [09:42:59]OFD Sender: No OFD packet to send [09:43:04]OFD Sender: No OFD packet to send [09:43:09]OFD Sender: No OFD packet to send [09:43:14]OFD Sender: No OFD packet to send [09:43:19]OFD Sender: No OFD packet to send [09:43:24]OFD Sender: No OFD packet to send [09:43:29]OFD Sender: No OFD packet to send [09:43:34]OFD Sender: No OFD packet to send [09:43:39]OFD Sender: No OFD packet to send [09:43:44]OFD Sender: No OFD packet to send [09:43:49]OFD Sender: No OFD packet to send [09:43:54]OFD Sender: No OFD packet to send [09:43:59]OFD Sender: No OFD packet to send [09:44:04]OFD Sender: No OFD packet to send [09:44:09]OFD Sender: No OFD packet to send [09:44:14]OFD Sender: No OFD packet to send [09:44:19]OFD Sender: No OFD packet to send [09:44:24]OFD Sender: No OFD packet to send [09:44:29]OFD Sender: No OFD packet to send [09:44:34]OFD Sender: No OFD packet to send [09:44:39]OFD Sender: No OFD packet to send [09:44:44]OFD Sender: No OFD packet to send [09:44:49]OFD Sender: No OFD packet to send [09:44:54]OFD Sender: No OFD packet to send [09:44:59]OFD Sender: No OFD packet to send [09:45:04]OFD Sender: No OFD packet to send [09:45:09]OFD Sender: No OFD packet to send [09:45:14]OFD Sender: No OFD packet to send [09:45:19]OFD Sender: No OFD packet to send [09:45:24]OFD Sender: No OFD packet to send [09:45:29]OFD Sender: No OFD packet to send [09:45:34]OFD Sender: No OFD packet to send [09:45:39]OFD Sender: No OFD packet to send [09:45:44]OFD Sender: No OFD packet to send [09:45:49]OFD Sender: No OFD packet to send [09:45:54]OFD Sender: No OFD packet to send [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:04]OFD Sender: No OFD packet to send [09:50:09]OFD Sender: No OFD packet to send [09:50:14]OFD Sender: No OFD packet to send [09:50:19]OFD Sender: No OFD packet to send [09:50:24]OFD Sender: No OFD packet to send [09:50:29]OFD Sender: No OFD packet to send [09:50:34]OFD Sender: No OFD packet to send [09:50:39]OFD Sender: No OFD packet to send [09:50:44]OFD Sender: No OFD packet to send [09:50:49]OFD Sender: No OFD packet to send [09:50:54]OFD Sender: No OFD packet to send [09:50:59]OFD Sender: No OFD packet to send [09:51:04]OFD Sender: No OFD packet to send [09:51:09]OFD Sender: No OFD packet to send [09:51:14]OFD Sender: No OFD packet to send [09:51:19]OFD Sender: No OFD packet to send [09:51:24]OFD Sender: No OFD packet to send [09:51:29]OFD Sender: No OFD packet to send [09:51:34]OFD Sender: No OFD packet to send [09:51:39]OFD Sender: No OFD packet to send [09:51:44]OFD Sender: No OFD packet to send [09:51:49]OFD Sender: No OFD packet to send [09:51:54]OFD Sender: No OFD packet to send [09:51:59]OFD Sender: No OFD packet to send [09:52:04]OFD Sender: No OFD packet to send [09:52:09]OFD Sender: No OFD packet to send [09:52:14]OFD Sender: No OFD packet to send [09:52:19]OFD Sender: No OFD packet to send [09:52:24]OFD Sender: No OFD packet to send [09:52:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:55]accept exits with 9 [09:52:55]New connection [09:52:55]New thread 3067186532 created [09:52:55]Thread 3067043172 joined [09:52:55]Waiting for new connection... [09:52:55] Sock 9.Parse request [09:52:55]Sock 9.Check first char [09:52:55]Sock 9.First char is OK [09:52:55]request: POST /json_proto HTTP/1.0 [09:52:55]Method: POST [09:52:55]URL: /json_proto [09:52:55]Method is POST - this is cgi request [09:52:55]url: /json_proto [09:52:55]query_string will be loaded in cgi processing [09:52:55]execute_cgi json_proto POST (null) [09:52:55]execute_cgi path=json_proto method=POST [09:52:55]POST find Content-Length [09:52:55]Host: 172.17.40.196:8080 [09:52:55]Content-Length: 649 [09:52:55]Content-Type: application/json [09:52:55] [09:52:55]POST finish read [09:52:55]Found Content-Length = 649 [09:52:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35316", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:52:55]execute_script... [09:52: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)35316", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:52:55]POST & json_proto [09:52:55]process_json_proto [09:52:55]json parsed OK: [09:52:55]protocol is kg_v1.0 [09:52:55]action value=close_receipt [09:52:55]process_action close_receipt [09:52:55]cmd_close_receipt [09:52:55]MH_GetDate [09:52:55]Write to MH i2c: F0 00 00 41 09 39 [09:52:55]Write i2c OK [09:52:55]MH_I2C_Read... [09:52:55]Read from MH i2c: F0 [09:52:55]MH_I2C_Read... [09:52:55]Read from MH i2c: F0 09 00 [09:52:55]MH_I2C_Read... [09:52:55]Read from MH i2c: F0 09 00 41 09 00 7A 53 23 67 5B 68 A1 66 63 [09:52:55]GetLastDocTimeStamp 1730367037 [09:52:55]current date 1730368378 [09:52:55]FM_GetShiftState [09:52:55]SAM_PROTO_GetShiftState [09:52:55]wFMCommunicate request_size=4 [09:52:55]MH_SAM_APDU [09:52:55]CAPDU: 80 13 01 00 [09:52:55]Write to MH i2c: E2 08 00 42 09 80 13 01 00 00 00 00 00 C8 [09:52:55]Write i2c OK [09:52:55]MH_I2C_Read... [09:52:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:52:56]Read from MH i2c: E2 [09:52:56]MH_I2C_Read... [09:52:56]Read from MH i2c: E2 0E 00 [09:52:56]MH_I2C_Read... [09:52:56]Read from MH i2c: E2 0E 00 42 09 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 02 [09:52:56]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:52:56]wFMCommunicate OK [09:52:56]SAM_PROTO_GetShiftState done [09:52:56]FM_GetShiftState done [09:52:56]opened in 1730333148 [09:52:56]opened+sec_in_day 1730419548 [09:52:56]quantity*price = 10500 [09:52:56]sum+1 = 10501 [09:52:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 27 31.10.2024 09:52 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38019 ФПД: 276097868086319 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T095258&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38019&fm=276097868086319&tin=02508201610067®Number=0000000000091684&sum=10500 0 [09:52:57]StoreToDocumentArchive [09:52:57]shift 554 fd 38019 [09:52:57]save to /storage/0554/doc_00038019 [09:52:57]save last doc name /storage/0554/doc_00038019 to /storage/kkm_last_doc_name [09:52:57]save OK [09:52:57]Clear old archive folders... [09:52:57]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:52:57]tlvbuf is 012FA490 [09:52:57]SAM_PROTO_ClearQueue [09:52:57]wFMCommunicate request_size=4 [09:52:57]MH_SAM_APDU [09:52:57]CAPDU: 80 09 00 00 [09:52:57]Write to MH i2c: E2 08 00 4F 09 80 09 00 00 00 00 00 00 CA [09:52:57]Write i2c OK [09:52:57]MH_I2C_Read... [09:52:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:52:57]Read from MH i2c: E2 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 03 00 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 03 00 4F 09 00 90 00 CC [09:52:57]RAPDU: 90 00 [09:52:57]wFMCommunicate OK [09:52:57]SAM_PROTO_ClearQueue done [09:52:57]KKMCreateOFDPacket [09:52:57]OFDProtocolAddRootSTLVToBuf [09:52:57]FM_MakeSignedData [09:52:57]FM_MakeSignedData [09:52:57]SAM_PROTO_SignData [09:52:57]wFMCommunicate request_size=4 [09:52:57]MH_SAM_APDU [09:52:57]CAPDU: 80 0D 01 02 [09:52:57]Write to MH i2c: E2 08 00 50 09 80 0D 01 02 00 00 00 00 D2 [09:52:57]Write i2c OK [09:52:57]MH_I2C_Read... [09:52:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:52:57]Read from MH i2c: E2 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 03 00 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 03 00 50 09 00 90 00 CD [09:52:57]RAPDU: 90 00 [09:52:57]wFMCommunicate OK [09:52:57]wFMCommunicate request_size=255 [09:52:57]MH_SAM_APDU [09:52:57]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 7A 53 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [09:52:57]Write to MH i2c: E2 02 01 51 09 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 7A 53 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 3B [09:52:57]Write i2c OK [09:52:57]MH_I2C_Read... [09:52:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:52:57]Read from MH i2c: E2 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 03 00 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 03 00 51 09 00 90 00 CE [09:52:57]RAPDU: 90 00 [09:52:57]wFMCommunicate OK [09:52:57]wFMCommunicate request_size=41 [09:52:57]MH_SAM_APDU [09:52:57]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 83 94 00 00 35 04 06 00 FB 1C 0B 59 BC 2F [09:52:57]Write to MH i2c: E2 2C 00 52 09 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 83 94 00 00 35 04 06 00 FB 1C 0B 59 BC 2F 00 00 1E [09:52:57]Write i2c OK [09:52:57]MH_I2C_Read... [09:52:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:52:57]Read from MH i2c: E2 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 03 00 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 03 00 52 09 00 90 00 CF [09:52:57]RAPDU: 90 00 [09:52:57]wFMCommunicate OK [09:52:57]wFMCommunicate request_size=4 [09:52:57]MH_SAM_APDU [09:52:57]CAPDU: 80 0D 03 02 [09:52:57]Write to MH i2c: E2 08 00 53 09 80 0D 03 02 00 00 00 00 D7 [09:52:57]Write i2c OK [09:52:57]MH_I2C_Read... [09:52:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:52:57]Read from MH i2c: E2 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 0B 00 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 0B 00 53 09 00 F7 29 35 64 27 78 93 30 90 00 F3 [09:52:57]RAPDU: F7 29 35 64 27 78 93 30 90 00 [09:52:57]wFMCommunicate OK [09:52:57]SAM_PROTO_SignData done [09:52:57]FM_MakeSignedData done [09:52:57]CreateOFDProtocolMessage [09:52:57]wFMCommunicate request_size=4 [09:52:57]MH_SAM_APDU [09:52:57]CAPDU: 80 11 00 00 [09:52:57]Write to MH i2c: E2 08 00 54 09 80 11 00 00 00 00 00 00 D7 [09:52:57]Write i2c OK [09:52:57]MH_I2C_Read... [09:52:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:52:57]Read from MH i2c: E2 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 17 00 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: E2 17 00 54 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 27 [09:52:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:52:57]wFMCommunicate OK [09:52:57]CreateOFDProtocolMessage done [09:52:57]OFDSenderStorePacket 38019 [09:52:57]StoreOFDPacket docnum=38019 [09:52:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 4C EC 26 01 C7 7E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 7A 53 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 83 94 00 00 35 04 06 00 FB 1C 0B 59 BC 2F F7 29 35 64 27 78 93 30 [09:52:57]CheckFolder [09:52:57]dirname=/storage/ofd_packets [09:52:57]CheckFolder done [09:52:57]ProducePacketName [09:52:57]name=ofd_packets/00038019 [09:52:57]NVStorageSaveData ofd_packets/00038019 [09:52:57]File name is /storage/ofd_packets/00038019 [09:52:57]Write 332 bytes [09:52:57]NVStorageSaveData done [09:52:57]OFDSenderStorePacket done [09:52:57]KKMCreateOFDPacket done [09:52:57]NVStorageSaveData kkm_last_timestamp [09:52:57]File name is /storage/kkm_last_timestamp [09:52:57]Write 4 bytes [09:52:57]NVStorageSaveData done [09:52:57]OFD Sender: Processing packet 38019 [packets to send 42, broken 41] [09:52:57]ProducePacketName [09:52:57]name=ofd_packets/00038019 [09:52:57]OFD Sender: To server: pG, [09:52:57]CommunicateWithHost lk.salyk.kg:30040 [09:52:57]ConnectInit lk.salyk.kg [09:52:57]ExternCall_PrintAddStr [09:52:57]wPrintStart [09:52:57]Write to MH i2c: 01 00 00 55 09 5E [09:52:57]Write i2c OK [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: 01 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: 01 07 00 [09:52:57]MH_I2C_Read... [09:52:57]Read from MH i2c: 01 07 00 55 09 00 00 00 00 00 FF 0F 73 [09:52:57]RasterBufferAndPrint [09:52:57]line Счет N : (3)35316 [09:52:57]line ИНН: 02508201610067 [09:52:57]line Контрольно-Кассовый Чек [09:52:57]line ПРОДАЖА [09:52:57]line Товар: 2000034730018 [09:52:57]line Кофе Американо (GABB TRADE) [09:52:57]line 1.000 * 105.00 [09:52:57]line = 105.00 [09:52:57]line НДС 12% НСП 1% [09:52:57]line > о реализуемом товаре [09:52:57]line ИТОГО: 105.00 [09:52:57]line НСП 1% : 0.93 [09:52:57]line НДС 12% : 11.15 [09:52:57]line Наличными: 105.00 [09:52:57]line Безнал.: 0.00 [09:52:57]line Место: АЗС № 126 "Партнер Нефть" [09:52:57]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:52:57]line СНО: Общий режим [09:52:57]line Чек 27 31.10.2024 09:52 [09:52:57]line Смена: 554 ФФД: 1.0 [09:52:57]line ЗНМ: 0300000092 [09:52:57]line РНМ: 0000000000091684 [09:52:57]line Версия ККМ: 001 [09:52:57]line ФМ: 0000000000871841 [09:52:57]line ФД: 38019 [09:52:57]line ФПД: 276097868086319 [09:52:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T095258&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38019&fm=276097868086319&tin=02508201610067®Number=0000000000091684&sum=10500 [09:52:58]line 0 [09:52:58]Connected sock=11 [09:52: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 38 34 31 2E 01 00 00 4C EC 26 01 C7 7E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 7A 53 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 83 94 00 00 35 04 06 00 FB 1C 0B 59 BC 2F F7 29 35 64 27 78 93 30 [09:52:58]written 0, free lines is 4095 [09:52:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 EF 19 47 00 84 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 38 34 31 10 04 04 00 83 94 00 00 F4 03 04 00 66 FE 22 67 B6 04 01 00 00 3F 1F 80 C6 51 98 E3 8C [09:52:58]CommunicateWithHost err = 0 [09:52:58]CheckOFDResponse [09:52:58]1017 (14) - 77093643461234 [09:52:58]1041 (16) - 0000000000871841 [09:52:58]1040 (4) - 38019 [09:52:58]1012 (4) - 31.10.2024 03:49 [09:52:58]1206 (1) - 0 [09:52:58]OFD Sender: Remove packet 38019 [09:52:58]ProducePacketName [09:52:58]name=ofd_packets/00038019 [09:52:58]NVStorageDeleteData [09:52:58]Write to MH i2c: 01 00 00 7E 09 87 [09:52:58]Write i2c OK [09:52:58]MH_I2C_Read... [09:52:58]Read from MH i2c: 01 [09:52:58]MH_I2C_Read... [09:52:58]Read from MH i2c: 01 07 00 [09:52:58]MH_I2C_Read... [09:52:58]Read from MH i2c: 01 07 00 7E 09 00 00 00 00 00 AF 0C 49 [09:52:58]RasterBufferAndPrint [09:52:58]line [09:52:58]line [09:52:58]line [09:52:58]line [09:52:58]line [09:52:58]written 0, free lines is 3251 [09:52:58]MH_Cut [09:52:58]Write to MH i2c: D1 01 00 85 09 01 60 [09:52:58]Write i2c OK [09:52:58]MH_I2C_Read... [09:52:58]Read from MH i2c: D1 [09:52:58]MH_I2C_Read... [09:52:58]Read from MH i2c: D1 01 00 [09:52:58]MH_I2C_Read... [09:52:58]Read from MH i2c: D1 01 00 85 09 00 5F [09:52:58]Write to MH i2c: 01 00 00 86 09 8F [09:52:58]Write i2c OK [09:52:58]MH_I2C_Read... [09:52:58]OFD Sender: No OFD packet to send [09:52:59]*** Cut start [09:52:59]*** Partial cut [09:52:59]*** CUTSNS_PIN = 1 [09:52:59]*** CUTSNS_PIN = 0 [09:52:59]*** Brake cut motor [09:52:59]Read from MH i2c: 01 [09:52:59]MH_I2C_Read... [09:52:59]*** Stop cut motor [09:52:59]*** Cut end [09:52:59]Read from MH i2c: 01 07 00 [09:52:59]MH_I2C_Read... [09:52:59]Read from MH i2c: 01 07 00 86 09 00 00 00 00 00 FF 0F A4 [09:52:59]process_action close_receipt done [09:52:59]requested_data is exist [09:52:59]produce_requested_data [09:52:59]requested_item fm.sn is exist - process it [09:52:59]wFMCommunicate request_size=4 [09:52:59]MH_SAM_APDU [09:52:59]CAPDU: 80 11 00 00 [09:52:59]Write to MH i2c: E2 08 00 87 09 80 11 00 00 00 00 00 00 0A [09:52:59]Write i2c OK [09:52:59]MH_I2C_Read... [09:53:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:53:00]Read from MH i2c: E2 [09:53:00]MH_I2C_Read... [09:53:00]Read from MH i2c: E2 17 00 [09:53:00]MH_I2C_Read... [09:53:00]Read from MH i2c: E2 17 00 87 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5A [09:53:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:53:00]wFMCommunicate OK [09:53:00]requested_item fd.num is exist - process it [09:53:00]SAM_PROTO_GetFieldsCounters [09:53:00]wFMCommunicate request_size=4 [09:53:00]MH_SAM_APDU [09:53:00]CAPDU: 80 13 00 00 [09:53:00]Write to MH i2c: E2 08 00 88 09 80 13 00 00 00 00 00 00 0D [09:53:00]Write i2c OK [09:53:00]MH_I2C_Read... [09:53:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:53:00]Read from MH i2c: E2 [09:53:00]MH_I2C_Read... [09:53:00]Read from MH i2c: E2 62 00 [09:53:00]MH_I2C_Read... [09:53:00]Read from MH i2c: E2 62 00 88 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 83 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 C2 [09:53:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 83 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:53:00]wFMCommunicate OK [09:53:00]SAM_PROTO_GetFieldsCounters done [09:53:00]requested_item shift.num is exist - process it [09:53:00]requested_item shift.opened is exist - process it [09:53:00]req_shift_opened [09:53:00]FM_GetShiftState [09:53:00]SAM_PROTO_GetShiftState [09:53:00]wFMCommunicate request_size=4 [09:53:00]MH_SAM_APDU [09:53:00]CAPDU: 80 13 01 00 [09:53:00]Write to MH i2c: E2 08 00 89 09 80 13 01 00 00 00 00 00 0F [09:53:00]Write i2c OK [09:53:00]MH_I2C_Read... [09:53:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:53:00]Read from MH i2c: E2 [09:53:00]MH_I2C_Read... [09:53:00]Read from MH i2c: E2 0E 00 [09:53:00]MH_I2C_Read... [09:53:00]Read from MH i2c: E2 0E 00 89 09 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 49 [09:53:00]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:53:00]wFMCommunicate OK [09:53:00]SAM_PROTO_GetShiftState done [09:53:00]FM_GetShiftState done [09:53:00]req_shift_opened done [09:53:00]requested_item shift.open_date is exist - process it [09:53:00]req_shift_open_date [09:53:00]req_shift_open_date done [09:53:00]produce_requested_data done [09:53:00]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38019,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [09:53:00]process_action_free close_receipt [09:53:00]json_value_free [09:53:00]json_value_free done [09:53:00]process_json_proto returns [09:53:00]Send response to host [09:53:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38019,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [09:53:00]free response buf [09:53:00]execute_script done [09:53:00]execute_script returns [09:53:00]free content buf [09:53:00]Sock 9.Close socket [09:53:00]Sock 9.Thread stoped [09:53:03]OFD Sender: No OFD packet to send [09:53:08]OFD Sender: No OFD packet to send [09:53:13]OFD Sender: No OFD packet to send [09:53:18]OFD Sender: No OFD packet to send [09:53:23]OFD Sender: No OFD packet to send [09:53:28]OFD Sender: No OFD packet to send [09:53:33]OFD Sender: No OFD packet to send [09:53:38]OFD Sender: No OFD packet to send [09:53:43]OFD Sender: No OFD packet to send [09:53:48]OFD Sender: No OFD packet to send [09:53:53]OFD Sender: No OFD packet to send [09:53:58]OFD Sender: No OFD packet to send [09:54:03]OFD Sender: No OFD packet to send [09:54:08]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:30]accept exits with 7 [09:56:30]New connection [09:56:30]New thread 3067043172 created [09:56:30]Thread 3067186532 joined [09:56:30]Waiting for new connection... [09:56:30] Sock 7.Parse request [09:56:30]Sock 7.Check first char [09:56:30]Sock 7.First char is OK [09:56:30]request: POST /json_proto HTTP/1.0 [09:56:30]Method: POST [09:56:30]URL: /json_proto [09:56:30]Method is POST - this is cgi request [09:56:30]url: /json_proto [09:56:30]query_string will be loaded in cgi processing [09:56:30]execute_cgi json_proto POST (null) [09:56:30]execute_cgi path=json_proto method=POST [09:56:30]POST find Content-Length [09:56:30]Host: 172.17.40.196:8080 [09:56:30]Content-Length: 631 [09:56:30]Content-Type: application/json [09:56:30] [09:56:30]POST finish read [09:56:30]Found Content-Length = 631 [09:56:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35317", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:56:30]execute_script... [09:56:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35317", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:56:30]POST & json_proto [09:56:30]process_json_proto [09:56:30]json parsed OK: [09:56:30]protocol is kg_v1.0 [09:56:30]action value=close_receipt [09:56:30]process_action close_receipt [09:56:30]cmd_close_receipt [09:56:30]MH_GetDate [09:56:30]Write to MH i2c: F0 00 00 8A 09 82 [09:56:30]Write i2c OK [09:56:30]MH_I2C_Read... [09:56:30]Read from MH i2c: F0 [09:56:30]MH_I2C_Read... [09:56:30]Read from MH i2c: F0 09 00 [09:56:30]MH_I2C_Read... [09:56:30]Read from MH i2c: F0 09 00 8A 09 00 51 54 23 67 5B 68 A1 66 84 [09:56:30]GetLastDocTimeStamp 1730368378 [09:56:30]current date 1730368593 [09:56:30]FM_GetShiftState [09:56:30]SAM_PROTO_GetShiftState [09:56:30]wFMCommunicate request_size=4 [09:56:30]MH_SAM_APDU [09:56:30]CAPDU: 80 13 01 00 [09:56:30]Write to MH i2c: E2 08 00 8B 09 80 13 01 00 00 00 00 00 11 [09:56:30]Write i2c OK [09:56:30]MH_I2C_Read... [09:56:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:30]Read from MH i2c: E2 [09:56:30]MH_I2C_Read... [09:56:30]Read from MH i2c: E2 0E 00 [09:56:30]MH_I2C_Read... [09:56:30]Read from MH i2c: E2 0E 00 8B 09 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 4B [09:56:30]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:56:30]wFMCommunicate OK [09:56:30]SAM_PROTO_GetShiftState done [09:56:30]FM_GetShiftState done [09:56:30]opened in 1730333148 [09:56:30]opened+sec_in_day 1730419548 [09:56:30]quantity*price = 6000 [09:56:30]sum+1 = 6001 [09:56:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 28 31.10.2024 09:56 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38020 ФПД: 23441564645360 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T095633&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38020&fm=23441564645360&tin=02508201610067®Number=0000000000091684&sum=6000 0 [09:56:32]StoreToDocumentArchive [09:56:32]shift 554 fd 38020 [09:56:32]save to /storage/0554/doc_00038020 [09:56:32]save last doc name /storage/0554/doc_00038020 to /storage/kkm_last_doc_name [09:56:32]save OK [09:56:32]Clear old archive folders... [09:56:32]ProcessDocumentItem done err = 0, tmpTLVsize=271 [09:56:32]tlvbuf is 01187BE0 [09:56:32]SAM_PROTO_ClearQueue [09:56:32]wFMCommunicate request_size=4 [09:56:32]MH_SAM_APDU [09:56:32]CAPDU: 80 09 00 00 [09:56:32]Write to MH i2c: E2 08 00 98 09 80 09 00 00 00 00 00 00 13 [09:56:32]Write i2c OK [09:56:32]MH_I2C_Read... [09:56:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:56:32]Read from MH i2c: E2 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 03 00 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 03 00 98 09 00 90 00 15 [09:56:32]RAPDU: 90 00 [09:56:32]wFMCommunicate OK [09:56:32]SAM_PROTO_ClearQueue done [09:56:32]KKMCreateOFDPacket [09:56:32]OFDProtocolAddRootSTLVToBuf [09:56:32]FM_MakeSignedData [09:56:32]FM_MakeSignedData [09:56:32]SAM_PROTO_SignData [09:56:32]wFMCommunicate request_size=4 [09:56:32]MH_SAM_APDU [09:56:32]CAPDU: 80 0D 01 02 [09:56:32]Write to MH i2c: E2 08 00 99 09 80 0D 01 02 00 00 00 00 1B [09:56:32]Write i2c OK [09:56:32]MH_I2C_Read... [09:56:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:56:32]Read from MH i2c: E2 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 03 00 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 03 00 99 09 00 90 00 16 [09:56:32]RAPDU: 90 00 [09:56:32]wFMCommunicate OK [09:56:32]wFMCommunicate request_size=255 [09:56:32]MH_SAM_APDU [09:56:32]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 51 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [09:56:32]Write to MH i2c: E2 02 01 9A 09 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 51 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 C4 [09:56:32]Write i2c OK [09:56:32]MH_I2C_Read... [09:56:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:32]Read from MH i2c: E2 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 03 00 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 03 00 9A 09 00 90 00 17 [09:56:32]RAPDU: 90 00 [09:56:32]wFMCommunicate OK [09:56:32]wFMCommunicate request_size=30 [09:56:32]MH_SAM_APDU [09:56:32]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 84 94 00 00 35 04 06 00 15 51 EA 22 37 F0 [09:56:32]Write to MH i2c: E2 21 00 9B 09 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 84 94 00 00 35 04 06 00 15 51 EA 22 37 F0 00 00 C5 [09:56:32]Write i2c OK [09:56:32]MH_I2C_Read... [09:56:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:56:32]Read from MH i2c: E2 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 03 00 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 03 00 9B 09 00 90 00 18 [09:56:32]RAPDU: 90 00 [09:56:32]wFMCommunicate OK [09:56:32]wFMCommunicate request_size=4 [09:56:32]MH_SAM_APDU [09:56:32]CAPDU: 80 0D 03 02 [09:56:32]Write to MH i2c: E2 08 00 9C 09 80 0D 03 02 00 00 00 00 20 [09:56:32]Write i2c OK [09:56:32]MH_I2C_Read... [09:56:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:56:32]Read from MH i2c: E2 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 0B 00 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 0B 00 9C 09 00 D4 67 3C B7 57 7B 3A 6B 90 00 C6 [09:56:32]RAPDU: D4 67 3C B7 57 7B 3A 6B 90 00 [09:56:32]wFMCommunicate OK [09:56:32]SAM_PROTO_SignData done [09:56:32]FM_MakeSignedData done [09:56:32]CreateOFDProtocolMessage [09:56:32]wFMCommunicate request_size=4 [09:56:32]MH_SAM_APDU [09:56:32]CAPDU: 80 11 00 00 [09:56:32]Write to MH i2c: E2 08 00 9D 09 80 11 00 00 00 00 00 00 20 [09:56:32]Write i2c OK [09:56:32]MH_I2C_Read... [09:56:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:32]Read from MH i2c: E2 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 17 00 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: E2 17 00 9D 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 70 [09:56:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:56:32]wFMCommunicate OK [09:56:32]CreateOFDProtocolMessage done [09:56:32]OFDSenderStorePacket 38020 [09:56:32]StoreOFDPacket docnum=38020 [09:56:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 D9 7E 1B 01 01 F6 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 51 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 84 94 00 00 35 04 06 00 15 51 EA 22 37 F0 D4 67 3C B7 57 7B 3A 6B [09:56:32]CheckFolder [09:56:32]dirname=/storage/ofd_packets [09:56:32]CheckFolder done [09:56:32]ProducePacketName [09:56:32]name=ofd_packets/00038020 [09:56:32]NVStorageSaveData ofd_packets/00038020 [09:56:32]File name is /storage/ofd_packets/00038020 [09:56:32]Write 321 bytes [09:56:32]NVStorageSaveData done [09:56:32]OFDSenderStorePacket done [09:56:32]KKMCreateOFDPacket done [09:56:32]NVStorageSaveData kkm_last_timestamp [09:56:32]File name is /storage/kkm_last_timestamp [09:56:32]Write 4 bytes [09:56:32]NVStorageSaveData done [09:56:32]ExternCall_PrintAddStr [09:56:32]wPrintStart [09:56:32]Write to MH i2c: 01 00 00 9E 09 A7 [09:56:32]Write i2c OK [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: 01 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: 01 07 00 [09:56:32]MH_I2C_Read... [09:56:32]Read from MH i2c: 01 07 00 9E 09 00 00 00 00 00 FF 0F BC [09:56:32]RasterBufferAndPrint [09:56:32]line Счет N : (3)35317 [09:56:32]line ИНН: 02508201610067 [09:56:32]line Контрольно-Кассовый Чек [09:56:32]line ПРОДАЖА [09:56:32]line Товар: 4700000160204 [09:56:32]line Вода Легенда 1,5л [09:56:32]line 1.000 * 60.00 [09:56:32]line = 60.00 [09:56:32]line НДС 12% НСП 1% [09:56:32]line > о реализуемом товаре [09:56:32]line ИТОГО: 60.00 [09:56:32]line НСП 1% : 0.53 [09:56:32]line НДС 12% : 6.37 [09:56:32]line Наличными: 60.00 [09:56:32]line Безнал.: 0.00 [09:56:32]line Место: АЗС № 126 "Партнер Нефть" [09:56:32]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:56:32]line СНО: Общий режим [09:56:32]line Чек 28 31.10.2024 09:56 [09:56:32]line Смена: 554 ФФД: 1.0 [09:56:32]line ЗНМ: 0300000092 [09:56:32]line РНМ: 0000000000091684 [09:56:32]line Версия ККМ: 001 [09:56:32]line ФМ: 0000000000871841 [09:56:32]line ФД: 38020 [09:56:32]line ФПД: 23441564645360 [09:56:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T095633&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38020&fm=23441564645360&tin=02508201610067®Number=0000000000091684&sum=6000 [09:56:32]OFD Sender: Processing packet 38020 [packets to send 42, broken 41] [09:56:32]ProducePacketName [09:56:32]name=ofd_packets/00038020 [09:56:32]OFD Sender: To server: pG, [09:56:32]CommunicateWithHost lk.salyk.kg:30040 [09:56:32]ConnectInit lk.salyk.kg [09:56:32]line 0 [09:56:32]written 0, free lines is 4095 [09:56:33]Connected sock=9 [09:56: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 38 34 31 23 01 00 00 D9 7E 1B 01 01 F6 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 51 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 84 94 00 00 35 04 06 00 15 51 EA 22 37 F0 D4 67 3C B7 57 7B 3A 6B [09:56:33]Write to MH i2c: 01 00 00 C6 09 CF [09:56:33]Write i2c OK [09:56:33]MH_I2C_Read... [09:56:33]Read from MH i2c: 01 [09:56:33]MH_I2C_Read... [09:56:33]Read from MH i2c: 01 07 00 [09:56:33]MH_I2C_Read... [09:56:33]Read from MH i2c: 01 07 00 C6 09 00 00 00 00 00 CA 0C AC [09:56:33]RasterBufferAndPrint [09:56:33]line [09:56:33]line [09:56:33]line [09:56:33]line [09:56:33]line [09:56:33]written 0, free lines is 3279 [09:56:33]MH_Cut [09:56:33]Write to MH i2c: D1 01 00 CD 09 01 A8 [09:56:33]Write i2c OK [09:56:33]MH_I2C_Read... [09:56:33]Read from MH i2c: D1 [09:56:33]MH_I2C_Read... [09:56:33]Read from MH i2c: D1 01 00 [09:56:33]MH_I2C_Read... [09:56:33]Read from MH i2c: D1 01 00 CD 09 00 A7 [09:56:33]Write to MH i2c: 01 00 00 CE 09 D7 [09:56:33]Write i2c OK [09:56:33]MH_I2C_Read... [09:56:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A7 5E 47 00 86 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 84 94 00 00 F4 03 04 00 3D FF 22 67 B6 04 01 00 00 34 83 77 F5 EB DC C6 5A [09:56:33]CommunicateWithHost err = 0 [09:56:33]CheckOFDResponse [09:56:33]1017 (14) - 77093643461234 [09:56:33]1041 (16) - 0000000000871841 [09:56:33]1040 (4) - 38020 [09:56:33]1012 (4) - 31.10.2024 03:53 [09:56:33]1206 (1) - 0 [09:56:33]OFD Sender: Remove packet 38020 [09:56:33]ProducePacketName [09:56:33]name=ofd_packets/00038020 [09:56:33]NVStorageDeleteData [09:56:34]*** Cut start [09:56:34]*** Partial cut [09:56:34]*** CUTSNS_PIN = 1 [09:56:34]*** CUTSNS_PIN = 0 [09:56:34]*** Brake cut motor [09:56:34]OFD Sender: No OFD packet to send [09:56:34]Read from MH i2c: 01 [09:56:34]MH_I2C_Read... [09:56:34]*** Stop cut motor [09:56:34]*** Cut end [09:56:34]Read from MH i2c: 01 07 00 [09:56:34]MH_I2C_Read... [09:56:34]Read from MH i2c: 01 07 00 CE 09 00 00 00 00 00 FF 0F EC [09:56:34]process_action close_receipt done [09:56:34]requested_data is exist [09:56:34]produce_requested_data [09:56:34]requested_item fm.sn is exist - process it [09:56:34]wFMCommunicate request_size=4 [09:56:34]MH_SAM_APDU [09:56:34]CAPDU: 80 11 00 00 [09:56:34]Write to MH i2c: E2 08 00 CF 09 80 11 00 00 00 00 00 00 52 [09:56:34]Write i2c OK [09:56:34]MH_I2C_Read... [09:56:34]Read from MH i2c: E2 [09:56:34]MH_I2C_Read... [09:56:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:34]Read from MH i2c: E2 17 00 [09:56:34]MH_I2C_Read... [09:56:34]Read from MH i2c: E2 17 00 CF 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A2 [09:56:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:56:34]wFMCommunicate OK [09:56:34]requested_item fd.num is exist - process it [09:56:34]SAM_PROTO_GetFieldsCounters [09:56:34]wFMCommunicate request_size=4 [09:56:34]MH_SAM_APDU [09:56:34]CAPDU: 80 13 00 00 [09:56:34]Write to MH i2c: E2 08 00 D0 09 80 13 00 00 00 00 00 00 55 [09:56:34]Write i2c OK [09:56:34]MH_I2C_Read... [09:56:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:56:35]Read from MH i2c: E2 [09:56:35]MH_I2C_Read... [09:56:35]Read from MH i2c: E2 62 00 [09:56:35]MH_I2C_Read... [09:56:35]Read from MH i2c: E2 62 00 D0 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 84 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 0E [09:56: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 84 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:56:35]wFMCommunicate OK [09:56:35]SAM_PROTO_GetFieldsCounters done [09:56:35]requested_item shift.num is exist - process it [09:56:35]requested_item shift.opened is exist - process it [09:56:35]req_shift_opened [09:56:35]FM_GetShiftState [09:56:35]SAM_PROTO_GetShiftState [09:56:35]wFMCommunicate request_size=4 [09:56:35]MH_SAM_APDU [09:56:35]CAPDU: 80 13 01 00 [09:56:35]Write to MH i2c: E2 08 00 D1 09 80 13 01 00 00 00 00 00 57 [09:56:35]Write i2c OK [09:56:35]MH_I2C_Read... [09:56:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:35]Read from MH i2c: E2 [09:56:35]MH_I2C_Read... [09:56:35]Read from MH i2c: E2 0E 00 [09:56:35]MH_I2C_Read... [09:56:35]Read from MH i2c: E2 0E 00 D1 09 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 91 [09:56:35]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:56:35]wFMCommunicate OK [09:56:35]SAM_PROTO_GetShiftState done [09:56:35]FM_GetShiftState done [09:56:35]req_shift_opened done [09:56:35]requested_item shift.open_date is exist - process it [09:56:35]req_shift_open_date [09:56:35]req_shift_open_date done [09:56:35]produce_requested_data done [09:56:35]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38020,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [09:56:35]process_action_free close_receipt [09:56:35]json_value_free [09:56:35]json_value_free done [09:56:35]process_json_proto returns [09:56:35]Send response to host [09:56:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38020,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [09:56:35]free response buf [09:56:35]execute_script done [09:56:35]execute_script returns [09:56:35]free content buf [09:56:35]Sock 7.Close socket [09:56:35]Sock 7.Thread stoped [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:08]accept exits with 10 [09:57:08]New connection [09:57:08]New thread 3067186532 created [09:57:08]Thread 3067043172 joined [09:57:08]Waiting for new connection... [09:57:08] Sock 10.Parse request [09:57:08]Sock 10.Check first char [09:57:08]Sock 10.First char is OK [09:57:08]request: POST /json_proto HTTP/1.0 [09:57:08]Method: POST [09:57:08]URL: /json_proto [09:57:08]Method is POST - this is cgi request [09:57:08]url: /json_proto [09:57:08]query_string will be loaded in cgi processing [09:57:08]execute_cgi json_proto POST (null) [09:57:08]execute_cgi path=json_proto method=POST [09:57:08]POST find Content-Length [09:57:08]Host: 172.17.40.196:8080 [09:57:08]Content-Length: 917 [09:57:08]Content-Type: application/json [09:57:08] [09:57:08]POST finish read [09:57:08]Found Content-Length = 917 [09:57:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35318", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:08]execute_script... [09:57: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)35318", "tax_sys" : 0, "items" : [ { "code": "4700040114120", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:08]POST & json_proto [09:57:08]process_json_proto [09:57:08]json parsed OK: [09:57:08]protocol is kg_v1.0 [09:57:08]action value=close_receipt [09:57:08]process_action close_receipt [09:57:08]cmd_close_receipt [09:57:08]MH_GetDate [09:57:08]Write to MH i2c: F0 00 00 D2 09 CA [09:57:08]Write i2c OK [09:57:08]MH_I2C_Read... [09:57:08]Read from MH i2c: F0 [09:57:08]MH_I2C_Read... [09:57:08]Read from MH i2c: F0 09 00 [09:57:08]MH_I2C_Read... [09:57:08]Read from MH i2c: F0 09 00 D2 09 00 77 54 23 67 5B 68 A1 66 F2 [09:57:08]GetLastDocTimeStamp 1730368593 [09:57:08]current date 1730368631 [09:57:08]FM_GetShiftState [09:57:08]SAM_PROTO_GetShiftState [09:57:08]wFMCommunicate request_size=4 [09:57:08]MH_SAM_APDU [09:57:08]CAPDU: 80 13 01 00 [09:57:08]Write to MH i2c: E2 08 00 D3 09 80 13 01 00 00 00 00 00 59 [09:57:08]Write i2c OK [09:57:08]MH_I2C_Read... [09:57:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:08]Read from MH i2c: E2 [09:57:08]MH_I2C_Read... [09:57:08]Read from MH i2c: E2 0E 00 [09:57:08]MH_I2C_Read... [09:57:08]Read from MH i2c: E2 0E 00 D3 09 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 93 [09:57:08]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:57:08]wFMCommunicate OK [09:57:08]SAM_PROTO_GetShiftState done [09:57:08]FM_GetShiftState done [09:57:08]opened in 1730333148 [09:57:08]opened+sec_in_day 1730419548 [09:57:08]quantity*price = 8900 [09:57:08]sum+1 = 8901 [09:57:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 99.00 НСП 1% : 0.88 НДС 12% : 10.51 Наличными: 99.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 29 31.10.2024 09:57 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38021 ФПД: 235452411959180 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T095711&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38021&fm=235452411959180&tin=02508201610067®Number=0000000000091684&sum=9900 0 [09:57:09]StoreToDocumentArchive [09:57:09]shift 554 fd 38021 [09:57:09]save to /storage/0554/doc_00038021 [09:57:09]save last doc name /storage/0554/doc_00038021 to /storage/kkm_last_doc_name [09:57:09]save OK [09:57:09]Clear old archive folders... [09:57:09]ProcessDocumentItem done err = 0, tmpTLVsize=389 [09:57:09]tlvbuf is 012FCF10 [09:57:09]SAM_PROTO_ClearQueue [09:57:09]wFMCommunicate request_size=4 [09:57:09]MH_SAM_APDU [09:57:09]CAPDU: 80 09 00 00 [09:57:09]Write to MH i2c: E2 08 00 E0 09 80 09 00 00 00 00 00 00 5B [09:57:09]Write i2c OK [09:57:09]MH_I2C_Read... [09:57:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:57:09]Read from MH i2c: E2 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 03 00 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 03 00 E0 09 00 90 00 5D [09:57:09]RAPDU: 90 00 [09:57:09]wFMCommunicate OK [09:57:09]SAM_PROTO_ClearQueue done [09:57:09]KKMCreateOFDPacket [09:57:09]OFDProtocolAddRootSTLVToBuf [09:57:09]FM_MakeSignedData [09:57:09]FM_MakeSignedData [09:57:09]SAM_PROTO_SignData [09:57:09]wFMCommunicate request_size=4 [09:57:09]MH_SAM_APDU [09:57:09]CAPDU: 80 0D 01 02 [09:57:09]Write to MH i2c: E2 08 00 E1 09 80 0D 01 02 00 00 00 00 63 [09:57:09]Write i2c OK [09:57:09]MH_I2C_Read... [09:57:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:57:09]Read from MH i2c: E2 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 03 00 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 03 00 E1 09 00 90 00 5E [09:57:09]RAPDU: 90 00 [09:57:09]wFMCommunicate OK [09:57:09]wFMCommunicate request_size=255 [09:57:09]MH_SAM_APDU [09:57:09]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [09:57:09]Write to MH i2c: E2 02 01 E2 09 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 D0 [09:57:09]Write i2c OK [09:57:09]MH_I2C_Read... [09:57:09]OFD Sender: No OFD packet to send [09:57:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:09]Read from MH i2c: E2 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 03 00 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 03 00 E2 09 00 90 00 5F [09:57:09]RAPDU: 90 00 [09:57:09]wFMCommunicate OK [09:57:09]wFMCommunicate request_size=148 [09:57:09]MH_SAM_APDU [09:57:09]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 77 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 85 94 00 00 35 04 06 00 D6 24 89 60 57 8C [09:57:09]Write to MH i2c: E2 97 00 E3 09 80 0D 02 02 8F 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 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 77 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 85 94 00 00 35 04 06 00 D6 24 89 60 57 8C 00 00 78 [09:57:09]Write i2c OK [09:57:09]MH_I2C_Read... [09:57:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:09]Read from MH i2c: E2 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 03 00 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 03 00 E3 09 00 90 00 60 [09:57:09]RAPDU: 90 00 [09:57:09]wFMCommunicate OK [09:57:09]wFMCommunicate request_size=4 [09:57:09]MH_SAM_APDU [09:57:09]CAPDU: 80 0D 03 02 [09:57:09]Write to MH i2c: E2 08 00 E4 09 80 0D 03 02 00 00 00 00 68 [09:57:09]Write i2c OK [09:57:09]MH_I2C_Read... [09:57:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:57:09]Read from MH i2c: E2 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 0B 00 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 0B 00 E4 09 00 D0 BC 06 24 0B F4 9D 13 90 00 CE [09:57:09]RAPDU: D0 BC 06 24 0B F4 9D 13 90 00 [09:57:09]wFMCommunicate OK [09:57:09]SAM_PROTO_SignData done [09:57:09]FM_MakeSignedData done [09:57:09]CreateOFDProtocolMessage [09:57:09]wFMCommunicate request_size=4 [09:57:09]MH_SAM_APDU [09:57:09]CAPDU: 80 11 00 00 [09:57:09]Write to MH i2c: E2 08 00 E5 09 80 11 00 00 00 00 00 00 68 [09:57:09]Write i2c OK [09:57:09]MH_I2C_Read... [09:57:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:09]Read from MH i2c: E2 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 17 00 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: E2 17 00 E5 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B8 [09:57:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:57:09]wFMCommunicate OK [09:57:09]CreateOFDProtocolMessage done [09:57:09]OFDSenderStorePacket 38021 [09:57:09]StoreOFDPacket docnum=38021 [09:57:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 99 01 00 00 D6 B0 91 01 FC A6 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 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 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 77 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 85 94 00 00 35 04 06 00 D6 24 89 60 57 8C D0 BC 06 24 0B F4 9D 13 [09:57:09]CheckFolder [09:57:09]dirname=/storage/ofd_packets [09:57:09]CheckFolder done [09:57:09]ProducePacketName [09:57:09]name=ofd_packets/00038021 [09:57:09]NVStorageSaveData ofd_packets/00038021 [09:57:09]File name is /storage/ofd_packets/00038021 [09:57:09]Write 439 bytes [09:57:09]NVStorageSaveData done [09:57:09]OFDSenderStorePacket done [09:57:09]KKMCreateOFDPacket done [09:57:09]NVStorageSaveData kkm_last_timestamp [09:57:09]File name is /storage/kkm_last_timestamp [09:57:09]Write 4 bytes [09:57:09]NVStorageSaveData done [09:57:09]ExternCall_PrintAddStr [09:57:09]wPrintStart [09:57:09]Write to MH i2c: 01 00 00 E6 09 EF [09:57:09]Write i2c OK [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: 01 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: 01 07 00 [09:57:09]MH_I2C_Read... [09:57:09]Read from MH i2c: 01 07 00 E6 09 00 00 00 00 00 FF 0F 04 [09:57:09]RasterBufferAndPrint [09:57:09]line Счет N : (3)35318 [09:57:09]line ИНН: 02508201610067 [09:57:09]line Контрольно-Кассовый Чек [09:57:09]line ПРОДАЖА [09:57:09]line Товар: 4700040114120 [09:57:09]line Султан чай 1л. чер персик [09:57:09]line 1.000 * 89.00 [09:57:09]line = 89.00 [09:57:09]line НДС 12% НСП 1% [09:57:09]line > о реализуемом товаре [09:57:10]line Товар: 46226624 [09:57:10]line Mentos ПВ Клубника 6*100*2 [09:57:10]line 1.000 * 10.00 [09:57:10]line = 10.00 [09:57:10]line НДС 12% НСП 1% [09:57:10]line > о реализуемом товаре [09:57:10]line ИТОГО: 99.00 [09:57:10]line НСП 1% : 0.88 [09:57:10]line НДС 12% : 10.51 [09:57:10]line Наличными: 99.00 [09:57:10]line Безнал.: 0.00 [09:57:10]line Место: АЗС № 126 "Партнер Нефть" [09:57:10]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:57:10]line СНО: Общий режим [09:57:10]line Чек 29 31.10.2024 09:57 [09:57:10]line Смена: 554 ФФД: 1.0 [09:57:10]line ЗНМ: 0300000092 [09:57:10]line РНМ: 0000000000091684 [09:57:10]line Версия ККМ: 001 [09:57:10]line ФМ: 0000000000871841 [09:57:10]line ФД: 38021 [09:57:10]line ФПД: 235452411959180 [09:57:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T095711&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38021&fm=235452411959180&tin=02508201610067®Number=0000000000091684&sum=9900 [09:57:10]line 0 [09:57:10]OFD Sender: Processing packet 38021 [packets to send 42, broken 41] [09:57:10]ProducePacketName [09:57:10]name=ofd_packets/00038021 [09:57:10]OFD Sender: To server: pG, [09:57:10]CommunicateWithHost lk.salyk.kg:30040 [09:57:10]ConnectInit lk.salyk.kg [09:57:10]written 0, free lines is 4095 [09:57:10]Connected sock=9 [09:57: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 38 34 31 99 01 00 00 D6 B0 91 01 FC A6 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 32 30 06 04 2C 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 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 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 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 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 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 77 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 85 94 00 00 35 04 06 00 D6 24 89 60 57 8C D0 BC 06 24 0B F4 9D 13 [09:57:10]Write to MH i2c: 01 00 00 14 0A 1E [09:57:10]Write i2c OK [09:57:10]MH_I2C_Read... [09:57:10]Read from MH i2c: 01 [09:57:10]MH_I2C_Read... [09:57:10]Read from MH i2c: 01 07 00 [09:57:10]MH_I2C_Read... [09:57:10]Read from MH i2c: 01 07 00 14 0A 00 00 00 00 00 5E 0C 8F [09:57:10]RasterBufferAndPrint [09:57:10]line [09:57:10]line [09:57:10]line [09:57:10]line [09:57:10]line [09:57:10]written 0, free lines is 3173 [09:57:10]MH_Cut [09:57:10]Write to MH i2c: D1 01 00 1B 0A 01 F7 [09:57:10]Write i2c OK [09:57:10]MH_I2C_Read... [09:57:10]Read from MH i2c: D1 [09:57:10]MH_I2C_Read... [09:57:10]Read from MH i2c: D1 01 00 [09:57:10]MH_I2C_Read... [09:57:10]Read from MH i2c: D1 01 00 1B 0A 00 F6 [09:57:10]Write to MH i2c: 01 00 00 1C 0A 26 [09:57:10]Write i2c OK [09:57:10]MH_I2C_Read... [09:57:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 6F E1 47 00 06 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 38 34 31 10 04 04 00 85 94 00 00 F4 03 04 00 62 FF 22 67 B6 04 01 00 00 AB 55 98 8D 01 D4 23 D6 [09:57:11]CommunicateWithHost err = 0 [09:57:11]CheckOFDResponse [09:57:11]1017 (14) - 77093643461234 [09:57:11]1041 (16) - 0000000000871841 [09:57:11]1040 (4) - 38021 [09:57:11]1012 (4) - 31.10.2024 03:54 [09:57:11]1206 (1) - 0 [09:57:11]OFD Sender: Remove packet 38021 [09:57:11]ProducePacketName [09:57:11]name=ofd_packets/00038021 [09:57:11]NVStorageDeleteData [09:57:11]OFD Sender: No OFD packet to send [09:57:11]*** Cut start [09:57:11]*** Partial cut [09:57:11]*** CUTSNS_PIN = 1 [09:57:11]*** CUTSNS_PIN = 0 [09:57:11]*** Brake cut motor [09:57:12]Read from MH i2c: 01 [09:57:12]MH_I2C_Read... [09:57:12]*** Stop cut motor [09:57:12]*** Cut end [09:57:12]Read from MH i2c: 01 07 00 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: 01 07 00 1C 0A 00 00 00 00 00 FF 0F 3B [09:57:12]process_action close_receipt done [09:57:12]requested_data is exist [09:57:12]produce_requested_data [09:57:12]requested_item fm.sn is exist - process it [09:57:12]wFMCommunicate request_size=4 [09:57:12]MH_SAM_APDU [09:57:12]CAPDU: 80 11 00 00 [09:57:12]Write to MH i2c: E2 08 00 1D 0A 80 11 00 00 00 00 00 00 A1 [09:57:12]Write i2c OK [09:57:12]MH_I2C_Read... [09:57:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:12]Read from MH i2c: E2 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: E2 17 00 [09:57:12]MH_I2C_Read... [09:57:12]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 38 34 31 90 00 F1 [09:57:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:57:12]wFMCommunicate OK [09:57:12]requested_item fd.num is exist - process it [09:57:12]SAM_PROTO_GetFieldsCounters [09:57:12]wFMCommunicate request_size=4 [09:57:12]MH_SAM_APDU [09:57:12]CAPDU: 80 13 00 00 [09:57:12]Write to MH i2c: E2 08 00 1E 0A 80 13 00 00 00 00 00 00 A4 [09:57:12]Write i2c OK [09:57:12]MH_I2C_Read... [09:57:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:57:12]Read from MH i2c: E2 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: E2 62 00 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: E2 62 00 1E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 85 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [09:57: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 85 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:57:12]wFMCommunicate OK [09:57:12]SAM_PROTO_GetFieldsCounters done [09:57:12]requested_item shift.num is exist - process it [09:57:12]requested_item shift.opened is exist - process it [09:57:12]req_shift_opened [09:57:12]FM_GetShiftState [09:57:12]SAM_PROTO_GetShiftState [09:57:12]wFMCommunicate request_size=4 [09:57:12]MH_SAM_APDU [09:57:12]CAPDU: 80 13 01 00 [09:57:12]Write to MH i2c: E2 08 00 1F 0A 80 13 01 00 00 00 00 00 A6 [09:57:12]Write i2c OK [09:57:12]MH_I2C_Read... [09:57:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:12]Read from MH i2c: E2 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: E2 0E 00 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: E2 0E 00 1F 0A 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 E0 [09:57:12]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:57:12]wFMCommunicate OK [09:57:12]SAM_PROTO_GetShiftState done [09:57:12]FM_GetShiftState done [09:57:12]req_shift_opened done [09:57:12]requested_item shift.open_date is exist - process it [09:57:12]req_shift_open_date [09:57:12]req_shift_open_date done [09:57:12]produce_requested_data done [09:57:12]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38021,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [09:57:12]process_action_free close_receipt [09:57:12]json_value_free [09:57:12]json_value_free done [09:57:12]process_json_proto returns [09:57:12]Send response to host [09:57:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38021,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [09:57:12]free response buf [09:57:12]execute_script done [09:57:12]execute_script returns [09:57:12]free content buf [09:57:12]Sock 10.Close socket [09:57:12]Sock 10.Thread stoped [09:57:16]OFD Sender: No OFD packet to send [09:57:21]OFD Sender: No OFD packet to send [09:57:26]OFD Sender: No OFD packet to send [09:57:31]OFD Sender: No OFD packet to send [09:57:36]OFD Sender: No OFD packet to send [09:57:41]OFD Sender: No OFD packet to send [09:57:46]OFD Sender: No OFD packet to send [09:57:51]OFD Sender: No OFD packet to send [09:57:56]OFD Sender: No OFD packet to send [09:58:01]OFD Sender: No OFD packet to send [09:58:06]OFD Sender: No OFD packet to send [09:58:06]accept exits with 7 [09:58:06]New connection [09:58:06]New thread 3067043172 created [09:58:06]Thread 3067186532 joined [09:58:06]Waiting for new connection... [09:58:06] Sock 7.Parse request [09:58:06]Sock 7.Check first char [09:58:06]Sock 7.First char is OK [09:58:06]request: POST /json_proto HTTP/1.0 [09:58:06]Method: POST [09:58:06]URL: /json_proto [09:58:06]Method is POST - this is cgi request [09:58:06]url: /json_proto [09:58:06]query_string will be loaded in cgi processing [09:58:06]execute_cgi json_proto POST (null) [09:58:06]execute_cgi path=json_proto method=POST [09:58:06]POST find Content-Length [09:58:06]Host: 172.17.40.196:8080 [09:58:06]Content-Length: 739 [09:58:06]Content-Type: application/json [09:58:06] [09:58:06]POST finish read [09:58:06]Found Content-Length = 739 [09:58:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35319", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:58:06]execute_script... [09:58:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35319", "tax_sys" : 0, "items" : [ { "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:58:06]POST & json_proto [09:58:06]process_json_proto [09:58:06]json parsed OK: [09:58:06]protocol is kg_v1.0 [09:58:06]action value=close_receipt [09:58:06]process_action close_receipt [09:58:06]cmd_close_receipt [09:58:06]MH_GetDate [09:58:06]Write to MH i2c: F0 00 00 20 0A 19 [09:58:06]Write i2c OK [09:58:06]MH_I2C_Read... [09:58:06]Read from MH i2c: F0 [09:58:06]MH_I2C_Read... [09:58:06]Read from MH i2c: F0 09 00 [09:58:06]MH_I2C_Read... [09:58:06]Read from MH i2c: F0 09 00 20 0A 00 B1 54 23 67 5B 68 A1 66 7B [09:58:06]GetLastDocTimeStamp 1730368631 [09:58:06]current date 1730368689 [09:58:06]FM_GetShiftState [09:58:06]SAM_PROTO_GetShiftState [09:58:06]wFMCommunicate request_size=4 [09:58:06]MH_SAM_APDU [09:58:06]CAPDU: 80 13 01 00 [09:58:06]Write to MH i2c: E2 08 00 21 0A 80 13 01 00 00 00 00 00 A8 [09:58:06]Write i2c OK [09:58:06]MH_I2C_Read... [09:58:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:58:06]Read from MH i2c: E2 [09:58:06]MH_I2C_Read... [09:58:06]Read from MH i2c: E2 0E 00 [09:58:06]MH_I2C_Read... [09:58:06]Read from MH i2c: E2 0E 00 21 0A 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 E2 [09:58:06]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:58:06]wFMCommunicate OK [09:58:06]SAM_PROTO_GetShiftState done [09:58:06]FM_GetShiftState done [09:58:06]opened in 1730333148 [09:58:06]opened+sec_in_day 1730419548 [09:58:06]quantity*price = 9500 [09:58:06]sum+1 = 9501 [09:58:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 30 31.10.2024 09:58 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38022 ФПД: 187744644507299 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T095809&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38022&fm=187744644507299&tin=02508201610067®Number=0000000000091684&sum=9500 0 [09:58:08]StoreToDocumentArchive [09:58:08]shift 554 fd 38022 [09:58:08]save to /storage/0554/doc_00038022 [09:58:08]save last doc name /storage/0554/doc_00038022 to /storage/kkm_last_doc_name [09:58:08]save OK [09:58:08]Clear old archive folders... [09:58:08]ProcessDocumentItem done err = 0, tmpTLVsize=311 [09:58:08]tlvbuf is 01154840 [09:58:08]SAM_PROTO_ClearQueue [09:58:08]wFMCommunicate request_size=4 [09:58:08]MH_SAM_APDU [09:58:08]CAPDU: 80 09 00 00 [09:58:08]Write to MH i2c: E2 08 00 2E 0A 80 09 00 00 00 00 00 00 AA [09:58:08]Write i2c OK [09:58:08]MH_I2C_Read... [09:58:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:58:08]Read from MH i2c: E2 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 03 00 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 03 00 2E 0A 00 90 00 AC [09:58:08]RAPDU: 90 00 [09:58:08]wFMCommunicate OK [09:58:08]SAM_PROTO_ClearQueue done [09:58:08]KKMCreateOFDPacket [09:58:08]OFDProtocolAddRootSTLVToBuf [09:58:08]FM_MakeSignedData [09:58:08]FM_MakeSignedData [09:58:08]SAM_PROTO_SignData [09:58:08]wFMCommunicate request_size=4 [09:58:08]MH_SAM_APDU [09:58:08]CAPDU: 80 0D 01 02 [09:58:08]Write to MH i2c: E2 08 00 2F 0A 80 0D 01 02 00 00 00 00 B2 [09:58:08]Write i2c OK [09:58:08]MH_I2C_Read... [09:58:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:58:08]Read from MH i2c: E2 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 03 00 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 03 00 2F 0A 00 90 00 AD [09:58:08]RAPDU: 90 00 [09:58:08]wFMCommunicate OK [09:58:08]wFMCommunicate request_size=255 [09:58:08]MH_SAM_APDU [09:58:08]CAPDU: 80 0D 02 02 FA 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1E 00 00 00 F4 03 04 00 B1 54 23 67 0E 04 04 00 2A 02 [09:58:08]Write to MH i2c: E2 02 01 30 0A 80 0D 02 02 FA 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1E 00 00 00 F4 03 04 00 B1 54 23 67 0E 04 04 00 2A 02 00 00 16 [09:58:08]Write i2c OK [09:58:08]MH_I2C_Read... [09:58:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:58:08]Read from MH i2c: E2 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 03 00 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 03 00 30 0A 00 90 00 AE [09:58:08]RAPDU: 90 00 [09:58:08]wFMCommunicate OK [09:58:08]wFMCommunicate request_size=70 [09:58:08]MH_SAM_APDU [09:58:08]CAPDU: 80 0D 02 02 41 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 86 94 00 00 35 04 06 00 AA C0 B4 D8 26 A3 [09:58:08]Write to MH i2c: E2 49 00 31 0A 80 0D 02 02 41 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 86 94 00 00 35 04 06 00 AA C0 B4 D8 26 A3 00 00 A5 [09:58:08]Write i2c OK [09:58:08]MH_I2C_Read... [09:58:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:58:08]Read from MH i2c: E2 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 03 00 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 03 00 31 0A 00 90 00 AF [09:58:08]RAPDU: 90 00 [09:58:08]wFMCommunicate OK [09:58:08]wFMCommunicate request_size=4 [09:58:08]MH_SAM_APDU [09:58:08]CAPDU: 80 0D 03 02 [09:58:08]Write to MH i2c: E2 08 00 32 0A 80 0D 03 02 00 00 00 00 B7 [09:58:08]Write i2c OK [09:58:08]MH_I2C_Read... [09:58:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:58:08]Read from MH i2c: E2 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 0B 00 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 0B 00 32 0A 00 9B CB 60 F3 84 2B 6D CC 90 00 59 [09:58:08]RAPDU: 9B CB 60 F3 84 2B 6D CC 90 00 [09:58:08]wFMCommunicate OK [09:58:08]SAM_PROTO_SignData done [09:58:08]FM_MakeSignedData done [09:58:08]CreateOFDProtocolMessage [09:58:08]wFMCommunicate request_size=4 [09:58:08]MH_SAM_APDU [09:58:08]CAPDU: 80 11 00 00 [09:58:08]Write to MH i2c: E2 08 00 33 0A 80 11 00 00 00 00 00 00 B7 [09:58:08]Write i2c OK [09:58:08]MH_I2C_Read... [09:58:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:58:08]Read from MH i2c: E2 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 17 00 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: E2 17 00 33 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 07 [09:58:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:58:08]wFMCommunicate OK [09:58:08]CreateOFDProtocolMessage done [09:58:08]OFDSenderStorePacket 38022 [09:58:08]StoreOFDPacket docnum=38022 [09:58:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4B 01 00 00 64 23 43 01 92 E3 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1E 00 00 00 F4 03 04 00 B1 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 86 94 00 00 35 04 06 00 AA C0 B4 D8 26 A3 9B CB 60 F3 84 2B 6D CC [09:58:08]CheckFolder [09:58:08]dirname=/storage/ofd_packets [09:58:08]CheckFolder done [09:58:08]ProducePacketName [09:58:08]name=ofd_packets/00038022 [09:58:08]NVStorageSaveData ofd_packets/00038022 [09:58:08]File name is /storage/ofd_packets/00038022 [09:58:08]Write 361 bytes [09:58:08]NVStorageSaveData done [09:58:08]OFDSenderStorePacket done [09:58:08]KKMCreateOFDPacket done [09:58:08]NVStorageSaveData kkm_last_timestamp [09:58:08]File name is /storage/kkm_last_timestamp [09:58:08]Write 4 bytes [09:58:08]NVStorageSaveData done [09:58:08]ExternCall_PrintAddStr [09:58:08]wPrintStart [09:58:08]Write to MH i2c: 01 00 00 34 0A 3E [09:58:08]Write i2c OK [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: 01 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: 01 07 00 [09:58:08]MH_I2C_Read... [09:58:08]Read from MH i2c: 01 07 00 34 0A 00 00 00 00 00 FF 0F 53 [09:58:08]RasterBufferAndPrint [09:58:08]line Счет N : (3)35319 [09:58:08]line ИНН: 02508201610067 [09:58:08]line Контрольно-Кассовый Чек [09:58:08]line ПРОДАЖА [09:58:08]line Товар: 4700000481972 [09:58:08]line Напиток энерг Nitro грейпфрут-маракуйя 0 [09:58:08]line 1.000 * 95.00 [09:58:08]line = 95.00 [09:58:08]line НДС 12% НСП 1% [09:58:08]line > о реализуемом товаре [09:58:08]line ИТОГО: 95.00 [09:58:08]line НСП 1% : 0.84 [09:58:08]line НДС 12% : 10.09 [09:58:08]line Наличными: 95.00 [09:58:08]line Безнал.: 0.00 [09:58:08]line Место: АЗС № 126 "Партнер Нефть" [09:58:08]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:58:08]line СНО: Общий режим [09:58:08]line Чек 30 31.10.2024 09:58 [09:58:08]line Смена: 554 ФФД: 1.0 [09:58:08]line ЗНМ: 0300000092 [09:58:08]line РНМ: 0000000000091684 [09:58:08]line Версия ККМ: 001 [09:58:08]line ФМ: 0000000000871841 [09:58:08]line ФД: 38022 [09:58:08]line ФПД: 187744644507299 [09:58:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T095809&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38022&fm=187744644507299&tin=02508201610067®Number=0000000000091684&sum=9500 [09:58:08]line 0 [09:58:08]written 0, free lines is 4095 [09:58:08]OFD Sender: Processing packet 38022 [packets to send 42, broken 41] [09:58:08]ProducePacketName [09:58:08]name=ofd_packets/00038022 [09:58:08]OFD Sender: To server: pG, [09:58:08]CommunicateWithHost lk.salyk.kg:30040 [09:58:08]ConnectInit lk.salyk.kg [09:58:09]Write to MH i2c: 01 00 00 5D 0A 67 [09:58:09]Write i2c OK [09:58:09]MH_I2C_Read... [09:58:09]Read from MH i2c: 01 [09:58:09]MH_I2C_Read... [09:58:09]Read from MH i2c: 01 07 00 [09:58:09]MH_I2C_Read... [09:58:09]Read from MH i2c: 01 07 00 5D 0A 00 00 00 00 00 B0 0C 2A [09:58:09]RasterBufferAndPrint [09:58:09]line [09:58:09]line [09:58:09]line [09:58:09]line [09:58:09]line [09:58:09]written 0, free lines is 3251 [09:58:09]MH_Cut [09:58:09]Write to MH i2c: D1 01 00 64 0A 01 40 [09:58:09]Write i2c OK [09:58:09]MH_I2C_Read... [09:58:09]Read from MH i2c: D1 [09:58:09]MH_I2C_Read... [09:58:09]Read from MH i2c: D1 01 00 [09:58:09]MH_I2C_Read... [09:58:09]Read from MH i2c: D1 01 00 64 0A 00 3F [09:58:09]Write to MH i2c: 01 00 00 65 0A 6F [09:58:09]Write i2c OK [09:58:09]MH_I2C_Read... [09:58:09]*** Cut start [09:58:09]*** Partial cut [09:58:09]*** CUTSNS_PIN = 1 [09:58:10]*** CUTSNS_PIN = 0 [09:58:10]*** Brake cut motor [09:58:10]Read from MH i2c: 01 [09:58:10]MH_I2C_Read... [09:58:10]*** Stop cut motor [09:58:10]*** Cut end [09:58:10]Read from MH i2c: 01 07 00 [09:58:10]MH_I2C_Read... [09:58:10]Read from MH i2c: 01 07 00 65 0A 00 00 00 00 00 FF 0F 84 [09:58:10]process_action close_receipt done [09:58:10]requested_data is exist [09:58:10]produce_requested_data [09:58:10]requested_item fm.sn is exist - process it [09:58:10]wFMCommunicate request_size=4 [09:58:10]MH_SAM_APDU [09:58:10]CAPDU: 80 11 00 00 [09:58:10]Write to MH i2c: E2 08 00 66 0A 80 11 00 00 00 00 00 00 EA [09:58:10]Write i2c OK [09:58:10]MH_I2C_Read... [09:58:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:58:10]Read from MH i2c: E2 [09:58:10]MH_I2C_Read... [09:58:10]Read from MH i2c: E2 17 00 [09:58:10]MH_I2C_Read... [09:58:10]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 38 34 31 90 00 3A [09:58:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:58:10]wFMCommunicate OK [09:58:10]requested_item fd.num is exist - process it [09:58:10]SAM_PROTO_GetFieldsCounters [09:58:10]wFMCommunicate request_size=4 [09:58:10]MH_SAM_APDU [09:58:10]CAPDU: 80 13 00 00 [09:58:10]Write to MH i2c: E2 08 00 67 0A 80 13 00 00 00 00 00 00 ED [09:58:10]Write i2c OK [09:58:10]MH_I2C_Read... [09:58:10]Connected sock=11 [09:58: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 38 34 31 4B 01 00 00 64 23 43 01 92 E3 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 1E 00 00 00 F4 03 04 00 B1 54 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 86 94 00 00 35 04 06 00 AA C0 B4 D8 26 A3 9B CB 60 F3 84 2B 6D CC [09:58:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:58:10]Read from MH i2c: E2 [09:58:10]MH_I2C_Read... [09:58:10]Read from MH i2c: E2 62 00 [09:58:10]MH_I2C_Read... [09:58:10]Read from MH i2c: E2 62 00 67 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 86 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 AE [09:58: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 86 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:58:10]wFMCommunicate OK [09:58:10]SAM_PROTO_GetFieldsCounters done [09:58:10]requested_item shift.num is exist - process it [09:58:10]requested_item shift.opened is exist - process it [09:58:10]req_shift_opened [09:58:10]FM_GetShiftState [09:58:10]SAM_PROTO_GetShiftState [09:58:10]wFMCommunicate request_size=4 [09:58:10]MH_SAM_APDU [09:58:10]CAPDU: 80 13 01 00 [09:58:10]Write to MH i2c: E2 08 00 68 0A 80 13 01 00 00 00 00 00 EF [09:58:10]Write i2c OK [09:58:10]MH_I2C_Read... [09:58:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:58:10]Read from MH i2c: E2 [09:58:10]MH_I2C_Read... [09:58:10]Read from MH i2c: E2 0E 00 [09:58:10]MH_I2C_Read... [09:58:10]Read from MH i2c: E2 0E 00 68 0A 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 29 [09:58:10]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [09:58:10]wFMCommunicate OK [09:58:10]SAM_PROTO_GetShiftState done [09:58:10]FM_GetShiftState done [09:58:10]req_shift_opened done [09:58:10]requested_item shift.open_date is exist - process it [09:58:10]req_shift_open_date [09:58:10]req_shift_open_date done [09:58:10]produce_requested_data done [09:58:10]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38022,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [09:58:10]process_action_free close_receipt [09:58:10]json_value_free [09:58:10]json_value_free done [09:58:10]process_json_proto returns [09:58:10]Send response to host [09:58:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38022,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [09:58:10]free response buf [09:58:10]execute_script done [09:58:10]execute_script returns [09:58:10]free content buf [09:58:10]Sock 7.Close socket [09:58:10]Sock 7.Thread stoped [09:58:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 1F 9D 47 00 CE 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 38 34 31 10 04 04 00 86 94 00 00 F4 03 04 00 9F FF 22 67 B6 04 01 00 00 22 E2 8B DA 64 D0 C5 CF [09:58:11]CommunicateWithHost err = 0 [09:58:11]CheckOFDResponse [09:58:11]1017 (14) - 77093643461234 [09:58:11]1041 (16) - 0000000000871841 [09:58:11]1040 (4) - 38022 [09:58:11]1012 (4) - 31.10.2024 03:55 [09:58:11]1206 (1) - 0 [09:58:11]OFD Sender: Remove packet 38022 [09:58:11]ProducePacketName [09:58:11]name=ofd_packets/00038022 [09:58:11]NVStorageDeleteData [09:58:11]OFD Sender: No OFD packet to send [09:58:16]OFD Sender: No OFD packet to send [09:58:21]OFD Sender: No OFD packet to send [09:58:26]OFD Sender: No OFD packet to send [09:58:31]OFD Sender: No OFD packet to send [09:58:36]OFD Sender: No OFD packet to send [09:58:41]OFD Sender: No OFD packet to send [09:58:46]OFD Sender: No OFD packet to send [09:58:51]OFD Sender: No OFD packet to send [09:58:56]OFD Sender: No OFD packet to send [09:59:01]OFD Sender: No OFD packet to send [09:59:06]OFD Sender: No OFD packet to send [09:59:11]OFD Sender: No OFD packet to send [09:59:16]OFD Sender: No OFD packet to send [09:59:21]OFD Sender: No OFD packet to send [09:59:26]OFD Sender: No OFD packet to send [09:59:31]OFD Sender: No OFD packet to send [09:59:36]OFD Sender: No OFD packet to send [09:59:41]OFD Sender: No OFD packet to send [09:59:46]OFD Sender: No OFD packet to send [09:59:51]OFD Sender: No OFD packet to send [09:59:56]OFD Sender: No OFD packet to send [10:00:01]OFD Sender: No OFD packet to send [10:00:06]OFD Sender: No OFD packet to send [10:00:11]OFD Sender: No OFD packet to send [10:00:16]OFD Sender: No OFD packet to send [10:00:21]OFD Sender: No OFD packet to send [10:00:26]OFD Sender: No OFD packet to send [10:00:31]OFD Sender: No OFD packet to send [10:00:36]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:17]OFD Sender: No OFD packet to send [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:17]OFD Sender: No OFD packet to send [10:02:22]OFD Sender: No OFD packet to send [10:02:27]OFD Sender: No OFD packet to send [10:02:32]OFD Sender: No OFD packet to send [10:02:37]OFD Sender: No OFD packet to send [10:02:42]OFD Sender: No OFD packet to send [10:02:47]OFD Sender: No OFD packet to send [10:02:52]OFD Sender: No OFD packet to send [10:02:57]OFD Sender: No OFD packet to send [10:03:02]OFD Sender: No OFD packet to send [10:03:07]OFD Sender: No OFD packet to send [10:03:12]OFD Sender: No OFD packet to send [10:03:17]OFD Sender: No OFD packet to send [10:03:22]OFD Sender: No OFD packet to send [10:03:27]OFD Sender: No OFD packet to send [10:03:32]OFD Sender: No OFD packet to send [10:03:37]OFD Sender: No OFD packet to send [10:03:42]OFD Sender: No OFD packet to send [10:03:47]OFD Sender: No OFD packet to send [10:03:52]OFD Sender: No OFD packet to send [10:03:57]OFD Sender: No OFD packet to send [10:04:02]OFD Sender: No OFD packet to send [10:04:07]OFD Sender: No OFD packet to send [10:04:12]OFD Sender: No OFD packet to send [10:04:17]OFD Sender: No OFD packet to send [10:04:22]OFD Sender: No OFD packet to send [10:04:27]OFD Sender: No OFD packet to send [10:04:32]OFD Sender: No OFD packet to send [10:04:37]OFD Sender: No OFD packet to send [10:04:42]OFD Sender: No OFD packet to send [10:04:47]OFD Sender: No OFD packet to send [10:04:52]OFD Sender: No OFD packet to send [10:04:57]OFD Sender: No OFD packet to send [10:05:02]OFD Sender: No OFD packet to send [10:05:07]OFD Sender: No OFD packet to send [10:05:12]OFD Sender: No OFD packet to send [10:05:17]OFD Sender: No OFD packet to send [10:05:22]OFD Sender: No OFD packet to send [10:05:27]OFD Sender: No OFD packet to send [10:05:32]OFD Sender: No OFD packet to send [10:05:37]OFD Sender: No OFD packet to send [10:05:42]OFD Sender: No OFD packet to send [10:05:43]accept exits with 9 [10:05:43]New connection [10:05:43]New thread 3067186532 created [10:05:43]Thread 3067043172 joined [10:05:43]Waiting for new connection... [10:05:43] Sock 9.Parse request [10:05:43]Sock 9.Check first char [10:05:43]Sock 9.First char is OK [10:05:43]request: POST /json_proto HTTP/1.0 [10:05:43]Method: POST [10:05:43]URL: /json_proto [10:05:43]Method is POST - this is cgi request [10:05:43]url: /json_proto [10:05:43]query_string will be loaded in cgi processing [10:05:43]execute_cgi json_proto POST (null) [10:05:43]execute_cgi path=json_proto method=POST [10:05:43]POST find Content-Length [10:05:43]Host: 172.17.40.196:8080 [10:05:43]Content-Length: 763 [10:05:43]Content-Type: application/json [10:05:43] [10:05:43]POST finish read [10:05:43]Found Content-Length = 763 [10:05:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35320", "tax_sys" : 0, "items" : [ { "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:05:43]execute_script... [10:05: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)35320", "tax_sys" : 0, "items" : [ { "code": "3800020453407", "name": "Nestle KIT-KAT \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A chunky 36x40\u0433", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:05:43]POST & json_proto [10:05:43]process_json_proto [10:05:43]json parsed OK: [10:05:43]protocol is kg_v1.0 [10:05:43]action value=close_receipt [10:05:43]process_action close_receipt [10:05:43]cmd_close_receipt [10:05:43]MH_GetDate [10:05:43]Write to MH i2c: F0 00 00 69 0A 62 [10:05:43]Write i2c OK [10:05:43]MH_I2C_Read... [10:05:43]Read from MH i2c: F0 [10:05:43]MH_I2C_Read... [10:05:43]Read from MH i2c: F0 09 00 [10:05:43]MH_I2C_Read... [10:05:43]Read from MH i2c: F0 09 00 69 0A 00 7A 56 23 67 5B 68 A1 66 8F [10:05:43]GetLastDocTimeStamp 1730368689 [10:05:43]current date 1730369146 [10:05:43]FM_GetShiftState [10:05:43]SAM_PROTO_GetShiftState [10:05:43]wFMCommunicate request_size=4 [10:05:43]MH_SAM_APDU [10:05:43]CAPDU: 80 13 01 00 [10:05:43]Write to MH i2c: E2 08 00 6A 0A 80 13 01 00 00 00 00 00 F1 [10:05:43]Write i2c OK [10:05:43]MH_I2C_Read... [10:05:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:05:43]Read from MH i2c: E2 [10:05:43]MH_I2C_Read... [10:05:43]Read from MH i2c: E2 0E 00 [10:05:43]MH_I2C_Read... [10:05:43]Read from MH i2c: E2 0E 00 6A 0A 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 2B [10:05:43]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [10:05:43]wFMCommunicate OK [10:05:43]SAM_PROTO_GetShiftState done [10:05:43]FM_GetShiftState done [10:05:43]opened in 1730333148 [10:05:43]opened+sec_in_day 1730419548 [10:05:43]quantity*price = 8000 [10:05:43]sum+1 = 8001 [10:05:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 0.00 Безнал.: 80.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 31 31.10.2024 10:05 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 38023 ФПД: 146368902807485 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T100546&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38023&fm=146368902807485&tin=02508201610067®Number=0000000000091684&sum=8000 0 [10:05:44]StoreToDocumentArchive [10:05:44]shift 554 fd 38023 [10:05:44]save to /storage/0554/doc_00038023 [10:05:44]save last doc name /storage/0554/doc_00038023 to /storage/kkm_last_doc_name [10:05:44]save OK [10:05:44]Clear old archive folders... [10:05:44]ProcessDocumentItem done err = 0, tmpTLVsize=288 [10:05:44]tlvbuf is 012F9E90 [10:05:44]SAM_PROTO_ClearQueue [10:05:44]wFMCommunicate request_size=4 [10:05:44]MH_SAM_APDU [10:05:44]CAPDU: 80 09 00 00 [10:05:44]Write to MH i2c: E2 08 00 77 0A 80 09 00 00 00 00 00 00 F3 [10:05:44]Write i2c OK [10:05:45]MH_I2C_Read... [10:05:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:05:45]Read from MH i2c: E2 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 03 00 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 03 00 77 0A 00 90 00 F5 [10:05:45]RAPDU: 90 00 [10:05:45]wFMCommunicate OK [10:05:45]SAM_PROTO_ClearQueue done [10:05:45]KKMCreateOFDPacket [10:05:45]OFDProtocolAddRootSTLVToBuf [10:05:45]FM_MakeSignedData [10:05:45]FM_MakeSignedData [10:05:45]SAM_PROTO_SignData [10:05:45]wFMCommunicate request_size=4 [10:05:45]MH_SAM_APDU [10:05:45]CAPDU: 80 0D 01 02 [10:05:45]Write to MH i2c: E2 08 00 78 0A 80 0D 01 02 00 00 00 00 FB [10:05:45]Write i2c OK [10:05:45]MH_I2C_Read... [10:05:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:05:45]Read from MH i2c: E2 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 03 00 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 03 00 78 0A 00 90 00 F6 [10:05:45]RAPDU: 90 00 [10:05:45]wFMCommunicate OK [10:05:45]wFMCommunicate request_size=255 [10:05:45]MH_SAM_APDU [10:05:45]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 7A 56 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [10:05:45]Write to MH i2c: E2 02 01 79 0A 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 7A 56 23 67 0E 04 04 00 2A 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 EA [10:05:45]Write i2c OK [10:05:45]MH_I2C_Read... [10:05:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:05:45]Read from MH i2c: E2 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 03 00 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 03 00 79 0A 00 90 00 F7 [10:05:45]RAPDU: 90 00 [10:05:45]wFMCommunicate OK [10:05:45]wFMCommunicate request_size=47 [10:05:45]MH_SAM_APDU [10:05:45]CAPDU: 80 0D 02 02 2A 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 87 94 00 00 35 04 06 00 85 1F 2A 75 3F BD [10:05:45]Write to MH i2c: E2 32 00 7A 0A 80 0D 02 02 2A 00 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 87 94 00 00 35 04 06 00 85 1F 2A 75 3F BD 00 00 18 [10:05:45]Write i2c OK [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 [10:05:45]MH_I2C_Read... [10:05:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:05:45]Read from MH i2c: E2 03 00 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 03 00 7A 0A 00 90 00 F8 [10:05:45]RAPDU: 90 00 [10:05:45]wFMCommunicate OK [10:05:45]wFMCommunicate request_size=4 [10:05:45]MH_SAM_APDU [10:05:45]CAPDU: 80 0D 03 02 [10:05:45]Write to MH i2c: E2 08 00 7B 0A 80 0D 03 02 00 00 00 00 00 [10:05:45]Write i2c OK [10:05:45]MH_I2C_Read... [10:05:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:05:45]Read from MH i2c: E2 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 0B 00 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 0B 00 7B 0A 00 30 64 08 B6 5E 9A 12 47 90 00 A4 [10:05:45]RAPDU: 30 64 08 B6 5E 9A 12 47 90 00 [10:05:45]wFMCommunicate OK [10:05:45]SAM_PROTO_SignData done [10:05:45]FM_MakeSignedData done [10:05:45]CreateOFDProtocolMessage [10:05:45]wFMCommunicate request_size=4 [10:05:45]MH_SAM_APDU [10:05:45]CAPDU: 80 11 00 00 [10:05:45]Write to MH i2c: E2 08 00 7C 0A 80 11 00 00 00 00 00 00 00 [10:05:45]Write i2c OK [10:05:45]MH_I2C_Read... [10:05:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:05:45]Read from MH i2c: E2 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 17 00 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: E2 17 00 7C 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 50 [10:05:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:05:45]wFMCommunicate OK [10:05:45]CreateOFDProtocolMessage done [10:05:45]OFDSenderStorePacket 38023 [10:05:45]StoreOFDPacket docnum=38023 [10:05:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 34 01 00 00 5C E3 2C 01 0F 89 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 7A 56 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 87 94 00 00 35 04 06 00 85 1F 2A 75 3F BD 30 64 08 B6 5E 9A 12 47 [10:05:45]CheckFolder [10:05:45]dirname=/storage/ofd_packets [10:05:45]CheckFolder done [10:05:45]ProducePacketName [10:05:45]name=ofd_packets/00038023 [10:05:45]NVStorageSaveData ofd_packets/00038023 [10:05:45]File name is /storage/ofd_packets/00038023 [10:05:45]Write 338 bytes [10:05:45]NVStorageSaveData done [10:05:45]OFDSenderStorePacket done [10:05:45]KKMCreateOFDPacket done [10:05:45]NVStorageSaveData kkm_last_timestamp [10:05:45]File name is /storage/kkm_last_timestamp [10:05:45]Write 4 bytes [10:05:45]NVStorageSaveData done [10:05:45]ExternCall_PrintAddStr [10:05:45]wPrintStart [10:05:45]Write to MH i2c: 01 00 00 7D 0A 87 [10:05:45]Write i2c OK [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: 01 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: 01 07 00 [10:05:45]MH_I2C_Read... [10:05:45]Read from MH i2c: 01 07 00 7D 0A 00 00 00 00 00 FF 0F 9C [10:05:45]RasterBufferAndPrint [10:05:45]line Счет N : (3)35320 [10:05:45]line ИНН: 02508201610067 [10:05:45]line Контрольно-Кассовый Чек [10:05:45]line ПРОДАЖА [10:05:45]line Товар: 3800020453407 [10:05:45]line Nestle KIT-KAT батончик chunky 36x40г [10:05:45]line 1.000 * 80.00 [10:05:45]line = 80.00 [10:05:45]line НДС 12% НСП 1% [10:05:45]line > о реализуемом товаре [10:05:45]line ИТОГО: 80.00 [10:05:45]line НСП 1% : 0.71 [10:05:45]line НДС 12% : 8.50 [10:05:45]line Наличными: 0.00 [10:05:45]line Безнал.: 80.00 [10:05:45]line Место: АЗС № 126 "Партнер Нефть" [10:05:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:05:45]line СНО: Общий режим [10:05:45]line Чек 31 31.10.2024 10:05 [10:05:45]line Смена: 554 ФФД: 1.0 [10:05:45]line ЗНМ: 0300000092 [10:05:45]line РНМ: 0000000000091684 [10:05:45]line Версия ККМ: 001 [10:05:45]line Платежная система: Mbank [10:05:45]line ФМ: 0000000000871841 [10:05:45]line ФД: 38023 [10:05:45]line ФПД: 146368902807485 [10:05:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T100546&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38023&fm=146368902807485&tin=02508201610067®Number=0000000000091684&sum=8000 [10:05:45]OFD Sender: Processing packet 38023 [packets to send 42, broken 41] [10:05:45]ProducePacketName [10:05:45]name=ofd_packets/00038023 [10:05:45]OFD Sender: To server: pG, [10:05:45]CommunicateWithHost lk.salyk.kg:30040 [10:05:45]ConnectInit lk.salyk.kg [10:05:45]line 0 [10:05:45]written 0, free lines is 4095 [10:05:46]Connected sock=10 [10:05: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 38 34 31 34 01 00 00 5C E3 2C 01 0F 89 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 33 38 30 30 30 32 30 34 35 33 34 30 37 06 04 2E 00 4E 65 73 74 6C 65 20 4B 49 54 2D 4B 41 54 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 63 68 75 6E 6B 79 20 33 36 78 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 7A 56 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 87 94 00 00 35 04 06 00 85 1F 2A 75 3F BD 30 64 08 B6 5E 9A 12 47 [10:05:46]Write to MH i2c: 01 00 00 A7 0A B1 [10:05:46]Write i2c OK [10:05:46]MH_I2C_Read... [10:05:46]Read from MH i2c: 01 [10:05:46]MH_I2C_Read... [10:05:46]Read from MH i2c: 01 07 00 [10:05:46]MH_I2C_Read... [10:05:46]Read from MH i2c: 01 07 00 A7 0A 00 00 00 00 00 AC 0C 70 [10:05:46]RasterBufferAndPrint [10:05:46]line [10:05:46]line [10:05:46]line [10:05:46]line [10:05:46]line [10:05:46]written 0, free lines is 3249 [10:05:46]MH_Cut [10:05:46]Write to MH i2c: D1 01 00 AE 0A 01 8A [10:05:46]Write i2c OK [10:05:46]MH_I2C_Read... [10:05:46]Read from MH i2c: D1 [10:05:46]MH_I2C_Read... [10:05:46]Read from MH i2c: D1 01 00 [10:05:46]MH_I2C_Read... [10:05:46]Read from MH i2c: D1 01 00 AE 0A 00 89 [10:05:46]Write to MH i2c: 01 00 00 AF 0A B9 [10:05:46]Write i2c OK [10:05:46]MH_I2C_Read... [10:05:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 7F 80 47 00 7A 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 38 34 31 10 04 04 00 87 94 00 00 F4 03 04 00 66 01 23 67 B6 04 01 00 00 DC F4 09 A1 05 6D 7A 92 [10:05:46]CommunicateWithHost err = 0 [10:05:46]CheckOFDResponse [10:05:46]1017 (14) - 77093643461234 [10:05:46]1041 (16) - 0000000000871841 [10:05:46]1040 (4) - 38023 [10:05:46]1012 (4) - 31.10.2024 04:02 [10:05:46]1206 (1) - 0 [10:05:46]OFD Sender: Remove packet 38023 [10:05:46]ProducePacketName [10:05:46]name=ofd_packets/00038023 [10:05:46]NVStorageDeleteData [10:05:47]OFD Sender: No OFD packet to send [10:05:47]*** Cut start [10:05:47]*** Partial cut [10:05:47]*** CUTSNS_PIN = 1 [10:05:47]*** CUTSNS_PIN = 0 [10:05:47]*** Brake cut motor [10:05:47]Read from MH i2c: 01 [10:05:47]MH_I2C_Read... [10:05:47]*** Stop cut motor [10:05:47]*** Cut end [10:05:47]Read from MH i2c: 01 07 00 [10:05:47]MH_I2C_Read... [10:05:47]Read from MH i2c: 01 07 00 AF 0A 00 00 00 00 00 FF 0F CE [10:05:47]process_action close_receipt done [10:05:47]requested_data is exist [10:05:47]produce_requested_data [10:05:47]requested_item fm.sn is exist - process it [10:05:47]wFMCommunicate request_size=4 [10:05:47]MH_SAM_APDU [10:05:47]CAPDU: 80 11 00 00 [10:05:47]Write to MH i2c: E2 08 00 B0 0A 80 11 00 00 00 00 00 00 34 [10:05:47]Write i2c OK [10:05:47]MH_I2C_Read... [10:05:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:05:47]Read from MH i2c: E2 [10:05:47]MH_I2C_Read... [10:05:47]Read from MH i2c: E2 17 00 [10:05:47]MH_I2C_Read... [10:05:47]Read from MH i2c: E2 17 00 B0 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 84 [10:05:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:05:47]wFMCommunicate OK [10:05:47]requested_item fd.num is exist - process it [10:05:47]SAM_PROTO_GetFieldsCounters [10:05:47]wFMCommunicate request_size=4 [10:05:47]MH_SAM_APDU [10:05:47]CAPDU: 80 13 00 00 [10:05:47]Write to MH i2c: E2 08 00 B1 0A 80 13 00 00 00 00 00 00 37 [10:05:47]Write i2c OK [10:05:47]MH_I2C_Read... [10:05:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:05:48]Read from MH i2c: E2 [10:05:48]MH_I2C_Read... [10:05:48]Read from MH i2c: E2 62 00 [10:05:48]MH_I2C_Read... [10:05:48]Read from MH i2c: E2 62 00 B1 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 87 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 FC [10:05:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 87 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:05:48]wFMCommunicate OK [10:05:48]SAM_PROTO_GetFieldsCounters done [10:05:48]requested_item shift.num is exist - process it [10:05:48]requested_item shift.opened is exist - process it [10:05:48]req_shift_opened [10:05:48]FM_GetShiftState [10:05:48]SAM_PROTO_GetShiftState [10:05:48]wFMCommunicate request_size=4 [10:05:48]MH_SAM_APDU [10:05:48]CAPDU: 80 13 01 00 [10:05:48]Write to MH i2c: E2 08 00 B2 0A 80 13 01 00 00 00 00 00 39 [10:05:48]Write i2c OK [10:05:48]MH_I2C_Read... [10:05:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:05:48]Read from MH i2c: E2 [10:05:48]MH_I2C_Read... [10:05:48]Read from MH i2c: E2 0E 00 [10:05:48]MH_I2C_Read... [10:05:48]Read from MH i2c: E2 0E 00 B2 0A 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 73 [10:05:48]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [10:05:48]wFMCommunicate OK [10:05:48]SAM_PROTO_GetShiftState done [10:05:48]FM_GetShiftState done [10:05:48]req_shift_opened done [10:05:48]requested_item shift.open_date is exist - process it [10:05:48]req_shift_open_date [10:05:48]req_shift_open_date done [10:05:48]produce_requested_data done [10:05:48]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38023,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [10:05:48]process_action_free close_receipt [10:05:48]json_value_free [10:05:48]json_value_free done [10:05:48]process_json_proto returns [10:05:48]Send response to host [10:05:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38023,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [10:05:48]free response buf [10:05:48]execute_script done [10:05:48]execute_script returns [10:05:48]free content buf [10:05:48]Sock 9.Close socket [10:05:48]Sock 9.Thread stoped [10:05:52]OFD Sender: No OFD packet to send [10:05:57]OFD Sender: No OFD packet to send [10:06:02]OFD Sender: No OFD packet to send [10:06:07]OFD Sender: No OFD packet to send [10:06:12]OFD Sender: No OFD packet to send [10:06:17]OFD Sender: No OFD packet to send [10:06:22]OFD Sender: No OFD packet to send [10:06:27]OFD Sender: No OFD packet to send [10:06:32]OFD Sender: No OFD packet to send [10:06:37]OFD Sender: No OFD packet to send [10:06:42]OFD Sender: No OFD packet to send [10:06:47]OFD Sender: No OFD packet to send [10:06:52]OFD Sender: No OFD packet to send [10:06:57]OFD Sender: No OFD packet to send [10:07:02]OFD Sender: No OFD packet to send [10:07:07]OFD Sender: No OFD packet to send [10:07:12]OFD Sender: No OFD packet to send [10:07:17]OFD Sender: No OFD packet to send [10:07:22]OFD Sender: No OFD packet to send [10:07:27]OFD Sender: No OFD packet to send [10:07:32]OFD Sender: No OFD packet to send [10:07:37]OFD Sender: No OFD packet to send [10:07:42]OFD Sender: No OFD packet to send [10:07:47]OFD Sender: No OFD packet to send [10:07:52]OFD Sender: No OFD packet to send [10:07:57]OFD Sender: No OFD packet to send [10:08:02]OFD Sender: No OFD packet to send [10:08:07]OFD Sender: No OFD packet to send [10:08:12]OFD Sender: No OFD packet to send [10:08:17]OFD Sender: No OFD packet to send [10:08:22]OFD Sender: No OFD packet to send [10:08:23]accept exits with 7 [10:08:23]New connection [10:08:23]New thread 3067043172 created [10:08:23]Thread 3067186532 joined [10:08:23]Waiting for new connection... [10:08:23] Sock 7.Parse request [10:08:23]Sock 7.Check first char [10:08:23]Sock 7.First char is OK [10:08:23]request: POST /json_proto HTTP/1.0 [10:08:23]Method: POST [10:08:23]URL: /json_proto [10:08:23]Method is POST - this is cgi request [10:08:23]url: /json_proto [10:08:23]query_string will be loaded in cgi processing [10:08:23]execute_cgi json_proto POST (null) [10:08:23]execute_cgi path=json_proto method=POST [10:08:23]POST find Content-Length [10:08:23]Host: 172.17.40.196:8080 [10:08:23]Content-Length: 646 [10:08:23]Content-Type: application/json [10:08:23] [10:08:23]POST finish read [10:08:23]Found Content-Length = 646 [10:08:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35321", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:08:23]execute_script... [10:08: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)35321", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:08:23]POST & json_proto [10:08:23]process_json_proto [10:08:23]json parsed OK: [10:08:23]protocol is kg_v1.0 [10:08:23]action value=close_receipt [10:08:23]process_action close_receipt [10:08:23]cmd_close_receipt [10:08:23]MH_GetDate [10:08:23]Write to MH i2c: F0 00 00 B3 0A AC [10:08:23]Write i2c OK [10:08:23]MH_I2C_Read... [10:08:23]Read from MH i2c: F0 [10:08:23]MH_I2C_Read... [10:08:23]Read from MH i2c: F0 09 00 [10:08:23]MH_I2C_Read... [10:08:23]Read from MH i2c: F0 09 00 B3 0A 00 1A 57 23 67 5B 68 A1 66 7A [10:08:23]GetLastDocTimeStamp 1730369146 [10:08:23]current date 1730369306 [10:08:23]FM_GetShiftState [10:08:23]SAM_PROTO_GetShiftState [10:08:23]wFMCommunicate request_size=4 [10:08:23]MH_SAM_APDU [10:08:23]CAPDU: 80 13 01 00 [10:08:23]Write to MH i2c: E2 08 00 B4 0A 80 13 01 00 00 00 00 00 3B [10:08:23]Write i2c OK [10:08:23]MH_I2C_Read... [10:08:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:23]Read from MH i2c: E2 [10:08:23]MH_I2C_Read... [10:08:23]Read from MH i2c: E2 0E 00 [10:08:23]MH_I2C_Read... [10:08:23]Read from MH i2c: E2 0E 00 B4 0A 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 75 [10:08:23]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [10:08:23]wFMCommunicate OK [10:08:23]SAM_PROTO_GetShiftState done [10:08:23]FM_GetShiftState done [10:08:23]opened in 1730333148 [10:08:23]opened+sec_in_day 1730419548 [10:08:23]quantity*price = 13000 [10:08:23]sum+1 = 13001 [10:08:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 32 31.10.2024 10:08 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38024 ФПД: 207075166337851 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T100826&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38024&fm=207075166337851&tin=02508201610067®Number=0000000000091684&sum=13000 0 [10:08:24]StoreToDocumentArchive [10:08:24]shift 554 fd 38024 [10:08:24]save to /storage/0554/doc_00038024 [10:08:24]save last doc name /storage/0554/doc_00038024 to /storage/kkm_last_doc_name [10:08:24]save OK [10:08:24]Clear old archive folders... [10:08:24]ProcessDocumentItem done err = 0, tmpTLVsize=272 [10:08:24]tlvbuf is 012FAE90 [10:08:24]SAM_PROTO_ClearQueue [10:08:24]wFMCommunicate request_size=4 [10:08:24]MH_SAM_APDU [10:08:24]CAPDU: 80 09 00 00 [10:08:24]Write to MH i2c: E2 08 00 C1 0A 80 09 00 00 00 00 00 00 3D [10:08:24]Write i2c OK [10:08:24]MH_I2C_Read... [10:08:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:08:24]Read from MH i2c: E2 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 03 00 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 03 00 C1 0A 00 90 00 3F [10:08:24]RAPDU: 90 00 [10:08:24]wFMCommunicate OK [10:08:24]SAM_PROTO_ClearQueue done [10:08:24]KKMCreateOFDPacket [10:08:24]OFDProtocolAddRootSTLVToBuf [10:08:24]FM_MakeSignedData [10:08:24]FM_MakeSignedData [10:08:24]SAM_PROTO_SignData [10:08:24]wFMCommunicate request_size=4 [10:08:24]MH_SAM_APDU [10:08:24]CAPDU: 80 0D 01 02 [10:08:24]Write to MH i2c: E2 08 00 C2 0A 80 0D 01 02 00 00 00 00 45 [10:08:24]Write i2c OK [10:08:24]MH_I2C_Read... [10:08:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:08:24]Read from MH i2c: E2 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 03 00 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 03 00 C2 0A 00 90 00 40 [10:08:24]RAPDU: 90 00 [10:08:24]wFMCommunicate OK [10:08:24]wFMCommunicate request_size=255 [10:08:24]MH_SAM_APDU [10:08:24]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1A 57 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [10:08:24]Write to MH i2c: E2 02 01 C3 0A 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1A 57 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 2D [10:08:24]Write i2c OK [10:08:24]MH_I2C_Read... [10:08:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:24]Read from MH i2c: E2 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 03 00 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 03 00 C3 0A 00 90 00 41 [10:08:24]RAPDU: 90 00 [10:08:24]wFMCommunicate OK [10:08:24]wFMCommunicate request_size=31 [10:08:24]MH_SAM_APDU [10:08:24]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 88 94 00 00 35 04 06 00 BC 55 71 BB 3B 3B [10:08:24]Write to MH i2c: E2 22 00 C4 0A 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 88 94 00 00 35 04 06 00 BC 55 71 BB 3B 3B 00 00 3F [10:08:24]Write i2c OK [10:08:24]MH_I2C_Read... [10:08:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:24]Read from MH i2c: E2 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 03 00 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 03 00 C4 0A 00 90 00 42 [10:08:24]RAPDU: 90 00 [10:08:24]wFMCommunicate OK [10:08:24]wFMCommunicate request_size=4 [10:08:24]MH_SAM_APDU [10:08:24]CAPDU: 80 0D 03 02 [10:08:24]Write to MH i2c: E2 08 00 C5 0A 80 0D 03 02 00 00 00 00 4A [10:08:24]Write i2c OK [10:08:24]MH_I2C_Read... [10:08:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:08:24]Read from MH i2c: E2 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 0B 00 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 0B 00 C5 0A 00 7B 2A E0 28 0E 20 74 33 90 00 CD [10:08:24]RAPDU: 7B 2A E0 28 0E 20 74 33 90 00 [10:08:24]wFMCommunicate OK [10:08:24]SAM_PROTO_SignData done [10:08:24]FM_MakeSignedData done [10:08:24]CreateOFDProtocolMessage [10:08:24]wFMCommunicate request_size=4 [10:08:24]MH_SAM_APDU [10:08:24]CAPDU: 80 11 00 00 [10:08:24]Write to MH i2c: E2 08 00 C6 0A 80 11 00 00 00 00 00 00 4A [10:08:24]Write i2c OK [10:08:24]MH_I2C_Read... [10:08:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:24]Read from MH i2c: E2 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 17 00 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: E2 17 00 C6 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9A [10:08:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:08:24]wFMCommunicate OK [10:08:24]CreateOFDProtocolMessage done [10:08:24]OFDSenderStorePacket 38024 [10:08:24]StoreOFDPacket docnum=38024 [10:08:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 73 3D 1C 01 F9 76 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1A 57 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 88 94 00 00 35 04 06 00 BC 55 71 BB 3B 3B 7B 2A E0 28 0E 20 74 33 [10:08:24]CheckFolder [10:08:24]dirname=/storage/ofd_packets [10:08:24]CheckFolder done [10:08:24]ProducePacketName [10:08:24]name=ofd_packets/00038024 [10:08:24]NVStorageSaveData ofd_packets/00038024 [10:08:24]File name is /storage/ofd_packets/00038024 [10:08:24]Write 322 bytes [10:08:24]NVStorageSaveData done [10:08:24]OFDSenderStorePacket done [10:08:24]KKMCreateOFDPacket done [10:08:24]NVStorageSaveData kkm_last_timestamp [10:08:24]File name is /storage/kkm_last_timestamp [10:08:24]Write 4 bytes [10:08:24]NVStorageSaveData done [10:08:24]ExternCall_PrintAddStr [10:08:24]wPrintStart [10:08:24]Write to MH i2c: 01 00 00 C7 0A D1 [10:08:24]Write i2c OK [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: 01 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: 01 07 00 [10:08:24]MH_I2C_Read... [10:08:24]Read from MH i2c: 01 07 00 C7 0A 00 00 00 00 00 FF 0F E6 [10:08:24]RasterBufferAndPrint [10:08:24]line Счет N : (3)35321 [10:08:24]line ИНН: 02508201610067 [10:08:24]line Контрольно-Кассовый Чек [10:08:24]line ПРОДАЖА [10:08:24]line Товар: 47011656 [10:08:24]line Водка Пшеничная 0,1л [10:08:24]line 2.000 * 65.00 [10:08:24]line = 130.00 [10:08:24]line НДС 12% НСП 1% [10:08:24]line > о реализуемом товаре [10:08:24]line ИТОГО: 130.00 [10:08:24]line НСП 1% : 1.15 [10:08:24]line НДС 12% : 13.80 [10:08:24]line Наличными: 130.00 [10:08:24]line Безнал.: 0.00 [10:08:24]line Место: АЗС № 126 "Партнер Нефть" [10:08:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:08:24]line СНО: Общий режим [10:08:24]line Чек 32 31.10.2024 10:08 [10:08:24]line Смена: 554 ФФД: 1.0 [10:08:24]line ЗНМ: 0300000092 [10:08:24]line РНМ: 0000000000091684 [10:08:24]line Версия ККМ: 001 [10:08:24]line ФМ: 0000000000871841 [10:08:24]line ФД: 38024 [10:08:24]line ФПД: 207075166337851 [10:08:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T100826&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38024&fm=207075166337851&tin=02508201610067®Number=0000000000091684&sum=13000 [10:08:24]line 0 [10:08:24]written 0, free lines is 4095 [10:08:24]OFD Sender: Processing packet 38024 [packets to send 42, broken 41] [10:08:24]ProducePacketName [10:08:24]name=ofd_packets/00038024 [10:08:24]OFD Sender: To server: pG, [10:08:24]CommunicateWithHost lk.salyk.kg:30040 [10:08:24]ConnectInit lk.salyk.kg [10:08:25]Connected sock=10 [10:08: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 38 34 31 24 01 00 00 73 3D 1C 01 F9 76 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1A 57 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 88 94 00 00 35 04 06 00 BC 55 71 BB 3B 3B 7B 2A E0 28 0E 20 74 33 [10:08:25]Write to MH i2c: 01 00 00 EF 0A F9 [10:08:25]Write i2c OK [10:08:25]MH_I2C_Read... [10:08:25]Read from MH i2c: 01 [10:08:25]MH_I2C_Read... [10:08:25]Read from MH i2c: 01 07 00 [10:08:25]MH_I2C_Read... [10:08:25]Read from MH i2c: 01 07 00 EF 0A 00 00 00 00 00 CA 0C D6 [10:08:25]RasterBufferAndPrint [10:08:25]line [10:08:25]line [10:08:25]line [10:08:25]line [10:08:25]line [10:08:25]written 0, free lines is 3279 [10:08:25]MH_Cut [10:08:25]Write to MH i2c: D1 01 00 F6 0A 01 D2 [10:08:25]Write i2c OK [10:08:25]MH_I2C_Read... [10:08:25]Read from MH i2c: D1 [10:08:25]MH_I2C_Read... [10:08:25]Read from MH i2c: D1 01 00 [10:08:25]MH_I2C_Read... [10:08:25]Read from MH i2c: D1 01 00 F6 0A 00 D1 [10:08:25]Write to MH i2c: 01 00 00 F7 0A 01 [10:08:25]Write i2c OK [10:08:25]MH_I2C_Read... [10:08:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 2B 9C 47 00 29 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 88 94 00 00 F4 03 04 00 05 02 23 67 B6 04 01 00 00 33 9F 14 BA 71 87 13 66 [10:08:25]CommunicateWithHost err = 0 [10:08:25]CheckOFDResponse [10:08:25]1017 (14) - 77093643461234 [10:08:25]1041 (16) - 0000000000871841 [10:08:25]1040 (4) - 38024 [10:08:25]1012 (4) - 31.10.2024 04:05 [10:08:25]1206 (1) - 0 [10:08:25]OFD Sender: Remove packet 38024 [10:08:25]ProducePacketName [10:08:25]name=ofd_packets/00038024 [10:08:25]NVStorageDeleteData [10:08:26]*** Cut start [10:08:26]*** Partial cut [10:08:26]*** CUTSNS_PIN = 1 [10:08:26]OFD Sender: No OFD packet to send [10:08:26]*** CUTSNS_PIN = 0 [10:08:26]*** Brake cut motor [10:08:26]Read from MH i2c: 01 [10:08:26]MH_I2C_Read... [10:08:26]*** Stop cut motor [10:08:26]*** Cut end [10:08:26]Read from MH i2c: 01 07 00 [10:08:26]MH_I2C_Read... [10:08:26]Read from MH i2c: 01 07 00 F7 0A 00 00 00 00 00 FF 0F 16 [10:08:26]process_action close_receipt done [10:08:26]requested_data is exist [10:08:26]produce_requested_data [10:08:26]requested_item fm.sn is exist - process it [10:08:26]wFMCommunicate request_size=4 [10:08:26]MH_SAM_APDU [10:08:26]CAPDU: 80 11 00 00 [10:08:26]Write to MH i2c: E2 08 00 F8 0A 80 11 00 00 00 00 00 00 7C [10:08:26]Write i2c OK [10:08:26]MH_I2C_Read... [10:08:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:26]Read from MH i2c: E2 [10:08:26]MH_I2C_Read... [10:08:26]Read from MH i2c: E2 17 00 [10:08:26]MH_I2C_Read... [10:08:26]Read from MH i2c: E2 17 00 F8 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CC [10:08:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:08:26]wFMCommunicate OK [10:08:26]requested_item fd.num is exist - process it [10:08:26]SAM_PROTO_GetFieldsCounters [10:08:26]wFMCommunicate request_size=4 [10:08:26]MH_SAM_APDU [10:08:26]CAPDU: 80 13 00 00 [10:08:26]Write to MH i2c: E2 08 00 F9 0A 80 13 00 00 00 00 00 00 7F [10:08:26]Write i2c OK [10:08:26]MH_I2C_Read... [10:08:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:08:27]Read from MH i2c: E2 [10:08:27]MH_I2C_Read... [10:08:27]Read from MH i2c: E2 62 00 [10:08:27]MH_I2C_Read... [10:08:27]Read from MH i2c: E2 62 00 F9 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 88 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [10:08: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 88 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:08:27]wFMCommunicate OK [10:08:27]SAM_PROTO_GetFieldsCounters done [10:08:27]requested_item shift.num is exist - process it [10:08:27]requested_item shift.opened is exist - process it [10:08:27]req_shift_opened [10:08:27]FM_GetShiftState [10:08:27]SAM_PROTO_GetShiftState [10:08:27]wFMCommunicate request_size=4 [10:08:27]MH_SAM_APDU [10:08:27]CAPDU: 80 13 01 00 [10:08:27]Write to MH i2c: E2 08 00 FA 0A 80 13 01 00 00 00 00 00 81 [10:08:27]Write i2c OK [10:08:27]MH_I2C_Read... [10:08:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:27]Read from MH i2c: E2 [10:08:27]MH_I2C_Read... [10:08:27]Read from MH i2c: E2 0E 00 [10:08:27]MH_I2C_Read... [10:08:27]Read from MH i2c: E2 0E 00 FA 0A 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 BB [10:08:27]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [10:08:27]wFMCommunicate OK [10:08:27]SAM_PROTO_GetShiftState done [10:08:27]FM_GetShiftState done [10:08:27]req_shift_opened done [10:08:27]requested_item shift.open_date is exist - process it [10:08:27]req_shift_open_date [10:08:27]req_shift_open_date done [10:08:27]produce_requested_data done [10:08:27]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38024,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [10:08:27]process_action_free close_receipt [10:08:27]json_value_free [10:08:27]json_value_free done [10:08:27]process_json_proto returns [10:08:27]Send response to host [10:08:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38024,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [10:08:27]free response buf [10:08:27]execute_script done [10:08:27]execute_script returns [10:08:27]free content buf [10:08:27]Sock 7.Close socket [10:08:27]Sock 7.Thread stoped [10:08:31]OFD Sender: No OFD packet to send [10:08:36]OFD Sender: No OFD packet to send [10:08:41]OFD Sender: No OFD packet to send [10:08:46]OFD Sender: No OFD packet to send [10:08:51]OFD Sender: No OFD packet to send [10:08:56]OFD Sender: No OFD packet to send [10:09:01]OFD Sender: No OFD packet to send [10:09:06]OFD Sender: No OFD packet to send [10:09:11]OFD Sender: No OFD packet to send [10:09:16]OFD Sender: No OFD packet to send [10:09:21]OFD Sender: No OFD packet to send [10:09:26]OFD Sender: No OFD packet to send [10:09:31]OFD Sender: No OFD packet to send [10:09:36]OFD Sender: No OFD packet to send [10:09:41]OFD Sender: No OFD packet to send [10:09:46]OFD Sender: No OFD packet to send [10:09:51]OFD Sender: No OFD packet to send [10:09:56]OFD Sender: No OFD packet to send [10:10:01]OFD Sender: No OFD packet to send [10:10:06]OFD Sender: No OFD packet to send [10:10:11]OFD Sender: No OFD packet to send [10:10:16]OFD Sender: No OFD packet to send [10:10:21]OFD Sender: No OFD packet to send [10:10:26]OFD Sender: No OFD packet to send [10:10:31]OFD Sender: No OFD packet to send [10:10:36]OFD Sender: No OFD packet to send [10:10:41]OFD Sender: No OFD packet to send [10:10:46]OFD Sender: No OFD packet to send [10:10:51]OFD Sender: No OFD packet to send [10:10:56]OFD Sender: No OFD packet to send [10:11:01]OFD Sender: No OFD packet to send [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]OFD Sender: No OFD packet to send [10:12:56]OFD Sender: No OFD packet to send [10:13:01]OFD Sender: No OFD packet to send [10:13:06]OFD Sender: No OFD packet to send [10:13:11]OFD Sender: No OFD packet to send [10:13:16]OFD Sender: No OFD packet to send [10:13:21]OFD Sender: No OFD packet to send [10:13:26]OFD Sender: No OFD packet to send [10:13:31]OFD Sender: No OFD packet to send [10:13:31]accept exits with 9 [10:13:31]New connection [10:13:31]New thread 3067186532 created [10:13:31]Thread 3067043172 joined [10:13:31]Waiting for new connection... [10:13:31] Sock 9.Parse request [10:13:31]Sock 9.Check first char [10:13:31]Sock 9.First char is OK [10:13:31]request: POST /json_proto HTTP/1.0 [10:13:31]Method: POST [10:13:31]URL: /json_proto [10:13:31]Method is POST - this is cgi request [10:13:31]url: /json_proto [10:13:31]query_string will be loaded in cgi processing [10:13:31]execute_cgi json_proto POST (null) [10:13:31]execute_cgi path=json_proto method=POST [10:13:31]POST find Content-Length [10:13:31]Host: 172.17.40.196:8080 [10:13:31]Content-Length: 641 [10:13:31]Content-Type: application/json [10:13:31] [10:13:31]POST finish read [10:13:31]Found Content-Length = 641 [10:13:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35322", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:13:31]execute_script... [10:13: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)35322", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:13:31]POST & json_proto [10:13:31]process_json_proto [10:13:31]json parsed OK: [10:13:31]protocol is kg_v1.0 [10:13:31]action value=close_receipt [10:13:31]process_action close_receipt [10:13:31]cmd_close_receipt [10:13:31]MH_GetDate [10:13:31]Write to MH i2c: F0 00 00 FB 0A F4 [10:13:31]Write i2c OK [10:13:31]MH_I2C_Read... [10:13:31]Read from MH i2c: F0 [10:13:31]MH_I2C_Read... [10:13:31]Read from MH i2c: F0 09 00 [10:13:31]MH_I2C_Read... [10:13:31]Read from MH i2c: F0 09 00 FB 0A 00 4E 58 23 67 5B 68 A1 66 F7 [10:13:31]GetLastDocTimeStamp 1730369306 [10:13:31]current date 1730369614 [10:13:31]FM_GetShiftState [10:13:31]SAM_PROTO_GetShiftState [10:13:31]wFMCommunicate request_size=4 [10:13:31]MH_SAM_APDU [10:13:31]CAPDU: 80 13 01 00 [10:13:31]Write to MH i2c: E2 08 00 FC 0A 80 13 01 00 00 00 00 00 83 [10:13:31]Write i2c OK [10:13:31]MH_I2C_Read... [10:13:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:13:31]Read from MH i2c: E2 [10:13:31]MH_I2C_Read... [10:13:31]Read from MH i2c: E2 0E 00 [10:13:31]MH_I2C_Read... [10:13:31]Read from MH i2c: E2 0E 00 FC 0A 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 BD [10:13:31]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [10:13:31]wFMCommunicate OK [10:13:31]SAM_PROTO_GetShiftState done [10:13:31]FM_GetShiftState done [10:13:31]opened in 1730333148 [10:13:31]opened+sec_in_day 1730419548 [10:13:31]quantity*price = 5900 [10:13:31]sum+1 = 5901 [10:13:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 33 31.10.2024 10:13 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 38025 ФПД: 90168523251239 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T101334&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38025&fm=90168523251239&tin=02508201610067®Number=0000000000091684&sum=5900 0 [10:13:33]StoreToDocumentArchive [10:13:33]shift 554 fd 38025 [10:13:33]save to /storage/0554/doc_00038025 [10:13:33]save last doc name /storage/0554/doc_00038025 to /storage/kkm_last_doc_name [10:13:33]save OK [10:13:33]Clear old archive folders... [10:13:33]ProcessDocumentItem done err = 0, tmpTLVsize=281 [10:13:33]tlvbuf is 0117EAD0 [10:13:33]SAM_PROTO_ClearQueue [10:13:33]wFMCommunicate request_size=4 [10:13:33]MH_SAM_APDU [10:13:33]CAPDU: 80 09 00 00 [10:13:33]Write to MH i2c: E2 08 00 09 0B 80 09 00 00 00 00 00 00 86 [10:13:33]Write i2c OK [10:13:33]MH_I2C_Read... [10:13:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:13:33]Read from MH i2c: E2 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 03 00 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 03 00 09 0B 00 90 00 88 [10:13:33]RAPDU: 90 00 [10:13:33]wFMCommunicate OK [10:13:33]SAM_PROTO_ClearQueue done [10:13:33]KKMCreateOFDPacket [10:13:33]OFDProtocolAddRootSTLVToBuf [10:13:33]FM_MakeSignedData [10:13:33]FM_MakeSignedData [10:13:33]SAM_PROTO_SignData [10:13:33]wFMCommunicate request_size=4 [10:13:33]MH_SAM_APDU [10:13:33]CAPDU: 80 0D 01 02 [10:13:33]Write to MH i2c: E2 08 00 0A 0B 80 0D 01 02 00 00 00 00 8E [10:13:33]Write i2c OK [10:13:33]MH_I2C_Read... [10:13:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:13:33]Read from MH i2c: E2 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 03 00 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 03 00 0A 0B 00 90 00 89 [10:13:33]RAPDU: 90 00 [10:13:33]wFMCommunicate OK [10:13:33]wFMCommunicate request_size=255 [10:13:33]MH_SAM_APDU [10:13:33]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 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 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4E 58 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 [10:13:33]Write to MH i2c: E2 02 01 0B 0B 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 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 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4E 58 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 00 9B [10:13:33]Write i2c OK [10:13:33]MH_I2C_Read... [10:13:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:13:33]Read from MH i2c: E2 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 03 00 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 03 00 0B 0B 00 90 00 8A [10:13:33]RAPDU: 90 00 [10:13:33]wFMCommunicate OK [10:13:33]wFMCommunicate request_size=40 [10:13:33]MH_SAM_APDU [10:13:33]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 89 94 00 00 35 04 06 00 52 01 FE CC 5E 27 [10:13:33]Write to MH i2c: E2 2B 00 0C 0B 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 89 94 00 00 35 04 06 00 52 01 FE CC 5E 27 00 00 0A [10:13:33]Write i2c OK [10:13:33]MH_I2C_Read... [10:13:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:13:33]Read from MH i2c: E2 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 03 00 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 03 00 0C 0B 00 90 00 8B [10:13:33]RAPDU: 90 00 [10:13:33]wFMCommunicate OK [10:13:33]wFMCommunicate request_size=4 [10:13:33]MH_SAM_APDU [10:13:33]CAPDU: 80 0D 03 02 [10:13:33]Write to MH i2c: E2 08 00 0D 0B 80 0D 03 02 00 00 00 00 93 [10:13:33]Write i2c OK [10:13:33]MH_I2C_Read... [10:13:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:13:33]Read from MH i2c: E2 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 0B 00 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 0B 00 0D 0B 00 0D 14 9A BF B2 CC 2B C5 90 00 7C [10:13:33]RAPDU: 0D 14 9A BF B2 CC 2B C5 90 00 [10:13:33]wFMCommunicate OK [10:13:33]SAM_PROTO_SignData done [10:13:33]FM_MakeSignedData done [10:13:33]CreateOFDProtocolMessage [10:13:33]wFMCommunicate request_size=4 [10:13:33]MH_SAM_APDU [10:13:33]CAPDU: 80 11 00 00 [10:13:33]Write to MH i2c: E2 08 00 0E 0B 80 11 00 00 00 00 00 00 93 [10:13:33]Write i2c OK [10:13:33]MH_I2C_Read... [10:13:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:13:33]Read from MH i2c: E2 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 17 00 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: E2 17 00 0E 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E3 [10:13:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:13:33]wFMCommunicate OK [10:13:33]CreateOFDProtocolMessage done [10:13:33]OFDSenderStorePacket 38025 [10:13:33]StoreOFDPacket docnum=38025 [10:13:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 24 35 25 01 BB 04 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 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 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4E 58 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 89 94 00 00 35 04 06 00 52 01 FE CC 5E 27 0D 14 9A BF B2 CC 2B C5 [10:13:33]CheckFolder [10:13:33]dirname=/storage/ofd_packets [10:13:33]CheckFolder done [10:13:33]ProducePacketName [10:13:33]name=ofd_packets/00038025 [10:13:33]NVStorageSaveData ofd_packets/00038025 [10:13:33]File name is /storage/ofd_packets/00038025 [10:13:33]Write 331 bytes [10:13:33]NVStorageSaveData done [10:13:33]OFDSenderStorePacket done [10:13:33]KKMCreateOFDPacket done [10:13:33]NVStorageSaveData kkm_last_timestamp [10:13:33]File name is /storage/kkm_last_timestamp [10:13:33]Write 4 bytes [10:13:33]NVStorageSaveData done [10:13:33]ExternCall_PrintAddStr [10:13:33]wPrintStart [10:13:33]Write to MH i2c: 01 00 00 0F 0B 1A [10:13:33]Write i2c OK [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: 01 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: 01 07 00 [10:13:33]MH_I2C_Read... [10:13:33]Read from MH i2c: 01 07 00 0F 0B 00 00 00 00 00 FF 0F 2F [10:13:33]RasterBufferAndPrint [10:13:33]line Счет N : (3)35322 [10:13:33]line ИНН: 02508201610067 [10:13:33]line Контрольно-Кассовый Чек [10:13:33]line ПРОДАЖА [10:13:33]line Товар: 4607065001445 [10:13:33]line Шок батончик Snickers 50,5г [10:13:33]line 1.000 * 59.00 [10:13:33]line = 59.00 [10:13:33]line НДС 12% НСП 1% [10:13:33]line > о реализуемом товаре [10:13:33]line ИТОГО: 59.00 [10:13:33]line НСП 1% : 0.52 [10:13:33]line НДС 12% : 6.26 [10:13:33]line Наличными: 59.00 [10:13:33]line Безнал.: 0.00 [10:13:33]line Место: АЗС № 126 "Партнер Нефть" [10:13:33]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:13:33]line СНО: Общий режим [10:13:33]line Чек 33 31.10.2024 10:13 [10:13:33]line Смена: 554 ФФД: 1.0 [10:13:33]line ЗНМ: 0300000092 [10:13:33]line РНМ: 0000000000091684 [10:13:33]line Версия ККМ: 001 [10:13:33]line ФМ: 0000000000871841 [10:13:33]line ФД: 38025 [10:13:33]line ФПД: 90168523251239 [10:13:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T101334&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38025&fm=90168523251239&tin=02508201610067®Number=0000000000091684&sum=5900 [10:13:33]line 0 [10:13:33]OFD Sender: Processing packet 38025 [packets to send 42, broken 41] [10:13:33]ProducePacketName [10:13:33]name=ofd_packets/00038025 [10:13:33]OFD Sender: To server: pG, [10:13:33]CommunicateWithHost lk.salyk.kg:30040 [10:13:33]ConnectInit lk.salyk.kg [10:13:33]written 0, free lines is 4095 [10:13:34]Connected sock=10 [10:13: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 38 34 31 2D 01 00 00 24 35 25 01 BB 04 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 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 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 4E 58 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 89 94 00 00 35 04 06 00 52 01 FE CC 5E 27 0D 14 9A BF B2 CC 2B C5 [10:13:34]Write to MH i2c: 01 00 00 37 0B 42 [10:13:34]Write i2c OK [10:13:34]MH_I2C_Read... [10:13:34]Read from MH i2c: 01 [10:13:34]MH_I2C_Read... [10:13:34]Read from MH i2c: 01 07 00 [10:13:34]MH_I2C_Read... [10:13:34]Read from MH i2c: 01 07 00 37 0B 00 00 00 00 00 C2 0C 17 [10:13:34]RasterBufferAndPrint [10:13:34]line [10:13:34]line [10:13:34]line [10:13:34]line [10:13:34]line [10:13:34]written 0, free lines is 3270 [10:13:34]MH_Cut [10:13:34]Write to MH i2c: D1 01 00 3E 0B 01 1B [10:13:34]Write i2c OK [10:13:34]MH_I2C_Read... [10:13:34]Read from MH i2c: D1 [10:13:34]MH_I2C_Read... [10:13:34]Read from MH i2c: D1 01 00 [10:13:34]MH_I2C_Read... [10:13:34]Read from MH i2c: D1 01 00 3E 0B 00 1A [10:13:34]Write to MH i2c: 01 00 00 3F 0B 4A [10:13:34]Write i2c OK [10:13:34]MH_I2C_Read... [10:13:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 E6 45 47 00 75 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 38 34 31 10 04 04 00 89 94 00 00 F4 03 04 00 3A 03 23 67 B6 04 01 00 00 20 5C 87 E2 13 E0 40 98 [10:13:34]CommunicateWithHost err = 0 [10:13:34]CheckOFDResponse [10:13:34]1017 (14) - 77093643461234 [10:13:34]1041 (16) - 0000000000871841 [10:13:34]1040 (4) - 38025 [10:13:34]1012 (4) - 31.10.2024 04:10 [10:13:34]1206 (1) - 0 [10:13:34]OFD Sender: Remove packet 38025 [10:13:34]ProducePacketName [10:13:34]name=ofd_packets/00038025 [10:13:34]NVStorageDeleteData [10:13:35]OFD Sender: No OFD packet to send [10:13:35]*** Cut start [10:13:35]*** Partial cut [10:13:35]*** CUTSNS_PIN = 1 [10:13:35]*** CUTSNS_PIN = 0 [10:13:35]*** Brake cut motor [10:13:35]Read from MH i2c: 01 [10:13:35]MH_I2C_Read... [10:13:35]*** Stop cut motor [10:13:35]*** Cut end [10:13:35]Read from MH i2c: 01 07 00 [10:13:35]MH_I2C_Read... [10:13:35]Read from MH i2c: 01 07 00 3F 0B 00 00 00 00 00 FF 0F 5F [10:13:35]process_action close_receipt done [10:13:35]requested_data is exist [10:13:35]produce_requested_data [10:13:35]requested_item fm.sn is exist - process it [10:13:35]wFMCommunicate request_size=4 [10:13:35]MH_SAM_APDU [10:13:35]CAPDU: 80 11 00 00 [10:13:35]Write to MH i2c: E2 08 00 40 0B 80 11 00 00 00 00 00 00 C5 [10:13:35]Write i2c OK [10:13:35]MH_I2C_Read... [10:13:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:13:35]Read from MH i2c: E2 [10:13:35]MH_I2C_Read... [10:13:35]Read from MH i2c: E2 17 00 [10:13:35]MH_I2C_Read... [10:13:35]Read from MH i2c: E2 17 00 40 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 15 [10:13:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:13:35]wFMCommunicate OK [10:13:35]requested_item fd.num is exist - process it [10:13:35]SAM_PROTO_GetFieldsCounters [10:13:35]wFMCommunicate request_size=4 [10:13:35]MH_SAM_APDU [10:13:35]CAPDU: 80 13 00 00 [10:13:35]Write to MH i2c: E2 08 00 41 0B 80 13 00 00 00 00 00 00 C8 [10:13:35]Write i2c OK [10:13:35]MH_I2C_Read... [10:13:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:13:35]Read from MH i2c: E2 [10:13:35]MH_I2C_Read... [10:13:35]Read from MH i2c: E2 62 00 [10:13:35]MH_I2C_Read... [10:13:36]Read from MH i2c: E2 62 00 41 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 89 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [10:13: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 89 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:13:36]wFMCommunicate OK [10:13:36]SAM_PROTO_GetFieldsCounters done [10:13:36]requested_item shift.num is exist - process it [10:13:36]requested_item shift.opened is exist - process it [10:13:36]req_shift_opened [10:13:36]FM_GetShiftState [10:13:36]SAM_PROTO_GetShiftState [10:13:36]wFMCommunicate request_size=4 [10:13:36]MH_SAM_APDU [10:13:36]CAPDU: 80 13 01 00 [10:13:36]Write to MH i2c: E2 08 00 42 0B 80 13 01 00 00 00 00 00 CA [10:13:36]Write i2c OK [10:13:36]MH_I2C_Read... [10:13:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:13:36]Read from MH i2c: E2 [10:13:36]MH_I2C_Read... [10:13:36]Read from MH i2c: E2 0E 00 [10:13:36]MH_I2C_Read... [10:13:36]Read from MH i2c: E2 0E 00 42 0B 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 04 [10:13:36]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [10:13:36]wFMCommunicate OK [10:13:36]SAM_PROTO_GetShiftState done [10:13:36]FM_GetShiftState done [10:13:36]req_shift_opened done [10:13:36]requested_item shift.open_date is exist - process it [10:13:36]req_shift_open_date [10:13:36]req_shift_open_date done [10:13:36]produce_requested_data done [10:13:36]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":38025,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [10:13:36]process_action_free close_receipt [10:13:36]json_value_free [10:13:36]json_value_free done [10:13:36]process_json_proto returns [10:13:36]Send response to host [10:13:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":38025,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [10:13:36]free response buf [10:13:36]execute_script done [10:13:36]execute_script returns [10:13:36]free content buf [10:13:36]Sock 9.Close socket [10:13:36]Sock 9.Thread stoped [10:13:40]OFD Sender: No OFD packet to send [10:13:45]OFD Sender: No OFD packet to send [10:13:50]OFD Sender: No OFD packet to send [10:13:55]OFD Sender: No OFD packet to send [10:14:00]OFD Sender: No OFD packet to send [10:14:05]OFD Sender: No OFD packet to send [10:14:10]OFD Sender: No OFD packet to send [10:14:15]OFD Sender: No OFD packet to send [10:14:20]OFD Sender: No OFD packet to send [10:14:25]OFD Sender: No OFD packet to send [10:14:30]OFD Sender: No OFD packet to send [10:14:35]OFD Sender: No OFD packet to send [10:14:40]OFD Sender: No OFD packet to send [10:14:45]OFD Sender: No OFD packet to send [10:14:50]OFD Sender: No OFD packet to send [10:14:55]OFD Sender: No OFD packet to send [10:15:00]OFD Sender: No OFD packet to send [10:15:05]OFD Sender: No OFD packet to send [10:15:10]OFD Sender: No OFD packet to send [10:15:15]OFD Sender: No OFD packet to send [10:15:20]OFD Sender: No OFD packet to send [10:15:25]OFD Sender: No OFD packet to send [10:15:30]OFD Sender: No OFD packet to send [10:15:35]OFD Sender: No OFD packet to send [10:15:40]OFD Sender: No OFD packet to send [10:15:45]OFD Sender: No OFD packet to send [10:15:50]OFD Sender: No OFD packet to send [10:15:55]OFD Sender: No OFD packet to send [10:16:00]OFD Sender: No OFD packet to send [10:16:05]OFD Sender: No OFD packet to send [10:16:10]OFD Sender: No OFD packet to send [10:16:15]OFD Sender: No OFD packet to send [10:16:20]OFD Sender: No OFD packet to send [10:16:25]OFD Sender: No OFD packet to send [10:16:30]OFD Sender: No OFD packet to send [10:16:35]OFD Sender: No OFD packet to send [10:16:40]OFD Sender: No OFD packet to send [10:16:45]OFD Sender: No OFD packet to send [10:16:50]OFD Sender: No OFD packet to send [10:16:55]OFD Sender: No OFD packet to send [10:17:00]OFD Sender: No OFD packet to send [10:17:05]OFD Sender: No OFD packet to send [10:17:10]OFD Sender: No OFD packet to send [10:17:15]OFD Sender: No OFD packet to send [10:17:20]OFD Sender: No OFD packet to send [10:17:25]OFD Sender: No OFD packet to send [10:17:30]OFD Sender: No OFD packet to send [10:17:35]OFD Sender: No OFD packet to send [10:17:40]OFD Sender: No OFD packet to send [10:17:45]OFD Sender: No OFD packet to send [10:17:50]OFD Sender: No OFD packet to send [10:17:55]OFD Sender: No OFD packet to send [10:18:00]OFD Sender: No OFD packet to send [10:18:05]OFD Sender: No OFD packet to send [10:18:10]OFD Sender: No OFD packet to send [10:18:15]OFD Sender: No OFD packet to send [10:18:20]OFD Sender: No OFD packet to send [10:18:25]OFD Sender: No OFD packet to send [10:18:30]OFD Sender: No OFD packet to send [10:18:35]OFD Sender: No OFD packet to send [10:18:40]OFD Sender: No OFD packet to send [10:18:45]OFD Sender: No OFD packet to send [10:18:50]OFD Sender: No OFD packet to send [10:18:55]OFD Sender: No OFD packet to send [10:19:00]OFD Sender: No OFD packet to send [10:19:05]OFD Sender: No OFD packet to send [10:19:10]OFD Sender: No OFD packet to send [10:19:15]OFD Sender: No OFD packet to send [10:19:20]OFD Sender: No OFD packet to send [10:19:25]OFD Sender: No OFD packet to send [10:19:30]OFD Sender: No OFD packet to send [10:19:35]OFD Sender: No OFD packet to send [10:19:40]OFD Sender: No OFD packet to send [10:19:45]OFD Sender: No OFD packet to send [10:19:50]OFD Sender: No OFD packet to send [10:19:55]OFD Sender: No OFD packet to send [10:20:00]OFD Sender: No OFD packet to send [10:20:05]OFD Sender: No OFD packet to send [10:20:10]OFD Sender: No OFD packet to send [10:20:15]OFD Sender: No OFD packet to send [10:20:20]OFD Sender: No OFD packet to send [10:20:25]OFD Sender: No OFD packet to send [10:20:30]OFD Sender: No OFD packet to send [10:20:35]OFD Sender: No OFD packet to send [10:20:40]OFD Sender: No OFD packet to send [10:20:45]OFD Sender: No OFD packet to send [10:20:50]OFD Sender: No OFD packet to send [10:20:55]OFD Sender: No OFD packet to send [10:21:00]OFD Sender: No OFD packet to send [10:21:05]OFD Sender: No OFD packet to send [10:21:10]OFD Sender: No OFD packet to send [10:21:15]OFD Sender: No OFD packet to send [10:21:20]OFD Sender: No OFD packet to send [10:21:25]OFD Sender: No OFD packet to send [10:21:30]OFD Sender: No OFD packet to send [10:21:35]OFD Sender: No OFD packet to send [10:21:40]OFD Sender: No OFD packet to send [10:21:45]OFD Sender: No OFD packet to send [10:21:50]OFD Sender: No OFD packet to send [10:21:55]OFD Sender: No OFD packet to send [10:22:00]OFD Sender: No OFD packet to send [10:22:05]OFD Sender: No OFD packet to send [10:22:10]OFD Sender: No OFD packet to send [10:22:15]OFD Sender: No OFD packet to send [10:22:20]OFD Sender: No OFD packet to send [10:22:25]OFD Sender: No OFD packet to send [10:22:30]OFD Sender: No OFD packet to send [10:22:35]OFD Sender: No OFD packet to send [10:22:40]OFD Sender: No OFD packet to send [10:22:45]OFD Sender: No OFD packet to send [10:22:50]OFD Sender: No OFD packet to send [10:22:55]OFD Sender: No OFD packet to send [10:23:00]OFD Sender: No OFD packet to send [10:23:05]OFD Sender: No OFD packet to send [10:23:10]OFD Sender: No OFD packet to send [10:23:15]OFD Sender: No OFD packet to send [10:23:20]OFD Sender: No OFD packet to send [10:23:25]OFD Sender: No OFD packet to send [10:23:30]OFD Sender: No OFD packet to send [10:23:35]OFD Sender: No OFD packet to send [10:23:40]OFD Sender: No OFD packet to send [10:23:45]OFD Sender: No OFD packet to send [10:23:50]OFD Sender: No OFD packet to send [10:23:55]OFD Sender: No OFD packet to send [10:24:00]OFD Sender: No OFD packet to send [10:24:05]OFD Sender: No OFD packet to send [10:25:20]OFD Sender: No OFD packet to send [10:25:25]OFD Sender: No OFD packet to send [10:25:30]OFD Sender: No OFD packet to send [10:25:35]OFD Sender: No OFD packet to send [10:25:40]OFD Sender: No OFD packet to send [10:25:45]OFD Sender: No OFD packet to send [10:25:50]OFD Sender: No OFD packet to send [10:25:55]OFD Sender: No OFD packet to send [10:26:00]OFD Sender: No OFD packet to send [10:26:05]OFD Sender: No OFD packet to send [10:26:10]OFD Sender: No OFD packet to send [10:26:15]OFD Sender: No OFD packet to send [10:26:19]accept exits with 7 [10:26:19]New connection [10:26:19]New thread 3067043172 created [10:26:19]Thread 3067186532 joined [10:26:19]Waiting for new connection... [10:26:19] Sock 7.Parse request [10:26:19]Sock 7.Check first char [10:26:19]Sock 7.First char is OK [10:26:19]request: POST /json_proto HTTP/1.0 [10:26:19]Method: POST [10:26:19]URL: /json_proto [10:26:19]Method is POST - this is cgi request [10:26:19]url: /json_proto [10:26:19]query_string will be loaded in cgi processing [10:26:19]execute_cgi json_proto POST (null) [10:26:19]execute_cgi path=json_proto method=POST [10:26:19]POST find Content-Length [10:26:19]Host: 172.17.40.196:8080 [10:26:19]Content-Length: 778 [10:26:19]Content-Type: application/json [10:26:19] [10:26:19]POST finish read [10:26:19]Found Content-Length = 778 [10:26:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35323", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:26:19]execute_script... [10:26: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)35323", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:26:19]POST & json_proto [10:26:19]process_json_proto [10:26:19]json parsed OK: [10:26:19]protocol is kg_v1.0 [10:26:19]action value=close_receipt [10:26:19]process_action close_receipt [10:26:19]cmd_close_receipt [10:26:19]MH_GetDate [10:26:19]Write to MH i2c: F0 00 00 43 0B 3D [10:26:19]Write i2c OK [10:26:19]MH_I2C_Read... [10:26:19]Read from MH i2c: F0 [10:26:19]MH_I2C_Read... [10:26:19]Read from MH i2c: F0 09 00 [10:26:19]MH_I2C_Read... [10:26:19]Read from MH i2c: F0 09 00 43 0B 00 4F 5B 23 67 5B 68 A1 66 44 [10:26:19]GetLastDocTimeStamp 1730369614 [10:26:19]current date 1730370383 [10:26:19]FM_GetShiftState [10:26:19]SAM_PROTO_GetShiftState [10:26:19]wFMCommunicate request_size=4 [10:26:19]MH_SAM_APDU [10:26:19]CAPDU: 80 13 01 00 [10:26:19]Write to MH i2c: E2 08 00 44 0B 80 13 01 00 00 00 00 00 CC [10:26:19]Write i2c OK [10:26:19]MH_I2C_Read... [10:26:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:26:20]Read from MH i2c: E2 [10:26:20]MH_I2C_Read... [10:26:20]Read from MH i2c: E2 0E 00 [10:26:20]MH_I2C_Read... [10:26:20]Read from MH i2c: E2 0E 00 44 0B 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 06 [10:26:20]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [10:26:20]wFMCommunicate OK [10:26:20]SAM_PROTO_GetShiftState done [10:26:20]FM_GetShiftState done [10:26:20]opened in 1730333148 [10:26:20]opened+sec_in_day 1730419548 [10:26:20]quantity*price = 12500 [10:26:20]sum+1 = 12501 [10:26:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 34 31.10.2024 10:26 Смена: 554 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 38026 ФПД: 261774879162608 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T102623&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38026&fm=261774879162608&tin=02508201610067®Number=0000000000091684&sum=12500 0 [10:26:21]StoreToDocumentArchive [10:26:21]shift 554 fd 38026 [10:26:21]save to /storage/0554/doc_00038026 [10:26:21]save last doc name /storage/0554/doc_00038026 to /storage/kkm_last_doc_name [10:26:21]save OK [10:26:21]Clear old archive folders... [10:26:21]ProcessDocumentItem done err = 0, tmpTLVsize=284 [10:26:21]tlvbuf is 0117E6E0 [10:26:21]SAM_PROTO_ClearQueue [10:26:21]wFMCommunicate request_size=4 [10:26:21]MH_SAM_APDU [10:26:21]CAPDU: 80 09 00 00 [10:26:21]Write to MH i2c: E2 08 00 51 0B 80 09 00 00 00 00 00 00 CE [10:26:21]Write i2c OK [10:26:21]MH_I2C_Read... [10:26:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:26:21]Read from MH i2c: E2 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 03 00 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 03 00 51 0B 00 90 00 D0 [10:26:21]RAPDU: 90 00 [10:26:21]wFMCommunicate OK [10:26:21]SAM_PROTO_ClearQueue done [10:26:21]KKMCreateOFDPacket [10:26:21]OFDProtocolAddRootSTLVToBuf [10:26:21]FM_MakeSignedData [10:26:21]FM_MakeSignedData [10:26:21]SAM_PROTO_SignData [10:26:21]wFMCommunicate request_size=4 [10:26:21]MH_SAM_APDU [10:26:21]CAPDU: 80 0D 01 02 [10:26:21]Write to MH i2c: E2 08 00 52 0B 80 0D 01 02 00 00 00 00 D6 [10:26:21]Write i2c OK [10:26:21]MH_I2C_Read... [10:26:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:26:21]Read from MH i2c: E2 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 03 00 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 03 00 52 0B 00 90 00 D1 [10:26:21]RAPDU: 90 00 [10:26:21]wFMCommunicate OK [10:26:21]wFMCommunicate request_size=255 [10:26:21]MH_SAM_APDU [10:26:21]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 4F 5B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [10:26:21]Write to MH i2c: E2 02 01 53 0B 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 4F 5B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 FD [10:26:21]Write i2c OK [10:26:21]MH_I2C_Read... [10:26:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:26:21]Read from MH i2c: E2 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 03 00 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 03 00 53 0B 00 90 00 D2 [10:26:21]RAPDU: 90 00 [10:26:21]wFMCommunicate OK [10:26:21]wFMCommunicate request_size=43 [10:26:21]MH_SAM_APDU [10:26:21]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8A 94 00 00 35 04 06 00 EE 15 36 AF 00 F0 [10:26:21]Write to MH i2c: E2 2E 00 54 0B 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8A 94 00 00 35 04 06 00 EE 15 36 AF 00 F0 00 00 B4 [10:26:21]Write i2c OK [10:26:21]MH_I2C_Read... [10:26:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:26:21]Read from MH i2c: E2 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 03 00 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 03 00 54 0B 00 90 00 D3 [10:26:21]RAPDU: 90 00 [10:26:21]wFMCommunicate OK [10:26:21]wFMCommunicate request_size=4 [10:26:21]MH_SAM_APDU [10:26:21]CAPDU: 80 0D 03 02 [10:26:21]Write to MH i2c: E2 08 00 55 0B 80 0D 03 02 00 00 00 00 DB [10:26:21]Write i2c OK [10:26:21]MH_I2C_Read... [10:26:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:26:21]Read from MH i2c: E2 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 0B 00 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 0B 00 55 0B 00 44 90 22 5F A3 B4 C4 1D 90 00 69 [10:26:21]RAPDU: 44 90 22 5F A3 B4 C4 1D 90 00 [10:26:21]wFMCommunicate OK [10:26:21]SAM_PROTO_SignData done [10:26:21]FM_MakeSignedData done [10:26:21]CreateOFDProtocolMessage [10:26:21]wFMCommunicate request_size=4 [10:26:21]MH_SAM_APDU [10:26:21]CAPDU: 80 11 00 00 [10:26:21]Write to MH i2c: E2 08 00 56 0B 80 11 00 00 00 00 00 00 DB [10:26:21]Write i2c OK [10:26:21]MH_I2C_Read... [10:26:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:26:21]Read from MH i2c: E2 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 17 00 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 17 00 56 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2B [10:26:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:26:21]wFMCommunicate OK [10:26:21]CreateOFDProtocolMessage done [10:26:21]OFDSenderStorePacket 38026 [10:26:21]StoreOFDPacket docnum=38026 [10:26:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 30 01 00 00 E5 46 28 01 7E C9 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 4F 5B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8A 94 00 00 35 04 06 00 EE 15 36 AF 00 F0 44 90 22 5F A3 B4 C4 1D [10:26:21]CheckFolder [10:26:21]dirname=/storage/ofd_packets [10:26:21]CheckFolder done [10:26:21]ProducePacketName [10:26:21]name=ofd_packets/00038026 [10:26:21]NVStorageSaveData ofd_packets/00038026 [10:26:21]File name is /storage/ofd_packets/00038026 [10:26:21]Write 334 bytes [10:26:21]NVStorageSaveData done [10:26:21]OFDSenderStorePacket done [10:26:21]KKMCreateOFDPacket done [10:26:21]NVStorageSaveData kkm_last_timestamp [10:26:21]File name is /storage/kkm_last_timestamp [10:26:21]Write 4 bytes [10:26:21]NVStorageSaveData done [10:26:21]ExternCall_PrintAddStr [10:26:21]wPrintStart [10:26:21]Write to MH i2c: 01 00 00 57 0B 62 [10:26:21]Write i2c OK [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: 01 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: 01 07 00 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: 01 07 00 57 0B 00 00 00 00 00 FF 0F 77 [10:26:21]RasterBufferAndPrint [10:26:21]line Счет N : (3)35323 [10:26:21]line ИНН: 02508201610067 [10:26:21]line Контрольно-Кассовый Чек [10:26:21]line ПРОДАЖА [10:26:21]line Товар: 2000036190018 [10:26:21]line Кофе Американо XL(GABB TRADE) [10:26:21]line 1.000 * 125.00 [10:26:21]line = 125.00 [10:26:21]line НДС 12% НСП 1% [10:26:21]line > о реализуемом товаре [10:26:21]line ИТОГО: 125.00 [10:26:21]line НСП 1% : 1.11 [10:26:21]line НДС 12% : 13.27 [10:26:21]line Наличными: 0.00 [10:26:21]line Безнал.: 125.00 [10:26:21]line Место: АЗС № 126 "Партнер Нефть" [10:26:21]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:26:21]line СНО: Общий режим [10:26:21]line Чек 34 31.10.2024 10:26 [10:26:21]line Смена: 554 ФФД: 1.0 [10:26:21]line ЗНМ: 0300000092 [10:26:21]line РНМ: 0000000000091684 [10:26:21]line Версия ККМ: 001 [10:26:21]line Платежная система: Mbank [10:26:21]line ФМ: 0000000000871841 [10:26:21]line ФД: 38026 [10:26:21]line ФПД: 261774879162608 [10:26:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241031T102623&type=1&operation_type=1&fn_number=0000000000871841&fd_number=38026&fm=261774879162608&tin=02508201610067®Number=0000000000091684&sum=12500 [10:26:22]line 0 [10:26:22]OFD Sender: Processing packet 38026 [packets to send 42, broken 41] [10:26:22]ProducePacketName [10:26:22]name=ofd_packets/00038026 [10:26:22]OFD Sender: To server: pG, [10:26:22]CommunicateWithHost lk.salyk.kg:30040 [10:26:22]ConnectInit lk.salyk.kg [10:26:22]written 0, free lines is 4095 [10:26:22]Connected sock=11 [10:26: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 38 34 31 30 01 00 00 E5 46 28 01 7E C9 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 4F 5B 23 67 0E 04 04 00 2A 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 8A 94 00 00 35 04 06 00 EE 15 36 AF 00 F0 44 90 22 5F A3 B4 C4 1D [10:26:22]Write to MH i2c: 01 00 00 81 0B 8C [10:26:22]Write i2c OK [10:26:22]MH_I2C_Read... [10:26:22]Read from MH i2c: 01 [10:26:22]MH_I2C_Read... [10:26:22]Read from MH i2c: 01 07 00 [10:26:22]MH_I2C_Read... [10:26:22]Read from MH i2c: 01 07 00 81 0B 00 00 00 00 00 A8 0C 47 [10:26:22]RasterBufferAndPrint [10:26:22]line [10:26:22]line [10:26:22]line [10:26:22]line [10:26:22]line [10:26:22]written 0, free lines is 3244 [10:26:22]MH_Cut [10:26:22]Write to MH i2c: D1 01 00 88 0B 01 65 [10:26:22]Write i2c OK [10:26:22]MH_I2C_Read... [10:26:22]Read from MH i2c: D1 [10:26:22]MH_I2C_Read... [10:26:22]Read from MH i2c: D1 01 00 [10:26:22]MH_I2C_Read... [10:26:22]Read from MH i2c: D1 01 00 88 0B 00 64 [10:26:22]Write to MH i2c: 01 00 00 89 0B 94 [10:26:22]Write i2c OK [10:26:22]MH_I2C_Read... [10:26:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 01 94 47 00 0D 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 38 34 31 10 04 04 00 8A 94 00 00 F4 03 04 00 3A 06 23 67 B6 04 01 00 00 FC 4C 39 D3 4C D3 DD 49 [10:26:22]CommunicateWithHost err = 0 [10:26:22]CheckOFDResponse [10:26:22]1017 (14) - 77093643461234 [10:26:22]1041 (16) - 0000000000871841 [10:26:22]1040 (4) - 38026 [10:26:22]1012 (4) - 31.10.2024 04:23 [10:26:22]1206 (1) - 0 [10:26:22]OFD Sender: Remove packet 38026 [10:26:22]ProducePacketName [10:26:22]name=ofd_packets/00038026 [10:26:22]NVStorageDeleteData [10:26:23]OFD Sender: No OFD packet to send [10:26:23]*** Cut start [10:26:23]*** Partial cut [10:26:23]*** CUTSNS_PIN = 1 [10:26:23]*** CUTSNS_PIN = 0 [10:26:23]*** Brake cut motor [10:26:23]Read from MH i2c: 01 [10:26:23]MH_I2C_Read... [10:26:23]*** Stop cut motor [10:26:23]*** Cut end [10:26:23]Read from MH i2c: 01 07 00 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: 01 07 00 89 0B 00 00 00 00 00 FF 0F A9 [10:26:23]process_action close_receipt done [10:26:23]requested_data is exist [10:26:23]produce_requested_data [10:26:23]requested_item fm.sn is exist - process it [10:26:23]wFMCommunicate request_size=4 [10:26:23]MH_SAM_APDU [10:26:23]CAPDU: 80 11 00 00 [10:26:23]Write to MH i2c: E2 08 00 8A 0B 80 11 00 00 00 00 00 00 0F [10:26:23]Write i2c OK [10:26:23]MH_I2C_Read... [10:26:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:26:24]Read from MH i2c: E2 [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: E2 17 00 [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: E2 17 00 8A 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5F [10:26:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:26:24]wFMCommunicate OK [10:26:24]requested_item fd.num is exist - process it [10:26:24]SAM_PROTO_GetFieldsCounters [10:26:24]wFMCommunicate request_size=4 [10:26:24]MH_SAM_APDU [10:26:24]CAPDU: 80 13 00 00 [10:26:24]Write to MH i2c: E2 08 00 8B 0B 80 13 00 00 00 00 00 00 12 [10:26:24]Write i2c OK [10:26:24]MH_I2C_Read... [10:26:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:26:24]Read from MH i2c: E2 [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: E2 62 00 [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: E2 62 00 8B 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8A 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [10:26: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8A 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:26:24]wFMCommunicate OK [10:26:24]SAM_PROTO_GetFieldsCounters done [10:26:24]requested_item shift.num is exist - process it [10:26:24]requested_item shift.opened is exist - process it [10:26:24]req_shift_opened [10:26:24]FM_GetShiftState [10:26:24]SAM_PROTO_GetShiftState [10:26:24]wFMCommunicate request_size=4 [10:26:24]MH_SAM_APDU [10:26:24]CAPDU: 80 13 01 00 [10:26:24]Write to MH i2c: E2 08 00 8C 0B 80 13 01 00 00 00 00 00 14 [10:26:24]Write i2c OK [10:26:24]MH_I2C_Read... [10:26:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:26:24]Read from MH i2c: E2 [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: E2 0E 00 [10:26:24]MH_I2C_Read... [10:28:03]OFD Sender: No OFD packet to send [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:23]OFD Sender: No OFD packet to send [10:28:28]OFD Sender: No OFD packet to send [10:28:33]OFD Sender: No OFD packet to send [10:28:38]OFD Sender: No OFD packet to send [10:28:43]OFD Sender: No OFD packet to send [10:28:48]OFD Sender: No OFD packet to send [10:28:53]OFD Sender: No OFD packet to send [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:43]OFD Sender: No OFD packet to send [10:29:48]OFD Sender: No OFD packet to send [10:29:53]OFD Sender: No OFD packet to send [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:12]ConnectInit Can't connect to host [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:28]OFD Sender: No OFD packet to send [10:30:33]OFD Sender: No OFD packet to send [10:30:38]OFD Sender: No OFD packet to send [10:30:43]OFD Sender: No OFD packet to send [10:30:48]OFD Sender: No OFD packet to send [10:30:53]OFD Sender: No OFD packet to send [10:30:54]accept exits with 10 [10:30:54]New connection [10:30:54]New thread 3067186532 created [10:30:54]Thread 3067043172 joined [10:30:54]Waiting for new connection... [10:30:54] Sock 10.Parse request [10:30:54]Sock 10.Check first char [10:30:54]Sock 10.First char is OK [10:30:54]request: POST /json_proto HTTP/1.0 [10:30:54]Method: POST [10:30:54]URL: /json_proto [10:30:54]Method is POST - this is cgi request [10:30:54]url: /json_proto [10:30:54]query_string will be loaded in cgi processing [10:30:54]execute_cgi json_proto POST (null) [10:30:54]execute_cgi path=json_proto method=POST [10:30:54]POST find Content-Length [10:30:54]Host: 172.17.40.196:8080 [10:30:54]Content-Length: 215 [10:30:54]Content-Type: application/json [10:30:54] [10:30:54]POST finish read [10:30:54]Found Content-Length = 215 [10:30:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:30:54]execute_script... [10:30:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:30:54]POST & json_proto [10:30:54]process_json_proto [10:30:54]json parsed OK: [10:30:54]protocol is kg_v1.0 [10:30:54]action value=get_value [10:30:54]process_action get_value [10:30:54]cmd_get_value [10:30:54]process_action get_value done [10:30:54]requested_data is exist [10:30:54]produce_requested_data [10:30:54]requested_item kkm.sn is exist - process it [10:30:54]requested_item kkm.ver is exist - process it [10:30:54]requested_item fm.sn is exist - process it [10:30:54]wFMCommunicate request_size=4 [10:30:54]MH_SAM_APDU [10:30:54]CAPDU: 80 11 00 00 [10:30:54]Write to MH i2c: E2 08 00 8D 0B 80 11 00 00 00 00 00 00 12 [10:30:54]Write i2c OK [10:30:54]MH_I2C_Read... [10:30:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:30:54]Read from MH i2c: E2 [10:30:54]MH_I2C_Read... [10:30:54]Read from MH i2c: E2 17 00 [10:30:54]MH_I2C_Read... [10:30:54]Read from MH i2c: E2 17 00 8D 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 62 [10:30:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:30:54]wFMCommunicate OK [10:30:54]requested_item fd.num is exist - process it [10:30:54]SAM_PROTO_GetFieldsCounters [10:30:54]wFMCommunicate request_size=4 [10:30:54]MH_SAM_APDU [10:30:54]CAPDU: 80 13 00 00 [10:30:54]Write to MH i2c: E2 08 00 8E 0B 80 13 00 00 00 00 00 00 15 [10:30:54]Write i2c OK [10:30:54]MH_I2C_Read... [10:30:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:30:55]Read from MH i2c: E2 [10:30:55]MH_I2C_Read... [10:30:55]Read from MH i2c: E2 62 00 [10:30:55]MH_I2C_Read... [10:30:55]Read from MH i2c: E2 62 00 8E 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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8A 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [10:30: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 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 8A 94 00 00 0E 04 04 00 2A 02 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:30:55]wFMCommunicate OK [10:30:55]SAM_PROTO_GetFieldsCounters done [10:30:55]requested_item shift.num is exist - process it [10:30:55]requested_item shift.opened is exist - process it [10:30:55]req_shift_opened [10:30:55]FM_GetShiftState [10:30:55]SAM_PROTO_GetShiftState [10:30:55]wFMCommunicate request_size=4 [10:30:55]MH_SAM_APDU [10:30:55]CAPDU: 80 13 01 00 [10:30:55]Write to MH i2c: E2 08 00 8F 0B 80 13 01 00 00 00 00 00 17 [10:30:55]Write i2c OK [10:30:55]MH_I2C_Read... [10:30:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:30:55]Read from MH i2c: E2 [10:30:55]MH_I2C_Read... [10:30:55]Read from MH i2c: E2 0E 00 [10:30:55]MH_I2C_Read... [10:30:55]Read from MH i2c: E2 0E 00 8F 0B 00 09 00 01 DC C9 22 67 00 00 00 00 90 00 51 [10:30:55]RAPDU: 09 00 01 DC C9 22 67 00 00 00 00 90 00 [10:30:55]wFMCommunicate OK [10:30:55]SAM_PROTO_GetShiftState done [10:30:55]FM_GetShiftState done [10:30:55]req_shift_opened done [10:30:55]requested_item shift.open_date is exist - process it [10:30:55]req_shift_open_date [10:30:55]req_shift_open_date done [10:30:55]produce_requested_data done [10:30:55]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":38026,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148} [10:30:55]process_action_free get_value [10:30:55]json_value_free [10:30:55]json_value_free done [10:30:55]process_json_proto returns [10:30:55]Send response to host [10:30:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":38026,"shift.num":554,"shift.opened":1,"shift.open_date":1730333148}}} [10:30:55]free response buf [10:30:55]execute_script done [10:30:55]execute_script returns [10:30:55]free content buf [10:30:55]Sock 10.Close socket [10:30:55]Sock 10.Thread stoped [10:30:55]accept exits with 9 [10:30:55]New connection [10:30:55]New thread 3067043172 created [10:30:55]Thread 3067186532 joined [10:30:55]Waiting for new connection... [10:30:55] Sock 9.Parse request [10:30:55]Sock 9.Check first char [10:30:55]Sock 9.First char is OK [10:30:55]request: POST /json_proto HTTP/1.0 [10:30:55]Method: POST [10:30:55]URL: /json_proto [10:30:55]Method is POST - this is cgi request [10:30:55]url: /json_proto [10:30:55]query_string will be loaded in cgi processing [10:30:55]execute_cgi json_proto POST (null) [10:30:55]execute_cgi path=json_proto method=POST [10:30:55]POST find Content-Length [10:30:55]Host: 172.17.40.196:8080 [10:30:55]Content-Length: 331 [10:30:55]Content-Type: application/json [10:30:55] [10:30:55]POST finish read [10:30:55]Found Content-Length = 331 [10:30:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [10:30:55]execute_script... [10:30:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [10:30:55]POST & json_proto [10:30:55]process_json_proto [10:30:55]json parsed OK: [10:30:55]protocol is kg_v1.0 [10:30:55]action value=get_value [10:30:55]process_action get_value [10:30:55]cmd_get_value [10:30:55]process_action get_value done [10:30:55]requested_data is exist [10:30:55]produce_requested_data [10:30:55]requested_item fm.sale.total is exist - process it [10:30:55]SAM_PROTO_GetFMData [10:30:55]wFMCommunicate request_size=4 [10:30:55]MH_SAM_APDU [10:30:55]CAPDU: 80 13 03 00 [10:30:55]Write to MH i2c: E2 08 00 90 0B 80 13 03 00 00 00 00 00 1A [10:30:55]Write i2c OK [10:30:55]MH_I2C_Read... [10:30:55]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [10:30:55]Read from MH i2c: E2 [10:30:55]MH_I2C_Read... [10:30:55]Read from MH i2c: E2 FD 00 [10:30:55]MH_I2C_Read... [10:30:55]Read from MH i2c: E2 FD 00 90 0B 00 C0 04 85 04 BC 04 6E 04 04 00 36 90 00 00 69 04 A0 00 6F 04 04 00 30 90 00 00 B1 04 04 00 E2 50 6C 34 70 04 04 00 8C 34 8E 2E 72 04 04 00 56 1C DE 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7C 39 91 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A2 B2 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 F0 41 14 70 04 03 00 E8 BD 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 BF 26 02 EF 03 09 00 F6 03 01 90 00 D4 [10:30:55]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 36 90 00 00 69 04 A0 00 6F 04 04 00 30 90 00 00 B1 04 04 00 E2 50 6C 34 70 04 04 00 8C 34 8E 2E 72 04 04 00 56 1C DE 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7C 39 91 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A2 B2 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 F0 41 14 70 04 03 00 E8 BD 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 BF 26 02 EF 03 09 00 F6 03 01 90 00 [10:30:55]wFMCommunicate OK [10:30:55]wFMCommunicate request_size=4 [10:30:55]MH_SAM_APDU [10:30:55]CAPDU: 80 17 00 00 [10:30:55]Write to MH i2c: E2 08 00 91 0B 80 17 00 00 00 00 00 00 1C [10:30:55]Write i2c OK [10:30:55]MH_I2C_Read... [10:30:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:30:56]Read from MH i2c: E2 [10:30:56]MH_I2C_Read... [10:30:56]Read from MH i2c: E2 FD 00 [10:30:56]MH_I2C_Read... [10:30:56]Read from MH i2c: E2 FD 00 91 0B 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E5 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 5C [10:30:56]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E5 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [10:30:56]wFMCommunicate OK [10:30:56]wFMCommunicate request_size=4 [10:30:56]MH_SAM_APDU [10:30:56]CAPDU: 80 17 00 00 [10:30:56]Write to MH i2c: E2 08 00 92 0B 80 17 00 00 00 00 00 00 1D [10:30:56]Write i2c OK [10:30:56]MH_I2C_Read... [10:30:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:30:56]Read from MH i2c: E2 [10:30:56]MH_I2C_Read... [10:30:56]Read from MH i2c: E2 FD 00 [10:30:56]MH_I2C_Read... [10:30:56]Read from MH i2c: E2 FD 00 92 0B 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 C0 [10:30:56]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [10:30:56]wFMCommunicate OK [10:30:56]wFMCommunicate request_size=4 [10:30:56]MH_SAM_APDU [10:30:56]CAPDU: 80 17 00 00 [10:30:56]Write to MH i2c: E2 08 00 93 0B 80 17 00 00 00 00 00 00 1E [10:30:56]Write i2c OK [10:30:56]MH_I2C_Read... [10:30:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:30:56]Read from MH i2c: E2 [10:30:56]MH_I2C_Read... [10:30:56]Read from MH i2c: E2 FD 00 [10:30:56]MH_I2C_Read... [10:30:56]Read from MH i2c: E2 FD 00 93 0B 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 96 [10:30:56]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [10:30:56]wFMCommunicate OK [10:30:56]wFMCommunicate request_size=4 [10:30:56]MH_SAM_APDU [10:30:56]CAPDU: 80 17 00 00 [10:30:56]Write to MH i2c: E2 08 00 94 0B 80 17 00 00 00 00 00 00 1F [10:30:56]Write i2c OK [10:30:56]MH_I2C_Read... [10:30:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [10:30:56]Read from MH i2c: E2 [10:30:56]MH_I2C_Read... [10:30:56]Read from MH i2c: E2 DD 00 [10:30:56]MH_I2C_Read... [10:30:56]Read from MH i2c: E2 DD 00 94 0B 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 07 [10:30:56]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:30:56]wFMCommunicate OK [10:30:56]SAM_PROTO_GetFMData done [10:30:56]requested_item fm.sale_refund.total is exist - process it [10:30:56]requested_item fm.buy.total is exist - process it [10:30:56]requested_item shift.sale.total is exist - process it [10:30:56]SAM_PROTO_GetShiftData [10:30:56]wFMCommunicate request_size=4 [10:30:56]MH_SAM_APDU [10:30:56]CAPDU: 80 13 02 00 [10:30:56]Write to MH i2c: E2 08 00 95 0B 80 13 02 00 00 00 00 00 1E [10:30:56]Write i2c OK [10:30:56]MH_I2C_Read... [10:30:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:30:57]Read from MH i2c: E2 [10:30:57]MH_I2C_Read... [10:30:57]Read from MH i2c: E2 FD 00 [10:30:57]MH_I2C_Read... [10:30:57]Read from MH i2c: E2 FD 00 95 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 18 D3 0A 70 04 03 00 E8 E6 08 72 04 03 00 30 EC 01 00 04 7A 00 EE 03 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 26 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 5C 8F 70 04 02 00 5C 8F 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 39 0F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 5F [10:30:57]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 18 D3 0A 70 04 03 00 E8 E6 08 72 04 03 00 30 EC 01 00 04 7A 00 EE 03 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 26 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 5C 8F 70 04 02 00 5C 8F 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 39 0F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [10:30:57]wFMCommunicate OK [10:30:57]wFMCommunicate request_size=4 [10:30:57]MH_SAM_APDU [10:30:57]CAPDU: 80 17 00 00 [10:30:57]Write to MH i2c: E2 08 00 96 0B 80 17 00 00 00 00 00 00 21 [10:30:57]Write i2c OK [10:30:57]MH_I2C_Read... [10:30:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:30:57]Read from MH i2c: E2 [10:30:57]MH_I2C_Read... [10:30:57]Read from MH i2c: E2 FD 00 [10:30:57]MH_I2C_Read... [10:30:57]Read from MH i2c: E2 FD 00 96 0B 00 F6 03 01 00 01 F7 03 02 00 44 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 7A [10:30:57]RAPDU: F6 03 01 00 01 F7 03 02 00 44 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 [10:30:57]wFMCommunicate OK [10:30:57]wFMCommunicate request_size=4 [10:30:57]MH_SAM_APDU [10:30:57]CAPDU: 80 17 00 00 [10:30:57]Write to MH i2c: E2 08 00 97 0B 80 17 00 00 00 00 00 00 22 [10:30:57]Write i2c OK [10:30:57]MH_I2C_Read... [10:30:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:30:57]Read from MH i2c: E2 [10:30:57]MH_I2C_Read... [10:30:57]Read from MH i2c: E2 FD 00 [10:30:57]MH_I2C_Read... [10:30:57]Read from MH i2c: E2 FD 00 97 0B 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 E2 [10:30:57]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 [10:30:57]wFMCommunicate OK [10:30:57]wFMCommunicate request_size=4 [10:30:57]MH_SAM_APDU [10:30:57]CAPDU: 80 17 00 00 [10:30:57]Write to MH i2c: E2 08 00 98 0B 80 17 00 00 00 00 00 00 23 [10:30:57]Write i2c OK [10:30:57]MH_I2C_Read... [10:30:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:30:58]Read from MH i2c: E2 [10:30:58]MH_I2C_Read... [10:30:58]Read from MH i2c: E2 FD 00 [10:30:58]MH_I2C_Read... [10:30:58]Read from MH i2c: E2 FD 00 98 0B 00 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 92 [10:30:58]RAPDU: 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 [10:30:58]wFMCommunicate OK [10:30:58]wFMCommunicate request_size=4 [10:30:58]MH_SAM_APDU [10:30:58]CAPDU: 80 17 00 00 [10:30:58]Write to MH i2c: E2 08 00 99 0B 80 17 00 00 00 00 00 00 24 [10:30:58]Write i2c OK [10:30:58]MH_I2C_Read... [10:30:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [10:30:58]Read from MH i2c: E2 [10:30:58]MH_I2C_Read... [10:30:58]Read from MH i2c: E2 D3 00 [10:30:58]MH_I2C_Read... [10:30:58]Read from MH i2c: E2 D3 00 99 0B 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 11 [10:30:58]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:30:58]wFMCommunicate OK [10:30:58]SAM_PROTO_GetShiftData done [10:30:58]requested_item shift.sale.total_cash is exist - process it [10:30:58]requested_item shift.sale_refund.total is exist - process it [10:30:58]requested_item shift.sale_refund.total_cash is exist - process it [10:30:58]requested_item shift.buy.total is exist - process it [10:30:58]requested_item shift.buy.total_cash is exist - process it [10:30:58]produce_requested_data done [10:30:58]produce_requested_data return {"fm.sale.total":8795138.26,"fm.sale_refund.total":13276.00,"fm.buy.total":0.00,"shift.sale.total":7094.00,"shift.sale.total_cash":5834.00,"shift.sale_refund.total":367.00,"shift.sale_refund.total_cash":367.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [10:30:58]process_action_free get_value [10:30:58]json_value_free [10:30:58]json_value_free done [10:30:58]process_json_proto returns [10:30:58]Send response to host [10:30:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8795138.26,"fm.sale_refund.total":13276.00,"fm.buy.total":0.00,"shift.sale.total":7094.00,"shift.sale.total_cash":5834.00,"shift.sale_refund.total":367.00,"shift.sale_refund.total_cash":367.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [10:30:58]free response buf [10:30:58]execute_script done [10:30:58]execute_script returns [10:30:58]free content buf [10:30:58]Sock 9.Close socket [10:30:58]Sock 9.Thread stoped [10:30:58]OFD Sender: No OFD packet to send [10:30:58]accept exits with 10 [10:30:58]New connection [10:30:58]New thread 3067186532 created [10:30:58]Thread 3067043172 joined [10:30:58]Waiting for new connection... [10:30:58] Sock 10.Parse request [10:30:58]Sock 10.Check first char [10:30:58]Sock 10.First char is OK [10:30:58]request: POST /json_proto HTTP/1.0 [10:30:58]Method: POST [10:30:58]URL: /json_proto [10:30:58]Method is POST - this is cgi request [10:30:58]url: /json_proto [10:30:58]query_string will be loaded in cgi processing [10:30:58]execute_cgi json_proto POST (null) [10:30:58]execute_cgi path=json_proto method=POST [10:30:58]POST find Content-Length [10:30:58]Host: 172.17.40.196:8080 [10:30:58]Content-Length: 331 [10:30:58]Content-Type: application/json [10:30:58] [10:30:58]POST finish read [10:30:58]Found Content-Length = 331 [10:30:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [10:30:58]execute_script... [10:30:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [10:30:58]POST & json_proto [10:30:58]process_json_proto [10:30:58]json parsed OK: [10:30:58]protocol is kg_v1.0 [10:30:58]action value=get_value [10:30:58]process_action get_value [10:30:58]cmd_get_value [10:30:58]process_action get_value done [10:30:58]requested_data is exist [10:30:58]produce_requested_data [10:30:58]requested_item fm.sale.total is exist - process it [10:30:58]SAM_PROTO_GetFMData [10:30:58]wFMCommunicate request_size=4 [10:30:58]MH_SAM_APDU [10:30:58]CAPDU: 80 13 03 00 [10:30:58]Write to MH i2c: E2 08 00 9A 0B 80 13 03 00 00 00 00 00 24 [10:30:58]Write i2c OK [10:30:58]MH_I2C_Read... [10:30:59]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [10:30:59]Read from MH i2c: E2 [10:30:59]MH_I2C_Read... [10:30:59]Read from MH i2c: E2 FD 00 [10:30:59]MH_I2C_Read... [10:30:59]Read from MH i2c: E2 FD 00 9A 0B 00 C0 04 85 04 BC 04 6E 04 04 00 36 90 00 00 69 04 A0 00 6F 04 04 00 30 90 00 00 B1 04 04 00 E2 50 6C 34 70 04 04 00 8C 34 8E 2E 72 04 04 00 56 1C DE 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7C 39 91 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A2 B2 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 F0 41 14 70 04 03 00 E8 BD 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 BF 26 02 EF 03 09 00 F6 03 01 90 00 DE [10:30:59]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 36 90 00 00 69 04 A0 00 6F 04 04 00 30 90 00 00 B1 04 04 00 E2 50 6C 34 70 04 04 00 8C 34 8E 2E 72 04 04 00 56 1C DE 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7C 39 91 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A2 B2 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 F0 41 14 70 04 03 00 E8 BD 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 BF 26 02 EF 03 09 00 F6 03 01 90 00 [10:30:59]wFMCommunicate OK [10:30:59]wFMCommunicate request_size=4 [10:30:59]MH_SAM_APDU [10:30:59]CAPDU: 80 17 00 00 [10:30:59]Write to MH i2c: E2 08 00 9B 0B 80 17 00 00 00 00 00 00 26 [10:30:59]Write i2c OK [10:30:59]MH_I2C_Read... [10:30:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:30:59]Read from MH i2c: E2 [10:30:59]MH_I2C_Read... [10:30:59]Read from MH i2c: E2 FD 00 [10:30:59]MH_I2C_Read... [10:30:59]Read from MH i2c: E2 FD 00 9B 0B 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E5 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 66 [10:30:59]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E5 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [10:30:59]wFMCommunicate OK [10:30:59]wFMCommunicate request_size=4 [10:30:59]MH_SAM_APDU [10:30:59]CAPDU: 80 17 00 00 [10:30:59]Write to MH i2c: E2 08 00 9C 0B 80 17 00 00 00 00 00 00 27 [10:30:59]Write i2c OK [10:30:59]MH_I2C_Read... [10:30:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:30:59]Read from MH i2c: E2 [10:30:59]MH_I2C_Read... [10:30:59]Read from MH i2c: E2 FD 00 [10:30:59]MH_I2C_Read... [10:30:59]Read from MH i2c: E2 FD 00 9C 0B 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 CA [10:30:59]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [10:30:59]wFMCommunicate OK [10:30:59]wFMCommunicate request_size=4 [10:30:59]MH_SAM_APDU [10:30:59]CAPDU: 80 17 00 00 [10:30:59]Write to MH i2c: E2 08 00 9D 0B 80 17 00 00 00 00 00 00 28 [10:30:59]Write i2c OK [10:30:59]MH_I2C_Read... [10:31:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:31:00]Read from MH i2c: E2 [10:31:00]MH_I2C_Read... [10:31:00]Read from MH i2c: E2 FD 00 [10:31:00]MH_I2C_Read... [10:31:00]Read from MH i2c: E2 FD 00 9D 0B 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 A0 [10:31:00]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [10:31:00]wFMCommunicate OK [10:31:00]wFMCommunicate request_size=4 [10:31:00]MH_SAM_APDU [10:31:00]CAPDU: 80 17 00 00 [10:31:00]Write to MH i2c: E2 08 00 9E 0B 80 17 00 00 00 00 00 00 29 [10:31:00]Write i2c OK [10:31:00]MH_I2C_Read... [10:31:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [10:31:00]Read from MH i2c: E2 [10:31:00]MH_I2C_Read... [10:31:00]Read from MH i2c: E2 DD 00 [10:31:00]MH_I2C_Read... [10:31:00]Read from MH i2c: E2 DD 00 9E 0B 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 11 [10:31:00]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:31:00]wFMCommunicate OK [10:31:00]SAM_PROTO_GetFMData done [10:31:00]requested_item fm.sale_refund.total is exist - process it [10:31:00]requested_item fm.buy.total is exist - process it [10:31:00]requested_item shift.sale.total is exist - process it [10:31:00]SAM_PROTO_GetShiftData [10:31:00]wFMCommunicate request_size=4 [10:31:00]MH_SAM_APDU [10:31:00]CAPDU: 80 13 02 00 [10:31:00]Write to MH i2c: E2 08 00 9F 0B 80 13 02 00 00 00 00 00 28 [10:31:00]Write i2c OK [10:31:00]MH_I2C_Read... [10:31:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:31:01]Read from MH i2c: E2 [10:31:01]MH_I2C_Read... [10:31:01]Read from MH i2c: E2 FD 00 [10:31:01]MH_I2C_Read... [10:31:01]Read from MH i2c: E2 FD 00 9F 0B 00 B6 04 AA 04 B2 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 18 D3 0A 70 04 03 00 E8 E6 08 72 04 03 00 30 EC 01 00 04 7A 00 EE 03 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 26 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 5C 8F 70 04 02 00 5C 8F 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 39 0F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 69 [10:31:01]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 18 D3 0A 70 04 03 00 E8 E6 08 72 04 03 00 30 EC 01 00 04 7A 00 EE 03 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 26 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 83 18 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 5C 8F 70 04 02 00 5C 8F 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 39 0F EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [10:31:01]wFMCommunicate OK [10:31:01]wFMCommunicate request_size=4 [10:31:01]MH_SAM_APDU [10:31:01]CAPDU: 80 17 00 00 [10:31:01]Write to MH i2c: E2 08 00 A0 0B 80 17 00 00 00 00 00 00 2B [10:31:01]Write i2c OK [10:31:01]MH_I2C_Read... [10:31:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:31:01]Read from MH i2c: E2 [10:31:01]MH_I2C_Read... [10:31:01]Read from MH i2c: E2 FD 00 [10:31:01]MH_I2C_Read... [10:31:01]Read from MH i2c: E2 FD 00 A0 0B 00 F6 03 01 00 01 F7 03 02 00 44 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 84 [10:31:01]RAPDU: F6 03 01 00 01 F7 03 02 00 44 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 90 00 [10:31:01]wFMCommunicate OK [10:31:01]wFMCommunicate request_size=4 [10:31:01]MH_SAM_APDU [10:31:01]CAPDU: 80 17 00 00 [10:31:01]Write to MH i2c: E2 08 00 A1 0B 80 17 00 00 00 00 00 00 2C [10:31:01]Write i2c OK [10:31:01]MH_I2C_Read... [10:31:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:31:02]Read from MH i2c: E2 [10:31:02]MH_I2C_Read... [10:31:02]Read from MH i2c: E2 FD 00 [10:31:02]MH_I2C_Read... [10:31:02]Read from MH i2c: E2 FD 00 A1 0B 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 EC [10:31:02]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 90 00 [10:31:02]wFMCommunicate OK [10:31:02]wFMCommunicate request_size=4 [10:31:02]MH_SAM_APDU [10:31:02]CAPDU: 80 17 00 00 [10:31:02]Write to MH i2c: E2 08 00 A2 0B 80 17 00 00 00 00 00 00 2D [10:31:02]Write i2c OK [10:31:02]MH_I2C_Read... [10:31:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:31:02]Read from MH i2c: E2 [10:31:02]MH_I2C_Read... [10:31:02]Read from MH i2c: E2 FD 00 [10:31:02]MH_I2C_Read... [10:31:02]Read from MH i2c: E2 FD 00 A2 0B 00 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 9C [10:31:02]RAPDU: 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 90 00 [10:31:02]wFMCommunicate OK [10:31:02]wFMCommunicate request_size=4 [10:31:02]MH_SAM_APDU [10:31:02]CAPDU: 80 17 00 00 [10:31:02]Write to MH i2c: E2 08 00 A3 0B 80 17 00 00 00 00 00 00 2E [10:31:02]Write i2c OK [10:31:02]MH_I2C_Read... [10:31:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [10:31:02]Read from MH i2c: E2 [10:31:02]MH_I2C_Read... [10:31:02]Read from MH i2c: E2 D3 00 [10:31:02]MH_I2C_Read... [10:31:02]Read from MH i2c: E2 D3 00 A3 0B 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04